Created by Daniel Manrique and last modified
Get this branch:
bzr branch lp:~roadmr/checkbox/sortkey-fix
Only Daniel Manrique can upload to this branch. If you are Daniel Manrique please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Daniel Manrique

Recent revisions

1316. By Daniel Manrique

plugins/jobs_info.py: Remove sortkey attribute from jobs prior to
submitting to launchpad (LP: #954423)

1315. By Daniel Manrique

Merged fix for automated test status updating by tiagosh (LP: #950105)

1314. By Daniel Manrique

Merged fix for cut-off test steps by tiagosh (LP: #950111)

1313. By Tiago Salem Herrmann

merged from 949957

1312. By Marc Tardif

Merged from 949745.

1311. By Javier Collado

Fixed bug number typo in debian/changelog (introduced in rev. 1294)

1310. By Marc Tardif

[FEATURE] Merged from story482.9_gpu_lockup.

1309. By Launchpad Translations on behalf of checkbox-dev

Launchpad automatic translations update.

1308. By Marc Tardif

Merged from story482_fix_attachment_dependency.

1307. By Javier Collado

Fixed problems in resources introduced in revision 1291.

Revision 1291 adds a new key/value pair unconditionally for each element (sortkey)
to make sure that the ordering in the job file is preserved when executing the jobs.
Unfortunatelly, it seems that resource jobs are executed more than once
(at least package one) and an exception was raised when processing the template again:
Exception: Template <stream> has a duplicate field 'sortkey' with a new value '0'.

To fix that situation, this change just makes sure that `sortkey` is added to the element
after it has been processed only if the key doesn't exist. This way, there won't be
any duplicated key problem regardless of how many times the element is processed.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.