Idea: Git as basis for future CTAN and TeX Live. (Discuss here or at tomorrow's TeX Hour)

Manfred Lotz manfred at dante.de
Mon Jun 28 10:28:24 CEST 2021


On Mon, 28 Jun 2021 08:41:03 +0200
Patrick <std300 at gmail.com> wrote:

> Am Mo., 28. Juni 2021 um 02:01 Uhr schrieb Norbert Preining
> <norbert at preining.info>:
> 
> > That is what I am doing currently, and it is not that bad if you
> > exclude all the archives from git. My gitignore contains entries to
> > ignore tar, zip, pkg, cab, jar, dmg, rpm, deb, tgz, iso, exe, cab
> > all *.$i and *.$i.*  
> 
> I think I should have done that, too.
> 
> I was also surprised how well git performs at the beginning (disk
> space used and performance wise)
> 
> > But I stopped actually using it since the one-commit-per-day is not
> > really useful. If at some point we could arrange for
> > one-commit-per-package-update etc that would be very useful indeed.
> >  
> 
> 
> I did the once per day to have a real snapshot of every single day in
> the past. And since git only stores references of the files if the
> files are unchanged, I didn't see daily commits as a problem.
> 
> Good luck! I'd really like to see the idea come to a real application.
> 

When I could download your whole repository (I believe this was in year
2018) I created a git archive of the whole texarchive where the
gitignore looks like follows

systems/texlive
systems/mac/mactex
systems/win32/miktex
systems/win32/protext
systems/win32/w32tex 

# symlinks
systems/protext
systems/windows

.zipped



We had still no time to incorporate a `git commit` into various scripts
which are used to put content into the texarchive. This is the reason
that we do a daily commit only.


So the current git repository of the texarchive

- has a size of 85GB  (I mean the .git tree)
- contains 3026 daily commits


The oldest commits are

    2012-06-24
    2011-07-25
    2010-09-26
    2009-11-22
    2008-08-31
    2007-09-28


Starting  in 2013-03-17 we have more or less all days covered



comedy manfred /serv/ftp/pub/tex.git/ [master] ▶ git log | rg '2013-' |
289
comedy manfred /serv/ftp/pub/tex.git/ [master] ▶ git log | rg '2014-' |
wc -l 362
comedy manfred /serv/ftp/pub/tex.git/ [master] ▶ git log | rg '2015-' |
wc -l 363
comedy manfred /serv/ftp/pub/tex.git/ [master] ▶ git log | rg '2016-' |
wc -l 366
comedy manfred /serv/ftp/pub/tex.git/ [master] ▶ git log | rg '2017-' |
wc -l 365
comedy manfred /serv/ftp/pub/tex.git/ [master] ▶ git log | rg '2018-' |
wc -l 365
comedy manfred /serv/ftp/pub/tex.git/ [master] ▶ git log | rg '2019-' |
wc -l 365
comedy manfred /serv/ftp/pub/tex.git/ [master] ▶ git log | rg '2020-' |
wc -l 366
comedy manfred /serv/ftp/pub/tex.git/ [master] ▶ git log | rg '2021-' |
wc -l 179


-- 
Manfred








More information about the tex-live mailing list.