Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.text.tex > #7602

Re: A Python script to put CTAN into git (from DVDs)

Message-ID <4EB6DA9A.8020609@pytex.org> (permalink)
Date 2011-11-06 19:06 +0000
From Jonathan Fine <jfine@pytex.org>
Newsgroups comp.text.tex
Subject Re: A Python script to put CTAN into git (from DVDs)
References <4EB6A522.3020909@pytex.org> <82hb2hqe30.fsf@gmail.com>

Show all headers | View raw


On 06/11/11 18:51, Sivaram Neelakantan wrote:
> On Sun, Nov 06 2011,Jonathan Fine wrote:
>
>> Hi
>>
>> This it to let you know that I'm writing (in Python) a script that
>> places the content of CTAN into a git repository.
>>      https://bitbucket.org/jfine/python-ctantools
>>
>> I'm working from the TeX Collection DVDs that are published each year
>> by the TeX user groups, which contain a snapshot of CTAN (about
>> 100,000 files occupying 4Gb), which means I have to unzip folders and
>> do a few other things.
>>
>
> unlike CVS where you can only get HEAD(or specifically a version),
> this git repository....umm...won't it replicate the entire history
> locally to the user's machine; all 4GB + deltas?  In 2 years time,
> say, won't it have all the different versions which might not be of
> consequence for the general user populace?
>
> I'm not objecting to your project but why git with its local storage
> model for this?

I chose git because it handles large files well, and because it has an 
efficient transport mechanism.  It's internal architecture is also 
convenient for my purposes.

Let's focus on macros, which perhaps deserves a repository of its own. 
Suppose a user, such as yourself, has 2011/ctan/macros in a git 
repository.  Next year, 2012/ctan/macros might not have changed that 
much, and so it would downloading the difference won't take so long. 
When 2015 comes around the user, if wished, could remove the 2011 macros 
and reclaim the space.

However, my first task is to create a single git archive that contains 
all the CTAN snapshots on DVD.  I would not expect anyone to download 
that.  Instead, you create it by feeding in the TeX Collection DVDs.

And from there we create smaller repositories, suitable for users and 
particular purposes.  Or anything else you might want to do.

Do you have Linux and a TeX Collection DVD.  If so, I could talk you 
through the process, which might make it all a bit clearer.

I hope this helps.

-- 
Jonathan

Back to comp.text.tex | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

A Python script to put CTAN into git (from DVDs) Jonathan Fine <jfine@pytex.org> - 2011-11-06 15:17 +0000
  Re: A Python script to put CTAN into git (from DVDs) Jonathan Fine <jfine@pytex.org> - 2011-11-06 18:19 +0000
    Re: A Python script to put CTAN into git (from DVDs) Jakub Narebski <jnareb@gmail.com> - 2011-11-06 21:28 +0100
      Re: A Python script to put CTAN into git (from DVDs) Jonathan Fine <jfine@pytex.org> - 2011-11-07 20:21 +0000
        Re: A Python script to put CTAN into git (from DVDs) Jakub Narebski <jnareb@gmail.com> - 2011-11-07 22:49 +0100
          Re: A Python script to put CTAN into git (from DVDs) Jonathan Fine <jfine@pytex.org> - 2011-11-07 22:03 +0000
      Re: A Python script to put CTAN into git (from DVDs) Jonathan Fine <jfine@pytex.org> - 2011-11-07 20:21 +0000
    Re: A Python script to put CTAN into git (from DVDs) Jakub Narebski <jnareb@gmail.com> - 2011-11-06 12:29 -0800
  Re: A Python script to put CTAN into git (from DVDs) Jonathan Fine <jfine@pytex.org> - 2011-11-06 18:19 +0000
  Re: A Python script to put CTAN into git (from DVDs) Sivaram Neelakantan <nsivaram.net@gmail.com> - 2011-11-07 00:21 +0530
    Re: A Python script to put CTAN into git (from DVDs) Jonathan Fine <jfine@pytex.org> - 2011-11-06 19:06 +0000
      Re: A Python script to put CTAN into git (from DVDs) Sivaram Neelakantan <nsivaram.net@gmail.com> - 2011-11-07 20:17 +0530
        Re: A Python script to put CTAN into git (from DVDs) Jonathan Fine <jfine@pytex.org> - 2011-11-07 20:32 +0000

csiph-web