Merge lp:~gesha/linaro-license-protection/android-push-backwards-compatibility into lp:~linaro-automation/linaro-license-protection/trunk

Proposed by Georgy Redkozubov
Status: Merged
Approved by: Paul Sokolovsky
Approved revision: 55
Merged at revision: 56
Proposed branch: lp:~gesha/linaro-license-protection/android-push-backwards-compatibility
Merge into: lp:~linaro-automation/linaro-license-protection/trunk
Diff against target: 14 lines (+1/-1)
1 file modified
scripts/publish_to_snapshots.py (+1/-1)
To merge this branch: bzr merge lp:~gesha/linaro-license-protection/android-push-backwards-compatibility
Reviewer Review Type Date Requested Status
Paul Sokolovsky Approve
Review via email: mp+102335@code.launchpad.net

Description of the change

Previously destination location was '~username' but new script uses 'username'. This branch adds backwards compatibility with old publishing script for android builds and uses '~username` as destination location.

To post a comment you must log in.
Revision history for this message
Paul Sokolovsky (pfalcon) wrote :

looks good

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'scripts/publish_to_snapshots.py'
--- scripts/publish_to_snapshots.py 2012-04-17 09:23:05 +0000
+++ scripts/publish_to_snapshots.py 2012-04-17 15:43:18 +0000
@@ -70,7 +70,7 @@
70 build_dir_path = os.path.join(uploads_path, build_path) 70 build_dir_path = os.path.join(uploads_path, build_path)
71 user_name = ret_val[0]71 user_name = ret_val[0]
72 job_name = '_'.join(ret_val[1:])72 job_name = '_'.join(ret_val[1:])
73 target_dir = '/'.join([args.job_type, user_name, job_name,73 target_dir = '/'.join([args.job_type, "~%s" % user_name, job_name,
74 str(args.build_num)])74 str(args.build_num)])
75 target_dir_path = os.path.join(target_path, target_dir)75 target_dir_path = os.path.join(target_path, target_dir)
76 elif args.job_type == "kernel-hwpack":76 elif args.job_type == "kernel-hwpack":
7777
=== removed directory 'uploads'

Subscribers

People subscribed via source and target branches