Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove release-archives from the git-repo #1

Open
htgoebel opened this issue Dec 31, 2018 · 1 comment
Open

Remove release-archives from the git-repo #1

htgoebel opened this issue Dec 31, 2018 · 1 comment

Comments

@htgoebel
Copy link

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 1ff9711 and remove the commits 75b7791, 4ed19c6, and c58158a. 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
Copy link
Author

htgoebel commented Dec 31, 2018

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 [email protected]: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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant