Merge lp:~smoser/maas-images/trunk.simplestreams-git into lp:maas-images

Proposed by Scott Moser
Status: Merged
Merged at revision: 400
Proposed branch: lp:~smoser/maas-images/trunk.simplestreams-git
Merge into: lp:maas-images
Diff against target: 87 lines (+11/-35)
3 files modified
doc/setup.txt (+3/-29)
system-setup (+6/-4)
tox.ini (+2/-2)
To merge this branch: bzr merge lp:~smoser/maas-images/trunk.simplestreams-git
Reviewer Review Type Date Requested Status
maintainers of maas images Pending
Review via email: mp+348490@code.launchpad.net

Commit message

Adjust to using simplestreams from git instead of bzr.

simplestreams has moved from bzr to git.
Just update references to it's bzr to use git instead.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'doc/setup.txt'
2--- doc/setup.txt 2014-03-28 20:06:40 +0000
3+++ doc/setup.txt 2018-06-25 19:19:19 +0000
4@@ -1,29 +1,3 @@
5-## in order to try this / setup development
6-## Trusty system
7-
8-MEPH_V2_BZR="lp:~smoser/maas/maas-ephemerals-v2"
9-
10-BD="/mnt"
11-PKGS="bzr make"
12-SRC_D="$BD/src"
13-TENV="$SRC_D/simplestreams/tools/tenv"
14-
15-CI_DAILY_INDEX="http://cloud-images.ubuntu.com/daily/streams/v1/index.json"
16-CI_MIRROR_D="$BD/mirrors/cloud-images-daily"
17-
18-[ -w "$BD" ] || sudo chown $(id -u):$(id -g) "$BD"
19-
20-sudo apt-get update --quiet
21-sudo apt-get install --quiet --assume-yes $pkgs </dev/null
22-
23-mkdir -p "$SRC_D" "$CI_MIRROR_D"
24-
25-bzr branch lp:simplestreams "$SRC_D/simplestreams"
26-( cd "$SRC_D/simplestreams" && make gnupg )
27-
28-bzr branch "$MEPH_V2_BZR" "$SRC_D/meph-v2"
29-( cd "$SRC_D/simplestreams" && make gnupg )
30-
31-$TENV sstream-mirror --progress --max=1 "$CI_DAILY_INDEX" "$CI_MIRROR_D"
32-
33-# vi: syntax=sh
34+To set up system for development, including installation of packages
35+execute:
36+ ./system-setup
37
38=== modified file 'system-setup'
39--- system-setup 2017-11-22 20:10:41 +0000
40+++ system-setup 2018-06-25 19:19:19 +0000
41@@ -2,7 +2,8 @@
42
43 _APT_UPDATED=false
44 MEPH2_BRANCH="lp:maas-images"
45-SSTREAM_BRANCH="lp:simplestreams"
46+SSTREAM_REPO="https://git.launchpad.net/simplestreams"
47+SSTREAM_BRANCH="master"
48 CROSS_DEPS=( qemu-user-static u-boot-tools )
49 MEPH2_D=""
50 # MEPH2_SIMPLESTREAMS can be:
51@@ -128,10 +129,11 @@
52 fi
53
54 if [ "$MEPH2_SIMPLESTREAMS" = "branch" ]; then
55- sstream_d="$MEPH2_D/simplestreams.bzr"
56+ sstream_d="$MEPH2_D/simplestreams.git"
57 if [ ! -d "$sstream_d" ]; then
58- bzr branch "$SSTREAM_BRANCH" "$sstream_d" &&
59- ln -snf simplestreams.bzr/simplestreams "$MEPH2_D/simplestreams" ||
60+ git clone "--branch=${SSTREAM_BRANCH}" \
61+ "${SSTREAM_REPO}" "${sstream_d}" &&
62+ ln -snf "${sstream_d}/simplestreams" "$MEPH2_D/simplestreams" ||
63 fail "failed to get $SSTREAM_BRANCH"
64 out=$(cd "$MEPH2_D" && python3 -c 'import simplestreams' 2>&1) ||
65 fail "error getting simplestreams: $out"
66
67=== modified file 'tox.ini'
68--- tox.ini 2016-08-01 17:46:47 +0000
69+++ tox.ini 2018-06-25 19:19:19 +0000
70@@ -5,7 +5,7 @@
71 [testenv]
72 basepython=python3
73 deps =
74- bzr+lp:simplestreams
75+ git+https://git.launchpad.net/simplestreams
76 pyyaml
77 distro_info
78
79@@ -18,7 +18,7 @@
80 # we explicitly list those dependencies here.
81 deps =
82 pyyaml
83- bzr+lp:simplestreams
84+ git+https://git.launchpad.net/simplestreams
85 commands = {toxinidir}/bin/meph2-util --help
86
87 [testenv:flake8]

Subscribers

People subscribed via source and target branches