Comments (10)
No problem, I will fix it
from bt_blocklists.
@whoizit The repository you linked to also commits the archive, it's just not on the main branch. Pulling that repository will pull those objects too unless you use --single-branch
.
from bt_blocklists.
yours repo still oversized
their repo 7.28MiB
I clone it for test and this absolutely right
from bt_blocklists.
@whoizit because when you git clone
the repo, you will download all my branches which not only my master branch but also the old main branch. The main branch was discarded, and still contains all the old files and histories.
And also just like what @antonagestam said, even using a release branch it just upload files to a sub-branch but will still take the size of the whole branch just like my main branch. The way to solve it is submitting the binary files to Releases (Remember, not the branch, it is a function call Github Releases. check here for details: https://docs.github.com/en/repositories/releasing-projects-on-github/about-releases)
Also, if you really need to save files in the repo, you have to remember clean out the binary files and other large files in the commit history. Otherwise it will like my main branch took lots of space.
Googling git filter-branch
for more details about how to remove large files in repo history.
from bt_blocklists.
I don't know where you got this nice analyze screenshots, I can't find the function on Github, but the results I got is less than 1GB.
yours repo still oversized their repo 7.28MiB I clone it for test and this absolutely right
from bt_blocklists.
https://github.com/Shywim/github-repo-size
from bt_blocklists.
Receiving objects: 100% (1018/1018), 1.89 GiB | 4.64 MiB/s, done.
~/tmp > git clone https://github.com/Naunter/BT_BlockLists ± master | 06 Feb 04:33:15 (7)
Cloning into 'BT_BlockLists'...
remote: Enumerating objects: 1018, done.
remote: Counting objects: 100% (9/9), done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 1018 (delta 1), reused 8 (delta 1), pack-reused 1009
Receiving objects: 100% (1018/1018), 1.89 GiB | 4.64 MiB/s, done.
Resolving deltas: 100% (345/345), done.
Receiving objects: 100% (15/15), 7.28 MiB | 2.89 MiB/s, done.
~/tmp > git clone https://github.com/sayomelu/transmission-blocklist ± master | 06 Feb 04:37:26 (7)
Cloning into 'transmission-blocklist'...
remote: Enumerating objects: 15, done.
remote: Counting objects: 100% (3/3), done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 15 (delta 0), reused 1 (delta 0), pack-reused 12
Receiving objects: 100% (15/15), 7.28 MiB | 2.89 MiB/s, done.
Resolving deltas: 100% (1/1), done.
from bt_blocklists.
Receiving objects: 100% (1018/1018), 1.89 GiB | 4.64 MiB/s, done.
~/tmp > git clone https://github.com/Naunter/BT_BlockLists ± master | 06 Feb 04:33:15 (7) Cloning into 'BT_BlockLists'... remote: Enumerating objects: 1018, done. remote: Counting objects: 100% (9/9), done. remote: Compressing objects: 100% (6/6), done. remote: Total 1018 (delta 1), reused 8 (delta 1), pack-reused 1009 Receiving objects: 100% (1018/1018), 1.89 GiB | 4.64 MiB/s, done. Resolving deltas: 100% (345/345), done.
Receiving objects: 100% (15/15), 7.28 MiB | 2.89 MiB/s, done.
~/tmp > git clone https://github.com/sayomelu/transmission-blocklist ± master | 06 Feb 04:37:26 (7) Cloning into 'transmission-blocklist'... remote: Enumerating objects: 15, done. remote: Counting objects: 100% (3/3), done. remote: Compressing objects: 100% (2/2), done. remote: Total 15 (delta 0), reused 1 (delta 0), pack-reused 12 Receiving objects: 100% (15/15), 7.28 MiB | 2.89 MiB/s, done. Resolving deltas: 100% (1/1), done.
As I said above, you are checking the size of all my branches under the BT_BlockLists repository, not just the master branch.
from bt_blocklists.
I fail to see the problem...
This is the caveat to using multiple branches. I do quite a bit of data science stuff that ends up storing a bunch of csv's a whole lot larger than 600,000 lines. I've learned how to use the --single-branch
flag — among other tricks, e.g. Git Large File Storage (LFS), for data versioning.
This is a non-issue IMHO.
git clone https://github.com/Naunter/BT_BlockLists.git -b master --single-branch
Cloning into 'BT_BlockLists'...
remote: Enumerating objects: 12, done.
remote: Total 12 (delta 0), reused 0 (delta 0), pack-reused 12
Unpacking objects: 100% (12/12), 15.55 MiB | 1.37 MiB/s, done.
from bt_blocklists.
Thanks @bstivers , you made a simple and clear explanation.
Git has so many tricks and commands to discover, I'm still just a git noob.
I took few screenshots to comparison:
This is the main branch, which is the reason cause the large size. It has 1.87 GiB.
This is the master branch, which is the up to date branch we are using. It only 15.55 MiB.
This is the full repo, which contains both main and master branch. It is 1.89 GiB.
I think this issue is solved and I will close this issue.
After this, I will change the main branch to a new name call "old-branch".
If @whoizit you or any other still have questions, welcome to leave comments or open a new issue.
from bt_blocklists.
Related Issues (15)
- Some more sources ... HOT 1
- Usage in linux transmission daemon?
- filter wrongly formatted data HOT 1
- Not working on Transmission 4.0 beta 3 HOT 3
- Known Issues (Do not ask questions at this post)
- Latest GZ release is broken. HOT 2
- Transmission 2.77 (14031) not working HOT 1
- Some lines in the blocklist have wrong format HOT 2
- Check the addresses HOT 2
- Using blocklist causes high CPU/HDD usage HOT 1
- How to use the blocklist with transmission-cli HOT 2
- Possible to add pi-hole format list? HOT 1
- Couldn't parse line
- add dns txt format list HOT 1
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 bt_blocklists.