-
Notifications
You must be signed in to change notification settings - Fork 14
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
[patch] Restructure archive #1595
Conversation
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
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.
I'm not deeply enough into this corner of the code base to make any comment on function, but in form this seems perfectly reasonable to me. "Comment"-status here is meant to indicate my own lack of self-confidence as a reviewer, not as a slam on the PR.
Added a nit you should take, a nit you should probably ignore (cost/benefit is bad), and a cute suggestion.
It's true that my intention was more like "hey this is what we agreed on yesterday, right?" and not so much about asking you guys to review the code, because except for @pmrv there's no one who has followed the updates so I guess it's difficult for you to understand each line of code. |
Co-authored-by: Liam Huber <liamhuber@greyhavensolutions.com>
for more information, see https://pre-commit.ci
Code snippet
Job Table
Old output:
New output:
Archive structure
Old
archive.tar.gz
structure:New
archive.tar.gz
structure:Potential problem with the new version
When a subgroup is created and the main group has no job, the sub group will be considered as the project path, i.e.:
is equivalent to
and in both cases
my_project/my_group
will be replaced by the new project name. If the main project contains at least one job or other sub groups then onlymy_project
will be replaced and the overall structure will be maintained.From what I can see the changes are backward compatible. Frankly I cannot really guarantee anything.