Commit graph

8 commits

Author SHA1 Message Date
Silke Hofstra
46590963b1 worklog.py: Add html output format 2024-04-01 18:05:34 +02:00
Silke Hofstra
d06ef6f45f worklog.py: Improve help text 2024-03-21 22:23:10 +01:00
Silke Hofstra
e6024af4ad worklog.py: Add emoji, build time and comment to the worklog build output
Improve the worklog build output with:

- An emoji indicating the job status.
- A color indicating the job status.
- The build duration when the job is finished.
- The comment given to the bulid.
2024-03-21 22:22:43 +01:00
Silke Hofstra
4b002f5c20 worklog.py: add -F/--follow option that follows the log
**Summary**

Add an option that prints build log entries as soon as they are available.
This works similarly to the familiar options in `tail`.
2024-03-20 21:12:02 +01:00
Silke Hofstra
77b4ac49c5 worklog: Improve output of update subcommand
Change the output of the `update` subcommand with:

- A Markdown format that can be used for publishing.
- Multiple authors (one for each commit).
- The GitHub author that made the change.
2024-03-07 21:10:24 +01:00
Rune Morling
a300869c18
worklog.py: Add a -s/--sort option that sorts output
Without specifying the -s/--sort option, worklog.py will output the
latest build or commit last.

This enables the ability to trivially keep an eye on large PR (re)builds
with something like:

    while true; do
        date
        ./worklog.py --format md builds 2024-02-24 now |tail -n5
        echo "----"
        sleep 30
    done

Signed-off-by: Rune Morling <ermo@serpentos.com>
2024-02-24 18:35:31 +01:00
Silke Hofstra
a5f2eccabe common: Fix worklog script for commits without scope 2024-01-20 16:14:35 +01:00
Silke Hofstra
469b6f0dc4 common: Add script for showing build/commit history 2023-11-26 16:24:54 +01:00