Comments (4)
xjava has not that many contributors and it would be fine with me to make this change and re-clone.
We could also give the rewritten repo a new name and declare the old one dead while leaving it in place.
Are there other references to commit hashes in this repo (and related) that would be broken by rewriting history in this way? (Eg used for production deploys or in logs etc)
On Aug 31, 2014, at 15:18, Katrina Owen [email protected] wrote:
I made a really stupid choice a while back to commit the cross-compiled
binaries for configlet (the tool that sanity-checks the config.json
against the implemented problems) into the repository itself.Those binaries are HUGE, and every time they change the entire 4 or 5 megs get
recommitted. This means that cloning the repository takes a ridiculously long
time.I've added a script that can be run on travis to grab the latest release from
the configlet repository (bin/fetch-configlet), and travis is set up to run
this now instead of using the committed binary.I would really like to thoroughly delete the binaries from the entire git
history, but this will break all the existing clones and forks.The commands I would run are:
ensure this happens on an up-to-date master
git checkout master && git fetch origin && git reset --hard origin/master
delete from history
git filter-branch --index-filter 'git rm -r --cached --ignore-unmatch bin/configlet-*' --prune-empty
clean up
rm -rf .git/refs/original/
git reflog expire --all
git gc --aggressive --prunepush up the new master, force override existing master branch
git push -fu origin master
If we do this everyone who has a fork will need to make sure that their master
is reset to the new upstream master:git checkout master
git fetch upstream master
git reset --hard upstream/master
git push -fu origin master
We can at-mention (@) all the contributors and everyone who has a fork here in this
issue if we decide to do it.The important question though, is: Is it worth doing?
Do you have any other suggestions of how to make sure this doesn't confuse people and break their
repository if we do proceed with this change?—
Reply to this email directly or view it on GitHub.
from java.
I'm going to have to redo the submodules in the x-api repository (problems API), but that's fine.
I'll go ahead and kick this off.
from java.
Heads up - if you want to contribute to this repository in the future you're going to need to reset or reclone.
/ cc
@wdjunaidi
@sagarsane
@sjakobi
@codingricky
@michaelavila
from java.
Thanks for the heads up!
On Aug 31, 2014 7:42 PM, "Katrina Owen" [email protected] wrote:
—
Reply to this email directly or view it on GitHub
#8 (comment).
from java.
Related Issues (20)
- wizards-and-warriors: describe Analyzer feedback in `.meta/design.md`
- wizards-and-warriors-2: describe Analyzer feedback in `.meta/design.md`
- Add GitHub Actions workflow that fails if any deprecated exercise files change
- Only run tests for exercises that have changed
- Add document to describe the representation process for mentors
- Check if ``Bird Watcher`` current test suite is complete/correct HOT 2
- #48in24: Add approaches to Parallel Letter Frequency
- #48in24: Add approaches to Bank Account HOT 5
- #48in24: Add approaches to Knapsack HOT 2
- #48in24: Add analyzer feedback for Parallel Letter Frequency HOT 5
- #48in24: Add analyzer feedback for Bank Account
- #48in24: Add analyzer feedback for Knapsack
- Wizards and Warriors exercise reformat
- Add GitHub Actions workflow step to add summary for test-runner results HOT 2
- Karls Language introduces multiple concepts HOT 3
- Find a way to always have reference documentation updated HOT 3
- Make class names the exercise names if makes sense HOT 4
- Inconsistency between Need for Speed task 6 analyzer feedback and instructions HOT 1
- Collatz Conjecture: Test case should be added to check for more than one method call HOT 2
- Mentoring signup url broken HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from java.