[Merge] ubuntu-sponsoring:subdir-for-jsons into ubuntu-sponsoring:master

Sebastien Bacher seb128 at ubuntu.com
Fri Mar 19 11:04:23 UTC 2021


Sebastien Bacher has proposed merging ubuntu-sponsoring:subdir-for-jsons into ubuntu-sponsoring:master.

Commit message:
Write the json reports in a subdir

It's easier to list them this way. Keep the old location for compatibility


Requested reviews:
  Ubuntu Development Team (ubuntu-dev)

For more details, see:
https://code.launchpad.net/~ubuntu-dev/ubuntu-sponsoring/+git/ubuntu-sponsoring/+merge/399912

Currently browsing http://reqorts.qa.ubuntu.com/reports/sponsoring/ loads the index.html. I'm working on creating some sponsoring KPI and it would be nice to be able to iterate over the records from a directory rather than coding the list of filename.

The reports are also still written to the old location for compatibility reasons in case other scripts or service rely on the current url.

I've deleted the remove use since opening the file in 'w' mode is enough to replace the content
-- 
Your team Ubuntu Development Team is requested to review the proposed merge of ubuntu-sponsoring:subdir-for-jsons into ubuntu-sponsoring:master.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: review-diff.txt
Type: text/x-diff
Size: 742 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-reviews/attachments/20210319/e505ffb1/attachment-0001.diff>


More information about the Ubuntu-reviews mailing list