uBlock icon indicating copy to clipboard operation
uBlock copied to clipboard

Cleanup repo

Open mathbunnyru opened this issue 8 years ago • 8 comments
trafficstars

Describe the issue

Downloading this repository takes a lot of time. It happens, because files like ublock_0.1.0.1.zip were added to this repo. It doesn't matter if they were deleted later - they are still in .git.

But there's a cure: There's an utility, which works pretty well: https://rtyley.github.io/bfg-repo-cleaner/

Please, make your repository easier to clone. Thanks.

mathbunnyru avatar Feb 25 '17 09:02 mathbunnyru

Why should these ublock_0.1.0.1.zip files be in the git repo anyway ? I don't know much about GitHub : isn't there a way to add them to the "Releases" page without being in the git repo ? Git is for source code, not release archives.

ghost avatar Feb 25 '17 12:02 ghost

It seems to be possible to create releases without adding zips to repo: https://help.github.com/articles/creating-releases/ As you can see on the 7th tip, it's easy to drag and drop some binary files to a new release.

mathbunnyru avatar Feb 25 '17 12:02 mathbunnyru

@gorhill what do you think?

mathbunnyru avatar Mar 15 '17 20:03 mathbunnyru

I don't really have time to investigate all this for now.

gorhill avatar Mar 15 '17 20:03 gorhill

Ok, thank you for your response.

mathbunnyru avatar Mar 15 '17 22:03 mathbunnyru

It doesn't matter if they were deleted later - they are still in .git.

If you want to download only the most recent state of the repo, then you can add --depth 1 parameter to git clone command. And then it shall not download anything that's not present at the latest commit. (if I understand it correctly)

magicgoose avatar Nov 14 '17 18:11 magicgoose

Is this issue fixed or not an issue at all?

ghost avatar Dec 08 '17 22:12 ghost

It's still an issue, but two workarounds are provided.

Atavic avatar Dec 27 '17 12:12 Atavic

Declined as this is asking me to download and execute some external tools on the repo. I will consider only actual git commands with well defined results.

gorhill avatar Nov 19 '22 17:11 gorhill