importer config needs to be more DRY

Bug #1455690 reported by Steve Langasek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu system image
Triaged
Wishlist
Unassigned

Bug Description

We currently have importer config lines on system-image that look like this:

file_custom,krillin = http;http://s-jenkins.ubuntu-ci:8080/view/cambridge/job/BQ International Tarball - Gated/lastSuccessfulBuild/artifact/custom.tar.xz;name=custom,monitor=http://s-jenkins.ubuntu-ci:8080/view/cambridge/job/BQ International Tarball - Gated/lastSuccessfulBuild/artifact/build_id

This is completely unreadable and typo-prone.

It would be better if the 'monitor' option could take a relative path, as an alternative to an absolute URL. E.g.:

file_custom,krillin = http;http://s-jenkins.ubuntu-ci:8080/view/cambridge/job/BQ International Tarball - Gated/lastSuccessfulBuild/artifact/custom.tar.xz;name=custom,monitor=build_id

This should be interpreted as a path relative to the associated URL:
 - if the 'monitor' value doesn't begin with ([a-zA-Z]*://|/)
  - strip off the part of the URL after the last '/' and append the monitor value to make the full monitor URL

Tags: server
Barry Warsaw (barry)
tags: added: server
Steve Langasek (vorlon)
Changed in ubuntu-system-image:
importance: Undecided → Wishlist
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.