Fetchgit{,hub}: add tag argument

I post this here not really for code review but because I think this would be relevant for pretty much anyone who maintains a package and want to double check that it’s indeed desirable and that there isn’t some fundamental flaw.

3 Likes

It could reduce the amount of confusing boilerplate for new contributors. However I do find it a little confusing that specifying both rev and tag is permissible, an assertion/warning might prevent someone doing that unintentionally.

1 Like

The trouble with that is that it gets harder/hairier to pass args fromFetchFromGitHub to fetchgit.

The code is now merged and can be used in Nixpkgs. The backport will follow shortly; I’ll let one unstable eval pass before merging it.

4 Likes