Last commit made on 2023-08-23
Get this branch:
git clone -b cleanup-tox-lint 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

7bef7a0... by Bryce Harrington

Cleanup unneeded rdepends variable

19218ad... by Bryce Harrington

Refactor create command to use f-strings for output

f2e6de1... by Bryce Harrington

Cleanup error printing for file not found

1afddd6... by Bryce Harrington

Cleanup pylint

663047f... by Bryce Harrington

tox: Cleanup "C0103: ... (invalid-name)"

98e4ace... by Bryce Harrington

tox: Cleanup "D401 First line should be in imperative mood"

33fc388... by Bryce Harrington

tox: Cleanup "D400 First line should end with a period"

eb2d241... by Bryce Harrington

Drop status command

This command is not necessary. General PPA state information will be
presented via the ppa show command, and status of builds, test results,
etc. will be available from the corresponding commands.

0f7a075... by Bryce Harrington

Improve error for non-existing PPAs

Since we weren't returning after encountering this error, it allowed the
unhandled error processing to print an error as well, which is not

   $ ./scripts/ppa set --private ppa:bryce/non-existing-ppa
   The PPA 'non-existing-ppa' does not exist for person or team 'bryce'
   Unhandled error

With this change the 'Unhandled error' line is not printed.

c2ba9f7... by Bryce Harrington

Handle error for non-existing users

A traceback is generated when attempting to create a PPA for an owner
that is not registered in Launchpad. Catch this and print a friendlier

    $ ./scripts/ppa create ppa:432687dsafkhjafdsadsf/test-ppa
    Error: No such person or team '432687dsafkhjafdsadsf'