aboutsummaryrefslogtreecommitdiffstats
path: root/remove_stale.pl
Commit message (Collapse)AuthorAgeFilesLines
* add comment that this script is still usedThomas Lange2024-04-051-0/+2
|
* Look at if we have commits of a file to know if it's in the VCS. It produces ↵Laura Arjona Reina2019-07-221-1/+3
| | | | some warnings but I think it's a step toward actually finding the files we need to remove
* Updates for remove_stale.plSteve McIntyre2018-06-091-14/+44
| | | | | | | | Improve performance by re-ordering tests in find_stale_files(). If we've already found a source file to match the html, exit early - don't waste time looking for VCS info for it. Add options to make the output more verbose if desired. Update boilerplate.
* Cache the whole repo for better performanceSteve McIntyre2018-06-011-0/+4
|
* Major updates to perl scriptsSteve McIntyre2018-05-301-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add new git backend in VCS_git.pm Switch from an old-style set of function calls to an OO API. This allows for initialisation and some state to be kept in the VCS_git.pm module - namely a per-file cache of commit hashes for a massive performance boost when doing lots of lookups. Extend the API with 2 new utility functions: * get_oldest_revision() * next_revision() Extended the vcs_cmp_rev() function to take a filename too. Add a test harness to validate the git and cvs backends. Add switch_to_git_translations.pl to walk the tree and switch from cvs revisions to git commit hashes in translation-check headers. Change all of our local scripts to use the new Local::VCS frontend *where it makes sense*. Some scripts will behave slightly differently, as the new world can't exactly match the old behaviour. CVS version numbers check_desc_trans.pl: 1.9 -> 1.10 check_trans.pl: 1.93 -> 1.94 copypage.pl: 1.42 -> 1.43 karma.pl: 1.6 -> 1.7 remove_stale.pl: 1.22 -> 1.23 smart_change.pl: 1.8 -> 1.9 stattrans.pl: 1.127 -> 1.128 switch_to_git_translations.pl: INITIAL -> 1.1 touch_translations.pl: 1.9 -> 1.10 vcs-test.pl: INITIAL -> 1.1 Perl/Local/Util.pm: 1.4 -> 1.5 Perl/Local/VCS.pm: 1.3 -> 1.4 Perl/Local/VCS_CVS.pm: 1.13 -> 1.14 Perl/Local/VCS_git.pm: 1.12 -> 1.13 Perl/Webwml/Langs.pm: 1.5 -> 1.6 Perl/Webwml/TransIgnore.pm: 1.3 -> 1.4
* Push exceptions where they belong (and thus stop removing every Spanish l10n ↵David Prévot2011-05-031-8/+9
| | | | | | | | files each time they are built), and activate the cleanup for every languages CVS version numbers remove_stale.pl: 1.21 -> 1.22
* Add a quiet option for non existing filesDavid Prévot2011-05-031-1/+1
| | | | | | | CVS version numbers remove_stale.pl: 1.20 -> 1.21 Perl/Local/VCS_CVS.pm: 1.11 -> 1.12
* Don't try to remove anything from statsDavid Prévot2011-03-071-1/+4
| | | | | | CVS version numbers remove_stale.pl: 1.19 -> 1.20
* Rewritten remove_stale.pl: it now no longer depends on CVSBas Zoetekouw2010-07-221-209/+260
| | | | | | CVS version numbers remove_stale.pl: 1.18 -> 1.19
* Convert encoding of perl script to utf8Bas Zoetekouw2008-11-221-1/+1
| | | | | | | | CVS version numbers copypage.pl: 1.30 -> 1.31 i18nwwwfix.pl: 1.1 -> 1.2 remove_stale.pl: 1.17 -> 1.18
* Changed by surname.Peter Karlsson2008-07-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | CVS version numbers check_desc_trans.pl: 1.2 -> 1.3 check_trans.pl: 1.63 -> 1.64 copypage.pl: 1.26 -> 1.27 remove_stale.pl: 1.16 -> 1.17 danish/international/Swedish/bidragslamnare.wml: 1.10 -> 1.11 danish/international/Swedish/index.wml: 1.6 -> 1.7 danish/international/Swedish/relaterade.wml: 1.9 -> 1.10 english/devel/website/tc.data: 1.109 -> 1.110 english/international/Swedish/bidragslamnare.wml: 1.25 -> 1.26 english/international/Swedish/index.wml: 1.7 -> 1.8 english/international/Swedish/relaterade.wml: 1.12 -> 1.13 french/international/Swedish/bidragslamnare.wml: 1.4 -> 1.5 french/international/Swedish/index.wml: 1.2 -> 1.3 french/international/Swedish/relaterade.wml: 1.3 -> 1.4 german/international/Swedish/bidragslamnare.wml: 1.25 -> 1.26 german/international/Swedish/index.wml: 1.14 -> 1.15 german/international/Swedish/relaterade.wml: 1.20 -> 1.21 swedish/News/weekly/copyissue.pl: 1.21 -> 1.22 swedish/international/Swedish/bidragslamnare.wml: 1.23 -> 1.24 swedish/international/Swedish/index.wml: 1.6 -> 1.7 swedish/international/Swedish/ordlista.wml: 1.27 -> 1.28 swedish/international/Swedish/relaterade.wml: 1.12 -> 1.13
* While we should ignore sub directories of l10n/, we shouldn't do soFrank Lichtenheld2005-08-151-2/+2
| | | | | | | | with the directory itself CVS version numbers remove_stale.pl: 1.15 -> 1.16
* portuguese is now a normal directoryThomas Huriaux2005-06-261-2/+2
| | | | | | CVS version numbers remove_stale.pl: 1.14 -> 1.15
* intl/french is now a normal directoryThomas Huriaux2005-06-181-2/+2
| | | | | | CVS version numbers remove_stale.pl: 1.13 -> 1.14
* Don't exclude wnpp anymore, should work fine nowFrank Lichtenheld2004-06-211-2/+2
| | | | | | CVS version numbers remove_stale.pl: 1.12 -> 1.13
* When removing one installed HTML file, touch all the related translated WMLPeter Karlsson2004-03-251-1/+72
| | | | | | | | | files so that the next build will update the list of translated languages not to include the removed language. CVS version numbers remove_stale.pl: 1.11 -> 1.12
* Bug#231906: Norwegian has an extra symbolic link in the output directory toPeter Karlsson2004-02-101-2/+14
| | | | | | | | | | handle the double language codes ("no" for any Norwegian, "nb" for Norwegian bokmål). Make sure to remove both of these files when cleaning up from removed translations. CVS version numbers remove_stale.pl: 1.10 -> 1.11
* Generate ICS (Internet Calendar, RFC 2445) files for the Debian events,Peter Karlsson2002-12-291-2/+24
| | | | | | | | | | | | | | using the WML source files as input. CVS version numbers remove_stale.pl: 1.9 -> 1.10 english/events/make_ics.pl: INITIAL -> 1.1 english/events/2003/Makefile: 1.1 -> 1.2 english/po/templates.pot: 1.7 -> 1.8 english/template/debian/event.wml: 1.62 -> 1.63 english/template/debian/events_common.wml: 1.32 -> 1.33 swedish/po/templates.sv.po: 1.13 -> 1.14
* Skip international/portuguese which contains multiple HTML filesDenis Barbier2002-05-181-1/+1
| | | | | | | | generated from a single file CVS version numbers remove_stale.pl: 1.8 -> 1.9
* changed on www-masterJosip Rodin2001-12-181-1/+1
| | | | | | | | CVS version numbers Makefile.common: 1.50 -> 1.51 remove_stale.pl: 1.7 -> 1.8 stattrans.pl: 1.36 -> 1.37
* Fix detection of international/frenchDenis Barbier2001-08-011-1/+1
| | | | | | CVS version numbers remove_stale.pl: 1.6 -> 1.7
* added an exception for international/frenchJosip Rodin2001-07-311-2/+2
| | | | | | CVS version numbers remove_stale.pl: 1.5 -> 1.6
* Handle auto-generated wml files (such as the new subscribe.wml) properly.Peter Karlsson2001-05-231-5/+15
| | | | | | CVS version numbers remove_stale.pl: 1.4 -> 1.5
* now ignores sitemap filesJames A. Treacy2001-05-231-1/+3
| | | | | | CVS version numbers remove_stale.pl: 1.3 -> 1.4
* Only warn about directories that has not yet been added to the CVS.Peter Karlsson2001-04-011-2/+5
| | | | | | CVS version numbers remove_stale.pl: 1.2 -> 1.3
* Reversed order of deletions, just to make sure. Also added a check if thePeter Karlsson2001-03-221-8/+19
| | | | | | | | | installed file actually does exist. Report totals. CVS version numbers remove_stale.pl: 1.1 -> 1.2
* Added script that goes through all the translation directories and locatesPeter Karlsson2001-03-221-0/+137
all .lang.html files that have no corresponding WML file, or is not itself directly entered into the CVS. Running this after each CVS update means that removing WML files from the CVS will cause their corresponding HTML files to disappear as well. CVS version numbers remove_stale.pl: INITIAL -> 1.1

© 2014-2024 Faster IT GmbH | imprint | privacy policy