Skip to content
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

Note/warn about size #3

Closed
ghost opened this issue Apr 26, 2017 · 8 comments
Closed

Note/warn about size #3

ghost opened this issue Apr 26, 2017 · 8 comments
Assignees

Comments

@ghost
Copy link

ghost commented Apr 26, 2017

You should state the size of the whole repo in the Readme, so people are not surprised when cloning it… 😄

@russellvt
Copy link

russellvt commented Apr 26, 2017

You're probably looking for this URL, which is part of the git API. Similar should be available for any repository you have access to read (ie. just fix the URI, applicably).

@russellvt
Copy link

Perhaps more clearly, where $1 is the github user / organization, and $2 is the github username:

curl https://api.github.com/repos/$1/$2 | grep size

@berzerk0 berzerk0 self-assigned this Apr 26, 2017
@wezmaster
Copy link

I have been trying to download this via browser (zip) , also trying to clone it (github desktop) but so far it has not been successful despite multiple attempts. Wondering if you could post size of this .. would appreciate if this could be available via torrent.

@berzerk0
Copy link
Owner

Posted about size in README.md - warning is visible above logo.

Zipping/Torrentization in process

@nurupo
Copy link

nurupo commented Apr 30, 2017

Besides .zip, it might be useful to provide an archive that uses LZMA/LZMA2 compression, as it should produse even smaller file. .xz archive would be the best option for that, with .7z being the second best option if for some reason you can't make a .xz.

@berzerk0
Copy link
Owner

berzerk0 commented Apr 30, 2017

Using 7zip, I've been able to create .zips with LZMA compression - getting about 25% compression ratio. It opens on most operating systems without much trouble

@nurupo
Copy link

nurupo commented Apr 30, 2017

Ok, I see, it's an LZMA .zip. That should be fine then. .zip archives are generally compressed with DEFLATE compression algorithm, so that's what I have assumed it was.

@berzerk0
Copy link
Owner

I'll make that more obvious, because that's a reasonable assumption

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants