CVSROOT: /cvs/webwml Module name: webwml Changes by: 93sam 18/05/30 00:26:20
Added files: swedish/security/2009: dsa-1731.wml dsa-1732.wml Log message: Some translated DSA:s. Added files: russian/security/2017: dsa-3766.wml Log message: (Russian) Initial translation Modified files: . : check_desc_trans.pl check_trans.pl copypage.pl karma.pl remove_stale.pl smart_change.pl stattrans.pl touch_translations.pl Perl/Local : Util.pm VCS.pm VCS_CVS.pm VCS_git.pm Added files: . : switch_to_git_translations.pl vcs-test.pl Log message: Major updates to perl scripts 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.