6 Commits

Author SHA1 Message Date
Hervé Beraud
2064f3e29f Remove unused imports in tools and commands
For some non obvious reasons pep8 check doesn't detect these unused imports.

Change-Id: Ie98af5a0fcf4fb8bcd05051de75a84755fbc0b88
2019-11-27 17:45:34 +01:00
Doug Hellmann
e7cf7f6681 add import-eol-tag subcommand to edit-deliverable
Add a subcommand to look for an eol tag for a deliverable and update
the deliverable data file.

Change-Id: I8e75418a218d0f24ebb76b1302939d20240d41f2
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-06-18 09:11:56 -04:00
Doug Hellmann
ee1fc3d892 use yamlutils.loads() everywhere instead of yaml.safe_load()
Also set the encoding for the data files in more open() calls.

Change-Id: Idda3a7ab46e5478f83541fbbb629d7e086515ffd
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-08-01 17:50:37 -04:00
Doug Hellmann
8367ba7320 teach edit-deliverable to add stable branch data
Refactor edit-deliverable to use sub-commands and then add one for
adding the stable branch to a deliverable based on the version.

Change-Id: I939592591ddbf54bc4a2ef239912a09fd5c42d7e
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-08-01 16:31:11 -04:00
Doug Hellmann
eef369f83b treat deliverable files as utf-8 in edit-deliverable
Change-Id: Iaf5b35f7037fbff0ee74ced2d9bfac94a1b5981c
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-08-01 13:43:48 -04:00
Doug Hellmann
6080c4b5ae add edit-deliverable command
Add a new command for making small changes to deliverable files. The
first version knows how to set the release notes URL.

Change-Id: I7b4949d2e93bf6bdfd0080f42a0a3c32a9631750
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-07-31 17:34:33 -04:00