c3e / 35c3-workshop-planner

This is an expo.io app for mobile devices to plan your workshops at the 35c3 event in Leipzig
MIT License
2 stars 0 forks source link

Remove release-archives from the git-repo #1

Open htgoebel opened 5 years ago

htgoebel commented 5 years ago

Please remove the release-archives from the git-repo. The source repo is meant for keeping the source, not release-archives or other build-artifacts. As of now each APK adds approx. 19MB of data to be downloaded when cloning the repo.

I even suggest to not only git rm the apks, but removing them entirely: Edit commit 1ff9711c213 and remove the commits 75b7791d, 4ed19c6b19, and c58158a359. Since the project is in an early stage and there is a single developer currently, this can be done without breaking things.

Github offers a place for publishing release-archives: https://github.com/c3e/35c3-workshop-planner/releases - uploading release-archives there can even be automated as part of the release-process using tools like this one (untested!)

htgoebel commented 5 years ago

You can find a repo where this is already done (keeping the committer name and commit date) at https://github.com/htgoebel/35c3-workshop-planner. Simply run something along these lines:

mkdir /tmp/35c3-wsplan
cd /tmp/35c3-wsplan
git clone git@github.com:c3e/35c3-workshop-planner.git .
git fetch https://github.com/htgoebel/35c3-workshop-planner.git
git reset --hard FETCH_HEAD
# verify nothing changed beside the apks being removed
git diff origin/master | less -S
git push -f origin

You may want to upload the apks to the releases first.

And for the searchScreen branch:

git checkout searchScreen
git fetch https://github.com/htgoebel/35c3-workshop-planner.git searchScreen
git reset --hard FETCH_HEAD
# verify nothing changed beside the apks being removed
git diff origin/searchScreen | less -S
git push -f origin