This also fixes the pretty-printing of tasks, which was ambiguous
(42 and "42" where both printed as 42).
Depends on D1194
Needed to scheduling indexer tasks (which take a boolean argument parse_ids).
Differential D1195
Add support for non-string options when scheduling tasks. vlorentz on Feb 26 2019, 2:09 PM. Authored by
Details
This also fixes the pretty-printing of tasks, which was ambiguous Depends on D1194 Needed to scheduling indexer tasks (which take a boolean argument parse_ids).
Diff Detail
Event TimelineComment Actions Build has FAILED Link to build: https://jenkins.softwareheritage.org/job/DSCH/job/tox/204/ Comment Actions Build has FAILED Link to build: https://jenkins.softwareheritage.org/job/DSCH/job/tox/210/ Comment Actions I don't like the idea of making double quoting mandatory on a command-line tool very much. Can we add a fallback to parsing the input as a plain string if ast.literal_eval fails? (I guess that'd be a YAML-ish parsing fallback strategy :P) Comment Actions Or I could just parse it directly as yaml, as it's (mostly?) a superset of what ast.literal_eval accepts. And it spares us a new quirky format. Comment Actions Build is green Comment Actions Build has FAILED Link to build: https://jenkins.softwareheritage.org/job/DSCH/job/tox/223/ |