Skip to content

Commit

Permalink
Merge pull request #188 from stepchowfun/homebrew-instructions
Browse files Browse the repository at this point in the history
Update the MAINTAINERS file with instructions for Homebrew
  • Loading branch information
stepchowfun authored Aug 7, 2021
2 parents 0de5652 + f7aae5c commit 5c51de5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions MAINTAINERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ Releasing a new version is a two-step process:

1. Bump the version in `Cargo.toml`, run `cargo build` to update `Cargo.lock`, and update `CHANGELOG.md` with information about the new version. Ship those changes as a single commit.
2. Once the GitHub workflow has finished on the `main` branch, update the version in `install.sh` to point to the new release.
3. Create a pull request in the `Homebrew/homebrew-core` repository on GitHub to bump the version in [this file](https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/docuum.rb).
5 changes: 4 additions & 1 deletion src/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -672,8 +672,11 @@ fn vacuum(

// Stream Docker events and vacuum when necessary.
pub fn run(settings: &Settings, state: &mut State, first_run: &mut bool) -> io::Result<()> {
// Run the main vacuum logic.
// NOTE: Don't change this log line, since the test in the Homebrew formula
// (https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/docuum.rb) relies on it.
info!("Performing an initial vacuum on startup\u{2026}");

// Run the main vacuum logic.
vacuum(state, *first_run, settings.threshold, &settings.keep)?;
state::save(&state)?;
*first_run = false;
Expand Down

0 comments on commit 5c51de5

Please sign in to comment.