← Back to team overview

maria-developers team mailing list archive

Re: Deleting unused branches on github

 

Sergey Vojtovich <svoj@xxxxxxxxxxx> writes:

> First, your list seem to be quite outdated. Did you run git remote prune origin?
> At the moment of writing https://github.com/MariaDB/server says there're 124
> branches.

I did not :-(. Bummer, that was stupid, I even wrote in the mail how
removing branches remotely would not affect local clones without
git fetch --prune or similar.

Below is an updated lists with only branches that are still in the repo,
thanks for pointing out the mistake.

> Second, I strongly suggest not to remove anything without branch owner approval.
> Potential data loss overweights clean-up benefits.

Right, that was the intention of my mail, Cc:'ing the top committer in each
branch (sorry I seem to have forgotten to Cc: you).

Or do you have a better way to determine who is the branch owner of a
particular branch?

Of course, if a branch should somehow end up being wrongly removed, I will
just re-push it from a backup I will take before deleting. But better to
avoid errorneous removal in the first place.

> At least the following branches may have valuable revisions:
>> origin/10.1-spider 1 year, 1 month ago Michael Widenius
>> <monty@xxxxxxxxxxx>
>> origin/10.0-power 1 year, 7 months ago Sergey Vojtovich
>> <svoj@xxxxxxxxxxx>

Ok, thanks, I've removed them from the lists.

Updated list with branches to be removed below.

 - Kristian.

-----------------------------------------------------------------------

These branches have not been updated for a long time, and looked like they
were not used any more. They are annotated with the date and the committer
of the last commit:

origin/bb-10.2-decimal                    5 months              ago  Monty <monty@xxxxxxxxxxx>
origin/bb-10.1-jan2                       8 months              ago  Jan Lindström <jan.lindstrom@xxxxxxxxxxx>
origin/bb-10.1-xtrabackup                 8 months              ago  Vladislav Vaintroub <wlad@xxxxxxxxxxx>
origin/10.2-window_simple                 9 months              ago  Sergei Petrunia <psergey@xxxxxxxxxxxx>
origin/bb-10.2-vicentiu-create            10 months             ago  Vicențiu Ciorbaru <vicentiu@xxxxxxxxxxx>
origin/10.2-travis-ci                     12 months             ago  Otto Kekäläinen <otto@xxxxxxxxxxx>
origin/bb-10.1-jan-encryption             1 year, 1 month       ago  Jan Lindström <jan.lindstrom@xxxxxxxxxxx>
origin/bb-10.1-default                    1 year, 3 months      ago  Monty <monty@xxxxxxxxxxx>
origin/10.0-FusionIO-Galera               1 year, 4 months      ago  Jan Lindström <jan.lindstrom@xxxxxxxxxxx>
origin/10.0-custombld                     1 year, 4 months      ago  Kristian Nielsen <knielsen@xxxxxxxxxxxxxxx>
origin/10.1-window                        1 year, 4 months      ago  Vicentiu Ciorbaru <vicentiu@xxxxxxxxxxx>
origin/10.0-FusionIO                      1 year, 5 months      ago  Jan Lindström <jan.lindstrom@xxxxxxxxxxx>
origin/bb-10.1-binlog_row_image           1 year, 5 months      ago  Vicențiu Ciorbaru <vicentiu@xxxxxxxxxxx>
origin/sanja-old-10.0-batch               1 year, 10 months     ago  Oleksandr Byelkin <sanja@xxxxxxxxxxx>
origin/bb-10.1-eperi                      1 year, 11 months     ago  Michael Widenius <monty@xxxxxxxxxxx>


These branches all contain an MDEV in their name that has been closed:

origin/10.1-MDEV-6877-binlog_row_image  MDEV-6877       Closed
origin/10.2-MDEV-8348                   MDEV-8348       Closed
origin/10.2-MDEV-9114                   MDEV-9114       Closed
origin/bb-10.0.22-mdev8989              MDEV-8989       Closed
origin/bb-10.0-galera-mdev8496-hf       MDEV-8496       Closed
origin/bb-10.0-mdev-10341               MDEV-10341      Closed
origin/bb-10.1-mdev6657-r2              MDEV-6657       Closed
origin/bb-10.1-mdev8646                 MDEV-8646       Closed
origin/bb-10.1-mdev8989                 MDEV-8989       Closed
origin/bb-10.1-mdev9362                 MDEV-9362       Closed
origin/bb-10.1-mdev-9468                MDEV-9468       Closed
origin/bb-10.2-mdev8646                 MDEV-8646       Closed
origin/bb-10.2-mdev8789                 MDEV-8789       Closed
origin/bb-10.2-mdev9864                 MDEV-9864       Closed
origin/bb-5.5-mdev6735                  MDEV-6735       Closed
origin/bb-5.5-mdev-9304                 MDEV-9304       Closed
origin/bb-vicentiu-mdev7978             MDEV-7978       Closed
origin/hf-10.1-mdev9021                 MDEV-9021       Closed
origin/hf-10.1-mdev9853                 MDEV-9853       Closed
origin/MDEV-8909                        MDEV-8909       Closed


These branches are fully merged into an existing main tree (5.5, 10.0, 10.1,
10.2, 5.5-galera, or 10.0-galera), and have not been updated for a while:

origin/MDEV-8947              5 months          ago  Kristian Nielsen <knielsen@xxxxxxxxxxxxxxx>
origin/10.2-test1234          6 months          ago  Galina Shalygina <galashalygina@xxxxxxxxx>
origin/10.2-connector-c-integ 7 months          ago  Vladislav Vaintroub <wlad@xxxxxxxxxxx>
origin/bb-10.2-mdev9543       7 months          ago  Sergei Petrunia <psergey@xxxxxxxxxxxx>
origin/10.0-defragment        1 year, 6 months  ago  Vicentiu Ciorbaru <vicentiu@xxxxxxxxxxx>
origin/bb-5.5-knielsen        1 year, 8 months  ago  Kristian Nielsen <knielsen@xxxxxxxxxxxxxxx>


Follow ups

References