~sylvain-pineau/plainbox:tar_folders

Last commit made on 2017-05-22
Get this branch:
git clone -b tar_folders https://git.launchpad.net/~sylvain-pineau/plainbox
Only Sylvain Pineau can upload to this branch. If you are Sylvain Pineau please log in for upload directions.

Branch merges

Branch information

Name:
tar_folders
Repository:
lp:~sylvain-pineau/plainbox

Recent commits

b710ddf... by Sylvain Pineau

exporter:tar: Create folders in the archive to quickly review attachments

Example:

.
├── attachment_files
│   ├── 2013.com.canonical.certification__dmi_attachment
│   ├── 2013.com.canonical.certification__lspci_attachment
│   ├── 2013.com.canonical.certification__lsusb_attachment
│   ├── 2013.com.canonical.certification__sysfs_attachment
│   ├── 2013.com.canonical.certification__udev_attachment
│   └── 2013.com.canonical.certification__udev_json
│ ...
├── submission.json
├── submission.xlsx
└── test_output
    ├── 2013.com.canonical.certification__alsa_resource
    ├── 2013.com.canonical.certification__bluez-internal-bnep-tests
    ...

3cdee77... by PMR <pmr@pmr-lander>

Merge #323374 from ~jocave/plainbox:handle-missing-template-parameters

96193a4... by Jonathan Cave

Unit test added confirm MissingParm exception is handled by controller

26863fb... by Jonathan Cave

Unit test added to check MissingParam raised during template instantiation

26955d9... by Jonathan Cave

Update get_record_value unit test

833af82... by Jonathan Cave

Handle KeyErrors during template instantiation

b178c96... by PMR <pmr@pmr-lander>

Merge #321662 from ~kissiel/plainbox:fix-crash-on-run

352b4ab... by Maciej Kisielewski

decrease attempts on job failure

So the UIs don't have to mess with job_state.

I went with EAFP approach here in regards to 'detection' of the auto-retry
feature. It looks much cleaner than:

* moving auto-retry related variables to primeval PlainboxConfig
* LBYL in two ways:
  - checking for variable existance in the 'private' fields of the
    config/launcher
  - pulling variable_list from the Meta of the config/launcher obj.
* introducing 'its-an-auto-retry-run' flag to the `run_job` fun of SA that
  could be used by front-ends to make sure auto_attempts 'inhibitor' is
  ignored. Or, a flag that would make SA decrease `attempts` only when
  appropriate. But this would make auto-retry support logic spread on yet
  another channel.

Signed-off-by: Maciej Kisielewski <email address hidden>

5bf9ed7... by PMR <pmr@pmr-lander>

Merge #321970 from ~sylvain-pineau/plainbox:strip_ns_json

0bd36bc... by Sylvain Pineau

exporters:data:checkbox.json: Strip namespace from job ids