Comments (5)
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.
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.
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.
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.
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)
- Archive repository HOT 2
- Setup Continuous Integration 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 simple-icons-pdf.