add generate_graph.sh
All threads resolved!
All threads resolved!
This commit introduces a script that parses update markdown and displays a plot via gnuplot
$ ./tools/generate_graph.sh -h
usage: ./tools/generate_graph.sh -t -p
This script creates a gnuplot by parsing the markdown from within 'docs'
OPTIONS:
-t include testing updates
-p include prod updates
-d distributions (cc7,c8,cs8). default is 'all'
-s filter start date (YYYYMMDD). default is to not filter
-e filter end date (YYYMMDD). default is to not filter
-x exclude number of packages over this figure
-h display this help
As an example, the following would create a graph similar to the below
./tools/generate_graph.sh -t -s 20210101 -x 1000
Edited by Ben Morrice
Merge request reports
Activity
- Resolved by Ben Morrice
added 1 commit
- cffcb8ca - * change behaviour to create plots for both test and prod by default
added 1 commit
- c0ded3a1 - add ability to control distribution/release type
added 1 commit
- 54f45091 - add ability to control distribution/release type
added 1 commit
- 67843d87 - add ability to exclude packages over a certain threshold
If you run
./tools/generate_graph.sh -t -s 20210101
(no exclude) you will see that in January 2021 we had 6000 'new' packages for cs8. This correlates to the day when we first started writing updates for CS8, but it doesn't mean that there were 6000 'new' packages for cs8 on that day ... This is what-x
is meant to 'fix'. If you can think of a better way of doing it?mentioned in commit 5ad4549d
Please register or sign in to reply