lp:~jugmac00/lpci

Owned by Jürgen Gmach
Get this repository:
git clone https://git.launchpad.net/~jugmac00/lpci
Only Jürgen Gmach can upload to this repository. If you are Jürgen Gmach please log in for upload directions.

Branches

Name Last Modified Last Commit
add-pyproject-build-plugin 2022-01-20 09:48:13 UTC
Create `pyproject-build` plugin

Author: Jürgen Gmach
Author Date: 2022-01-20 09:09:49 UTC

Create `pyproject-build` plugin

By adding a `plugin: pyproject-build` key-value pair, lpcraft now can
build a Python project.

The package will be built with the default Python version of the used
Ubuntu distribution, that is
- Python 3.8 for Focal Fossa / 20.04
- Python 3.10 for Jammy Jellyfish / 22.04

The default output directory is `{srcdir}/dist`.

Currently, there are no configuration options available.

add-comment-about-pinning-tox-version 2022-01-07 16:19:32 UTC
Add todo comment about pinning tox

Author: Jürgen Gmach
Author Date: 2022-01-07 14:15:31 UTC

Add todo comment about pinning tox

fix-readthedocs 2022-01-07 10:29:32 UTC
Fix autodoc on readthedocs

Author: Jürgen Gmach
Author Date: 2022-01-07 09:22:28 UTC

Fix autodoc on readthedocs

The standard installation on readthedocs (`python setup.py install`)
does not work for this project, as we need some dependencies from e.g.
github which are only listed in requirements.txt

fix-tox-using-the-wrong-interpreter 2022-01-06 08:40:08 UTC
Fix tox plugin not selecting the right interpreter

Author: Jürgen Gmach
Author Date: 2022-01-05 18:35:21 UTC

Fix tox plugin not selecting the right interpreter

When executing tox with an envlist like `py38, py39, py310`, all three
envs were executed, but the system Python 3.8 interpreter was used for
all of them.

This seems to be an issue of the packaged tox 3.13.2 on Focal Fossa.

Upstream tox version 3.13.2 cannot be run in a Python 3.8 virtualenv at
all.

Python 3.8 support for tox was only added in 3.14.4.

This means we cannot use the packaged tox, but need to install it via
pip.

create-documentation-for-plugin-system 2022-01-05 15:59:20 UTC
Create documentation for the plugin system

Author: Jürgen Gmach
Author Date: 2022-01-05 12:36:17 UTC

Create documentation for the plugin system

rename-YAMLError-into-ConfigurationError 2021-12-24 14:11:44 UTC
Rename YAMLError into ConfigurationError

Author: Jürgen Gmach
Author Date: 2021-12-20 08:16:35 UTC

Rename YAMLError into ConfigurationError

Configuration errors may not always be caused by an issue in a YAML
file.

auto-collect-plugins 2021-12-17 17:04:26 UTC
Use a decorator to collect all builtin plugins

Author: Jürgen Gmach
Author Date: 2021-12-17 16:58:15 UTC

Use a decorator to collect all builtin plugins

add-more-hooks 2021-12-17 15:37:02 UTC
Generalize test outcome

Author: Jürgen Gmach
Author Date: 2021-12-17 15:37:02 UTC

Generalize test outcome

use-pluggy-for-plugins 2021-12-16 21:33:16 UTC
Introduce pluggy to manage plugins

Author: Jürgen Gmach
Author Date: 2021-12-14 15:12:03 UTC

Introduce pluggy to manage plugins

pluggy ( https://pluggy.readthedocs.io/en/stable/ ) let's you define
hooks which then plugins can implement.

Example:
Using the new hook `lpcraft_install_packages` one can add additional
system packages to be installed with `apt`.

Please refer to the documentation on how to create your own plugin.

fix-compatibility-with-rtd 2021-12-08 13:29:22 UTC
Fix compatibility issue with Read the Docs

Author: Jürgen Gmach
Author Date: 2021-12-08 13:29:22 UTC

Fix compatibility issue with Read the Docs

rtd builds documentation by default on Python3.7, but craft-providers,
which is a dependency of lpcraft, requires Python 3.8 or higher.

start-sphinx-documentation 2021-12-07 14:21:56 UTC
Start sphinx documentation

Author: Jürgen Gmach
Author Date: 2021-12-07 14:21:56 UTC

Start sphinx documentation

easier-testing-for-argparse-applications 2021-12-01 13:46:01 UTC
Enable easier testing for argparse applications

Author: Jürgen Gmach
Author Date: 2021-11-30 09:39:17 UTC

Enable easier testing for argparse applications

argparse usually looks into sys.args to get the arguments.

But you can also pass in the arguments as a list - that way there is no
more need to patch sys.args for testing purposes.

compare-crafterrors-directly 2021-12-01 13:28:06 UTC
Directly compare CraftErrors

Author: Jürgen Gmach
Author Date: 2021-11-30 15:36:02 UTC

Directly compare CraftErrors

Since https://github.com/canonical/craft-cli/pull/41 has landed, you
can compare CraftError objects directly, so there is no more need to
compare the string representation.

add-configuration-to-provide-packages-to-install 2021-11-29 13:09:33 UTC
Declare system package dependencies for jobs

Author: Jürgen Gmach
Author Date: 2021-11-29 13:09:33 UTC

Declare system package dependencies for jobs

declare-snap-dependencies-for-jobs 2021-11-29 12:36:38 UTC
Declare snap dependencies for jobs

Author: Jürgen Gmach
Author Date: 2021-11-29 12:36:38 UTC

Declare snap dependencies for jobs

add-lpcraft-environment-configuration 2021-11-25 19:35:12 UTC
Jobs can now have an environment configuration

Author: Jürgen Gmach
Author Date: 2021-11-25 19:35:12 UTC

Jobs can now have an environment configuration

increase-test-coverage 2021-11-25 12:48:15 UTC
gitignore build directory

Author: Jürgen Gmach
Author Date: 2021-11-25 07:35:11 UTC

gitignore build directory

retrieve-version-info-directly-from-setup-cfg 2021-11-19 15:38:43 UTC
Retrieve version info directly from setup.cfg for building snaps

Author: Jürgen Gmach
Author Date: 2021-11-19 15:38:43 UTC

Retrieve version info directly from setup.cfg for building snaps

add-html-coverage 2021-11-17 09:49:38 UTC
Add HTML coverage report and contexts

Author: Jürgen Gmach
Author Date: 2021-11-17 09:24:17 UTC

Add HTML coverage report and contexts

Contexts show which line was ran by which tests.

More info
https://jugmac00.github.io/blog/enrich-test-coverage-with-contexts/

add-coverage 2021-11-12 15:02:23 UTC
Run coverage via tox

Author: Jürgen Gmach
Author Date: 2021-11-12 15:02:23 UTC

Run coverage via tox

101120 of 120 results
This repository contains Public information 
Everyone can see this information.

Subscribers