summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/tl-update-tlpdb
AgeCommit message (Collapse)Author
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
2009-09-10make some changes to tl-update-tlpdb:Norbert Preining
- if the old texlive.tlpdb is not readable do not try to load it (it will boil down to die in TLPDB.pm) - do not call the compare_tlpdb if --from-files was given, there will be dummy revision numbers git-svn-id: svn://tug.org/texlive/trunk@15206 c570f23f-e606-0410-a88d-b1316a301751
2009-08-28sort options when writing to TLPDBNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@14910 c570f23f-e606-0410-a88d-b1316a301751
2009-08-12add several features to tl-update-tlpdb via cmd lines:Norbert Preining
. use command line arguments as tlpsrc . disable revision check . output file name remove tlpsrc2tlpdb in favor of tl-update-tlpdb update repository-setup.txt for usage with tl-update-tlpdb git-svn-id: svn://tug.org/texlive/trunk@14630 c570f23f-e606-0410-a88d-b1316a301751
2009-08-05move all the options from the .tlpsrc files to hashes in TLConfigNorbert Preining
and initialize the respective tlpobjs (00texlive.installation and 00texlive.config) from the values in these hashes. Update tl-update-tlpdb to use that, and add some comments to the tlpsrc files git-svn-id: svn://tug.org/texlive/trunk@14542 c570f23f-e606-0410-a88d-b1316a301751
2009-07-03the "Tokyo-Vienna-cramped-flight-commit":Norbert Preining
- unify installer keys of the %vars hash to always use option_ prefix if it is an option - unify the layout of things in 00texlive.installation so that user settable things look like opt_$key:vallue, and internal things setting_$key:vale - add list of supported options to TLConfig, with type definitions - use a unified option call $tlpdb->option($key [, $value, $value]) instead of many different $tlpdb->option_foo_bar - adapt install-tl, uninstall-w32, tlmgr, tlpkg/bin, TeXLive::*, installer plugins, to use this new function instead - make the setting_platform:XXXXX (formerly platform:XXXXX) in 00texlive.installation only optional. It is not saved into the TLPDB if the *default* platform as returned by TeXLive::TLUtils::platform() (thus calling config.guess on unix). Only if you override the platform in the installer with -force-arch then this value is set in the TLPDB - implement TLMedia->platform that checks first the included TLPDB for option("platform"), and if that is not given determines the platform using TLUtils::platform(). - move the add_symlinks and remove_symlinks from TLPDB to TLMedia - sanatize the installer modules: perltk is now equivalent to text - tlmgr: . output of tlmgr option [show] does now show all the set options, but ignores irrelevant ones for the respective platform (sys_bin/man/info for win32, desktop_integration etc for unix) . option handling rewritten in a general way so that we only have to add new options to TLConfig::%TLPDBOptionXXXXX . setting an option is verified against the types of the options . implement tlmgr option showall that shows also options that are currently not set/saved in the TLPDB - TLUtils: honor the w32_multi_user setting also for shortcuts and menu items - tlmgrgui: . implement support for most options that are set in the TLPDB . add buttons to remove/add symlinks git-svn-id: svn://tug.org/texlive/trunk@14083 c570f23f-e606-0410-a88d-b1316a301751
2009-06-23some doc updates of tl-update-tlpdbNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@13911 c570f23f-e606-0410-a88d-b1316a301751
2009-06-23Add tl-update-tlpdb (not finished)Norbert Preining
git-svn-id: svn://tug.org/texlive/trunk@13910 c570f23f-e606-0410-a88d-b1316a301751