Bug #14331 [Opn->Csd]: pear cvstag only works from inside the package directory

From: Date: Wed, 25 Mar 2009 02:17:14 +0000
Subject: Bug #14331 [Opn->Csd]: pear cvstag only works from inside the package directory
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-257@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=14331&edit=1 ID: 14331 Updated by: helgith@gmail.com Reported By: jan at horde dot org Summary: pear cvstag only works from inside the package directory -Status: Open +Status: Closed Type: Bug Package: PEAR Package Version: 1.7.2 PHP Version: 4.4.8 -Assigned To: +Assigned To: dufuz -Roadmap Versions: +Roadmap Versions: 1.8.0alpha2 New Comment: -Status: Open +Status: Closed -Assigned To: +Assigned To: dufuz -Roadmap Versions: +Roadmap Versions: 1.8.0alpha2 This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. CVS does not like absolute paths FYI but I think the solution I came up with will work in 95% of the cases :) Previous Comments: ------------------------------------------------------------------------ [2008-07-27 17:12:21] dufuz You're right, I tried the dry run options (-n) and it just takes the file list as it is in the package.xml and tries to run it, regardless of where you are located on the FS. I need to look deeper into this before I start adding some fun fun realpath or similar. ------------------------------------------------------------------------ [2008-07-11 16:37:20] yunosh This, has nothing to do with CVS client. See the path names that PEAR is generating. ------------------------------------------------------------------------ [2008-07-11 16:06:01] dufuz The error you are getting is straight from the cvs client FYI - Do you have the XML dir on your local drive or on the server ? ------------------------------------------------------------------------ [2008-07-11 07:04:31] yunosh Description: ------------ When trying to tag the package from http://cvs.horde.org/framework/Kolab_Format/, this only works if running "pear cvstag" from inside the Kolab_Format directory. Test script: --------------- pear cvstag framework/Kolab_Format/package.xml Actual result: -------------- cvs [tag aborted]: no such directory `lib/Horde/Kolab/Format/XML' Validation: 0 error(s), 0 warning(s) + cvs tag RELEASE_0_1_0 'framework/Kolab_Format/package.xml' 'lib/Horde/Kolab/Format/XML/contact.php' 'lib/Horde/Kolab/Format/XML/distributionlist.php' 'lib/Horde/Kolab/Format/XML/event.php' 'lib/Horde/Kolab/Format/XML/hprefs.php' 'lib/Horde/Kolab/Format/XML/note.php' 'lib/Horde/Kolab/Format/XML/task.php' 'lib/Horde/Kolab/Format/Date.php' 'lib/Horde/Kolab/Format/XML.php' 'lib/Horde/Kolab/Format.php' 'test/Horde/Kolab/Format/AllTests.php' 'test/Horde/Kolab/Format/RecurrenceTest.php' 'test/Horde/Kolab/Format/XmlTest.php' + cvs tag RELEASE_0_1_0 'framework/Kolab_Format/package.xml' 'lib/Horde/Kolab/Format/XML/contact.php' 'lib/Horde/Kolab/Format/XML/distributionlist.php' 'lib/Horde/Kolab/Format/XML/event.php' 'lib/Horde/Kolab/Format/XML/hprefs.php' 'lib/Horde/Kolab/Format/XML/note.php' 'lib/Horde/Kolab/Format/XML/task.php' 'lib/Horde/Kolab/Format/Date.php' 'lib/Horde/Kolab/Format/XML.php' 'lib/Horde/Kolab/Format.php' 'test/Horde/Kolab/Format/AllTests.php' 'test/Horde/Kolab/Format/RecurrenceTest.php' 'test/Horde/Kolab/Format/XmlTest.php' ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=14331&edit=1

« previous php.pear.bugs (#257) next »