Giter VIP home page Giter VIP logo

Comments (13)

philipperemy avatar philipperemy commented on May 24, 2024 2

@crazy25000 yeah if you can do that that would be helpful. You can clone this repo, and use the Big F*** Gun: https://rtyley.github.io/bfg-repo-cleaner/ to remove the files from history and add yours as ZIP.

from fx-1-minute-data.

philipperemy avatar philipperemy commented on May 24, 2024 1

https://www.reddit.com/r/git/comments/1ydvpg/does_git_compress_files_efficiently/

from fx-1-minute-data.

philipperemy avatar philipperemy commented on May 24, 2024

@crazy25000 right. But I thought that git already stores the BLOB as compressed if I can recall well.

from fx-1-minute-data.

crazy25000 avatar crazy25000 commented on May 24, 2024

Hmm....I cloned the repo locally and these are the sizes I see with the git objects and the folder containing most of the data. If the difference getween .git and 2000-Jun2019 represents the compression, ~400mb, re-compressing all of the files would be worth it. If not, than I tried to help 😛

2.1G	./.git
2.1G	./.git/objects
2.1G	./.git/objects/pack
2.5G	./2000-Jun2019

from fx-1-minute-data.

philipperemy avatar philipperemy commented on May 24, 2024

Yeah it would be pretty worth it, indeed. But then we have to re-write the git history to overwrite all the files.

from fx-1-minute-data.

crazy25000 avatar crazy25000 commented on May 24, 2024

I haven't done that before and I assume it would be easy to do it through CLI. If you decide to try it or need help with the compression at least, I can help with that. Unzipping and re-compressing didn't take too long, about 2 minutes for gbpusd

from fx-1-minute-data.

philipperemy avatar philipperemy commented on May 24, 2024

You can also use git-filter-branch. I usually use the filter branch but it's less user friendly.

from fx-1-minute-data.

crazy25000 avatar crazy25000 commented on May 24, 2024

@philipperemy would you create a clean branch that I can push to? I tried using that tool to create a clean one, but not able to get it into a working state 😅

I've already re-compressed the files and ready to re-upload.

from fx-1-minute-data.

philipperemy avatar philipperemy commented on May 24, 2024

@crazy25000 thanks!! How should I do that?

from fx-1-minute-data.

philipperemy avatar philipperemy commented on May 24, 2024

Oh also people in Finance dont really know what is 7z lol. ZIP for them is probably better..

from fx-1-minute-data.

crazy25000 avatar crazy25000 commented on May 24, 2024

I'm going to re-upload and open a PR afterwards. I messed up locally :p......it will still be in ZIP format, but smaller size.

from fx-1-minute-data.

philipperemy avatar philipperemy commented on May 24, 2024

alright cool!

from fx-1-minute-data.

philipperemy avatar philipperemy commented on May 24, 2024

Merged into 3fcbe41

from fx-1-minute-data.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.