7 Commits

Author SHA1 Message Date
Sean McGinnis
08cd1fb33c
Switch to PyYaml safe_load
The load() call from PyYaml is considered a higher security risk in that
it uses the FullLoader. safe_loade() is considered more safe by using
the SafeLoader instead.

Since the 5.1 release of PyYaml added warning output when using load(),
this switches over to safe_load() to avoid the unnecessary noise.

Change-Id: I1949deed094822d2c2c56659eadb1fc5ea6a59e5
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-07-27 16:18:19 -05:00
Sean McGinnis
44d6736a5e
Be explicit about python3 executable
Per best practices, explicitly use the python3 executable rather than
assuming the platform with have a "python" executable that maps to
python3.

https://www.python.org/dev/peps/pep-0394/

Change-Id: I39b8a1013a891f4570f374d8faa3cfa2ecaf3347
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2019-10-16 09:45:29 -05:00
Hervé Beraud
6b3259ee21 Allow user to generate urls for the given results.
Introduce the flag `--url` who allow user to generate urls
for the given result.

Introduce the option `--distgit` to allow user to specify
the base url to use to generate urls.

Change-Id: I10d4f92f64a68f283c70c2c880c27a069f123762
2019-02-01 15:10:23 +01:00
Zuul
a806227734 Merge "Improve script by counting results found." 2019-02-01 13:52:19 +00:00
Hervé Beraud
062f3a2ddc Improve script by counting results found.
Display the number of results at the end of the output.

Change-Id: Ic603c8557dbf8c8436d64f3910c0e0cf3d86ea84
2019-02-01 10:52:23 +01:00
Hervé Beraud
bd589e76e3 Allow users to format output results to the yaml format.
Allow users to format output results to the yaml format
by using the flag --yaml.

Passing this flag prefixing each results with dash in the stdout.

Change-Id: I460c17704c5311d6fb422d5e56be8080344ab986
2019-01-31 16:34:10 +01:00
Thierry Carrez
50258742c9 Add script to facilitate MembershipFreeze handling
This script will compute a list of deliverables present in
governance but unknown to release management, for manual
processing.

Change-Id: Ibebf777911416d978ecea5ba8d7b25b211e7ae52
2019-01-16 22:34:21 +01:00