The repository appears mismanaged #3290
Replies: 4 comments 5 replies
-
I've never done git surgery on that kind of scale before, but I'm interested in looking into this. Got any tips on just what I should be looking for or what sort of approach would solve that? |
Beta Was this translation helpful? Give feedback.
-
You'll find these artifacts in the repo's I'll experiment a bit to see which of these files can be omitted from the final repo though, maybe some are really build artifacts that are not necessary. If not, maybe it may be worthwhile to break the deployment out into its own repo that people are not regularly downloading. |
Beta Was this translation helpful? Give feedback.
-
Turns out that the |
Beta Was this translation helpful? Give feedback.
-
You may wish to add a line like one of these to .gitignore:
to handle If the
You can probably remove
Of that 73M, 15M is the remainder of |
Beta Was this translation helpful? Give feedback.
-
Hello! I'm entirely new to evennia, drawn here because some of my colleagues want to port a game to the engine. One thing we all noticed right away was the massive size of the repository, which appears to be mismanaged.
A fresh clone of the repo is 902M, with 885M being .git. This is a symptom of accidentally committing binaries or other build output to the repo when the repo should contain only source.
A quick look with
confirms this. We see output dominated by the docs directory. environment.pickle is 9.6 MB on every revision where it changes, and there are plenty of other files in the docs directory that are obviously build output.
I notice that docs/build is in the .gitignore, so this was clearly a known issue at a previous point. However, this .gitignore is missing docs/2.x/* and similar directory structures.
I would suggest that we extend .gitignore to feature all of docs which contains build output, as well as *.pickle. Then, the repo requires a significant maintenance effort to remove the revision history for these binary files from .git.
Beta Was this translation helpful? Give feedback.
All reactions