Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.16

Bug #14331 pear cvstag only works from inside the package directory
Submitted: 2008-07-11 11:04 UTC
From: yunosh Assigned: dufuz
Status: Closed Package: PEAR (version 1.7.2)
PHP Version: 4.4.8 OS:
Roadmaps: 1.8.0RC1    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 33 + 11 = ?

 
 [2008-07-11 11:04 UTC] yunosh (Jan Schneider)
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'

Comments

 [2008-07-11 20:06 UTC] dufuz (Helgi Þormar Þorbjörnsson)
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 20:37 UTC] yunosh (Jan Schneider)
This, has nothing to do with CVS client. See the path names that PEAR is generating.
 [2008-07-27 21:12 UTC] dufuz (Helgi Þormar Þorbjörnsson)
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.
 [2009-03-25 06:17 UTC] dufuz (Helgi Þormar Þorbjörnsson)
-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 :)