SecLists icon indicating copy to clipboard operation
SecLists copied to clipboard

Fixes #54: Reduced repo size

Open ItsIgnacioPortal opened this issue 2 years ago • 3 comments

Regarding #54: I added an explanation to the README to explain why someone would want to use the "small" command. I also ran git reflog expire --expire=now --all and git gc --prune=now --aggressive. It only took a couple of minutes, and it reduced the size of .git from 862268KB to 818808KB. A 43.46MB difference.

This fixes #54

ItsIgnacioPortal avatar Jun 24 '22 03:06 ItsIgnacioPortal

I believe this commit only updates the README, it doesn't reduce the size of the repo.

it may have done it locally, but the push to the remote side hasn't changed.

g0tmi1k avatar Aug 02 '22 05:08 g0tmi1k

Maybe he meant that long time users can prune it to make it smaller.

its0x08 avatar Aug 02 '22 09:08 its0x08

I believe this commit only updates the README, it doesn't reduce the size of the repo. it may have done it locally, but the push to the remote side hasn't changed.

So it would seem...

I did read some dubius claims that this didn't do anything to remote. They said that for this to have an effect, the command would have to be ran directly on the original host (in this case, the github servers). Oh well. I still think it's worth adding that little comment to the README though

ItsIgnacioPortal avatar Aug 03 '22 09:08 ItsIgnacioPortal

The issue is, the README then gets dated with more work/commits added - and its another thing to remember to keep up-to-date. The amount of work it causes vs the pay off (the value of adding the size of repo).


In short: How many people need to know the size of the repo?

g0tmi1k avatar Nov 22 '22 11:11 g0tmi1k

The issue is, the README then gets dated with more work/commits added - and its another thing to remember to keep up-to-date. The amount of work it causes vs the pay off (the value of adding the size of repo).

In short: How many people need to know the size of the repo?

That number doesn't need to be updated. It's just to give users a vague idea of how much baggage they'll download if they choose to do the full git clone.

ItsIgnacioPortal avatar Nov 23 '22 04:11 ItsIgnacioPortal

I see it as another thing to maintain and update. Could this be automated?

g0tmi1k avatar May 16 '23 08:05 g0tmi1k

Closing due to lack of response

g0tmi1k avatar Nov 23 '23 17:11 g0tmi1k