Ivan A. Melnikov
d807cf47da
tasks: use time.time() instead of datetime
2019-01-14 14:10:12 +04:00
Ivan A. Melnikov
bfb28137c7
interactive: TASKS is now dict()
2019-01-13 21:52:30 +04:00
Ivan A. Melnikov
2b77f1b7a2
interactive: Print unknown items in list_spi
2018-12-13 17:37:09 +04:00
Ivan A. Melnikov
0ab1839953
next_tasks refactoring
...
This change refactors internals of next_tasks interactive
command in hope to make them more reusable.
2018-12-13 16:51:50 +04:00
Ivan A. Melnikov
c0dd7d3ccf
daily: drop next_tasks from daily report
...
It turns out it's not really interesting.
2018-12-13 16:49:11 +04:00
Ivan A. Melnikov
81fa12df42
conf/ update
2018-12-13 15:49:34 +04:00
Ivan A. Melnikov
fcab6b5350
tasks: Report loading progress every 15 seconds or so
2018-12-13 13:45:55 +04:00
Ivan A. Melnikov
605ad6c85a
logs: minor fixes
2018-12-12 18:05:34 +04:00
Ivan A. Melnikov
ab62c0557b
reports: More debug logging for next_tasks
2018-09-21 12:40:43 +04:00
Ivan A. Melnikov
0d0d89331e
interactive: Raise ValueError if task is not found
2018-09-21 12:39:13 +04:00
Ivan A. Melnikov
d6b432ab66
Conf: remove extra files, config for reporter
2018-09-13 18:30:02 +04:00
Ivan A. Melnikov
91f58d6f28
interactive: Enhance stats() command
...
- name list support;
- display percentages and legend.
2018-09-11 16:49:57 +04:00
Ivan A. Melnikov
277a112fde
Remove srclist_stats
...
Now that it's broken and I don't want to fix it.
2018-09-11 15:26:35 +04:00
Ivan A. Melnikov
4c681e791f
Reports refactoring
2018-09-11 15:23:28 +04:00
Ivan A. Melnikov
a21e6866f8
Introduce 'logs' subpackage
...
- parse timestamps from logs
- move subroutine that lists task events logs there
2018-09-11 14:00:51 +04:00
Ivan A. Melnikov
80bf0eaf21
next_tasks: New heuristics that takes srpm versions into account
2018-08-16 10:43:39 +04:00
Ivan A. Melnikov
f33cbd511e
interactive.next_tasks: Include and exclude by pattern
2018-08-15 17:23:15 +04:00
Ivan A. Melnikov
f88c01316b
Add next_tasks to daily report
2018-08-14 14:13:21 +04:00
Ivan A. Melnikov
08af75a9b9
port_stats.interactive update
...
- update docstring
- add stats() function
- rename grep_spi -> gspi to save some typing
2018-08-14 14:11:50 +04:00
Ivan A. Melnikov
020a5d34a2
daily: Add timestamp to stats.txt
2018-08-13 12:56:37 +04:00
Ivan A. Melnikov
7de1bd9111
Port outdated_tasks to use new config
2018-08-13 12:56:07 +04:00
Ivan A. Melnikov
4722890a01
Add reporter scripts from basalt
2018-08-10 18:42:01 +04:00
Ivan A. Melnikov
2e6ac86991
port_stats: Introducing config
...
Put all the args to config to easily support
several repositories.
2018-08-10 18:39:27 +04:00
Ivan A. Melnikov
c699c11eea
interactive: Consider only recycler's tasks for next_tasks
2018-07-29 09:52:02 +04:00
Ivan A. Melnikov
d1ecb45ba3
Hack to restrict tasks to mipsel repo
...
Now we have mips64el, that for now should be ignored.
2018-07-29 09:48:50 +04:00
Ivan A. Melnikov
18437e19d3
port_stats: More interactive improvements
...
- package colors in ti()
- next_tasks() -- list all non-done tasks that would update
packages.
2018-07-19 17:50:57 +04:00
Ivan A. Melnikov
8210c4a077
port_stats: More interactive funtions
2018-07-04 15:53:40 +04:00
Ivan A. Melnikov
1eb2d798a6
port_stats: BUG: stop confusing YELLOW and SLATE
2018-07-04 15:51:38 +04:00
Ivan A. Melnikov
972370e9df
Use CFFI to work with librpm
...
This change adds two new functions: evr_cmp and parse_evr,
that use librpm-4.0.4 public interface. These functions
replace calling rpmevrcmp via subprocess, which makes
mass comparisons considerably faster.
2018-06-26 13:05:37 +04:00
Ivan A. Melnikov
44175d1f34
port_stats: Add script that finds outdated tasks
...
python -m port_stats.outdated_tasks \
/mnt/repo_secondary/sisyphus_mipsel/release/latest \
/mnt/tasks_secondary \
| tee outdated_tasks.txt
2018-06-25 19:49:40 +04:00
Ivan A. Melnikov
7fd76b9959
Daily: count pending tasks
...
It's convenient to have the number ready.
2018-06-25 19:48:47 +04:00
Ivan A. Melnikov
5df6aca515
port_stats: New tools in interactive module
...
Now it works with colors, too.
2018-06-22 14:40:38 +04:00
Ivan A. Melnikov
0babae1447
Add build-reports script that works for me on basealt
2018-06-21 12:17:00 +04:00
Ivan A. Melnikov
c96baad339
Initial take on daily repo report generation
2018-06-20 15:53:53 +04:00
Ivan A. Melnikov
9b62e446d5
port_stats: Tools for getting tasks information
...
You can try doing this within an interactive python shell:
python -i -m port_stats.interactive
The default pathes work on basealt.
2018-06-20 14:09:51 +04:00
Ivan A. Melnikov
60b3b440d8
srclists: Avoid confusing epoch 0 with no epoch
2018-06-19 14:18:54 +04:00
Ivan A. Melnikov
e66fbdd2bb
Major port_stats refactoring
...
- introduce the module
- rewrite srclists/stats in the terms of it
- get rid of the hard dependency on python-module-rpm
(the new code can use pkglist-query and rpmevrcmp instead)
2018-06-19 14:18:54 +04:00
Ivan Melnikov
a8d7275657
Merge branch 'master' of gkot/port-compare into master
2018-06-19 07:51:28 +00:00
Georgy A Bystrenin
47e6794028
Edit Readme & sourсe srclist changed get_stats to ssh:basealt
2018-06-18 20:50:22 +04:00
Ivan A. Melnikov
39b6def786
srclists: Include both arch-specific and noarch lists
2018-06-05 14:31:23 +04:00
Ivan A. Melnikov
63f84e6ab4
srclists: Learn to get srclists from ssh
...
The syntax is:
ssh:<host>:<path>
Supplying custom SSH options (even ports) are not supported (yet).
You can provide them in your ~/.ssh/config.
2018-06-05 13:34:11 +04:00
Ivan A. Melnikov
31ddf2eda8
Add tool for comparing srclists
2018-06-04 16:23:37 +04:00
Ivan A. Melnikov
0b0d4a1f20
Initial commit
2018-06-04 16:19:58 +04:00