You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use case: I'd rather follow the latest tag of https://github.com/nix-community/nixGL rather than the main branch, but it doesn't currently use tags. However, it could start using tags in the future. I'd like to be notified, at update time, if this has happened1.
To do this, I'd like to do something like assert (import ./npins).nixGL.tags == []; ....
I.e., the above assert should pass, even if nixGL has been added via npins add git https://github.com/nix-community/nixGL --branch main, iff the nixGL repository has no git tags.
Footnotes
While I could, to be notified even earlier than update time, instead RSS-subscribe to https://github.com/nix-community/nixGL/tags.atom, this would be a fragile coupling because this RSS-feed feature is not part of git; GitHub is proprietary and could decide to break it once they start thinking that keeping the feature around wouldn't be profitable enough. ↩
The text was updated successfully, but these errors were encountered:
Would GitHub's "watch new releases" be an option for you?
It is an option, but a fragile one, like the RSS method described in the footnote. It is also GitHub specific. I.e., it is not an open widely-used standard with open source implementation(s).
It suffers from the same fundamental problem:
GitHub is proprietary and could decide to break it once they start thinking that keeping the feature around wouldn't be profitable enough.
Use case: I'd rather follow the latest tag of https://github.com/nix-community/nixGL rather than the main branch, but it doesn't currently use tags. However, it could start using tags in the future. I'd like to be notified, at update time, if this has happened1.
To do this, I'd like to do something like
assert (import ./npins).nixGL.tags == []; ...
.I.e., the above assert should pass, even if nixGL has been added via
npins add git https://github.com/nix-community/nixGL --branch main
, iff thenixGL
repository has nogit
tags.Footnotes
While I could, to be notified even earlier than update time, instead RSS-subscribe to https://github.com/nix-community/nixGL/tags.atom, this would be a fragile coupling because this RSS-feed feature is not part of
git
; GitHub is proprietary and could decide to break it once they start thinking that keeping the feature around wouldn't be profitable enough. ↩The text was updated successfully, but these errors were encountered: