-
Notifications
You must be signed in to change notification settings - Fork 3
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
Freeze distribution #37
Comments
Is the prototypical implementation in the |
Sorry, I think I meant the |
The is no usage information in the |
The changelog entry ended up in the section for an (by now) old release. I updated the branch so that |
It works fine for the one project in my distribution file but it does not expand stacks which makes it pretty useless for me atm. I also first forgot to give the mode so i had some fun debugging. Forgot token/user first which gave the same messages, but was able to look at the api endpoints from an incognito tab. Does missing access gives some different error?
There also some warning spam
I guess this will be gone by supporting includes Proposed changes:
|
I just tried it. When a job is inaccessible due to insufficient permissions, Jenkins returns 404 (which kind of makes sense because attackers could otherwise probe for existing jobs).
The warnings were for projects that were not lexically in the specified distribution file. They are no longer produced.
Implemented.
Not really implemented but Jenkins-related errors are now reported properly.
Implemented. This build includes the improvements. |
The include is still in the output file, should be removed after expanding. I would also like if all "error" projects could be grouped to the end of the file or marked differently. |
Should be fixed in this build.
How about a non-zero exit code and not writing the output file? Seems much simpler. |
Not generating without a --force switch (and accompanying prompt) sounds better. I would still like to use this in distributions that have some projects with e.g. I personally would be fine with a simple |
In this build.
An (ignorable) error is now reported before writing the output file.
Not sure what you mean in terms of the written distribution file. |
I made a couple of additional changes. Please use the last successful build. |
Did the most recent changes work OK for you? |
Thanks for working on this feature.
example:
here the linux-headers-rtai project is missing completely and its hash has become part of the comment of the sync entry.
|
Can you provide more details? Passwords and API tokens should already be removed from the printed commandline.
The |
I tried to reproduce this, but I got |
I called it with '-p=APIKEY'. |
last build only works with user/password. Using user/token gives:
Also: could the command reuse Currently it uses |
Should be fixed in most recent build.
Same.
I would rather not do that. In fact, I'm not sure the I'm still working on the problems related to including multiple versions of a given project. |
Well, it could dump all vars into the header. |
Is your feature request related to a problem? Please describe.
We often want to freeze a distribution for e.g. submissions or experiments. It would be useful to have a command that automates the process.
Describe the solution you'd like
A new freeze command that recreates a given distribution file, setting the commit for all projects to the hash of the last successful build from jenkins
The text was updated successfully, but these errors were encountered: