lp:~xnox/launchpad

Get this repository:
git clone https://git.launchpad.net/~xnox/launchpad
Only Dimitri John Ledkov can upload to this repository. If you are Dimitri John Ledkov please log in for upload directions.

Branches

Name Last Modified Last Commit
fixup-i18n-index-publish 2024-01-23 14:13:14 UTC
soyuz: fix up removal of stale i18n/Index upon removal

Author: Dimitri John Ledkov
Author Date: 2024-01-08 13:58:13 UTC

soyuz: fix up removal of stale i18n/Index upon removal

During qastaging testing it was discovered that i18n/Index publishing
correctly honors publish_i18n_index setting for freshly created suites
in an archive. But existing archives incorrectly left stale i18n/Index
on disk (whilst scheduling byhash symlink removal).

QA Testing:
* create a new archive on qastaging
* publish it once
* verify i18n/Index is published with byhash link to it
* toggle publish_i18n_index off
* publish it again
* verify i18n/Index is gone straight away
* verify deathrow 24h later removed byhash link to it as well

Improve unit test to correctly setup status quo publication, and
assert removal of the i18n/Index file upon change of the distroseries
publication setting.

Fixes: 5f90943b2f ("soyuz: Add toggle to turn off I18n/Index publishing")
Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>

snap-request-builds-mimick-auto 2024-01-03 12:40:23 UTC
snappy: Make requestbuild use auto-build archive and pocket defaults

Author: Dimitri John Ledkov
Author Date: 2023-11-22 16:17:43 UTC

snappy: Make requestbuild use auto-build archive and pocket defaults

Make request snap builds page for a snap, reuse auto-build archive &
pocket, if set on the snap.

Proof of concept untested code, no tests added.

LP: #2028687

ed25519-gpg-test 2023-11-22 17:22:45 UTC
tests: add Ed25519 gpg test keys

Author: Dimitri John Ledkov
Author Date: 2023-11-22 17:18:44 UTC

tests: add Ed25519 gpg test keys

Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>

drop-i18n-index 2023-11-22 16:25:36 UTC
Fix typo

Author: Dimitri John Ledkov
Author Date: 2023-11-22 16:25:36 UTC

Fix typo

Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>

only-sha256 2023-10-04 10:15:47 UTC
archivepublisher: consistently use only sha256 for apt archives

Author: Dimitri John Ledkov
Author Date: 2023-10-03 18:01:03 UTC

archivepublisher: consistently use only sha256 for apt archives

Unused hashes are redundant, and are now cauing interop problems with
overly strict programs and humans.

Summary of changes:

 * Remove md5, sha1 from Release, Packages, Sources metadata in
   primary & ppa publisher.

 * Change i18n Index from SHA1 to SHA256. Uncertain if actually used
   by clients.

 * Remove sha512 from Packages & Sources in primary publisher only, do
   not exist anywhere else. (Also see LP: #1536602). Also it is
   noticably slow even on most modern hardware for rudimentary
   repository sizes.

 * Ensure and enforce consistent publishing by both primary & ppa
   publisher, irrespective of host release.

Note that overall security is provided by rsa-pkcs1-v1_5 + sha512
signatures in current primary and ppa publishers, independent of the
hash changes in this commit.

Minimum required apt for Launchpad host deployment is 1.1 (Xenial) due
to `--no-sha512` option usage.

Minimum required apt for clients is 0.7.7 (Hardy), subject to
compatible signing.

This implementation is intentionally global for all suites in both
primary and ppa publishers.

Fixes LP: #1883271

packages-md5 2023-10-04 00:57:13 UTC
archivepublisher: remove SHA512 from Packages & Sources

Author: Dimitri John Ledkov
Author Date: 2023-10-04 00:57:09 UTC

archivepublisher: remove SHA512 from Packages & Sources

Never used in ppas for InRelease, Packages, and Sources.
Never used in archive for InRelease.

Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>

snapcraft-builds-allow-snapd 2023-06-23 13:27:19 UTC
Allow to specify snapd channel in snap builds

Author: Dimitri John Ledkov
Author Date: 2023-06-23 13:27:19 UTC

Allow to specify snapd channel in snap builds

snapcraft has a runtime dependency on snapd, and in rare cases when
there is incompatibility between the two, one may need to request both
snapcraft and snapd from specific channels to correctly complete
builds.

This was especially profound when we lost ability to rebuild core22
snap on riscv64 due to a regression in snapd, and unable to instruct
launchpad to temporarily use snapd from any other channel but stable.

copy-signing-bool 2023-02-20 21:36:23 UTC
custom_uploads_copier.py: Support excluding signing

Author: Dimitri John Ledkov
Author Date: 2023-01-20 20:58:39 UTC

custom_uploads_copier.py: Support excluding signing

Add support in custom_uploads_copier to skip copying signing (uefi &
signing).

Hook into initialise_distroseries with packagecopier to exclude
copying signing. Not sure if this codepath is actually ever used.

Hook into publish_ftpmaster to exclude signing upon preparing to
publish fresh series for the first time.

Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>

master 2023-02-20 21:36:23 UTC
custom_uploads_copier.py: Support excluding signing

Author: Dimitri John Ledkov
Author Date: 2023-01-20 20:58:39 UTC

custom_uploads_copier.py: Support excluding signing

Add support in custom_uploads_copier to skip copying signing (uefi &
signing).

Hook into initialise_distroseries with packagecopier to exclude
copying signing. Not sure if this codepath is actually ever used.

Hook into publish_ftpmaster to exclude signing upon preparing to
publish fresh series for the first time.

Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>

skip-obsolete-source 2023-01-21 02:28:03 UTC
custom_uploads_copier: allow checking upload's source is published

Author: Dimitri John Ledkov
Author Date: 2023-01-21 02:17:22 UTC

custom_uploads_copier: allow checking upload's source is published

In ftpmaster publisher, opt-into checking custom upload's source is
still published. This is to avoid publising custom uploads, for source
packages that have been removed.

Possibly a better check would be to find bpph and check if it is
superseeded or not. But it is quite hard to jump from custom upload to
the patching bpph, despite having the link to the binary upload
changes file.

Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>

kernel-ubuntucore-cpc-ppas 2022-10-20 17:18:39 UTC
Avoid expiring PPAs related to building images

Author: Dimitri John Ledkov
Author Date: 2021-06-14 13:36:17 UTC

Avoid expiring PPAs related to building images

Some UC kernel snaps are built from PPAs owned by the kernel team.
Some CPC / Cloud kernel previews are build from these PPAs too.

foundations-ubuntu-core-ppas 2021-06-01 14:23:13 UTC
Avoid expiring PPAs related to building UC gadgets and images

Author: Dimitri John Ledkov
Author Date: 2021-06-01 14:23:13 UTC

Avoid expiring PPAs related to building UC gadgets and images

Related to 411dd1713626ed137da3a75daa01f4f6a42bd073

core20 2019-11-04 14:29:37 UTC
Drop core16, not yet stable.

Author: Dimitri John Ledkov
Author Date: 2019-11-04 14:29:37 UTC

Drop core16, not yet stable.

113 of 13 results
This repository contains Public information 
Everyone can see this information.