Merge lp:~brian-murray/ubuntu-qa-tools/proposed-repo into lp:ubuntu-qa-tools

Proposed by Brian Murray
Status: Merged
Merge reported by: Marc Deslauriers
Merged at revision: not available
Proposed branch: lp:~brian-murray/ubuntu-qa-tools/proposed-repo
Merge into: lp:ubuntu-qa-tools
Diff against target: 15 lines (+2/-0)
1 file modified
vm-tools/uvt (+2/-0)
To merge this branch: bzr merge lp:~brian-murray/ubuntu-qa-tools/proposed-repo
Reviewer Review Type Date Requested Status
Marc Deslauriers Approve
Ubuntu Development Team Pending
Review via email: mp+195990@code.launchpad.net

Description of the change

I use uvt systems for SRU verification and thought it'd be nice to have -proposed in sources.list but make it a comment so it is not enabled.

To post a comment you must log in.
Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

Good idea! ACK.

review: Approve
Revision history for this message
Colin Watson (cjwatson) wrote :

This doesn't look like it will work; in "echo #deb ...", the #
introduces a shell comment so the rest of the line will be ignored. You
need to quote the # somehow.

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

d'oh, yes. I'll fix it. Thanks for the cluestick Colin.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'vm-tools/uvt'
2--- vm-tools/uvt 2013-09-10 14:55:57 +0000
3+++ vm-tools/uvt 2013-11-20 17:59:24 +0000
4@@ -2354,9 +2354,11 @@
5 mv /etc/apt/sources.list /etc/apt/sources.list.ori
6 echo deb %(tmp_m)s %(release)s main restricted universe multiverse > /etc/apt/sources.list
7 echo deb %(tmp_m)s %(release)s-updates main restricted universe multiverse >> /etc/apt/sources.list
8+echo #deb %(tmp_m)s %(release)s-proposed main restricted universe multiverse >> /etc/apt/sources.list
9 echo deb %(tmp_s)s %(release)s-security main restricted universe multiverse >> /etc/apt/sources.list
10 echo deb-src %(tmp_src)s %(release)s main restricted universe multiverse >> /etc/apt/sources.list
11 echo deb-src %(tmp_src)s %(release)s-updates main restricted universe multiverse >> /etc/apt/sources.list
12+echo #deb-src %(tmp_src)s %(release)s-proposed main restricted universe multiverse >> /etc/apt/sources.list
13 echo deb-src %(tmp_ssrc)s %(release)s-security main restricted universe multiverse >> /etc/apt/sources.list
14 ''' % { 'tmp_m': tmp_m,
15 'tmp_s': tmp_s,