~racb/git-ubuntu:staging-branches

Last commit made on 2023-09-15
Get this branch:
git clone -b staging-branches https://git.launchpad.net/~racb/git-ubuntu
Only Robie Basak can upload to this branch. If you are Robie Basak please log in for upload directions.

Branch merges

Branch information

Name:
staging-branches
Repository:
lp:~racb/git-ubuntu

Recent commits

f25d6fc... by Robie Basak

importer: maintain staging branches

Create and maintain staging branches after the devel branches are
updated. We already push refs/heads/<namespace>/*, so these will also
get pushed as part of the importer run.

ACL handling is not implemented. It remains to be determined how ACL
handling will eventually land in Launchpad. See LP: #1993290 and
LP: #1993303 for details. Depending on the implementation, we may be
able to manage ACLs in team-wide or distribution-wide configuration and
not require any implementation inside the importer at all.

See the specification for details:

    https://discourse.ubuntu.com/t/spec-git-ubuntu-staged-uploads/35409

LP: #1844782

fa1a0b3... by Robie Basak

doc: fix prepare-upload mangle howto

The previous line was just wrong. This is how to do it correctly.

2c19860... by Robie Basak

Merge branch 'experimental-endpoints' into main

e0c2907... by Robie Basak

Correct configure tracking branches

"git clone" by default sets up branch.<name>.remote and
branch.<name>.merge so that various git tooling can follow and set
default accordingly, so we should do the same when we create equivalent
branches.

LP: #1995489

a4dbb0d... by Robie Basak

create_tracking_branch: split remote/branch name

We're going to need to access these names separately soon, so adjust the
function paramaters to require them to be provided separately, and
adjust all callers (both of them) accordingly.

This should not result in any functional change.

This is also a good opportunity to add a docstring to specify the
function better.

4232884... by Robie Basak

Add test for remote tracking branch

This is LP: #1995489: the remote tracking branch is not configured.

deca96f... by Robie Basak

Add test for create_tracking_branch

45aacd4... by Robie Basak

doc: update emptydirfixup example

The example should use the new experimental endpoint and prepare-upload
subcommand, as the old methods are now longer functional by default.

4d0e35e... by Robie Basak

Move emptydirfixup docstring into docs

bc5e02f... by Robie Basak

Package experimental commands

Acting on specific feedback, this provides the scripts formerly known as
gu-build and emptydirfixup.py as git-ubuntu.experimental-build and
git-ubuntu.experimental-emptydirfixup, to make them easier to consume.

They aren't being adopted into git-ubuntu "proper" yet as that would
imply CLI stability at a level that doesn't currently exist for them.
Hopefully this is a middle ground that will make them more accessible,
but without implying stability.

Snaps require additional entry points to be prefixed by the main snap
name (ie. "git-ubuntu."). This means the names a bit cumbersome,
although they do tab-complete. I recommend that interested developers
arrange local aliases such as gu-build and gu-emptydirfixup.