Merge ~ltrager/maas-images:daily_to_candidate into maas-images:master

Proposed by Lee Trager
Status: Merged
Merge reported by: Lee Trager
Merged at revision: 35f038367ab85a871b86773e59c2f07608c59e63
Proposed branch: ~ltrager/maas-images:daily_to_candidate
Merge into: maas-images:master
Diff against target: 380 lines (+62/-62)
11 files modified
README (+22/-22)
README.testing (+10/-10)
conf/bootloaders.yaml (+2/-2)
conf/centos.yaml (+2/-2)
conf/meph-v3.yaml (+3/-3)
meph2/commands/cloudimg_sync.py (+8/-8)
meph2/commands/flags.py (+1/-1)
meph2/commands/meph2_util.py (+10/-10)
meph2/commands/mimport.py (+2/-2)
meph2/stream.py (+1/-1)
tools/genstream-muc (+1/-1)
Reviewer Review Type Date Requested Status
Alberto Donato (community) Approve
Review via email: mp+387405@code.launchpad.net

Commit message

Rename daily to candidate

Description of the change

The daily stream is being renamed candidate and we'll be creating a new stable stream. Images produced by lp:maas-images need to be created using the candidate label so inserting works properly. This branch won't be landed until CPC is ready to create both streams.

To post a comment you must log in.
Revision history for this message
Alberto Donato (ack) wrote :

LGTM.

As mentioned on MM maybe we could keep a feature branch where to land these changed until the whole feature is complete.

review: Approve
bae0560... by Lee Trager

Merge branch 'master' into daily_to_candidate

35f0383... by Lee Trager

Merge branch 'master' into daily_to_candidate

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/README b/README
index df2a9ab..050bdcf 100644
--- a/README
+++ b/README
@@ -1,6 +1,6 @@
1This builds maas ephemeral images from daily builds of cloud images.1This builds maas ephemeral images from candidate builds of cloud images.
2Ie, it creates stuff that goes on2Ie, it creates stuff that goes on
3 http://images.maas.io/ephemeral-v2/daily/3 http://images.maas.io/ephemeral-v3/candidate
4from stuff on4from stuff on
5 http://cloud-images.ubuntu.com/daily5 http://cloud-images.ubuntu.com/daily
66
@@ -50,7 +50,7 @@ To force a build, use '--target=force'
50 copied from maas.ubuntu.com for all other products, but will only50 copied from maas.ubuntu.com for all other products, but will only
51 create new content for products that match the provided filters.51 create new content for products that match the provided filters.
5252
53 If the maas ephemeral data is up to date with the latest cloud image daily53 If the maas ephemeral data is up to date with the latest cloud image candidate
54 then meph2-cloudimg-sync will not do anything.54 then meph2-cloudimg-sync will not do anything.
5555
56In order to 'rebuild' something. To create a new '20160101.1' even when56In order to 'rebuild' something. To create a new '20160101.1' even when
@@ -114,10 +114,10 @@ an existing stream. This option (meph2-util insert) is additive only.
114114
115=== insert data ===115=== insert data ===
116Given output of a meph2-cloudimg-sync command above in build-output.d116Given output of a meph2-cloudimg-sync command above in build-output.d
117and local daily stream directory daily-stream.d you can add the new data117and local candidate stream directory candidate-stream.d you can add the new data
118with:118with:
119119
120 meph2-util insert build-output.d daily-stream.d120 meph2-util insert build-output.d candidate-stream.d
121121
122If you do not want to sign (create .gpg and .sjson files), then you will122If you do not want to sign (create .gpg and .sjson files), then you will
123have to use '--no-sign'.123have to use '--no-sign'.
@@ -126,23 +126,23 @@ You can use '--dry-run' to only report what would be done.
126126
127=== Promoting Builds ===127=== Promoting Builds ===
128Promoting is done on a specific version of a product.128Promoting is done on a specific version of a product.
129You promote a daily build to a released build with a given label.129You promote a candidate build to a released build with a given label.
130Likely that label is 'release'.130Likely that label is 'release'.
131131
132 # list the product-ids and version are available for promotion132 # list the product-ids and version are available for promotion
133 $ sstream-query --output-format="%(product_name)s %(version_name)s" --max=1 \133 $ sstream-query --output-format="%(product_name)s %(version_name)s" --max=1 \
134 daily.d/streams/v1/index.json arch=i386 | sort -u134 candidate.d/streams/v1/index.json arch=i386 | sort -u
135 com.ubuntu.maas.daily:v2:boot:12.04:i386:hwe-p 20140414135 com.ubuntu.maas.candidate:v3:boot:12.04:i386:hwe-p 20140414
136 com.ubuntu.maas.daily:v2:boot:12.04:i386:hwe-q 20140414136 com.ubuntu.maas.candidate:v3:boot:12.04:i386:hwe-q 20140414
137 com.ubuntu.maas.daily:v2:boot:12.04:i386:hwe-r 20140414137 com.ubuntu.maas.candidate:v3:boot:12.04:i386:hwe-r 20140414
138 com.ubuntu.maas.daily:v2:boot:12.04:i386:hwe-s 20140414138 com.ubuntu.maas.candidate:v3:boot:12.04:i386:hwe-s 20140414
139 com.ubuntu.maas.daily:v2:boot:13.10:i386:hwe-s 20140416139 com.ubuntu.maas.candidate:v3:boot:13.10:i386:hwe-s 20140416
140 com.ubuntu.maas.daily:v2:boot:14.04:i386:hwe-t 20140416.1140 com.ubuntu.maas.candidate:v3:boot:14.04:i386:hwe-t 20140416.1
141141
142 # promote the listed version142 # promote the listed version
143 $ meph2-util promote --label=release \143 $ meph2-util promote --label=release \
144 daily.d/streams/v1/index.json releases.d/ 20140414 \144 candidate.d/streams/v1/index.json stable.d/ 20140414 \
145 product_name=com.ubuntu.maas.daily:v2:boot:12.04:i386:hwe-q145 product_name=com.ubuntu.maas.candidate:v3:boot:12.04:i386:hwe-q
146146
147147
148== cleaning old images ==148== cleaning old images ==
@@ -158,7 +158,7 @@ clean-md is the meph-util subcommand that allows you to keep only a given
158number of builds. For example, to keep the latest 3 versions of every158number of builds. For example, to keep the latest 3 versions of every
159product in the meta-data, you would run:159product in the meta-data, you would run:
160160
161 meph2-util clean-md --max=3 daily-sream.d/161 meph2-util clean-md --max=3 candidate-stream.d/
162162
163This *only* modifies the meta-data, it does not delete files, use find-orphans163This *only* modifies the meta-data, it does not delete files, use find-orphans
164and reap-orphans for that.164and reap-orphans for that.
@@ -176,7 +176,7 @@ Example usage:
176 my-orphans.json with any new items, but will not update first-orphaned176 my-orphans.json with any new items, but will not update first-orphaned
177 timestamp.177 timestamp.
178178
179 $ meph2-util find-orphans my-orphans.json ./daily/ ./daily/streams/v1/*.json179 $ meph2-util find-orphans my-orphans.json ./candidate/ ./candidate/streams/v1/*.json
180180
181More complex usage:181More complex usage:
182 Its possible that 2 streams dirs could share a data directory, similar182 Its possible that 2 streams dirs could share a data directory, similar
@@ -184,11 +184,11 @@ More complex usage:
184 directory tree layout (note, 'path' elements would have 'data' in them in184 directory tree layout (note, 'path' elements would have 'data' in them in
185 this example):185 this example):
186186
187 daily/187 candidate/
188 data -> ../data/188 data -> ../data/
189 streams/v1/index.json189 streams/v1/index.json
190 streams/v1/daily.json190 streams/v1/candidate.json
191 released/191 stable/
192 data -> ../data192 data -> ../data
193 streams/v1/index.json193 streams/v1/index.json
194 streams/v1/released.json194 streams/v1/released.json
@@ -199,10 +199,10 @@ More complex usage:
199 Then, we could run meph-util find-orphans with:199 Then, we could run meph-util find-orphans with:
200200
201 $ meph2-util find-orphans my-orphans.json ./data/ \201 $ meph2-util find-orphans my-orphans.json ./data/ \
202 ./daily/streams/v1/index.json released/streams/v1/index.json202 ./candidate/streams/v1/index.json stable/streams/v1/index.json
203203
204 That will look through files in data/ that are not referenced by path204 That will look through files in data/ that are not referenced by path
205 elements in either the daily/streams/v1/ or released/streams/v1/ files.205 elements in either the candidate/streams/v1/ or stable/streams/v1/ files.
206206
207 There is no --dry-run for finding orphans as it is non-destructive.207 There is no --dry-run for finding orphans as it is non-destructive.
208208
diff --git a/README.testing b/README.testing
index 1622e4a..f5d558a 100644
--- a/README.testing
+++ b/README.testing
@@ -1,28 +1,28 @@
1To get local copies of maas ephemerals, you can do:1To get local copies of maas ephemerals, you can do:
22
3 burl=http://maas.ubuntu.com/images/ephemeral-v23 burl=http://maas.ubuntu.com/images/ephemeral-v2
4 for stream in releases daily; do4 for stream in releases candidate; do
5 sstream-mirror --no-item-download \5 sstream-mirror --no-item-download \
6 $burl/$stream/streams/v1/index.json "$stream.d"; done6 $burl/$stream/streams/v1/index.json "$stream.d"; done
77
88
9Then, to test promote you could do:9Then, to test promote you could do:
10 $ sstream-query --output-format="%(product_name)s %(version_name)s" --max=1 \10 $ sstream-query --output-format="%(product_name)s %(version_name)s" --max=1 \
11 daily.d/streams/v1/index.json arch=i386 | sort -u11 candidate.d/streams/v1/index.json arch=i386 | sort -u
12 com.ubuntu.maas.daily:v2:boot:12.04:i386:hwe-p 2014041412 com.ubuntu.maas.candidate:v3:boot:12.04:i386:hwe-p 20140414
13 com.ubuntu.maas.daily:v2:boot:12.04:i386:hwe-q 2014041413 com.ubuntu.maas.candidate:v3:boot:12.04:i386:hwe-q 20140414
14 com.ubuntu.maas.daily:v2:boot:12.04:i386:hwe-r 2014041414 com.ubuntu.maas.candidate:v3:boot:12.04:i386:hwe-r 20140414
15 com.ubuntu.maas.daily:v2:boot:12.04:i386:hwe-s 2014041415 com.ubuntu.maas.candidate:v3:boot:12.04:i386:hwe-s 20140414
16 com.ubuntu.maas.daily:v2:boot:13.10:i386:hwe-s 2014041616 com.ubuntu.maas.candidate:v3:boot:13.10:i386:hwe-s 20140416
17 com.ubuntu.maas.daily:v2:boot:14.04:i386:hwe-t 20140416.117 com.ubuntu.maas.candidate:v3:boot:14.04:i386:hwe-t 20140416.1
1818
19 $ sstream-query \19 $ sstream-query \
20 --output-format="%(product_name)s %(version_name)s/%(item_name)s" \20 --output-format="%(product_name)s %(version_name)s/%(item_name)s" \
21 releases.d/streams/v1/index.json | sort -u > before21 releases.d/streams/v1/index.json | sort -u > before
2222
23 $ meph2-util promote --no-sign --skip-file-copy --label=release \23 $ meph2-util promote --no-sign --skip-file-copy --label=release \
24 daily.d/streams/v1/index.json releases.d/ 20140414 \24 candidate.d/streams/v1/index.json releases.d/ 20140414 \
25 product_name=com.ubuntu.maas.daily:v2:boot:12.04:i386:hwe-q25 product_name=com.ubuntu.maas.candidate:v3:boot:12.04:i386:hwe-q
2626
27 $ sstream-query \27 $ sstream-query \
28 --output-format="%(product_name)s %(version_name)s/%(item_name)s" \28 --output-format="%(product_name)s %(version_name)s/%(item_name)s" \
diff --git a/conf/bootloaders.yaml b/conf/bootloaders.yaml
index cf83162..7fd275e 100644
--- a/conf/bootloaders.yaml
+++ b/conf/bootloaders.yaml
@@ -1,5 +1,5 @@
1product_id: "com.ubuntu.maas.daily:1:{os}:{firmware_platform}:{arch}"1product_id: "com.ubuntu.maas.candidate:1:{os}:{firmware_platform}:{arch}"
2content_id: "com.ubuntu.maas:daily:1:bootloader-download"2content_id: "com.ubuntu.maas:candidate:1:bootloader-download"
33
4bootloaders:4bootloaders:
5 - firmware-platform: pxe5 - firmware-platform: pxe
diff --git a/conf/centos.yaml b/conf/centos.yaml
index 55bc311..3c06369 100644
--- a/conf/centos.yaml
+++ b/conf/centos.yaml
@@ -1,7 +1,7 @@
1image_index: http://cloud.centos.org/centos/{version}/images/image-index1image_index: http://cloud.centos.org/centos/{version}/images/image-index
22
3product_id: "com.ubuntu.maas.daily:centos-bases:{version}:{arch}"3product_id: "com.ubuntu.maas.candidate:centos-bases:{version}:{arch}"
4content_id: "com.ubuntu.maas:daily:centos-bases-download"4content_id: "com.ubuntu.maas:candidate:centos-bases-download"
5os: centos5os: centos
6arch: amd646arch: amd64
7base_mirror: http://mirrors.edge.kernel.org7base_mirror: http://mirrors.edge.kernel.org
diff --git a/conf/meph-v3.yaml b/conf/meph-v3.yaml
index 594918b..a7e45a8 100644
--- a/conf/meph-v3.yaml
+++ b/conf/meph-v3.yaml
@@ -207,9 +207,9 @@ enable_di: False
207## so for now, we just don't have a stream for that.207## so for now, we just don't have a stream for that.
208## * kernel meta package in all cases here is linux-image-<flavor>208## * kernel meta package in all cases here is linux-image-<flavor>
209209
210default_target: http://images.maas.io/ephemeral-v3/daily/streams/v1/com.ubuntu.maas:daily:v3:download.json210default_target: http://images.maas.io/ephemeral-v3/candidate/streams/v1/com.ubuntu.maas:candidate:v3:download.json
211content_id: com.ubuntu.maas:daily:v3:download211content_id: com.ubuntu.maas:candidate:v3:download
212product_id_pre: com.ubuntu.maas.daily:v3:boot212product_id_pre: com.ubuntu.maas.candidate:v3:boot
213213
214# By default maas-images uses the krel in the boot path. This worked for the v2214# By default maas-images uses the krel in the boot path. This worked for the v2
215# stream because there was only one kernel per release/arch/krel/kflavor. The215# stream because there was only one kernel per release/arch/krel/kflavor. The
diff --git a/meph2/commands/cloudimg_sync.py b/meph2/commands/cloudimg_sync.py
index a118a52..2ea1903 100755
--- a/meph2/commands/cloudimg_sync.py
+++ b/meph2/commands/cloudimg_sync.py
@@ -16,8 +16,8 @@ import os
16import sys16import sys
17import yaml17import yaml
1818
19CLOUD_IMAGES_DAILY = ("http://cloud-images.ubuntu.com/daily/"19CLOUD_IMAGES_CANDIDATE = ("http://cloud-images.ubuntu.com/candidate/"
20 "streams/v1/com.ubuntu.cloud:daily:download.json")20 "streams/v1/com.ubuntu.cloud:candidate:download.json")
2121
22FORCE_URL = "force" # a fake target url that will have nothing in it22FORCE_URL = "force" # a fake target url that will have nothing in it
23DEFAULT_ARCHES = {23DEFAULT_ARCHES = {
@@ -36,7 +36,7 @@ def v2_to_cloudimg_products(prodtree, rebuilds={}):
36 # this turns a v2 products tree into a cloud-image products tree.36 # this turns a v2 products tree into a cloud-image products tree.
37 # it pays attention only to products with krel == release37 # it pays attention only to products with krel == release
38 # (in an attempt to only get "primary")38 # (in an attempt to only get "primary")
39 ret = util.empty_iid_products("com.ubuntu.cloud:daily:download")39 ret = util.empty_iid_products("com.ubuntu.cloud:candidate:download")
40 # rebuilds is {cloudimgYYYYMMDD:newYYYYMMDD}40 # rebuilds is {cloudimgYYYYMMDD:newYYYYMMDD}
41 for product in prodtree.get('products'):41 for product in prodtree.get('products'):
42 if not (prodtree['products'][product].get('krel') ==42 if not (prodtree['products'][product].get('krel') ==
@@ -44,8 +44,8 @@ def v2_to_cloudimg_products(prodtree, rebuilds={}):
44 continue44 continue
4545
46 # com.ubuntu.maas:boot:12.04:amd64:hwe-s =>46 # com.ubuntu.maas:boot:12.04:amd64:hwe-s =>
47 # com.ubuntu.cloud.daily:server:12.04:amd6447 # com.ubuntu.cloud.candidate:server:12.04:amd64
48 tprod = ("com.ubuntu.cloud.daily:server:%(version)s:%(arch)s" %48 tprod = ("com.ubuntu.cloud.candidate:server:%(version)s:%(arch)s" %
49 prodtree['products'][product])49 prodtree['products'][product])
5050
51 if tprod not in ret['products']:51 if tprod not in ret['products']:
@@ -99,7 +99,7 @@ class CloudImg2Meph2Sync(mirrors.BasicMirrorWriter):
99 self.rebuilds = rebuilds99 self.rebuilds = rebuilds
100100
101 def load_products(self, path=None, content_id=None):101 def load_products(self, path=None, content_id=None):
102 if content_id != "com.ubuntu.cloud:daily:download":102 if content_id != "com.ubuntu.cloud:candidate:download":
103 raise ValueError("Not expecting to sync with content_id: %s" %103 raise ValueError("Not expecting to sync with content_id: %s" %
104 content_id)104 content_id)
105105
@@ -172,7 +172,7 @@ class CloudImg2Meph2Sync(mirrors.BasicMirrorWriter):
172 fp.write(util.dump_data(index))172 fp.write(util.dump_data(index))
173173
174 def filter_index_entry(self, data, src, pedigree):174 def filter_index_entry(self, data, src, pedigree):
175 if pedigree[0] != "com.ubuntu.cloud:daily:download":175 if pedigree[0] != "com.ubuntu.cloud:candidate:download":
176 LOG.info("skipping index entry %s" % '/'.join(pedigree))176 LOG.info("skipping index entry %s" % '/'.join(pedigree))
177 return False177 return False
178 return True178 return True
@@ -209,7 +209,7 @@ def main():
209 parser.add_argument('--proposed', action='store_true', default=False)209 parser.add_argument('--proposed', action='store_true', default=False)
210 parser.add_argument('--rebuild', action='append', default=[],210 parser.add_argument('--rebuild', action='append', default=[],
211 help='rebuild version name YYYYMMDD:YYYMMDD.1')211 help='rebuild version name YYYYMMDD:YYYMMDD.1')
212 parser.add_argument('--source', default=CLOUD_IMAGES_DAILY,212 parser.add_argument('--source', default=CLOUD_IMAGES_CANDIDATE,
213 help='cloud images mirror')213 help='cloud images mirror')
214 parser.add_argument('--target', default=None,214 parser.add_argument('--target', default=None,
215 help="maas ephemeral v2 or v3 mirror, overrides "215 help="maas ephemeral v2 or v3 mirror, overrides "
diff --git a/meph2/commands/flags.py b/meph2/commands/flags.py
index f3ca85d..f85060d 100644
--- a/meph2/commands/flags.py
+++ b/meph2/commands/flags.py
@@ -59,7 +59,7 @@ SUBCOMMANDS = {
59 ]59 ]
60 },60 },
61 'promote': {61 'promote': {
62 'help': 'promote a product/version from daily to release',62 'help': 'promote a product/version from candidate to stable',
63 'opts': [63 'opts': [
64 COMMON_FLAGS['dry-run'], COMMON_FLAGS['no-sign'],64 COMMON_FLAGS['dry-run'], COMMON_FLAGS['no-sign'],
65 COMMON_FLAGS['keyring'],65 COMMON_FLAGS['keyring'],
diff --git a/meph2/commands/meph2_util.py b/meph2/commands/meph2_util.py
index 295442d..f33b4be 100755
--- a/meph2/commands/meph2_util.py
+++ b/meph2/commands/meph2_util.py
@@ -135,7 +135,7 @@ class InsertBareMirrorWriter(BareMirrorWriter):
135135
136class ReleasePromoteMirror(InsertBareMirrorWriter):136class ReleasePromoteMirror(InsertBareMirrorWriter):
137 # this does not do reference counting or .data/ storage137 # this does not do reference counting or .data/ storage
138 # it converts a daily item to a release item and inserts it.138 # it converts a candidate item to a release item and inserts it.
139139
140 # we take care of writing file in insert_products140 # we take care of writing file in insert_products
141 insert_index_entry = BareMirrorWriter._noop141 insert_index_entry = BareMirrorWriter._noop
@@ -145,7 +145,7 @@ class ReleasePromoteMirror(InsertBareMirrorWriter):
145 objectstore=objectstore)145 objectstore=objectstore)
146 self.label = label146 self.label = label
147147
148 def rel2daily(self, ptree):148 def rel2candidate(self, ptree):
149 ret = copy.deepcopy(ptree)149 ret = copy.deepcopy(ptree)
150 ret['content_id'] = self.fixed_content_id(ret['content_id'])150 ret['content_id'] = self.fixed_content_id(ret['content_id'])
151151
@@ -155,25 +155,25 @@ class ReleasePromoteMirror(InsertBareMirrorWriter):
155 del ptree['products'][oname]155 del ptree['products'][oname]
156156
157 def fixed_content_id(self, content_id):157 def fixed_content_id(self, content_id):
158 # when promoting from daily, our content ids get ':daily' removed158 # when promoting from candidate, our content ids get ':candidate' removed
159 # com.ubuntu.maas:daily:v2:download => com.ubuntu.maas:v2:download159 # com.ubuntu.maas:candidate:v2:download => com.ubuntu.maas:v2:download
160 return(content_id.replace(":daily", ""))160 return(content_id.replace(":candidate", ""))
161161
162 def fixed_pedigree(self, pedigree):162 def fixed_pedigree(self, pedigree):
163 return tuple([self.fixed_product_id(pedigree[0])] + list(pedigree[1:]))163 return tuple([self.fixed_product_id(pedigree[0])] + list(pedigree[1:]))
164164
165 def fixed_product_id(self, product_id):165 def fixed_product_id(self, product_id):
166 # when promoting from daily, product ids get '.daily' removed166 # when promoting from candidate, product ids get '.candidate' removed
167 # com.ubuntu.maas.daily:v2:boot:13.10:armhf:generic-lpae ->167 # com.ubuntu.maas.candidate:v2:boot:13.10:armhf:generic-lpae ->
168 # com.ubuntu.maas:v2:boot:13.10:armhf:generic-lpae168 # com.ubuntu.maas:v2:boot:13.10:armhf:generic-lpae
169 return product_id.replace(".daily:", ":")169 return product_id.replace(".candidate:", ":")
170170
171 def load_products(self, path, content_id):171 def load_products(self, path, content_id):
172 # this loads the released products, but returns it in form172 # this loads the released products, but returns it in form
173 # of daily products173 # of candidate products
174 ret = super(ReleasePromoteMirror, self).load_products(174 ret = super(ReleasePromoteMirror, self).load_products(
175 path=path, content_id=self.fixed_content_id(content_id))175 path=path, content_id=self.fixed_content_id(content_id))
176 return self.rel2daily(ret)176 return self.rel2candidate(ret)
177177
178 def insert_item(self, data, src, target, pedigree, contentsource):178 def insert_item(self, data, src, target, pedigree, contentsource):
179 ret = super(ReleasePromoteMirror, self).insert_item(179 ret = super(ReleasePromoteMirror, self).insert_item(
diff --git a/meph2/commands/mimport.py b/meph2/commands/mimport.py
index 6344d3f..224a248 100644
--- a/meph2/commands/mimport.py
+++ b/meph2/commands/mimport.py
@@ -67,7 +67,7 @@ def import_remote_config(args, product_tree, cfgdata):
67 print("Creating new product %s" % product_id)67 print("Creating new product %s" % product_id)
68 product_tree['products'][product_id] = {68 product_tree['products'][product_id] = {
69 'subarches': 'generic',69 'subarches': 'generic',
70 'label': 'daily',70 'label': 'candidate',
71 'subarch': 'generic',71 'subarch': 'generic',
72 'arch': arch,72 'arch': arch,
73 'os': os_name,73 'os': os_name,
@@ -175,7 +175,7 @@ def import_bootloaders(args, product_tree, cfgdata):
175 if product_tree['products'].get(product_id) is None:175 if product_tree['products'].get(product_id) is None:
176 print("Creating new product %s" % product_id)176 print("Creating new product %s" % product_id)
177 product_tree['products'][product_id] = {177 product_tree['products'][product_id] = {
178 'label': 'daily',178 'label': 'candidate',
179 'arch': firmware_platform['arch'],179 'arch': firmware_platform['arch'],
180 'arches': firmware_platform['arches'],180 'arches': firmware_platform['arches'],
181 'os': firmware_platform['os'],181 'os': firmware_platform['os'],
diff --git a/meph2/stream.py b/meph2/stream.py
index 3142401..47a9abd 100644
--- a/meph2/stream.py
+++ b/meph2/stream.py
@@ -11,7 +11,7 @@ import yaml
1111
12from simplestreams.log import LOG12from simplestreams.log import LOG
1313
14ALL_ITEM_TAGS = {'label': 'daily', 'os': 'ubuntu'}14ALL_ITEM_TAGS = {'label': 'candidate', 'os': 'ubuntu'}
1515
16PATH_COMMON = "%(release)s/%(arch)s/"16PATH_COMMON = "%(release)s/%(arch)s/"
17BOOT_COMMON = PATH_COMMON + "%(version_name)s/%(kname)s/%(flavor)s"17BOOT_COMMON = PATH_COMMON + "%(version_name)s/%(kname)s/%(flavor)s"
diff --git a/tools/genstream-muc b/tools/genstream-muc
index 0134afa..758836a 100755
--- a/tools/genstream-muc
+++ b/tools/genstream-muc
@@ -162,7 +162,7 @@ class FakeProduct(object):
162 self._versions[version] = d162 self._versions[version] = d
163163
164 def get_label(self, version):164 def get_label(self, version):
165 return 'daily'165 return 'candidate'
166166
167 def makepaths(self, target, makedata=makedata_filepath):167 def makepaths(self, target, makedata=makedata_filepath):
168 for version_id, ver in self._versions.items():168 for version_id, ver in self._versions.items():

Subscribers

People subscribed via source and target branches