elastic / elastic/logstash

bundler clean is broken

Open
#3,767 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
14.9k
Forks
3.5k
Avg merge
1d 4h
Merged PRs (30d)
88

Description

our strategy for purging uninstalled or unused plugins with either

``` ruby
LogStash::Bundler.invoke!(:install => true, :clean => true)
```

or

``` ruby
LogStash::Bundler.invoke!(:update => plugins)
LogStash::Bundler.invoke!(:clean => true)
```

does not work.

the dual `invoke` calls as shown above should work but does not because there is some stale context/state in bundler. in fact, if calling `LogStash::Bundler.invoke!(:clean => true)` from a fresh process, works as shown by @purbon in #3731

relates to #3678 #3731

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.