-
Notifications
You must be signed in to change notification settings - Fork 712
Add revision information to plan.json #10980
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
base: master
Are you sure you want to change the base?
Conversation
fad4496
to
7c04a29
Compare
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.
Tests would be nice, granting that we'd have to find a stable repo that has revision fields.
I'm trying to write one using |
Okay, this should work, please have a look ^_^ |
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.
Perhaps the revision should be adjacent to "repo" in the RepoTarballPackage
but either way it seems good to get the info into the plan.json somehow.
I put it there because I thought it didn't apply to all repo types ( |
"If it's there, someone will come up with a use for it". And consistent behavior is generally a good thing. |
Now I wonder if we should just have it at top level, next to pkg-name and pkg-version. |
That doesn't seem too bad to me. |
Closes #6186
Template Α: This PR modifies behaviour or interface
Include the following checklist in your PR:
significance: significant
in the changelog file.QA Notes
cd
to any project that uses packages from hackagecabal build --dry all
to produce aplan.json
dist-newstyle/cache/plan.json
pkg-revision
field under all remote-repo or secure-repo packagesindex-state