Request PPAs for deb source packages
Project description
lppa
Command line tool to create Launchpad PPAs and push deb source packages to them
Installation
pip install lppa
Usage
lppa ships an lppa
command line application to interact with Launchpad PPAs.
Run
lppa --help
for additional information.
Create a new PPA
To create a new PPA, run
lppa create PPA_NAME [all|arch, ...]
where arch is a Launchpad processor (you can pass multiple architectures here)
or all
to enable all available architectures.
The currently available Launchpad processors are
- amd64
- arm64
- s390x
- ppc64el
- armhf
- armel
- i386
- powerpc
Delete an existing PPA
lppa delete PPA_NAME
List user's PPAs
lppa list
This will print a list with the names of the user's available PPAs
Fetch PPA information
Often, you may want to retrieve an URL for a PPA packages page or quickly fetch
a dput command to upload packages to a PPA. That can be achieved through the
info
command.
lppa info PPA_NAME
Moreover, passing the -v
option to the info command will also display the
architectures for which the PPA can build packages.
Development
Run make devel
to set the development environment up (a python virtual
environment is recommended).
Run make check
to run the test suite and ensure the development environment
is up to date.
You can use make coverage
to ensure code coverage is not drastically reduced
by new changes (if proposing changes, try to write some tests for them).
For instance, a complete bootstrap script would look like:
# apt install -y python3-virtualenv python3-virtualenvwrapper
$ mkvirtualenv lppa
$ workon lppa
$ make devel
$ make check
Releasing
- Change
lppa/__init__.py
to set the version to be published - Create a new git tag for the new version
- Run
make publish
to build a new version and push it to PyPI - Change
lppa/__init__.py
to set the version to the next development version
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file lppa-0.2.1.tar.gz
.
File metadata
- Download URL: lppa-0.2.1.tar.gz
- Upload date:
- Size: 19.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 512f450ca5ca6a5b6d305f6fcb8e86e737433649b3fc2702c1dec5a28b26c132 |
|
MD5 | 40e1c096344530fb1212789e07d0f253 |
|
BLAKE2b-256 | 2bc6d904eb89794d31e2fddb41f706775aafa1aebc530c74c929d4efee4b7d72 |
File details
Details for the file lppa-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: lppa-0.2.1-py3-none-any.whl
- Upload date:
- Size: 22.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecb16830119931071f1cd21d92d44c36977b0eb16c420cf7d80f0de7664978ab |
|
MD5 | ad2855334499ddc7ff73abb635b3dd71 |
|
BLAKE2b-256 | 449b07e60a27dd49f542e5369bd1446bebadce6d375382bcaa542a6e98789682 |