operate on arches and input args as with lists, not CSV-strings
ClosedPublic

Authored by kparal on May 27 2014, 11:46 AM.

Details

Summary

This reverts a hack introduced in 052595dc (T156, D81). Once T169 has
been fixed, we can now use proper objects and don't need to simulate
lists with CSV structures. This patch converts task input args and
--arch cmdline option to behave as lists.

Depends on D108.

Test Plan

Tests adjusted and pass.

Diff Detail

Repository
rLTRN libtaskotron
Lint
Lint Skipped
Unit
Unit Tests Skipped
kparal retitled this revision from to operate on arches and input args as with lists, not CSV-strings.May 27 2014, 11:46 AM
kparal updated this object.
kparal edited the test plan for this revision. (Show Details)
kparal added reviewers: mkrizek, tflink, jskladan.

This will require the checks to abandon this syntax:

input:
    args: envr,arch

And use this:

input:
    args: 
        - envr
        - arch

or this:

input:
    args: [envr, arch]

That will be in line with the rest of the YAML structure.

kparal updated this revision to Diff 305.May 27 2014, 12:02 PM
  • fix documentation
mkrizek accepted this revision.May 27 2014, 1:04 PM

Looks good to me

This revision is now accepted and ready to land.May 27 2014, 1:04 PM
tflink accepted this revision.May 27 2014, 1:51 PM

Looks good to me.

It occurs to me that we're going to have to do a task audit with the changes from this and D108 to make sure that the syntax is updated everywhere.

kparal closed this revision.May 27 2014, 2:43 PM
kparal updated this revision to Diff 309.

Closed by commit rLTRN0b5101425486 (authored by @kparal).