~racb/git-ubuntu:no-push

Last commit made on 2022-08-16
Get this branch:
git clone -b no-push 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:
no-push
Repository:
lp:~racb/git-ubuntu

Recent commits

ab5d7ad... by Robie Basak

Move import_srcpkg() to importer_service_worker.py

This function is only used from here, so there's no need for it to be in
a different module.

4a01d97... by Robie Basak

importer-service-worker: add --no-push argument

Asking the worker for --no-push enables a deeper dry run for performance
testing purposes. Unlike the behaviour of "git ubuntu import", "push
mode" is the default here because normally when one sets up the importer
service, it would be surprising behaviour not to do this, and this is
the only use case for this command.

7f3a586... by Robie Basak

importer: flip CLI argument default to not push

git ubuntu import has two uses: 1) it's run by the importer service
workers, which should push by default; 2) it's run by users, for whom it
doesn't generally make sense to push by default.

Since it's easy for importer service workers to specify an option by
automation, we flip the default of the CLI to explicitly require --push
if you want to push. This makes it safer and easier to explain to users
how to use the import command locally.

The importer service worker then adds --push unconditionally.

This makes the "implied no push" behaviour of certain options redundant,
so those are removed.

7c524e6... by Robie Basak

importer: flip sense of push arguments

Instead of passing around an inverse boolean "no_push" argument, pass
the more natural "push" instead.

This should make no functional change, but prepares us to invert the CLI
argument since after that future change passing around an inverse
boolean will make even less sense.

8681418... by Robie Basak

_main_with_repo: simplify if statement

Since the normal operation is to push, and straight after that we
"return 0", it's simpler to immediately "return 0" if we don't want to
push. This stops the usual code path being pushed "to the right", and
makes it easier to follow the logic.

This should not result in a functional change.

0901740... by Robie Basak

scriptutils: remove pool_map_import_srcpkg()

This function is no longer used from anywhere.

f9a91d9... by Robie Basak

Add changelog date override for gmsh

4d497a7... by Robie Basak

Add comment on missing observability

This should help locate the older emailing code should it be needed in
the future.

06f0eca... by Robie Basak

More project renames

This is a followup to commits 57e5776, 002e452, 2f0e855 and 5aad111 with
further cleanups around the project rename from usd-importer to
git-ubuntu and the move to the <email address hidden>
mailing list. Thanks to Bryce for spotting some of the remaining pieces.

Where code is no longer used at all, or docs are completely out-of-date,
I've removed it instead of renaming the relevant bits. I've not worried
too much about fixing docs that I've touched if there's some value to
them staying, as that's a bit of a rabbit hole and I'd prefer to make
incremental progress.

0e3ca5f... by Robie Basak

submit: default to ~canonical-server-reporter

On the Canonical Server Team, we have been using ~canonical-server in
its own review slot for the sole purpose of gathering all reviews we're
interested in tracking together on this team's +activereviews page.

A problem with this is that we all belong to this team, so when a person
does a review, they sometimes accidentally "grab" that slot, so it
appears as their name rather than the team's, and thus disappears from
the report.

One way around this is to use a separate team that none of us actually
belong to. This way we can't "grab" that slot.

This changes the default team to this new ~canonical-server-reporter
team to help those who use the "git ubuntu submit" command.