ppa-dev-tools:job-class

Last commit made on 2022-08-24
Get this branch:
git clone -b job-class 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:
job-class
Repository:
lp:ppa-dev-tools

Recent commits

8fcdc4f... by Bryce Harrington

Job: Add smoketest for get_waiting() and get_running()

Extract the job info for a given ppa from static snapshots of the
autopkgtest running.json and queues.json.

86c29bf... by Bryce Harrington

Job: Fix flake/lint issues

e399374... by Bryce Harrington

Job: Refactor jobinfo out of init API

The only thing the jobinfo structure is used for is to pass in ppas and
triggers. Just pass these lists directly, thus simplifying the calling
syntax.

We'll retain use of jobinfo in the test cases for now, since it is
representative of the original data from autopkgtest.

ec87dba... by Bryce Harrington

Job: Add get_running()/get_waiting() from lp-test-ppa

Integrates these routines unchanged from lp-test-ppa, adding minimal
test cases for each.

867bb29... by Bryce Harrington

Job: Add tests, code docs, and str/repr helpers

The module can also be run as a script, to serve as a smoke test

9f5d7c7... by Bryce Harrington

Import Job class from lp-test-ppa

6c1e1a8... by Bryce Harrington

Fix lint/flake issues

595941c... by Bryce Harrington

setup.py: Drop pip requirements, to avoid confusion with xdg module

The xdg module installed from Ubuntu via apt seems to have different
import syntax than the xdg module installed via pip. The INSTALL.md
directions explain the former, which works with the codebase, but
running setup.py triggers pip to install xdg from pypi.

Fixes: https://bugs.launchpad.net/ppa-dev-tools/+bug/1983056
Signed-off-by: Bryce Harrington <email address hidden>

9ca551e... by Bryce Harrington

Drop copy, install, and uninstall commands

These commands are not going to be implemented for now. As discussed in
drafting the spec, there are external commands already providing this
functionality that have been thoroughly tested and are in common
practice. So at this time there is no need to replicate that
functionality here.

83ae0f6... by Bryce Harrington

Add pyproject.toml