ppa-dev-tools:refactor_results_display

Last commit made on 2023-05-25
Get this branch:
git clone -b refactor_results_display https://git.launchpad.net/ppa-dev-tools
Only Bryce Harrington can upload to this branch. If you are Bryce Harrington please log in for upload directions.

Branch merges

Branch information

Name:
refactor_results_display
Repository:
lp:ppa-dev-tools

Recent commits

1cf5354... by Bryce Harrington

results: Add show_results() for managing display of results

With most of the formatting logic for a single result now moved to the
new to_bullet_tree() member for the Results class, a new helper function
show_results() is added to manage the high level results display logic
for a list of results.

This new function is intended to follow the design style of
show_running() and show_waiting() from the Jobs module.

Notably, the one user-visible change in this refactoring is that, like
show_running() and show_waiting(), it will display "(none)" when there
are no results.

6ed858e... by Bryce Harrington

result: Refactor result display logic into a new member function

Split the result handling and display algorithm into separate loops, and
move the latter into a dedicated member function of the Result class.

Doing this will permit one day adding different output formats; for now,
the current output style of a hierarchically indented list of lines
prefexed with bullet point markers will be referred to as 'bullet_tree'
format. Future planned formats will include a plain text format
consisting of newline-delimited trigger URLs, and JSON.

a50421e... by Bryce Harrington

Begin development for next release

be565ae... by Bryce Harrington

snap: Allow python 3.10

74be129... by Bryce Harrington

snap: Release 0.4.0

84b0ba5... by Bryce Harrington

debian/changelog: Add changelog entry for 0.4.0

975cc16... by Bryce Harrington

Releasing 0.4.0

8f41363... by Bryce Harrington

NEWS: Add release information about other changes in 0.4.0

eb6141e... by Bryce Harrington

Makefile: Add snap target

618f135... by Bryce Harrington

RELEASING: Standardize formatting