Merge lp://staging/~cjohnston/ubuntu-ci-services-itself/1289001 into lp://staging/ubuntu-ci-services-itself

Proposed by Chris Johnston
Status: Merged
Approved by: Chris Johnston
Approved revision: 326
Merged at revision: 338
Proposed branch: lp://staging/~cjohnston/ubuntu-ci-services-itself/1289001
Merge into: lp://staging/ubuntu-ci-services-itself
Diff against target: 122 lines (+29/-9)
3 files modified
ci-utils/ci_utils/data_store/__init__.py (+11/-8)
ci-utils/ci_utils/tests/test_data_store.py (+17/-0)
cli/ubuntu-ci (+1/-1)
To merge this branch: bzr merge lp://staging/~cjohnston/ubuntu-ci-services-itself/1289001
Reviewer Review Type Date Requested Status
Chris Johnston (community) Approve
PS Jenkins bot (community) continuous-integration Approve
Francis Ginther Approve
Review via email: mp+209946@code.staging.launchpad.net

Commit message

Fix the filename uploads of the DS

Description of the change

There was some strange behavior noticed by the DS... I would upload files where the filename included the full file path (mostly in the case of the CLI I believe)... This also caused relative paths to not work, as uploading a file called ../../something_source.changes doesn't work very well. This switches to using the basename of the file for uploading.

To post a comment you must log in.
Revision history for this message
Francis Ginther (fginther) wrote :

Ah, I also saw this problem and just assumed I was doing it wrong and would use the absolute path. I though it strange at first to relocate _get_file_name outside the class, but I think it makes sense due to it being more of a utility method.

Approving.

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

PASSED: Continuous integration, rev:326
http://s-jenkins.ubuntu-ci:8080/job/uci-engine-ci/328/
Executed test runs:

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/uci-engine-ci/328/rebuild

review: Approve (continuous-integration)
Revision history for this message
Chris Johnston (cjohnston) wrote :

 merge approved

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches