ppa-dev-tools 0.6

Milestone information

Project:
ppa-dev-tools
Series:
trunk
Version:
0.6
Released:
 
Registrant:
Bryce Harrington
Release registered:
Active:
No. Drivers cannot target bugs and blueprints to this milestone.  

Download RDF metadata

Activities

Assigned to you:
No blueprints or bugs assigned to you.
Assignees:
No users assigned to blueprints and bugs.
Blueprints:
No blueprints are targeted to this milestone.
Bugs:
No bugs are targeted to this milestone.

Download files for this release

After you've downloaded a file, you can verify its authenticity using its MD5 sum or signature. (How do I verify a download?)

File Description Downloads
download icon ppa_dev_tools-0.6.0.tar.gz (md5, sig) 0.6 release source tarball 26
last downloaded 5 days ago
Total downloads: 26

Release notes 

Subject: ppa-dev-tools 0.6.0 release

The `ppa tests` command receives a bunch of bug fixes in this
0.6 release of ppa-dev-tools, along with some noteworthy packaging
advancements.

ppa-dev-tools is a Launchpad API client that lets you create and manage
Personal Package Archives (PPAs) from the command-line, run autopkgtests
against them, and check results. E.g.:

  $ ppa create my-ppa
  $ dput *.changes ppa:<lpuser>/my-ppa
  $ ppa wait my-ppa
  $ ppa tests my-ppa
  $ ppa destroy my-ppa

There's multiple ways to install:

By Snap...
  $ sudo snap install ppa-dev-tools

By PPA...
  $ sudo add-apt-repository -ys ppa:bryce/ppa-dev-tools
  $ sudo apt-get install ppa-dev-tools

By PIP...
  $ pip install ppa-dev-tools

By source...
  $ git clone https://git.launchpad.net/ppa-dev-tools
  $ cd ppa-dev-tools
  $ sudo python3 ./setup.py install

Notable changes from 0.5 to 0.6
-------------------------------

With this release comes some significant improvements in packaging of
ppa-dev-tools, including completion of the transition to modern Python
build packaging and dropping of the old setup.py approach. Of even more
note, ppa-dev-tools is now included in Debian testing, so can now be
installed directly on that operating system; hopefully soon it will be
available from Ubuntu oracular as well.

Meanwhile, the snap packaging has been significantly improved, including
snapshot builds, builds for all supported architectures, better handling
of Launchpad credentials, and a registered alias for the 'ppa' command.

Several irregularities were found in various corner cases with the
parsing, processing, and display of test results for the `ppa tests`
command. These are fixed and the testsuite expanded to cover a wider
variety of test (mis-)behaviors. The --package argument now filters the
results as well as the triggers, which will be helpful for users of PPA
containing many packages.

As well, the `ppa tests` command's handling of triggers has received
some fixes that were causing them to not be displayed in some
circumstances, or to be improperly encoded for some package version
numbers.

Thanks to all the contributors to this release: Alberto Contreras,
Alexandre Detiste, Heinrich Schuchardt, Mitchell Dzurick, Nathan Pratta
Teodosio, Simon Chopin and Benjamin Drung.

For more information about ppa-dev-tools, including reporting bugs and
proposing changes via git, please visit the Launchpad project page:

  https://launchpad.net/ppa-dev-tools

Bryce

Shortlog of changes since ${LAST_RELEASE}
-----------------------------------------

Alberto Contreras (1):
      doc: remove invalid ppa put example

Alexandre Detiste (1):
      replace mock by unittest.mock from standard library

Bryce Harrington (46):
      Include ESM releases in allowed list of triggers.
      results: Add test case for show_results()
      results: Avoid printing excessive duplicate results
      NEWS: Set version
      ppa: Fix the all-proposed link
      ppa: Fix f-string for how to add the ppa
      processes: Include output when raising ReturnCode
      trigger: Refactor object generation into new get_triggers()
      trigger: Refactor trigger display logic to new show_triggers()
      trigger: Rename series_codename to just series
      trigger: Improve Trigger class docs
      tests: Implement test_get_results()
      results: Fix invalid url generation for get_results()
      Rename exception to PpaNotFoundError
      ppa: Use standard error codes for exit conditions
      ppa: Catch exceptions for issues when reading config files
      tests: Expand test cases for test_to_dict()
      tests: Add test case for to_bullet_tree()
      test_result: Add subtest cases to test_to_bullet_tree()
      result: Display status line for failed subtests
      result: Reorder to_bullet_tree()
      tests: Fix whitespace in trigger tests (flake8)
      job: Fix whitespace in jobs code (flake8)
      ppa: Locally define EX_NOTFOUND which is not present on all *nix
      tests: Implement tests for Results status and status_icon
      tests: Improve test cases for identifying triggers from results logs
      tests: Extend test_show_triggers() with more detailed cases
      trigger: Fix omission of all-proposed URLS when -L specified
      snap: Expand list of architectures to build
      tests: Don't use local paths in test cases
      io: Quell error messages for non-existing results and jobs
      Add functionality to filter test results by package
      packaging: Exclude snap directory for source package build
      packaging: Install the script when building
      packaging: Drop deprecated setup.py in favor of 'build' pkg system
      TESTING: document test dependencies
      tox: Add dependencies so tox will run
      ppa test: Don't lookup results twice
      result: Return triggers even for failed testbed setups
      result: Handle testbed setup failures, treating as 'BAD'
      Add support for subtests marked as 'FLAKY'
      snap: The ppa alias is now registered officially
      Sync debian/ packaging with the Debian package
      INSTALL: Mention installability via Debian
      NEWS: Summarize changes for 0.6.0 release
      Releasing 0.6.0

Heinrich Schuchardt (2):
      test_request_url: provide more test cases
      Job.request_url: urlencode parameter strings

Mitchell Dzurick (1):
      ppa: add --credentials to wait help (LP: #2051235)

Nathan Pratta Teodosio (2):
      ppa: Drop status command from argument parser.
      Disregard cancelled builds from pending publications.

Simon Chopin (1):
      snap: add missing plugs `desktop` and `password-manager-service`

Changelog 

View the full changelog

commit 5f202844c56a07f2bff4fbe3e70660ce346c8e33
Author: Bryce Harrington <email address hidden>
AuthorDate: Mon Jun 3 21:02:22 2024 -0700
Commit: Bryce Harrington <email address hidden>
CommitDate: Mon Jun 3 22:10:53 2024 -0700

    Releasing 0.6.0

commit 687fbef2fb90c35060a5bfb7364af67ff1172ba7
Author: Bryce Harrington <email address hidden>
AuthorDate: Mon Jun 3 20:43:04 2024 -0700
Commit: Bryce Harrington <email address hidden>
CommitDate: Mon Jun 3 22:10:53 2024 -0700

    NEWS: Summarize changes for 0.6.0 release

commit 0961f92a4beaa35b1cfffb16fedcb46191e3fdcb
Author: Bryce Harrington <email address hidden>
AuthorDate: Mon Jun 3 12:52:06 2024 -0700
Commit: Bryce Harrington <email address hidden>
CommitDate: Mon Jun 3 22:10:53 2024 -0700

    INSTALL: Mention installability via Debian

commit bf79f28b1d29aab2542b53845794725268c0380a
Author: Bryce Harrington <email address hidden>
AuthorDate: Mon Jun 3 22:09:48 2024 -0700
Commit: Bryce Harrington <email address hidden>
CommitDate: Mon Jun 3 22:10:53 2024 -0700

    Sync debian/ packaging with the Debian package

commit ef7fcc1e02bc48c630a8ff35eeff49da9b2f7e58
Author: Bryce Harrington <email address hidden>
AuthorDate: Mon Jun 3 21:02:39 2024 -0700
Commit: Bryce Harrington <email address hidden>
CommitDate: Mon Jun 3 21:03:23 2024 -0700

    snap: The ppa alias is now registered officially

    It is no longer necessary to manually set the alias.

commit 8c006bdffac9ac494c94d89efd84f583d4ebfd4c
Author: Alexandre Detiste <email address hidden>
AuthorDate: Thu May 30 07:47:37 2024 +0200
Commit: Bryce Harrington <email address hidden>
CommitDate: Mon Jun 3 12:08:33 2024 -0700

    replace mock by unittest.mock from standard library

commit ae95ea00980e65d705a40185b57c57259e54d935
Author: Simon Chopin <email address hidden>
AuthorDate: Fri May 31 15:53:08 2024 +0200
Commit: Bryce Harrington <email address hidden>
CommitDate: Mon Jun 3 12:05:46 2024 -0700

    snap: add missing plugs `desktop` and `password-manager-service`

    Both are necessary for proper credential handling: the `desktop` plugin
    is needed to open the web browser for the initial Launchpad connection,
    and `password-manager-service` is necessary to get the LP credentials
    stored in the system keyring.

    Note that `password-manager-service` isn't auto-connected. We need to
    ask on the Snapcraft forum for this (once we've made sure it actually
    fixes the credentials issues)

commit f4fe8436ea8f1addf4a4c2ccbfa697cef8239932
Author: Nathan Pratta Teodosio <email address hidden>
AuthorDate: Mon May 27 14:52:49 2024 +0200
Commit: Bryce Harrington <email address hidden>
CommitDate: Mon Jun 3 11:40:12 2024 -0700

    Disregard cancelled builds from pending publications.

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

commit 2de6a4d941833db3c5d32b92ed66f80612b684ec
Author: Nathan Pratta Teodosio <email address hidden>
AuthorDate: Mon May 27 13:42:26 2024 +0200
Commit: Bryce Harrington <email address hidden>
CommitDate: Mon May 27 16:55:35 2024 -0700

    ppa: Drop status command from argument parser.

    The command itself was dropped in

    eb2d241 Drop status command

    This leftover would cause the command to still be suggested when
    an invalid command is given.

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

commit d3db7339f021f2146d6c3f0a8eb527a671073f45
Author: Alberto Contreras <email address hidden>
AuthorDate: Thu May 23 11:45:33 2024 +0200
Commit: Alberto Contreras <email address hidden>
CommitDate: Thu May 23 11:45:33 2024 +0200

    doc: remove invalid ppa put example

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

commit d42a57a0f5ac4e63eab7d2b2e4061548e8703207
Author: Bryce Harrington <email address hidden>
AuthorDate: Mon May 6 18:42:13 2024 -0700
Commit: Bryce Harrington <email address hidden>
CommitDate: Tue May 21 14:42:07 2024 -0700

    Add support for subtests marked as 'FLAKY'

    Subtest icons will be brown, like a flaky chocolate pastry.

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

commit 074f622aa5bbb855dc21081010f599a08338f940
Author: Bryce Harrington <email address hidden>
AuthorDate: Wed May 15 03:07:52 2024 -0700
Commit: Bryce Harrington <email address hidden>
CommitDate: Tue May 21 13:28:17 2024 -0700

    result: Handle testbed setup failures, treating as 'BAD'

    If a test log lacks a '@@@@@@@@@@@@@@@@@@@@' marker, consider it to be
    a failure during the testbed setup. Set an error message in this case,
    and give it a single subtest set to a 'BAD' status.

commit fd26b386f0c6b7cf83e7d1faa815e3fbd8da9d54
Author: Bryce Harrington <email address hidden>
AuthorDate: Wed May 15 03:01:34 2024 -0700
Commit: Bryce Harrington <email address hidden>
CommitDate: Tue May 21 13:28:06 2024 -0700

    result: Return triggers even for failed testbed setups

    The log files use "@@@@@@@@@@@@@@@@@@@@" as a marker to separate the
    different stages. For tests that fail during the initial setup, they
    will only have a single section and thus won't have the separator.

    Since the triggers are provided in the first section, we can return the
    valid triggers for the test even though the run terminated early.

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

commit 90525be6af0c2443418f1b516ae5ec9c56475fab
Author: Bryce Harrington <email address hidden>
AuthorDate: Wed May 15 02:57:13 2024 -0700
Commit: Bryce Harrington <email address hidden>
CommitDate: Wed May 15 03:17:16 2024 -0700

    ppa test: Don't lookup results twice

    Commit f4147123 added an extraneous extra call to
    get_autopkgtest_results(). This is a slow code path since it's
    processing remote log files so the extra call can be a notable
    performance impact.

commit dbb03eaf49059a2416cdccf5db88f1effe5db7ff
Author: Bryce Harrington <email address hidden>
AuthorDate: Fri Apr 26 19:41:26 2024 -0700
Commit: Bryce Harrington <email address hidden>
CommitDate: Fri Apr 26 19:41:26 2024 -0700

    tox: Add dependencies so tox will run

commit 505c3de7fa77b0f226c8a14731a5eebdbbffa187
Author: Bryce Harrington <email address hidden>
AuthorDate: Fri Apr 26 19:39:29 2024 -0700
Commit: Bryce Harrington <email address hidden>
CommitDate: Fri Apr 26 19:39:29 2024 -0700

    TESTING: document test dependencies

commit 9d68a9818f8a931259f3bf66cfe27aa23b4b6fec
Author: Bryce Harrington <email address hidden>
AuthorDate: Fri Apr 19 18:08:48 2024 -0700
Commit: Bryce Harrington <email address hidden>
CommitDate: Thu Apr 25 08:50:22 2024 -0700

    packaging: Drop deprecated setup.py in favor of 'build' pkg system

    The packaging has already partly transitioned to using the build
    packaging system with a pyproject.toml and a Makefile. Complete the
    transition by dropping setup.py and any reference to it in directions.

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

commit d98ef40a4925ed403680ba2ef75e26024d66fab4
Author: Bryce Harrington <email address hidden>
AuthorDate: Fri Apr 19 18:39:00 2024 -0700
Commit: Bryce Harrington <email address hidden>
CommitDate: Thu Apr 25 08:49:42 2024 -0700

    packaging: Install the script when building

commit 2ff57b16d948736c241e20eec0082789e64fbe6b
Author: Bryce Harrington <email address hidden>
AuthorDate: Fri Apr 19 18:24:24 2024 -0700
Commit: Bryce Harrington <email address hidden>
CommitDate: Thu Apr 25 08:49:34 2024 -0700

    packaging: Exclude snap directory for source package build

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

commit f414712385cc9ff782fd8097f70fcf444da035e3
Author: Bryce Harrington <email address hidden>
AuthorDate: Thu Mar 21 01:12:41 2024 -0700
Commit: Bryce Harrington <email address hidden>
CommitDate: Tue Apr 9 19:04:34 2024 -0700

    Add functionality to filter test results by package

    Specifying the --package command line option has filtered the list of
    triggers for a PPA, but previously it did not filter the test results.
    For PPAs involving a variety of packages this can produce an excessive
    listing.

    This commit expands support for --package to apply not only to results
    as well, but also the running and waiting lists.

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

commit 8716c20e878c6755c829ff90f4ffa217aec774b5
Author: Bryce Harrington <email address hidden>
AuthorDate: Mon Mar 4 17:38:50 2024 -0800
Commit: Bryce Harrington <email address hidden>
CommitDate: Tue Apr 9 19:04:34 2024 -0700

    io: Quell error messages for non-existing results and jobs

    Suppress the "Could not retrieve data..." error messages printed by `ppa
    tests`. To locate results, the command is scanning expected URLs, and
    their absence simply means they're not available yet.

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

commit 64c44ca1f7afe66bc8641104bea4d471aba87d80
Author: Bryce Harrington <email address hidden>
AuthorDate: Thu Mar 21 01:32:16 2024 -0700
Commit: Bryce Harrington <email address hidden>
CommitDate: Tue Apr 9 19:04:34 2024 -0700

    tests: Don't use local paths in test cases

commit e83c53f3adb642361742d13a9b284e3ad525d77c
Author: Bryce Harrington <email address hidden>
AuthorDate: Tue Apr 2 13:58:50 2024 -0700
Commit: Bryce Harrington <email address hidden>
CommitDate: Thu Apr 4 22:33:21 2024 -0700

    snap: Expand list of architectures to build

commit c894309ffde40f37609e91418fa8ae5a9aabcf22
Author: Bryce Harrington <email address hidden>
AuthorDate: Tue Mar 26 19:03:43 2024 -0700
Commit: Bryce Harrington <email address hidden>
CommitDate: Thu Apr 4 22:30:45 2024 -0700

    trigger: Fix omission of all-proposed URLS when -L specified

    The all-proposed links should always be displayed but in one particular
    combination of options it'll skip printing them, due to a coding error.

commit 68d3b0bdb8e04e710c2b517ab0853803053d09f0
Author: Bryce Harrington <email address hidden>
AuthorDate: Tue Mar 26 18:26:47 2024 -0700
Commit: Bryce Harrington <email address hidden>
CommitDate: Thu Apr 4 22:30:45 2024 -0700

    tests: Extend test_show_triggers() with more detailed cases

commit 28f36d1c2cd881cc63385ec449787b261ba71a12
Author: Bryce Harrington <email address hidden>
AuthorDate: Tue Mar 26 18:23:01 2024 -0700
Commit: Bryce Harrington <email address hidden>
CommitDate: Thu Apr 4 22:30:45 2024 -0700

    tests: Improve test cases for identifying triggers from results logs

    Parametrize test_triggers() with a second results log, for some slight
    variety.

    Adds missing test_get_triggers() that provides the triggers as
    constructed Trigger objects.

commit 2344cedc7745d7694b168477664a2f79a7c1309e
Author: Bryce Harrington <email address hidden>
AuthorDate: Tue Mar 26 14:32:29 2024 -0700
Commit: Bryce Harrington <email address hidden>
CommitDate: Thu Apr 4 22:30:45 2024 -0700

    tests: Implement tests for Results status and status_icon

commit d322d1ab3ef36d38bc59e63c982e19d4ef1b414c
Author: Bryce Harrington <email address hidden>
AuthorDate: Thu Mar 21 12:39:22 2024 -0700
Commit: Bryce Harrington <email address hidden>
CommitDate: Thu Apr 4 22:30:45 2024 -0700

    ppa: Locally define EX_NOTFOUND which is not present on all *nix

    Added in commit 7efb2333, os.EX_NOTFOUND is mentioned in the Python
    documentation but is not actually available in the Modules/posixmodule.c
    included on Linux and OS X. (https://bugs.python.org/issue9933)

    Instead, provide a local definition of it, as is already done for
    EX_KEYBOARD_INTERRUPT.

    Ref. https://gist.github.com/orgkd/a272fee96e381d128c107788b5cbd502

commit 3917dcf0952f7d2145851b4bf3ff2b3521c04f7e
Author: Mitchell Dzurick <email address hidden>
AuthorDate: Mon Mar 25 13:38:21 2024 -0700
Commit: Bryce Harrington <email address hidden>
CommitDate: Mon Mar 25 23:56:53 2024 -0700

    ppa: add --credentials to wait help (LP: #2051235)

    This is a small change to add --credentials to the help section after
    using ppa create.

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

commit 170f4c85e1c92d28b0ecdb42201960df63189e4c
Author: Bryce Harrington <email address hidden>
AuthorDate: Mon Mar 18 16:37:17 2024 -0700
Commit: Bryce Harrington <email address hidden>
CommitDate: Mon Mar 18 16:39:40 2024 -0700

    job: Fix whitespace in jobs code (flake8)

commit 6d1b7d88e0d0fae4b2e9594ad178e090ff985277
Author: Bryce Harrington <email address hidden>
AuthorDate: Mon Mar 18 16:35:23 2024 -0700
Commit: Bryce Harrington <email address hidden>
CommitDate: Mon Mar 18 16:39:40 2024 -0700

    tests: Fix whitespace in trigger tests (flake8)

commit 7407681b8fd6c9699e00bd4a1e453d6257e065ef
Author: Bryce Harrington <email address hidden>
AuthorDate: Fri Aug 25 14:46:01 2023 -0700
Commit: Bryce Harrington <email address hidden>
CommitDate: Mon Mar 18 16:39:40 2024 -0700

    result: Reorder to_bullet_tree()

    Move it up alongside the other presentational member routines.

commit 4b1d69277eabea9b42c24533ff3074f232974c72
Author: Bryce Harrington <email address hidden>
AuthorDate: Thu Mar 7 11:38:12 2024 -0800
Commit: Bryce Harrington <email address hidden>
CommitDate: Mon Mar 18 16:39:40 2024 -0700

    result: Display status line for failed subtests

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

commit 5981c719f75e734bfef7ee58abf0fa5261dfb2e8
Author: Bryce Harrington <email address hidden>
AuthorDate: Thu Mar 7 11:32:49 2024 -0800
Commit: Bryce Harrington <email address hidden>
CommitDate: Mon Mar 18 16:39:40 2024 -0700

    test_result: Add subtest cases to test_to_bullet_tree()

    These tests are designed to detect LP: #2043505, reported by Mitchell
    Dzurick.

commit 5d7cbc9494c46b8b8fb757a7fc198ca23000165d
Author: Bryce Harrington <email address hidden>
AuthorDate: Wed Aug 23 11:01:21 2023 -0700
Commit: Bryce Harrington <email address hidden>
CommitDate: Mon Mar 18 16:39:37 2024 -0700

    tests: Add test case for to_bullet_tree()

commit 8e86403b2131a647d071c441f3143e0d2cb90afd
Author: Bryce Harrington <email address hidden>
AuthorDate: Mon Mar 11 13:26:02 2024 -0700
Commit: Bryce Harrington <email address hidden>
CommitDate: Sat Mar 16 19:35:36 2024 -0700

    tests: Expand test cases for test_to_dict()

commit c3d4af4c8259240028e14b81af0b4a9e98647abb
Author: Bryce Harrington <email address hidden>
AuthorDate: Thu Feb 29 13:03:26 2024 -0800
Commit: Bryce Harrington <email address hidden>
CommitDate: Mon Mar 11 21:11:07 2024 -0700

    ppa: Catch exceptions for issues when reading config files

    I'm intentionally forcing the exception object to a str in the f-string.
    I've found that YAMLError's exception object can be a bit over detailed,
    but the str() representation gives it in a human-readable form.

commit 7efb2333be41438dc7d8b3e0e28721677385a51a
Author: Bryce Harrington <email address hidden>
AuthorDate: Mon Feb 26 21:54:25 2024 -0800
Commit: Bryce Harrington <email address hidden>
CommitDate: Mon Mar 11 21:11:04 2024 -0700

    ppa: Use standard error codes for exit conditions

    EX_USAGE on errors in how the tool is used
    EX_UNAVAILABLE for Launchpad service unavailability
    EX_CANTCREAT if a new PPA can't be created in Launchpad
    EX_NOTFOUND if an existing PPA isn't found in Launchpad

    For user interrupt, there doesn't seem to be a standard Python error
    code, but 130 seems to be a common value for Bash[0, 1], so I've added
    it defined locally as EX_KEYBOARD_INTERRUPT.

    0: https://tldp.org/LDP/abs/html/exitcodes.html
    1: https://stackoverflow.com/questions/21120947/catching-keyboardinterrupt-in-python-during-program-shutdown

commit 3b056c2287761a69ddb484ae550b78311a4e0559
Author: Bryce Harrington <email address hidden>
AuthorDate: Mon Feb 26 19:36:02 2024 -0800
Commit: Bryce Harrington <email address hidden>
CommitDate: Mon Feb 26 19:44:48 2024 -0800

    Rename exception to PpaNotFoundError

    Python's standard exceptions tend to be given names ending in Error,
    such as ModuleNotFoundError, FileNotFoundError, etc. The official docs
    also recommend[0] that user-defined exceptions be derived from the
    Exception class, rather than BaseException.

    0: https://docs.python.org/3/library/exceptions.html#base-classes

commit 1a457e73acaea95076145f3d4a09c6d7e87c7695
Author: Bryce Harrington <email address hidden>
AuthorDate: Wed Feb 7 23:38:44 2024 -0800
Commit: Bryce Harrington <email address hidden>
CommitDate: Fri Feb 16 16:37:10 2024 -0800

    results: Fix invalid url generation for get_results()

    Ensure that the url is constructed with '/' between components.

commit 374b06a89b2da17784e71ecaa01acd02bb2292bd
Author: Bryce Harrington <email address hidden>
AuthorDate: Wed Feb 7 23:24:23 2024 -0800
Commit: Bryce Harrington <email address hidden>
CommitDate: Fri Feb 16 16:37:10 2024 -0800

    tests: Implement test_get_results()

    Fix some technical debt in the form of a missing test case. During
    implementation it is discovered that there's a bug in how get_results
    generates the url for the Result.

commit c592620c2ce9b9e08667107d6ef2b9776b9ae322
Author: Bryce Harrington <email address hidden>
AuthorDate: Tue Jan 16 09:42:50 2024 -0800
Commit: Bryce Harrington <email address hidden>
CommitDate: Fri Feb 16 16:37:06 2024 -0800

    trigger: Improve Trigger class docs

commit bd0ad53df9f9aa3a34811644f485e3332089fd32
Author: Bryce Harrington <email address hidden>
AuthorDate: Thu Nov 16 18:37:39 2023 -0800
Commit: Bryce Harrington <email address hidden>
CommitDate: Fri Feb 16 16:37:06 2024 -0800

    trigger: Rename series_codename to just series

commit e2aad71e2abee9d5350eb4f2cc055cd35af441a7
Author: Bryce Harrington <email address hidden>
AuthorDate: Fri Aug 18 12:38:31 2023 -0700
Commit: Bryce Harrington <email address hidden>
CommitDate: Fri Feb 16 16:37:06 2024 -0800

    trigger: Refactor trigger display logic to new show_triggers()

    Similar to recent refactoring work extracting show_results,
    show_waiting, and show_running, the logic for triggers is also moved out
    to its own show_triggers() routine.

    This one differs in semantics somewhat in that rather than operating on
    all data, it only operates on a single source package at a time. This
    is in preparation for enabling richer filtering of the list of triggers
    when a PPA contains multiple packages or when rdepends are shown. For
    now though, this simply iterates through all the source publications.

commit ff2d50faa4fc46dd8a623c09b38e9e6751e901b5
Author: Bryce Harrington <email address hidden>
AuthorDate: Fri Aug 18 15:45:44 2023 -0700
Commit: Bryce Harrington <email address hidden>
CommitDate: Fri Feb 16 16:37:02 2024 -0800

    trigger: Refactor object generation into new get_triggers()

    Similar to past refactoring, this also moves the list comprehension into
    a routine in the trigger module. For consistency with get_results() and
    other routines, this is restructured to return an iterator rather than a
    list. And similar to show_triggers(), the semantics focuses on
    triggers for a single source package at a time.

commit 89803d7845f7f956f9426af352a0b4eb854e5ca2
Author: Bryce Harrington <email address hidden>
AuthorDate: Mon Jan 22 03:16:59 2024 -0800
Commit: Bryce Harrington <email address hidden>
CommitDate: Mon Jan 22 03:16:59 2024 -0800

    processes: Include output when raising ReturnCode

    [Sync up with pdbq]

commit 8a46dc906f2273560622c4d02b21627ced48bde8
Author: Heinrich Schuchardt <email address hidden>
AuthorDate: Thu Jan 11 23:07:05 2024 +0100
Commit: Bryce Harrington <email address hidden>
CommitDate: Fri Jan 12 16:56:35 2024 -0800

    Job.request_url: urlencode parameter strings

    Triggering autopkgtests for a package with a version number like
    8.2313.0-2ubuntu1+ppa1 fail due to missing urlencoding.

    Fixes: https://bugs.launchpad.net/ppa-dev-tools/+bug/2049105
    Signed-off-by: Heinrich Schuchardt <email address hidden>

commit ee39cf82eae7e72d6b456323f569652b499eb0d1
Author: Heinrich Schuchardt <email address hidden>
AuthorDate: Fri Jan 12 15:11:31 2024 +0100
Commit: Bryce Harrington <email address hidden>
CommitDate: Fri Jan 12 16:54:46 2024 -0800

    test_request_url: provide more test cases

    Parameterize test_request_url() and provide more test cases.
    Expect parameters in a URL to be URL encoded.

    Signed-off-by: Heinrich Schuchardt <email address hidden>

commit 55e2df39147daa882d57560c3f6f0c4c29e55627
Author: Bryce Harrington <email address hidden>
AuthorDate: Tue Jan 2 23:00:48 2024 -0800
Commit: Bryce Harrington <email address hidden>
CommitDate: Tue Jan 2 23:00:48 2024 -0800

    ppa: Fix f-string for how to add the ppa

commit 6af3cbadb74e93a8078b26cf074e6f7352b17ba4
Author: Bryce Harrington <email address hidden>
AuthorDate: Tue Jan 2 22:59:54 2024 -0800
Commit: Bryce Harrington <email address hidden>
CommitDate: Tue Jan 2 22:59:54 2024 -0800

    ppa: Fix the all-proposed link

commit a6e3eafc058f7d2cb185e11f9df1080f6386f4ae
Author: Bryce Harrington <email address hidden>
AuthorDate: Thu Nov 16 17:42:20 2023 -0800
Commit: Bryce Harrington <email address hidden>
CommitDate: Thu Nov 16 17:42:20 2023 -0800

    NEWS: Set version

commit 0613b8d89cec1ec92132122eb28cbe5b6f032165
Author: Bryce Harrington <email address hidden>
AuthorDate: Fri Oct 13 19:03:52 2023 -0700
Commit: Bryce Harrington <email address hidden>
CommitDate: Wed Oct 18 13:51:07 2023 -0700

    results: Avoid printing excessive duplicate results

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

commit 66833f7defb3264e956fa3fa9531584208396440
Author: Bryce Harrington <email address hidden>
AuthorDate: Fri Oct 13 18:55:09 2023 -0700
Commit: Bryce Harrington <email address hidden>
CommitDate: Wed Oct 18 13:51:07 2023 -0700

    results: Add test case for show_results()

    This (expected) fails when displaying multiple results, because it
    prints multiple lines for each result, as can be seen running the test
    with xfails enabled:

        $ pytest-3 --runxfail ./tests/test_result.py

commit 3ce7aaf4b8b5a457ca4b228a7758a1b2ec4216c7
Author: Bryce Harrington <email address hidden>
AuthorDate: Thu Oct 12 14:55:14 2023 -0700
Commit: Bryce Harrington <email address hidden>
CommitDate: Thu Oct 12 14:55:14 2023 -0700

    Include ESM releases in allowed list of triggers.

    The `ppa tests` command, when run on a PPA that includes packages
    targeting a number of different old Ubuntu releases, will filter the
    list and show triggers only for supported LTS releases. Autopkgtest
    won't run tests for unsupported releases, so this makes sense.

    However, distro-info's definition of "supported" does not include Ubuntu
    releases that are in 'Expanded Security Maintenance' (ESM). However,
    Autopkgtest's definition of "supported" does, as can be seen at
    https://autopkgtest.ubuntu.com/running. Thus, triggers should be
    generated for the ESM releases, too.

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

0 blueprints and 0 bugs targeted

There are no feature specifications or bug tasks targeted to this milestone. The project's maintainer, driver, or bug supervisor can target specifications and bug tasks to this milestone to track the things that are expected to be completed for the release.

This milestone contains Public information
Everyone can see this information.