(German version below)

Yesterday night a force push to the master branch of the OpenRailwayMap 
repository at GitHub took place. Only very few commits were removed from the 
history, and those only for technical reasons (i.e. they had no contents 
afterwards). But what we really did is to filter out foreign software that was 
included in the repository in the early stages of development. The whole 
reason for this was a technical one: this included some huge binary files, so 
cloning the repository downloaded (literally) hundreds of megabytes of dead 
sutff. In fact the download size reduced from ~900MB to barely 7MB.

During the process all open pull requests were closed (GitHub automatically 
did this, it was not intentional), but all of them were from only 2 users 
(Michael Reichert and me), so no real harm was done using this as we were 
aware of the force push and had to rebase our branches anyway.

If you have a clone of this repository and want to contribute a new patch then 
please base anything on the current master branch and not the old one:

# assumption: rurseekatze/OpenRailwayMap is the remote called "upstream"

git checkout master
git fetch
# warning, the next command will throw away any local modifications you
# have on the master branch
git reset --hard upstream/master
git push --force

Now you are ready to create new branches and start PRs.

(German version)

Gestern Abend hat wurde eine force push im OpenRailwayMap-Repository auf 
GitHub durchgeführt. Es wurden einige wenige commits aus der Geschichte des 
Repositories entfernt, allerdings nur aus technischen Gründen (sie enthielten 
schlicht keine Änderungen mehr). Der eigentliche Grund für die Aktion war die 
Entfernung von einigem Fremdcode, der in der Anfangsphase der Entwicklung in 
das Repository eingecheckt wurde. Auch hierbei war der Grund ein rein 
technischer: mit dabei waren einige große Binärdateien, die später alle wieder 
gelöscht wurden. Wenn man sich das Repository im alten Zustand klonen wollte 
hat man (buchstäblich!) hunderte Megabyte and unnützem Zeug heruntergeladen. 
Das ist nun Geschichte, und der Download hat jetzt statt ~900MB nur noch knapp 
7MB.

Durch den force push wurden alle offenen Pull Requests geschlossen, allerdings 
war dies ein unbeabsichtigter Automatismus von GitHub. Da die PRs ohnehin nur 
von 2 Benutzern stammten (Michael Reichert und mir) ist dabei letztlich auch 
kein wirklicher Schaden entstanden, da wir im an der ganzen Aktion ja 
mitgearbeitet haben und unsere branches sowieso hätten rebasen müssen.

Wenn jemand einen lokalen clone des Repositories hat und jetzt einen neuen PR 
erstellen möchte, so muss dieser auf dem neuen master-Branch aufsetzen.

# Annahme: rurseekatze/OpenRailwayMap ist der remote "upstream"

git checkout master
git fetch
# Warnung: der nächte Befehl wird alle ggf. gemachten Änderungen am
# branch master verwerfen!
git reset --hard upstream/master
git push --force

Jetzt ist der master-Branch im eigenen fork auf dem gleichen Stand wie das 
Hauptrepository und neue PRs können von hier ausgehend erstellt werden.

Eike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Openrailwaymap mailing list
[email protected]
http://lists.openrailwaymap.org/lists/listinfo/openrailwaymap

Reply via email to