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
Changelog meta entry #60371
Changelog meta entry #60371
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice idea.
Can you add a changelog entry to a single package in this PR as well, to ensure ofborg gets along with it?
Given that the example in the documentation already works, added it to |
There was a related discussion in #50483 |
Hm, a good question: should we allow null for lack of changelog, or should it be empty list, or just a comment? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nixpkgs-update can use this to provide a link to the changelog. I'm not sure how much this will help to get the text of the changes into the report. It would depend on how easy it is to parse changelogs, or if it is good enough to include say the first 100 lines of the changelog file.
Co-Authored-By: 7c6f434c <7c6f434c@mail.ru>
Co-Authored-By: 7c6f434c <7c6f434c@mail.ru>
|
I guess an empty string (or empty list) would be expected when no |
@c0bw3b I do not think there has been a push to set |
I approve the changes; of course, the commit messages should get fixed up before merging. |
My current plan is indeed to squash-merge. |
Ofborg could and should send inline comments suggesting filling out maintainer, homepage, change log, license fields.
… On Apr 28, 2019, at 13:49, Michael Raskin ***@***.***> wrote:
My current plan is indeed to squash-merge.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Hopefully license always exists (otherwise it is unfree by definition), but homepage can fail to exist and maybe there should be a documented way to make a claim it doesn't exist. I think empty list is better than empty string; no opinion on allowing |
OK, the current plan us to assume that as (The current PR will be squash-merged as-is) |
meta.changelog: enable, document, add for GNU Hello
I just tried to add a changelog to
The changelog is also available in However as far as I understand pointing to Opinions? |
I think that Therefore I would set the changelog reference to a list, with the first one being the URL to the online version, and the second being a literal string Maybe |
changelog was recently added as a new meta field in NixOS#60371. This commit adds similar support to the Haskell generic builder.
changelog was recently added as a new meta field in #60371. This commit adds similar support to the Haskell generic builder.
Motivation for this change
There are various calls to pay attention to changelog. For easier location of the changelog and for better tooling support, we should allow putting a link to the changelog into
meta
.This only changes the documentation and the
meta
correctness check.Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"