Last commit made on 2023-05-31
Get this branch:
git clone -b fix-lp1990244-create-for-owner 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


Recent commits

9dbaa6f... by Bryce Harrington

Refactor team name to owner name

Hat tip to Andreas for pointing out 'owner' is Launchpad's preferred
jargon for the person or team that a PPA belongs to.

Support the --team-name argument and the 'team_name' configuration
parameter for legacy reasons, even though the former didn't exist and
the latter was bugged.

df6d293... by Bryce Harrington

Add --team-name argument for create command

Modify ppa_address_split() to not use a default team if the team name
was undefined, and instead let it be returned as None. Then handled
undefined team names in create_config() by making use of any team
specified on the command line or config file, before falling back to the
lp username as the final default. And error out if that still doesn't

With this, allow synonym options --owner and --team for convenience.

Fixes: https://bugs.launchpad.net/ppa-dev-tools/+bug/1990244

2a8e2ef... by Massimiliano Girardi

wait: Improve exit behavior on build failures of subset of PPA

By default `ppa wait` monitors all build jobs, but this adds a couple
parameters to narrow this to just jobs for a specific source package via
the 'name' parameter, and/or jobs created within a timeframe specified
by the 'wait_max_age_hours' configuration parameter.

This also adds another configuration parameter
'exit_on_only_build_failure' which when true will make the ppa wait
command terminate if the only jobs that it is monitoring are failed
builds (this is helpful for CI/CD integration).

de7c5b7... 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.

65544f8... 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.

bb28974... by Bryce Harrington

RELEASING: Expand checklist for announcing releases

ce6bd38... by Bryce Harrington

snap: Fix version substitution

a5ad8e8... by Bryce Harrington

RELEASING: Add an entry to the debian/changelog prior to release

a50421e... by Bryce Harrington

Begin development for next release

be565ae... by Bryce Harrington

snap: Allow python 3.10