-
Notifications
You must be signed in to change notification settings - Fork 9
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
Big clean up of release.py script #1014
Conversation
Signed-off-by: Jose Luis Rivero <[email protected]>
Signed-off-by: Jose Luis Rivero <[email protected]>
Signed-off-by: Jose Luis Rivero <[email protected]>
Signed-off-by: Jose Luis Rivero <[email protected]>
Signed-off-by: Jose Luis Rivero <[email protected]>
Signed-off-by: Jose Luis Rivero <[email protected]>
Signed-off-by: Jose Luis Rivero <[email protected]>
Signed-off-by: Jose Luis Rivero <[email protected]>
Signed-off-by: Jose Luis Rivero <[email protected]>
Signed-off-by: Jose Luis Rivero <[email protected]>
Signed-off-by: Jose Luis Rivero <[email protected]>
release.py
Outdated
@@ -493,7 +495,7 @@ def generate_upload_tarball(args): | |||
# If we're releasing under a different name, then rename the tarball (the | |||
# package itself doesn't know anything about this). | |||
if args.package != args.package_alias: | |||
tarball_fname = '%s-%s.tar.bz2'%(args.package_alias, args.version) | |||
tarball_fname = ' %s-%s.tar.bz2' % (args.package_alias, args.version) |
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.
This failed for me with
!! Can not find a tarball at: /tmp/tmp8ttiifnf/build/ gz-cmake-3.4.1.tar.bz2 or at /tmp/tmp8ttiifnf/build/ gz_cmake-3.4.1.tar.bz2
I think the issue is there are a number of places where an extra space is added inside string formats that didn't have it before. Search for ' %s
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.
Signed-off-by: Jose Luis Rivero <[email protected]>
Signed-off-by: Jose Luis Rivero <[email protected]>
A big first clean up in the ancient
release.py
script. Some major changes that I believe probably noone was using nowadays:--no-ignition-auto
option--upstream
optionFormatting/Linting fixes:
The changes are easier to navigate commit-by-commit, the commit description should be good to understand each of them.