-
Notifications
You must be signed in to change notification settings - Fork 714
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 |
6475619
to
e4d9b28
Compare
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. |
@fgaz 3.16 is rapidly approaching. Do you want to push this over the line? |
I moved it to the top-level unit info.
@ulysses4ever It'd be nice, however I'm planning to open another pr that adds source-repository-package revision information, and I'll need both for my purposes, so waiting for the next release is fine by me. |
3.16 looks out of reach by now sadly. Looking forward to see it in 3.18! |
7bb4dcb
to
a56a512
Compare
Windows is failing :-/
|
Windows validates are getting wedged and killed-but-undead by GHA timeout for some reason. I canceled the jobs and am trying again to see if they wedge at the same place this time. ETA: no, they're really undead. The actions panel said I canceled them successfully, the UI thinks they're still running and when I went back to the actions panel it said "Waiting for pending jobs" meaning they're still running despite their logs saying they cleaned up and terminated and the post-job saying it got their statuses. This smells like some GHA hosage. ETA: just more UI hosage: shift-reloading got me it having restarted them as expected, and I'm tracking it running lib-tests now. |
Okay, it's failing as mentioned above, after |
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