Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bfg-repo-cleaner: init at 1.12.15 #22694

Merged
merged 1 commit into from Feb 12, 2017
Merged

bfg-repo-cleaner: init at 1.12.15 #22694

merged 1 commit into from Feb 12, 2017

Conversation

changlinli
Copy link
Contributor

Motivation for this change

Packaging up the BFG repo cleaner for Git (a nice little git-history-rewrite tool that's a fast way of removing unwanted data from git history).

Tested by building nix-build -A gitAndTools.bfg-repo-cleaner <my local nixpkgs>/default.nix and deleting a file from the history one of my git repos.

Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@mention-bot
Copy link

@changlinli, thanks for your PR! By analyzing the history of the files in this pull request, we identified @benley, @zimbatm and @edolstra to be potential reviewers.

license = licenses.gpl3;
maintainers = [ maintainers.changlinli ];
platforms = platforms.unix;
downloadPage = "https://mvnrepository.com/artifact/com.madgag/bfg/1.12.15";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You probably ought to substitute in the version number from the variable defined up above here - or perhaps just omit the versioned part of the url and link to the page listing all versions?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yes; I was being silly and completely forgot to put that in after pulling it out as a variable earlier. One sec while I change that... (assuming that there isn't a preference to just omit the versioned part of the url)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Up to you - either way would be OK I think.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool; I'm assuming then I should just redo this commit and force push rather than introduce a new commit?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That would be ideal.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@benley
Copy link
Member

benley commented Feb 12, 2017

Looks great, thanks!

@benley benley merged commit 0688fdf into NixOS:master Feb 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants