Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HEADS UP: git repository cleanup - branch deletion

#1
On this URL you see a list of branches that had no commits for the last 6 months:

http://git.xonotic.org/?p=xonotic/oldstuff.git;a=heads

We will, in a few weeks, delete these branches, but keep them available in this oldstuff.git repository. Nothing will be permanently deleted by this procedure.

In case you want to keep one of these branches, please merge master into it and push. You do this by the following commands in the repository affected:

Code:
git checkout branchname
git fetch origin
# NOTE: in case of the darkplaces repository, you may instead have to merge div0-stable
git merge origin/master
git push -u origin HEAD

Alternatively, you can add any single commit to the branch to "bump" it instead, in case merging master into it is no option.

This branch will then not be deleted.

In case you want an archived branch deleted from oldstuff.git, tell me in PM. This deletion then will be permanent.

In case a branch got deleted once because of inactivity, it can be brought back from the oldstuff.git repository. Commands to do this will be posted here once the first deletion run has been performed.

Once this cleanup has been done, download size for all our git users will be reduced by a few GB.
BRLOGENSHFEGLE (core dumped)

The Bot Orchestra is back! | Xoylent Easter Egg | 5bots1piano
My music on Google Play and SoundCloud
Reply

#2
I have no idea what my branch in that list is for (in maps, mrbougo/nowego-ruined-waypoints). It has waypoint files for ruined but was that map ever in the repo? Heh. nowego, do you remember any of this?
Reply

#3
That branch probably can be deleted now. But can just as well also let it slip into the archive.
BRLOGENSHFEGLE (core dumped)

The Bot Orchestra is back! | Xoylent Easter Egg | 5bots1piano
My music on Google Play and SoundCloud
Reply

#4
when will this start happening?
Master of mysterious geometries

Imgur Gallery
Reply

#5
In about two weeks.

When I do it, I will of course also post info how to bring a branch back from the archive.
BRLOGENSHFEGLE (core dumped)

The Bot Orchestra is back! | Xoylent Easter Egg | 5bots1piano
My music on Google Play and SoundCloud
Reply

#6
The cleanup has been performed.

To bring back branch U/B in repository R, do the following while in repository R:

Code:
git checkout -b U/B
git reset --hard origin/master
git pull git://git.xonotic.org/xonotic/oldstuff.git R/U/B
git push -u origin HEAD

In case it does not merge, you can do this to avoid the merging:

Code:
git checkout -b U/B
git reset --hard xonotic-v0.1.0preview
git pull git://git.xonotic.org/xonotic/oldstuff.git R/U/B
# do some change
git commit -a
git push -u origin HEAD

However, this will only work if you actually do a change to your branch! Otherwise, the branch will be up for deletion on the next cleanup run.
BRLOGENSHFEGLE (core dumped)

The Bot Orchestra is back! | Xoylent Easter Egg | 5bots1piano
My music on Google Play and SoundCloud
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  0.8.6 and git - Stutter points / Profiling / Code Optimization dagelf 1 3,398 06-08-2024, 04:16 PM
Last Post: dagelf
  Hello guys! I need Xonotic Debian repository, not snap SerW 4 1,521 11-11-2023, 08:31 PM
Last Post: cushinga
  Xonotic Git Help Molnija 4 5,777 01-20-2019, 11:38 PM
Last Post: Molnija
  [SOLVED] setting proper git pushurl BuddyFriendGuy 0 2,508 04-07-2015, 09:44 PM
Last Post: BuddyFriendGuy
Exclamation git branch archival TimePath 2 6,149 02-08-2015, 03:01 PM
Last Post: Mr. Bougo
  Cloning git? end user 2 3,806 09-15-2014, 03:35 AM
Last Post: end user
  Segmentation fault @ Xonotic(git) Ari 2 4,812 01-31-2014, 02:45 AM
Last Post: Ari
  GIT version size maxyan 7 7,320 03-13-2012, 02:54 AM
Last Post: tZork
  [SOLVED] Compiling from GIT fails: darkplaces unfa 10 16,294 06-20-2011, 07:58 AM
Last Post: unicornsteak
  Automated Xonotic Git build system Mr. Bougo 72 92,477 01-27-2011, 08:20 PM
Last Post: Samual

Forum Jump:


Users browsing this thread:
2 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-