summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/tl-update-tlpdb
AgeCommit message (Collapse)Author
2020-10-06try detecting changes in fmttriggersNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@56565 c570f23f-e606-0410-a88d-b1316a301751
2020-04-19don't debug output every .tlpsrc we haveKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@54805 c570f23f-e606-0410-a88d-b1316a301751
2020-04-17fix typo in tl-update-tlpdbNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@54780 c570f23f-e606-0410-a88d-b1316a301751
2020-04-17doc,syncKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@54778 c570f23f-e606-0410-a88d-b1316a301751
2020-04-11tl-try-install,Karl Berry
tl-update-tlpdb, releng.txt: doc. git-svn-id: svn://tug.org/texlive/trunk@54648 c570f23f-e606-0410-a88d-b1316a301751
2020-03-24tl-update-tlnet: also set TEXMFVAR and TEXMFCACHE, used by luaotfload.Karl Berry
tl-update-tlpdb: report new and old cataloguedata. git-svn-id: svn://tug.org/texlive/trunk@54528 c570f23f-e606-0410-a88d-b1316a301751
2020-03-20tl-update-auto: better umask 022 to avoid later chmod.Karl Berry
tl-update-bindir: x86_64-darwin now special. tl-update-tlpdb: check if old tlpdb is non-empty, not just readable. tlpfiles: exit if no tlpdb can be read. git-svn-id: svn://tug.org/texlive/trunk@54441 c570f23f-e606-0410-a88d-b1316a301751
2020-03-11doc,syncKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@54242 c570f23f-e606-0410-a88d-b1316a301751
2020-03-09info msg with pkgs with catalogue changesKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@54214 c570f23f-e606-0410-a88d-b1316a301751
2020-03-08TLPSRC.pm (from_file),Karl Berry
TeXCatalogue.pm (beautify): kludge around long url being forcibly broken by our multilineformat. tl-update-tlpdb: new option --catalogue-dump to dump/restore catalogue data for development. git-svn-id: svn://tug.org/texlive/trunk@54190 c570f23f-e606-0410-a88d-b1316a301751
2020-03-04TLPSRC.pm (from_file): try harder to return the same shortdesc andKarl Berry
longdesc strings from *.tlpsrc parsing as from tlpdb. tl-update-tlpdb (main): clear $opt_catalogue_compare in addition to $opt_fix_reverse_revisions when checking for the buggy tlpdb, since the comparison tlpdb with old data (tlnet/tlpretest) can't get updated. Also, insert commented-out kludge to dump and reread Catalogue data. (compare_and_fix_tlpdbs): compare newtlpdb to the catalogue_compare TLPDB, not oldtlpdb, although it's unlikely to make much difference. (tlpobj_catalogue_equal): show shortdesc and longdesc strings. git-svn-id: svn://tug.org/texlive/trunk@54079 c570f23f-e606-0410-a88d-b1316a301751
2020-03-04tl-update-tlpdbs (compare_and_fix_tlpdbs): do notKarl Berry
return prematurely if set of packages is the same; may also need to check catalogue data. Doc. TLTREE.pm (_get_files_matching_glob_pattern): switch to dddebug for the matching and hits, else -vv output from tl-update-tlpdb is unusably voluminous. TLUtils.pm (dddebug): document this. git-svn-id: svn://tug.org/texlive/trunk@54067 c570f23f-e606-0410-a88d-b1316a301751
2019-12-12* TLPOBJ.pm (writeout): do not write catalogue-date.Karl Berry
(update_from_catalogue): do not insert {date} into cataloguedata hash. * tl-update-tlpdb (equal_hashes): ignore differences in catalogue-date. The idea is that we will no longer have catalogue-date in the development tlpdb; updated packages in tlnet will thus have it omitted. We'll remove it entirely from tlnet packages at some point in the future, but no need to rush. This is all because the date value is not meaningful; it's the time of the last commit to the Catalogue subversion repository, which is often entirely unrelated to an update to the package itself. Since we will no longer recreate all packages for each year's release, we have to sync the Catalogue information at other times, so omitting useless updates will be all to the good. git-svn-id: svn://tug.org/texlive/trunk@53112 c570f23f-e606-0410-a88d-b1316a301751
2019-12-05new scheme for Catalogue-update updates using tl-update-tlpdb ↵Karl Berry
--catalogue-compare instead of tl-update-tlnet --recreate git-svn-id: svn://tug.org/texlive/trunk@53036 c570f23f-e606-0410-a88d-b1316a301751
2019-12-05no space before function calls, etc.Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@53033 c570f23f-e606-0410-a88d-b1316a301751
2019-12-05tl-update-tlpdb: new option --catalogue-compare for (ultimately) forcingKarl Berry
new revisions on Catalogue updates wrt tlnet; will run occasionally from cron. (tlpdb_catalogue_compare, tlpobj_catalogue_equal, equal_strings, equal_hashes, is_hash_ref): new fns to implement it. (compare_and_fix_tlpdbs): rename main hash %cmp from %ret, since it is not what gets returned. Return early if no different_packages data. (copy_revision_over): rename from move_revisions_over, since orig is untouched. TeXCatalogue.pm (initialize): use XML::XPath::findvalue instead of find(), so we end up with a string, not (potentially, e.g., contact-home) an XML::XPath::NodeSet, which overloads the comparison operators in an unusual (buggy?) way. https://rt.cpan.org/Ticket/Display.html?id=131114 git-svn-id: svn://tug.org/texlive/trunk@53031 c570f23f-e606-0410-a88d-b1316a301751
2019-11-12docKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@52748 c570f23f-e606-0410-a88d-b1316a301751
2018-07-05TLPSRC.pm: check for unexpanded variables and more duplicate directives;Karl Berry
simplify case statement handling lines. TLTREE.pm (get_matching_files): propagate warnings from the eval, for the sake of undefined variables. TLPDB.pm: doc. tl-update-tlpdb: distinguish $tlpdb->writeout from $tlpdb->save in msg. git-svn-id: svn://tug.org/texlive/trunk@48144 c570f23f-e606-0410-a88d-b1316a301751
2018-05-20no everything-but matches for cygwin lz4Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@47783 c570f23f-e606-0410-a88d-b1316a301751
2017-10-27adjust tl-update-tlpdb to new location of frozen, update release docsNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@45618 c570f23f-e606-0410-a88d-b1316a301751
2017-05-01TLTREE: support git/svn and git directlyNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@44137 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-07-04tlpsrc: sort available_architectures; doc; avoid long explicit exclusion listsKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@34521 c570f23f-e606-0410-a88d-b1316a301751
2013-04-07more texmf -> texmf-distKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@29728 c570f23f-e606-0410-a88d-b1316a301751
2012-12-10do split texlive.infra, but no other package containing a \.Norbert Preining
before only .win32 packages were exempted from splitting, now packages of the form foobar.i386-linux can be used, too git-svn-id: svn://tug.org/texlive/trunk@28486 c570f23f-e606-0410-a88d-b1316a301751
2012-06-01consistency/docKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@26755 c570f23f-e606-0410-a88d-b1316a301751
2012-05-31TeXCatalogue: don't stumble is XML parser diesNorbert Preining
remove temporara texcatalogue.data and references to it git-svn-id: svn://tug.org/texlive/trunk@26741 c570f23f-e606-0410-a88d-b1316a301751
2012-05-26back to parsing catalogue xml directly, no perl dumpKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@26663 c570f23f-e606-0410-a88d-b1316a301751
2012-05-26--keep-catalogue: remove dev option for simplicity.Karl Berry
(move_catalogue_over): rm commented-out attempt. git-svn-id: svn://tug.org/texlive/trunk@26662 c570f23f-e606-0410-a88d-b1316a301751
2012-05-25keep_catalogue = 0 by default, doc fixes.Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@26657 c570f23f-e606-0410-a88d-b1316a301751
2012-05-21split out the reading of TeX Catalogue from the update of tlpdbNorbert Preining
(to be resistent against TC errors): - new script: tl-dump-texcatalogue that reads from ARGV[0] and dumps to stdout - tl-update-tlpdb: . read catalogue data from Master/texmf/scripts/texlive/var/texcatalogue.data . if this file is not found, reuse the already present catalogue data (instead of dropping all data) - tl-update-auto: update Master/texmf/scripts/texlive/var/texcatalogue.data git-svn-id: svn://tug.org/texlive/trunk@26533 c570f23f-e606-0410-a88d-b1316a301751
2012-02-20try to implement a --keep-catalogue option, but does not work for nowNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@25441 c570f23f-e606-0410-a88d-b1316a301751
2011-10-28support --keep-revisions in tl-update-tlpdb, useful for alternativeNorbert Preining
repositories git-svn-id: svn://tug.org/texlive/trunk@24435 c570f23f-e606-0410-a88d-b1316a301751
2010-11-05avoid win for windowsKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@20338 c570f23f-e606-0410-a88d-b1316a301751
2010-06-11updating tlpdb: - do not add packages with revision 0 (empty)Norbert Preining
- make sure that we use a real file for fixing reverse revs git-svn-id: svn://tug.org/texlive/trunk@18888 c570f23f-e606-0410-a88d-b1316a301751
2010-06-09tl-update-tlpdb now returns 1 to the shell if the update did not workNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@18839 c570f23f-e606-0410-a88d-b1316a301751
2010-06-08do not include the .tlpsrc file in the recomputation of the revisionNorbert Preining
of .ARCH packages git-svn-id: svn://tug.org/texlive/trunk@18822 c570f23f-e606-0410-a88d-b1316a301751
2010-05-28be more emphatic about the need to fixKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@18564 c570f23f-e606-0410-a88d-b1316a301751
2010-05-28fix tl-update-tlpdb to use parent's tlpsrc for fixing revision if Norbert Preining
a .ARCH package has decreased in rev git-svn-id: svn://tug.org/texlive/trunk@18542 c570f23f-e606-0410-a88d-b1316a301751
2010-05-17add -tlpdb-options-from-tlpsrc to tl-update-tlpdb and document everythingNorbert Preining
in repository-setup.txt git-svn-id: svn://tug.org/texlive/trunk@18296 c570f23f-e606-0410-a88d-b1316a301751
2009-11-29don't report every package when we fix reverse revisions.Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@16227 c570f23f-e606-0410-a88d-b1316a301751
2009-11-26(--dry-run): new option for testing.Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@16177 c570f23f-e606-0410-a88d-b1316a301751
2009-11-26(create_tlpdb): must not mess with options here,Karl Berry
we are called after fixing reverse revisions. Sigh. git-svn-id: svn://tug.org/texlive/trunk@16176 c570f23f-e606-0410-a88d-b1316a301751
2009-11-17make explicit package names cause a temporary runKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@16040 c570f23f-e606-0410-a88d-b1316a301751
2009-10-06fixing some functionality of tl-update-tlpdbNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@15657 c570f23f-e606-0410-a88d-b1316a301751
2009-10-06TeXCatalogue: less debuggingKarl Berry
TLPSRC, TLPOBJ: set format_lines_per_page on the right file handle tl-update-tlpdb: rename a couple options, mess with doc tl-update-bindir: cygwin location git-svn-id: svn://tug.org/texlive/trunk@15651 c570f23f-e606-0410-a88d-b1316a301751
2009-09-17simplify tl-compare-tlpdbs by using the TLUtils function, docs tl-update-tlpdbNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@15337 c570f23f-e606-0410-a88d-b1316a301751
2009-09-17fix tl-update-tlpdb to deal with all kind of regressionsNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@15333 c570f23f-e606-0410-a88d-b1316a301751
2009-09-15use xsystem to die if svn commits failKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@15286 c570f23f-e606-0410-a88d-b1316a301751
2009-09-14implement tl-update-tlpdb --fix-reverse-revisionsNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@15283 c570f23f-e606-0410-a88d-b1316a301751