lp:~cjwatson/launchpad/git-issue-access-tokens

Created by Colin Watson on 2019-04-15 and last modified on 2019-05-01
Get this branch:
bzr branch lp:~cjwatson/launchpad/git-issue-access-tokens
Only Colin Watson can upload to this branch. If you are Colin Watson please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Colin Watson
Project:
Launchpad itself
Status:
Merged

Recent revisions

18654. By Colin Watson on 2019-05-01

Document MacaroonIssuerBase.checkIssuingContext kwargs.

18653. By Colin Watson on 2019-05-01

Make person/account comparison more efficient.

18652. By Colin Watson on 2019-05-01

Rename lp.openid-identifier to lp.principal.openid-identifier.

18651. By Colin Watson on 2019-05-01

Pass the user explicitly to GitRepositoryMacaroonIssuer.issueMacaroon rather than using LaunchBag.

18650. By Colin Watson on 2019-05-01

Merge devel.

18649. By Colin Watson on 2019-04-15

Add a macaroon issuer for Git access tokens.

18648. By Colin Watson on 2019-04-11

Push repository -> job inference down from GitAPI to the macaroon issuer.

I think this makes slightly more logical sense, and it will shortly make it
easier to cope with the case where a different macaroon issuer might be
involved.

18647. By Colin Watson on 2019-04-11

Add logging to macaroon verification, and refactor tests to check it.

It was all too easy for macaroon verification to fail for some reason other
than the one that a test expected, and tests had no way to tell. We now log
details of verification failures, and I added a couple of test helpers to
make it easy for tests to check these consistently.

18646. By Colin Watson on 2019-04-11

Make TestCodeImportJobMacaroonIssuer.test_verifyMacaroon_wrong_job useful.

job and other_job were in fact equal due to the odd way that
BareLaunchpadObjectFactory.makeCodeImportJob works, but this mistake was
masked because the job wasn't started and so macaroon verification failed
for that reason.

18645. By Colin Watson on 2019-04-11

Merge snap-build-macaroon.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:launchpad
This branch contains Public information 
Everyone can see this information.

Subscribers