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
1=== modified file 'scripts/publish_to_snapshots.py'
2--- scripts/publish_to_snapshots.py 2012-04-17 09:23:05 +0000
3+++ scripts/publish_to_snapshots.py 2012-04-17 15:43:18 +0000
4@@ -70,7 +70,7 @@
5 build_dir_path = os.path.join(uploads_path, build_path)
6 user_name = ret_val[0]
7 job_name = '_'.join(ret_val[1:])
8- target_dir = '/'.join([args.job_type, user_name, job_name,
9+ target_dir = '/'.join([args.job_type, "~%s" % user_name, job_name,
10 str(args.build_num)])
11 target_dir_path = os.path.join(target_path, target_dir)
12 elif args.job_type == "kernel-hwpack":
13
14=== removed directory 'uploads'

Subscribers

People subscribed via source and target branches