[arch-dev-public] SVN $Id$ tags
Just a note for you all. If you want svn to modify the $Id$ tags the way SVN does, you need to enable it for the PKGBUILD. This is done like so: svn propset svn:keywords Id <filename> The available keywords for replacement are: LastChangedDate LastChangedRevision LastChangedBy HeadURL Id Please keep in mind the above is a "set" operation, not an "append" operation - if I later set svn:keywords to HeadURL, it overwrites the previous setting. You can do the following to set multiple keywords: svn propset svn:keywords "Id HeadURL LastChangedBy" <filename> If you guys like, we can run this once across the whole repo for all PKGBUILDs. find . -name PKGBUILD -exec svn propset svn:keywords Id {} \; What do you think?
On Fri, Apr 18, 2008 at 5:02 PM, Aaron Griffin <aaronmgriffin@gmail.com> wrote:
Just a note for you all. If you want svn to modify the $Id$ tags the way SVN does, you need to enable it for the PKGBUILD.
This is done like so:
svn propset svn:keywords Id <filename>
The available keywords for replacement are: LastChangedDate LastChangedRevision LastChangedBy HeadURL Id
Please keep in mind the above is a "set" operation, not an "append" operation - if I later set svn:keywords to HeadURL, it overwrites the previous setting. You can do the following to set multiple keywords:
svn propset svn:keywords "Id HeadURL LastChangedBy" <filename>
If you guys like, we can run this once across the whole repo for all PKGBUILDs.
find . -name PKGBUILD -exec svn propset svn:keywords Id {} \;
What do you think?
Go for it
On Fri, 18 Apr 2008, Travis Willard wrote:
On Fri, Apr 18, 2008 at 5:02 PM, Aaron Griffin <aaronmgriffin@gmail.com> wrote:
Just a note for you all. If you want svn to modify the $Id$ tags the way SVN does, you need to enable it for the PKGBUILD.
This is done like so:
svn propset svn:keywords Id <filename>
The available keywords for replacement are: LastChangedDate LastChangedRevision LastChangedBy HeadURL Id
Please keep in mind the above is a "set" operation, not an "append" operation - if I later set svn:keywords to HeadURL, it overwrites the previous setting. You can do the following to set multiple keywords:
svn propset svn:keywords "Id HeadURL LastChangedBy" <filename>
If you guys like, we can run this once across the whole repo for all PKGBUILDs.
find . -name PKGBUILD -exec svn propset svn:keywords Id {} \;
What do you think?
Go for it
+1 from me -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
On Fri, Apr 18, 2008 at 4:02 PM, Aaron Griffin <aaronmgriffin@gmail.com> wrote:
If you guys like, we can run this once across the whole repo for all PKGBUILDs.
find . -name PKGBUILD -exec svn propset svn:keywords Id {} \;
What do you think?
Done, Id is now set on all existing PKGBUILDs. You'll need to set it on new PKGBUILDs and any satellite files that need it
participants (3)
-
Aaron Griffin
-
Eric Belanger
-
Travis Willard