Comments (11)
Thanks jasom - that's sounds great.
from clasp.
https://gist.github.com/anonymous/488b81ad81838291eb33
See the comment at the bottom for how to locally apply the changes
I can walk you through the steps of getting those changes pushed out to github on irc tomorrow. You're on an earlier timezone than me, so you might be able to locally apply and test it before I'm up.
from clasp.
I just wanted to make a quick comment here. I haven't actually gone through the clasp repos history carefully. However, from what someone said, it seems likely that the stuff that is now in externals is in the history of the clasp repos too, though not currently in head. I think those files should be removed as well. There is no point keeping them. You (Jason) said something about jpg and pdf files in there. Most likely those should go too. There are special circumstances under which is makes sense to keep jpg and pdf files (e.g. scans) under version control, but in most cases it does not make sense. And I don't think those special cases apply here.
There are two possibilities:
(a) the jpg/pdf files belong to some external dependency, in which case they should be removed (see above)
(b) they belong to clasp itself, in which case they should really be generated from source. Though I suspect this is not the case for most (all?) the files in question.
I think only text files pertaining to clasp itself should be retained as far as possible.
Dependencies which clasp is actually including (as opposed to linking against) will also need to stay, I guess. Thank you for your attention.
from clasp.
files in #41 can probably be unpersoned as well, though they're not generally huge.
from clasp.
For clasp:
git filter-branch --index-filter 'xargs git rm -rf --cached --ignore-unmatch < $HOME/filelist' -- --all
where $HOME/filelist
is here
for clasp-externals:
git rev-parse --verify 89a444091fd1ca6e825f21a865e426a3eaf82ed8 >> .git/info/grafts && git filter-branch -- --all
from clasp.
Offtopic: This is why Perforce will beat Git for some time in games development. You need to check in movies and game assets.
from clasp.
@rptb1 : git-annex plus a NAS solves that problem, though it's perhaps not quite as nice as p4, git has other advantages.
from clasp.
git rev-parse --verify cee291ccdcea092b732756dac0bd10bb9c901143 >> .git/info/grafts && git filter-branch -- --all
from clasp.
faheem mentioned that he thought the pack was still too big; I figured this was "good enough" but if someone wants to slog through, then I've pasted all remaining files larger than 10k in the pack, sorted by size in the pack:
https://gist.github.com/anonymous/55949a66ba5593accf1b
from clasp.
Here's a program that can generate the list of git files in a pack, requested by @fmitha https://github.com/jasom/gitfiles
Note that in order to use it you need to pack all lose objects (i.e. run git repack), as it can only find files that are in a pack.
from clasp.
I performed the cleanup as directed by jasom and faheem and now the repo is about 87MB when previously it was about 580MB. Everything seems to work fine.
Medals all around guys!
from clasp.
Related Issues (20)
- bytecode-to-BIR incompatibilities
- macroexpand-1 handling of shadowing in lexical environment HOT 1
- github fetch not working: project cannot build without GIT ; hence it currently cannot build. HOT 7
- Build on Fedora 38 fails at iclasp final link stage HOT 8
- extended sequences don't work with the type system
- CLTL2 readers fail on bytecode environments
- Differing behavior in ASDF-loaded vs interactively compiled function accessing constant
- pngload fails to load HOT 4
- defstruct-defined classes unavailable at compile-time
- Invalid number type: (FLOAT 0) HOT 1
- Clasp release archive 2.6.0 is still checking for git program HOT 1
- Dockerfile in wiki does not seem to be building
- `**` not permitted as a pathname `:name`
- `parse-namestring` doesn't accept unicode HOT 6
- Extended characters trip up packages
- Emacs v29 ctags not compatible w/ "--ctags=" configuration. etags alias OK. HOT 7
- Build broken - gctools - nativeVector.cc - Regress due last commit? HOT 5
- (check nil null) at toplevel crashes bytecode compiler
- Manual clarifications
- Build/Installation failing to find fmt (module/package?) HOT 4
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 clasp.