~racb/git-ubuntu:preserve-mps-on-reimport

Last commit made on 2020-05-01
Get this branch:
git clone -b preserve-mps-on-reimport 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:
preserve-mps-on-reimport
Repository:
lp:~racb/git-ubuntu

Recent commits

7a60e7f... by Robie Basak

Preserve MPs on reimport

When reimporting, instead of deleting a git repository before repushing
it, we can force push all our new refs and ensure that refs not being
pushed get deleted using --prune. This creates the same effect but
allows us to preserve old merge proposals.

There is a possibility that some configuration in the git repository
will be left behind from a previous import. However all configuration
(eg. the HEAD pointer) is reset by the importer on every run, so
everything that the importer touches will get fixed. Anything else can
be considered out of scope for --reimport to achieve.

The default repository for the source package will therefore not be
reset; if it was set to the old repository, it will continue to point to
the "new" one. This is actually what we want, so is fine.

13ad773... by Robie Basak

Merge branch 'fix-head-detection'

edcfc90... by Robie Basak

Merge branch 'clone-default-repository'

fbd62d4... by Robie Basak

Merge branch 'clean-up-changelog-notes'

0c56b1b... by Robie Basak

Merge branch 'adjust-name-and-email-to-spec'

93999c6... by Robie Basak

Fix Debian/Ubuntu HEAD branch detection

repo.references provides a list of pygit2.Reference objects, not strings
of their names. Just try the lookup method directly instead.

beed1a4... by Robie Basak

Merge branch 'clear-notes-before-reimport'

8070d30... by Robie Basak

Add clevis to whitelist

Requested at https://lists.launchpad.net/usd-import-team/msg00026.html

44d689c... by Robie Basak

Merge branch 'document-testing-strategy'

7ab1bb5... by Robie Basak

Document testing strategy