[tex-live] how to check out version X of package Y from SVN?
Mojca Miklavec
mojca.miklavec.lists at gmail.com
Sat Sep 17 10:59:20 CEST 2011
On Sat, Sep 17, 2011 at 10:47, Norbert Preining wrote:
> On Fr, 16 Sep 2011, Mojca Miklavec wrote:
>> How are tar.xz archives generated? Do you simply feed the compression
>> program with a list of files to be compressed?
>
> Specify what you need! Do you need an old revision as shipped in
> tlnet at some point?
Yes.
I'm right in the middle of writing a script that does that.
> If yes, tehn you have to:
> - check the texlive.tlpdb that was checked in on that day, and was shipped
> to tlnet at that day
> - check out the revision that provided the telxive.tlpdb, check out the
> whole tree (you cannot use a current tree, as files might have been
> added/removed)
I will use
mkdir -p path1 path2 ...
svn export -r<revision> file1 path1/
svn export -r<revision> file2 path2/
...
instead. I don't want to spend years waiting for complete checkouts :)
> - copy the files listed in the tlpdb
> tar.xz are created from the texlive.tlpdb with tl-update-containers,
> i.e., reading the tlpdb, comparing with already present packages in
> tlnet, updating new ones, removing old ones, etc.
My initial question was if there was a quick hack that would enable me
to use one of the scripts (like tl-update-containers) to do the same
as you describe above, but if there is nothing ready-to-be-used, it
will take me less time to write my own script than to understand what
is going on it TL scripts and modify them. And my code is almost
finished now.
Mojca
More information about the tex-live
mailing list