You are here: Foswiki>Tasks Web>Item526 (25 May 2012, OlivierRaginel)Edit Attach

Item526: Get rid of svn keyword replacement

pencil
Priority: Enhancement
Current State: Confirmed
Released In: n/a
Target Release: n/a
Applies To: Engine
Component: BuildScripts, PseudoInstall, SCM
Branches:
Reported By: OlivierRaginel
Waiting For:
Last Change By: OlivierRaginel
As seen in distro:dda791a1678d, sometimes this automagic keyword replacement misbehave.

The whole problem here is that the local files are not identical to the ones stored in the repository, and this is not good.
  • git does not support keyword replacement because of this. You can of course hack something into it, but as strange as it is, even though people keep hacking things around in git, nobody took care of hacking this particular feature, which for me says a lot.
  • mercurial does support keyword extension, but you shouldn't use it.

Thus the idea here would be to use some other mechanism to add these markers where we need them.
  • One idea, for example, is to patch the pseudo-install.pl script to change it, if needed.
  • Or simply do it in the BuildContrib, so that uploaded files have a revision number.
  • And then do it also in the BuildFoswikiRelease.sh script (not sure of the name).

This is just a task so we keep that in mind and start discussing it. Target shall not be before 1.1, maybe even 1.2 or more.

-- OlivierRaginel - 20 Dec 2008

ItemTemplate edit

Summary Get rid of svn keyword replacement
ReportedBy OlivierRaginel
Codebase
SVN Range TWiki-4.2.3, Wed, 06 Aug 2008, build 17396
AppliesTo Engine
Component BuildScripts, PseudoInstall, SCM
Priority Enhancement
CurrentState Confirmed
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
Release01x01Checkins
Topic revision: r5 - 25 May 2012, OlivierRaginel - This page was cached on 16 Oct 2018 - 06:04.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy