summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive/TLPOBJ.pm
AgeCommit message (Collapse)Author
2018-06-05TLConfig.pm (AcceptedCompressors): move lz4 to end, it's writingKarl Berry
to stdout (sometimes?). TLPOBJ.pm (make_container): compute other compressor values after possible fallback. git-svn-id: svn://tug.org/texlive/trunk@47934 c570f23f-e606-0410-a88d-b1316a301751
2018-06-01fix rollback container if no backup is madeNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@47896 c570f23f-e606-0410-a88d-b1316a301751
2018-05-31import $DefaultCompressorFormatNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@47894 c570f23f-e606-0410-a88d-b1316a301751
2018-05-23partially working version with full compressor/downloader supportNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@47807 c570f23f-e606-0410-a88d-b1316a301751
2018-05-18more work on multiple compressor supportNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@47760 c570f23f-e606-0410-a88d-b1316a301751
2018-05-18more work on lz4 compression, working build containersNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@47759 c570f23f-e606-0410-a88d-b1316a301751
2018-02-26copyright 2018Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@46745 c570f23f-e606-0410-a88d-b1316a301751
2018-01-24warn if *containermd5 is usedNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@46422 c570f23f-e606-0410-a88d-b1316a301751
2017-11-11json: dynamically select tl internal or external json modeNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@45745 c570f23f-e606-0410-a88d-b1316a301751
2017-11-10switch from require TeXLive::JSON to require JSONNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@45739 c570f23f-e606-0410-a88d-b1316a301751
2017-11-09json rework:Norbert Preining
tlmgr info: switch from --data json to --json tlmgr restore: support json output for listing all: use TeXLive::JSON git-svn-id: svn://tug.org/texlive/trunk@45725 c570f23f-e606-0410-a88d-b1316a301751
2017-11-09add home-made json conversionNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@45723 c570f23f-e606-0410-a88d-b1316a301751
2017-10-27update JSON format, add documentation on formatsNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@45620 c570f23f-e606-0410-a88d-b1316a301751
2017-10-27rework (again) location of various configuration optionsNorbert Preining
Currently opt_frozen is set in 00texlive.installation and thus was in principle targeted for user editing. Furthermore, it wasn't a defined key in TLConfig::TLPDBOptions. The frozen setting has now moved in 00texlive.config.tlpsrc, which also defines the container format etc, thus the proper place. At the same time we cleared out 00texlive.installation.tlpsrc, it is not necessary anymore, and only carried wrong information. All the defaults for options/settings in 00texlive.installation are now defined in TLConfig. git-svn-id: svn://tug.org/texlive/trunk@45617 c570f23f-e606-0410-a88d-b1316a301751
2017-10-16more adjustments for json outputNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@45546 c570f23f-e606-0410-a88d-b1316a301751
2017-10-15add install/available keys to JSON output, deal with unavailable packagesNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@45543 c570f23f-e606-0410-a88d-b1316a301751
2017-10-13tlmgr dump-tlpdb -json possibleNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@45532 c570f23f-e606-0410-a88d-b1316a301751
2017-10-13improve json output: numbers and booleansNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@45531 c570f23f-e606-0410-a88d-b1316a301751
2017-10-13tlmgr info: allow for --data jsonNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@45530 c570f23f-e606-0410-a88d-b1316a301751
2017-05-11set $: to just space and newline, to avoid breaking at - in longdesc blocks; ↵Karl Berry
do not repeat definition of multilineformat git-svn-id: svn://tug.org/texlive/trunk@44293 c570f23f-e606-0410-a88d-b1316a301751
2016-05-19TLPDB: sys container: logic errorNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@41250 c570f23f-e606-0410-a88d-b1316a301751
2016-05-17checksum reworkNorbert Preining
- die in tlchecksum if no checksum is defined - make sure that we call tlchecksum in TLPOBJ::make_container only if it is a system container (for some tlnet - not a backup one), or there is a checksum method defined - make sure that we don't call tlchecksum in tlmgr when making a container git-svn-id: svn://tug.org/texlive/trunk@41218 c570f23f-e606-0410-a88d-b1316a301751
2016-05-17temp backup container on windows: path playingNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@41216 c570f23f-e606-0410-a88d-b1316a301751
2016-05-16tmp file rewriteNorbert Preining
use one global tmp dir created with File::Temp and which will be auto-removed. ALl other temp files and dirs are created within this directory. git-svn-id: svn://tug.org/texlive/trunk@41175 c570f23f-e606-0410-a88d-b1316a301751
2016-04-21use TLCryptoKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@40666 c570f23f-e606-0410-a88d-b1316a301751
2016-04-21TLCrypto.pm: new module with all the functions using digests/gpg,Karl Berry
extracted from TLUtils.pm. TLUtils.pm: functions moved from here, change calls. TLConfig.pm: doc. TLPDB.pm, TLPOBJ.pm, install-tl, tlmgr.pl: use TLCrypto, change calls, doc. git-svn-id: svn://tug.org/texlive/trunk@40652 c570f23f-e606-0410-a88d-b1316a301751
2016-04-12fixes from live testingNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@40457 c570f23f-e606-0410-a88d-b1316a301751
2016-04-12fix missing access functions for new checksumNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@40456 c570f23f-e606-0410-a88d-b1316a301751
2016-04-12wording fixesNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@40448 c570f23f-e606-0410-a88d-b1316a301751
2016-04-12replace sha256 with generic checksumNorbert Preining
We use tldigest($string) or tlchecksum($file) to generate checksum. The algorithm can be changed at any time provided that tldigest and tlchecksum (in TLUtils) and the setting TLConfig::ChecksumLength are kept in sync. git-svn-id: svn://tug.org/texlive/trunk@40429 c570f23f-e606-0410-a88d-b1316a301751
2016-04-12TLOBJ: support sha256, make_container returns sha256, use thatNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@40424 c570f23f-e606-0410-a88d-b1316a301751
2016-04-05preliminary 2016 release and copyright yearsKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@40251 c570f23f-e606-0410-a88d-b1316a301751
2015-06-14TLPOBJ: merge 'also' and 'topics' into tlpobj catalogue dataNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@37522 c570f23f-e606-0410-a88d-b1316a301751
2014-12-05commented out debugging warnKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@35751 c570f23f-e606-0410-a88d-b1316a301751
2014-12-04* TLPOBJ.pm (update_from_catalogue): compare true basename of ctan file,Karl Berry
resulting in some ~350 additional Catalogue details strings being found. Also prefer first match from Catalogue, for the sake of top-level README files. * TeXCatalogue.pm (initialize): show error when parse fails. * tl-update-tlpdb: doc fixes. git-svn-id: svn://tug.org/texlive/trunk@35744 c570f23f-e606-0410-a88d-b1316a301751
2014-02-072014Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@32912 c570f23f-e606-0410-a88d-b1316a301751
2013-09-16remove all embedded quotes in details/language tagsNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@31670 c570f23f-e606-0410-a88d-b1316a301751
2013-09-15(from_fh): warn instead of die if we cannot parseKarl Berry
the doc file attributes; hopefully it's not that important. git-svn-id: svn://tug.org/texlive/trunk@31658 c570f23f-e606-0410-a88d-b1316a301751
2013-09-15read arbitrary stupid quoting in docfile tagsNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@31656 c570f23f-e606-0410-a88d-b1316a301751
2013-09-13when writing out docfiles tags, quote embedded quote charsNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@31644 c570f23f-e606-0410-a88d-b1316a301751
2013-04-13user mode for tlmgrNorbert Preining
support a user mode for tlmgr that allows installation of packages into user trees. git-svn-id: svn://tug.org/texlive/trunk@29883 c570f23f-e606-0410-a88d-b1316a301751
2013-04-07first updates for TL13 pretest, and for texmf-dist having everythingKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@29725 c570f23f-e606-0410-a88d-b1316a301751
2011-10-24add forgotten support for KanjiMap when generated updmap_cfg linesNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@24382 c570f23f-e606-0410-a88d-b1316a301751
2011-05-19Rework TeXLive::TLPOBJ::from_fh to make it faster and shorter.Manuel Pégourié-Gonnard
- move the code for continued lines to avoid double-testing (34% speed improvement for this change alone) - rm support for continued execute, postaction and depend - use one split rather than many matches to get the command and argument - merge the code for similar lines - flatten the big if-elsif-else structure by moving the 'name first' test - rm useless next statements (they were even slowing things down) - order the big switch by number of occurences - factor out $lastcmd update (not faster, but nicer code IMO) - access $self members directly rather than using methods - call parse_line directly rather than quotewords - misc other tune-ups, inc. preferring split over regexes Overall measured speed improvement: 43% Sub length: 200 -> 130 lines git-svn-id: svn://tug.org/texlive/trunk@22535 c570f23f-e606-0410-a88d-b1316a301751
2011-05-16TLPOBJ.pm (from_fh): do not remove trailing whitespace; turns out thisKarl Berry
takes consequential time, and the creation programs should not ever produce it. Also added trailing-whitespace check to cron job for master tlpdb creation. With this change, tlpdb-read-test time is reduced from ~2.4sec to ~1.2sec. TeXCatalogue.pm (beautify): remove trailing whitespace. Looks like this can matter in <caption>s which we turn into shortdescs, but nowhere else. dev/tlpdb-read-test: trivial test script to read tlpdb and nothing else. git-svn-id: svn://tug.org/texlive/trunk@22498 c570f23f-e606-0410-a88d-b1316a301751
2011-03-20copyright years, doc fixesKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@21770 c570f23f-e606-0410-a88d-b1316a301751
2010-09-25fix warning "used only once" on $pkgNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@19893 c570f23f-e606-0410-a88d-b1316a301751
2010-09-22back to eq "shortdesc"Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@19838 c570f23f-e606-0410-a88d-b1316a301751
2010-09-17allow and ignore whitespace after shortdesc, evenKarl Berry
if nothing else. git-svn-id: svn://tug.org/texlive/trunk@19777 c570f23f-e606-0410-a88d-b1316a301751
2010-09-17allow for empty shortdesc linesNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@19771 c570f23f-e606-0410-a88d-b1316a301751