lp:~cjwatson/launchpad

Owned by Colin Watson
Get this repository:
git clone https://git.launchpad.net/~cjwatson/launchpad
Only Colin Watson can upload to this repository. If you are Colin Watson please log in for upload directions.

Branches

Name Last Modified Last Commit
master 2020-07-07 18:16:19 UTC 2 hours ago
Handle several standard library changes using six

Author: Colin Watson
Author Date: 2020-07-07 18:16:19 UTC

Handle several standard library changes using six

Merged from https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/386912

stormify-signedcodeofconduct 2020-07-07 09:32:02 UTC 10 hours ago
Convert SignedCodeOfConduct to Storm

Author: Colin Watson
Author Date: 2020-07-07 09:32:02 UTC

Convert SignedCodeOfConduct to Storm

Several sites constructed a SignedCodeOfConduct with a signing_key_owner
argument, which doesn't exist in this model but was apparently ignored
by `storm.sqlobject`. Remove these arguments rather than perpetuating
this confusion.

py3 2020-07-06 21:55:39 UTC 22 hours ago
Pass bytes to TemporaryStorageManager.new

Author: Colin Watson
Author Date: 2020-06-29 12:57:20 UTC

Pass bytes to TemporaryStorageManager.new

upgrade-dkimpy 2020-07-06 15:07:01 UTC 2020-07-06
Upgrade to dkimpy 1.0.4 and dnspython 1.16.0

Author: Colin Watson
Author Date: 2020-06-21 11:18:12 UTC

Upgrade to dkimpy 1.0.4 and dnspython 1.16.0

We no longer need to explicitly require dnspython, since dkimpy now does
that itself.

Explicitly require dkimpy[ed25519] for good measure; this doesn't incur
any additional requirements in practice, since we already have PyNaCl
installed for other reasons, but it seems like a good idea.

unreplicated-means-primary 2020-07-01 10:36:15 UTC 2020-07-01
Always use the primary DB in unreplicated environments

Author: Colin Watson
Author Date: 2020-07-01 10:36:15 UTC

Always use the primary DB in unreplicated environments

If there's no replication, it doesn't make sense to keep trying to talk
to a possibly-broken standby. Just use the primary instead.

LP: #1885859

py3-librarianserver 2020-06-30 12:36:33 UTC 2020-06-30
Make the librarian server work on Python 3

Author: Colin Watson
Author Date: 2020-06-29 10:33:11 UTC

Make the librarian server work on Python 3

py3-frozenset-subclassing 2020-06-30 12:36:03 UTC 2020-06-30
Fix frozenset subclassing for Python 3

Author: Colin Watson
Author Date: 2020-06-12 20:24:43 UTC

Fix frozenset subclassing for Python 3

As of Python 3.0, following the fix for
https://bugs.python.org/issue1721812, operations on subclasses of
frozenset that create new sets do so using the base type, not the
subclass type. Refactor the custom sets in lp.bugs.model.bug to cope
with this.

hwdb-remove-submission-jobs 2020-06-29 17:17:47 UTC 2020-06-29
Remove hardware DB submission processing jobs

Author: Colin Watson
Author Date: 2020-06-29 17:17:47 UTC

Remove hardware DB submission processing jobs

We stopped accepting new submissions a while ago.

stormify-translationimportqueueentry 2020-06-12 09:14:58 UTC 2020-06-12
Convert TranslationImportQueueEntry to Storm

Author: Colin Watson
Author Date: 2020-06-12 09:14:58 UTC

Convert TranslationImportQueueEntry to Storm

fix-ui-oci-reg-creds 2020-05-11 23:03:04 UTC 2020-05-11
Fix OCIEditRegistryCredentialsView field handling

Author: Colin Watson
Author Date: 2020-05-11 22:58:05 UTC

Fix OCIEditRegistryCredentialsView field handling

This reworks the field layout and parsing along the same lines as the
similar table in GitRepositoryPermissionsView.

The update logic is now easier to follow, because the business of
parsing data from the form is separated from the business of applying
the changes to the database. Updates are done by iterating over the
parsed form rather than iterating over the existing credentials, because
there's no guarantee that the latter match what existed at the time the
form was generated, and we check for mismatches (of the form of an
attempt to update a credentials row with a nonexistent ID or one that
isn't owned by the context person).

The template now has a way to get hold of the widgets for a given
OCIRegistryCredentials object, rather than trying to reuse the same
widgets on each row of the table.

merge-db-stable 2020-04-28 08:31:43 UTC 2020-04-28
Add OCIRecipeBuild.build_request column

Author: Colin Watson
Author Date: 2020-04-28 08:31:43 UTC

Add OCIRecipeBuild.build_request column

Merged from https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/383021

built-using-domination 2020-04-23 16:46:39 UTC 2020-04-23
Fix calculation of live source versions

Author: Colin Watson
Author Date: 2020-04-23 16:46:39 UTC

Fix calculation of live source versions

The dominator previously incorrectly reinstated source publications if
they were the latest one being considered for domination, even if that
was an inactive publication with only inactive Built-Using references.

built-using-guard-copying 2020-04-22 20:00:14 UTC 2020-04-22
Guard copies of binaries with Built-Using references

Author: Colin Watson
Author Date: 2020-04-22 19:56:17 UTC

Guard copies of binaries with Built-Using references

If binaries have Built-Using references, then we need to make sure that
we can resolve those references and keep the corresponding sources
published while the binaries are published. Prevent copies of binaries
if any such references can't be resolved in the target publishing
context.

LP: #1868558

built-using-guard-deletion 2020-04-22 19:59:22 UTC 2020-04-22
Simplify tests using createFromSourcePackageReleases

Author: Colin Watson
Author Date: 2020-04-22 16:54:25 UTC

Simplify tests using createFromSourcePackageReleases

simplify-external-translation-messages 2020-04-01 21:16:23 UTC 2020-04-01
Simplify POTMsgSet._getExternalTranslationMessages

Author: Colin Watson
Author Date: 2020-04-01 21:16:23 UTC

Simplify POTMsgSet._getExternalTranslationMessages

There's no obvious point to sorting the results of a subquery and then
passing it straight to the IN operator; this seems to be a vestige of
earlier code that fetched the result of the subquery into Python. This
doesn't seem to make a massive difference (though it's a bit hard to
tell due to caching), but it at least simplifies the query plan.

LP: #736005

db-potmsgset-msgid-plural-idx 2020-04-01 20:32:11 UTC 2020-04-01
Index POTMsgSet(msgid_plural)

Author: Colin Watson
Author Date: 2020-04-01 20:32:11 UTC

Index POTMsgSet(msgid_plural)

This is used by POFileMixIn._getTemplateSearchQuery. Adding this index
probably won't fix timeouts on its own, but it certainly helps avoid
some full table scans.

LP: #736005

db-oci-recipe-target 2019-10-15 08:50:54 UTC 2019-10-15
Index FKs to Person

Author: Colin Watson
Author Date: 2019-10-15 08:50:54 UTC

Index FKs to Person

archive-file-history 2019-10-10 14:25:33 UTC 2019-10-10
Turn ArchiveFile into a history table

Author: Colin Watson
Author Date: 2018-04-21 11:10:19 UTC

Turn ArchiveFile into a history table

This adds date_created and date_superseded columns. Adjust the
publisher to match.

LP: #1765933

move-package 2019-10-10 08:22:51 UTC 2019-10-10
Add an atomic "move package" operation

Author: Colin Watson
Author Date: 2019-10-10 08:22:51 UTC

Add an atomic "move package" operation

Archive.copyPackage and Archive.copyPackages now take a move=True
argument, which causes the source publication to be deleted if the copy
succeeds.

This allows us to fix a long-standing problem with Ubuntu's
proposed-migration process: it needs to do a copy and delete when
migrating packages from devel-proposed to devel, but since the copy is
asynchronous it can fail without proposed-migration being aware of this,
leading to the package in question simply being removed. Moving the
deletion into the copier avoids this problem.

LP: #1329052

livefs-build-pocket 2019-10-08 08:27:21 UTC 2019-10-08
Allow livefs build metadata to override the default build pocket.

Author: Colin Watson
Author Date: 2019-09-06 23:53:16 UTC

Allow livefs build metadata to override the default build pocket.

This makes it possible, for example, to distinguish the case of building a
livefs using tools from -updates but with contents from the release pocket
from the case of building a livefs using tools from -updates and contents
from -updates.

snap-check-request-private-git 2019-10-07 16:46:44 UTC 2019-10-07
Check that the snap owner has read access to the repository, rather than that...

Author: Colin Watson
Author Date: 2019-03-28 14:59:34 UTC

Check that the snap owner has read access to the repository, rather than that owners match.

login-interstitial 2019-10-07 13:53:48 UTC 2019-10-07
Add interstitial pages when creating or reactivating an account.

Author: Colin Watson
Author Date: 2018-05-25 22:18:52 UTC

Add interstitial pages when creating or reactivating an account.

These provide an opportunity to present the user with the terms of service
and privacy policy and require that they explicitly accept them, as well as
making it harder to reactivate an account by accident.

To support testing this locally, I extended make-lp-user to be able to
create placeholder accounts, and adjusted testopenid so that it can
authenticate as an inactive account by explicitly supplying the username.

build-private-bpb-immediately 2019-10-07 13:13:54 UTC 2019-10-07
Dispatch private BPBs immediately, using macaroon auth for source files.

Author: Colin Watson
Author Date: 2018-05-04 16:19:34 UTC

Dispatch private BPBs immediately, using macaroon auth for source files.

sourcedeps-codetree 2019-10-07 12:45:07 UTC 2019-10-07
Replace most of devscripts.sourcecode with codetree.

Author: Colin Watson
Author Date: 2017-11-01 01:09:59 UTC

Replace most of devscripts.sourcecode with codetree.

codeimport-git-progress 2019-10-07 11:28:37 UTC 2019-10-07
Enable throttled progress output from git-to-git import workers.

Author: Colin Watson
Author Date: 2017-05-11 10:58:58 UTC

Enable throttled progress output from git-to-git import workers.

git-subscriptions-by-path 2019-10-07 11:21:23 UTC 2019-10-07
Make GitSubscription.paths be a JSON-encoded list instead.

Author: Colin Watson
Author Date: 2016-11-17 15:00:35 UTC

Make GitSubscription.paths be a JSON-encoded list instead.

opt-in-zopeless-immediate-mail 2019-10-07 09:59:51 UTC 2019-10-07
Drop immediate mail delivery from LaunchpadScript and LaunchpadZopelessLayer.

Author: Colin Watson
Author Date: 2015-09-08 11:35:19 UTC

Drop immediate mail delivery from LaunchpadScript and LaunchpadZopelessLayer.

127 of 27 results
This repository contains Public information 
Everyone can see this information.

Subscribers