[kteam-tools][PATCH 0/1] Refactor start-sru-cycle and create-sru-cards
Khalid Elmously
khalid.elmously at canonical.com
Wed Nov 14 05:44:30 UTC 2018
'create-sru-cards' creates a new Trello board for a new SRU cycle, and it populates it with a default set of cards (including kernel-cranking cards)
'start-sru-cycle' creates the tracking bugs for the kernel cranks (the name of that script is misleading).
This approach isn't quite right because a) The tracking bugs and the tracking cards really should be created together and preferably link to each other and b) whenever start-sru-cycle is called for a re-spin, no corresponding Trello cards get created.
Solve this by factoring out the Trello-related code from 'create-sru-cards' and re-use it as necessary in 'start-sru-cycle'
This is for one of the automation tasks: https://trello.com/c/iePWzQlb/63-create-a-lib-for-creating-trello-cards
Khalid Elmously (1):
stable: Factor out (and reuse) trello-related code
ktl/kernel_series.py | 6 ++
stable/create-sru-cards.py | 97 ++-----------------------------
stable/libtrello.py | 114 +++++++++++++++++++++++++++++++++++++
stable/start-sru-cycle | 79 +++++++++++++++++++------
4 files changed, 187 insertions(+), 109 deletions(-)
create mode 100644 stable/libtrello.py
--
2.17.1
More information about the kernel-team
mailing list