treewide: remove refs/tags/ from github release meta.changelog#353000
treewide: remove refs/tags/ from github release meta.changelog#353000Aleksanaa merged 5 commits intoNixOS:masterfrom
refs/tags/ from github release meta.changelog#353000Conversation
refs/tags/ from github release meta.changelog
|
This change is kinda backwards. We should take version and optionally add the v prefix. |
adamcstephens
left a comment
There was a problem hiding this comment.
I agree with Sandro that we should use version if these links are broken.
|
semantically the github release urls are derived from the git tag, which don't necessarily map cleanly from the version. In #338301 the idea of a |
|
I don't really understand. How is what you propose any simpler, clearer, or more reliable than using the version like so: In my opinion your version is more complex, and needlessly spends compute cycles modifying strings when we already have said string in version. This is all so you don't have to put the If an upstream is so far off from our versioning that you can't just re-use version, then treat that as the odd-ball that it is. There's no reason to apply premature optimization and complexity everywhere else because of edge cases. |
ff879c7 to
5792376
Compare
|
Okay, have it your way. Note now that the review requires you to view the whole file. I assume someone will in the future come along and revert the change back to I left forgejo with |
Thanks :) |
…ase `meta.changelog`
5792376 to
2ec380a
Compare
|
Thanks for pointing that out 👍 |
I saw #346488 was a thing, so i figured a redo of #338301 was warranted. Part of #346453
diff of
jq <packages.json 'to_entries[]|"\(.key) \(.value.meta.changelog)"' -r:https://gist.github.com/pbsds/02ee3d771ab31e15c3c67db9c79c4e57
Made using the script in #338301 without modifications
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.