Skip to main content

Launchpad tools

Build Status codecov Code style: black PyPi Version GitHub stars

Some tools for easy submission to launchpad.

Usage

All options are documented under launchpad-submit -h.

Sometimes, you may want to submit a source package with a Debian configuration that is available somewhere else. This may help setting up a nightly submission process. As an example, take the nightly submission script for a Mixxx PPA.

#!/bin/sh -ue

TMP_DIR=$(mktemp -d)
cleanup() { rm -rf "$TMP_DIR"; }
trap cleanup EXIT

CACHE="$HOME/.cache/repo/mixxx"
git -C "$CACHE" pull || git clone "https://github.com/mixxxdj/mixxx.git" "$CACHE"
git clone --shared "$CACHE" "$TMP_DIR"

VERSION=$(grep "define MIXXX_VERSION" "$TMP_DIR/src/defs_version.h" | sed "s/[^0-9]*\([0-9][\.0-9]*\).*/\1/")
FULL_VERSION="$VERSION~$(date +"%Y%m%d%H%M%S")"

CACHE="$HOME/.cache/repo/mixxx-debian"
git -C "$CACHE" pull || git clone "git://anonscm.debian.org/git/pkg-multimedia/mixxx.git" "$CACHE"
rsync -a "$CACHE/debian" "$TMP_DIR"

launchpad-submit \
  --directory "$TMP_DIR" \
  --ubuntu-releases trusty xenial yakkety zesty \
  --ppa nschloe/mixxx-nightly \
  --version-override "$FULL_VERSION" \
  --version-append-hash \
  --update-patches

Installation

The launchpad tools are available from the Python Package Index, so for installation/upgrading simply do

pip3 install launchpadtools --user

License

The launchpadtools are published under the MIT license.

Release files for launchpadtools 0.7.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for launchpadtools 0.7.1
File Size Uploaded
launchpadtools-0.7.1.tar.gz 8.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for launchpadtools 0.7.1
File Interpreter ABI Platform
launchpadtools-0.7.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 17.8 kB

Release files / launchpadtools-0.7.1.tar.gz

Download URL launchpadtools-0.7.1.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
65a4ce903b8eeee3735ab68b3a969aa775a6133fafde16ac7d313c08c3ee09fb
BLAKE2b-256 checksum
How to use checksums
c46cb28dcf7eb094ddc77207677dd8d3bc1124104ffee0cb96cb2373948c7b8f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

Release files / launchpadtools-0.7.1-py2.py3-none-any.whl

Download URL launchpadtools-0.7.1-py2.py3-none-any.whl
Size 9.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
58029eba56e69c087571b88bbd8b8ec968953becd9a3660f4f63d93dc1aec9ad
BLAKE2b-256 checksum
How to use checksums
53f55fb03597f913b6322ecd02b76801d78a5449f53df62b01939b6dff9595c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

Release history Release notifications | RSS feed

This release

0.7.1 This release

2 release files

0.7.0

2 release files

0.6.6

2 release files

0.6.5

1 release file

0.6.4

1 release file

0.6.3

1 release file

0.6.2

1 release file

0.6.1

1 release file

0.6.0

1 release file

0.5.2

1 release file

0.5.0

1 release file

0.4.1

1 release file

0.4.0

1 release file

0.3.0

1 release file

0.2.11

1 release file

0.2.10

1 release file

0.2.9

1 release file

0.2.8

1 release file

0.2.7

1 release file

0.2.6

1 release file

0.2.5

1 release file

0.2.4

1 release file

0.2.3

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page