-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Ensure no more binaries are checked in #58
Comments
This is 90% of cargo's source size:
( |
That involves re-writing the entire history, which means everyone's checkouts are invalid. It's easy to run |
4MB is kind of bad 😦 I don't like rewriting history, but this is a kind of extreme case. |
There's also a 2.3MB file https://github.com/rust-lang/cargo/blob/3ac946a2c9f0481165aa29a43113f9c764fe4d9c/res |
I believe that history is quite important, even for a fledgling project such as this. I've updated the title/description to the course of action I believe needs to be taken to resolve this issue. |
|
Hm, I may not fully understand what
And the resulting commit differed by 197 commits form the current HEAD. I was under the impression that only the two commits which introduced those files actually had their contents changed, but all other commits changed hashes because they have a different lineage, even if the same contents. If we could modify just those two commits it would be nice, but is that possible? |
Oh, sorry, yeah, I was talking about "preserving history" in a more abstract sense. The commits will change (since info about the lineage is included in the hash, as you say), but the actual contents of each commit would be unchanged (other the ones actually touching |
Ah, that makes sense! |
58: Don't require clippy r=oli-obk a=Manishearth This makes it more suitable to use for epoch stuff We also need better error reporting here :| (Can this get a release?) r? @killercup
Updated description
make test
should ensure no binaries are checked in.Original Description
repo contains a 4MB binary
https://github.com/rust-lang/cargo/blob/master/tests/tests
cargo is still young enough that this could possibly be rebased out, to keep the repository slim. (Just removing it in a normal commit will not remove it from the history, meaning it will hang around in
.git
forever: this would need some pickaxing/history modification.)The text was updated successfully, but these errors were encountered: