Giter Club home page Giter Club logo

Comments (5)

mondeja avatar mondeja commented on May 30, 2024 1

Ahm, fine, I thought you were referring to old commits in the simple-icons repository. Anyways, as Github Actions usually maintains download speeds between 50 and 100 mb/sec, I'm not worried about that.

from simple-icons-pdf.

mondeja avatar mondeja commented on May 30, 2024

This is likely to be quite a large job to extract the timestamp from the main repo via the API - unless anyone else can figure out an easier way...

Let's go, in a Debian/Ubuntu environment this works:

sudo apt install git-restore-mtime
git clone https://github.com/simple-icons/simple-icons.git
cd simple-icons
git restore-mtime
git ls-tree -r --name-only HEAD | while read filename; do echo "$(git log -1 --format="%ad" -- $filename) $filename"; done
cd ..
rm -rf simple-icons

Keep in mind that the repository must be fetched entirely, with all commits (don't use --depth=1). The current simple-icons repository, including all history, occupies 57.70 Mbs, so this is not a problem. See the documentation of git-restore-mtime for more details.

from simple-icons-pdf.

ericcornelissen avatar ericcornelissen commented on May 30, 2024

Pretty cool @mondeja, thanks for investigating this 😄

occupies 57.70 Mbs, so this is not a problem.

Still, that's not as small as it should be. Honestly, I wouldn't mind nuking the entire history created by the svg-to-pdf-bot 🙃

from simple-icons-pdf.

mondeja avatar mondeja commented on May 30, 2024

Honestly, I wouldn't mind nuking the entire history created by the svg-to-pdf-bot 🙃

Definitely, that would be very cool.

from simple-icons-pdf.

ericcornelissen avatar ericcornelissen commented on May 30, 2024

I read that wrong. I was talking about the history of simple-icons-pdf but you were talking about simple-icons. I don't think we should throw away the entire history of the simple-icons repository so we can't do much about those 57.70 Mbs... Still, we can just throw away the entire history here if we want.

from simple-icons-pdf.

Related Issues (3)

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.