Commit Graph

1302 Commits

Author SHA1 Message Date
Greg Beaver
1433d789a5 add rollback for installed_as 2003-09-18 04:32:56 +00:00
Greg Beaver
d560e49713 add rollback test for installed_as 2003-09-18 04:32:46 +00:00
Greg Beaver
c6d102bfe4 finished transaction tests 2003-09-18 04:24:25 +00:00
Greg Beaver
103bab81a3 unit testing finds another bug :)
another case that would cause an endless loop in installed_as file transaction
2003-09-18 03:59:22 +00:00
Greg Beaver
0e957bedc8 add rmdir test, add comment to remind me to finish installed_as test before moving on to next one 2003-09-17 03:44:25 +00:00
Greg Beaver
9a4453ee62 modify chmod test to be truly permissions-filesystem-based-specific 2003-09-17 03:31:59 +00:00
Greg Beaver
5e63a153c8 more file transaction tests 2003-09-17 03:29:55 +00:00
Greg Beaver
c71d1bc43d oops - params are reversed, my bad 2003-09-17 03:22:55 +00:00
Greg Beaver
1b47706fff bug in chmod file transaction operation error message
bug in chmod file transaction test - was testing the perms to see if they were a writable file
2003-09-17 03:19:47 +00:00
Greg Beaver
15c04ee52a phpdoc error 2003-09-17 03:13:56 +00:00
Greg Beaver
e91c4067e4 cut-and-paste error 2003-09-17 00:02:45 +00:00
Greg Beaver
13bf53b658 correct typo "committed"
add error checking to commitFileTransaction()
2003-09-17 00:00:40 +00:00
Greg Beaver
7a0fcc45a8 some beginning tests for commitFileTransaction() 2003-09-17 00:00:21 +00:00
Greg Beaver
1b76db05e7 adding transaction test file (unfinished) 2003-09-16 23:43:47 +00:00
Greg Beaver
a5b67714ae Document addFileOperation()
Add basic test for invalid input, since it is a public method
2003-09-16 23:42:16 +00:00
Tomas V.V.Cox
4920ac3362 more debug code removed *sigh* 2003-09-16 16:53:11 +00:00
Tomas V.V.Cox
cdcc98141e removed debug code 2003-09-16 16:49:26 +00:00
Greg Beaver
f4aaa7c4f0 tweak Tomas's patch for
$ pear install Package-v.tgz

which should work for local files first before checking to see if it can be downloaded
2003-09-16 03:27:55 +00:00
Greg Beaver
4f7eb73e87 fix regexps for package detection and download - should be case-insensitive 2003-09-16 03:26:05 +00:00
Greg Beaver
c65683653c fix invalid replacements - add tests for bad pear-config/package-info replacements 2003-09-16 03:17:08 +00:00
Greg Beaver
896254c71e add tests for invalid replacements 2003-09-16 03:16:46 +00:00
Greg Beaver
9850aae5f3 file transactions used - but startFileTransaction() was never used
inline docs for install() were out of date
2003-09-16 02:42:44 +00:00
Tomas V.V.Cox
d8de1165f9 - Added new notes and split them
- Upgraded me as <lead>

# Greg, advice me when finish with the tests
# then we could fire 1.3b1
2003-09-15 20:32:40 +00:00
Tomas V.V.Cox
e76de52de7 * Implemented the find command (currently supported args:
-type f, -type d, -maxdepth, -name)
* Fixed recursion deep level in _dirToStruct()
2003-09-15 20:17:34 +00:00
Greg Beaver
7811c07e23 pear install net_socket will work now - before it would only work with pear install Net_socket 2003-09-15 13:11:57 +00:00
Greg Beaver
3008135b91 Now empty directories are removed on uninstall, so uninstallation is complete and correct 2003-09-15 05:10:51 +00:00
Greg Beaver
4245451ccd mistaken include_once 'Remote.php' - not sure why it worked at all 2003-09-15 03:36:02 +00:00
Greg Beaver
e4b848d766 move registration of installed location to post-commit 2003-09-15 03:29:12 +00:00
Greg Beaver
8014d0dfac add testing for baseinstalldir attribute 2003-09-15 03:14:12 +00:00
Greg Beaver
88fc290887 add testing for install-as attribute 2003-09-15 03:07:53 +00:00
Greg Beaver
8254b8f49e add testing for md5sum 2003-09-14 20:19:59 +00:00
Greg Beaver
8c3b78aa1c found bug in _installFile() thanks to unit testing.
- if a bad md5sum was found, and --force wasn't specified, the temporary file was never deleted
2003-09-14 20:17:24 +00:00
Greg Beaver
c4e5fed89f adding test for non-existing file 2003-09-14 20:02:07 +00:00
Greg Beaver
3901da3a1d adding test for invalid role 2003-09-14 19:59:06 +00:00
Greg Beaver
0225844ac1 adding replacements section for _installFile() 2003-09-14 19:53:37 +00:00
Greg Beaver
cb5b1690ac new test for _installFile() - not yet complete, but what's there works 2003-09-14 04:24:21 +00:00
Greg Beaver
272c0aaec8 simplify test, split into two 2003-09-14 04:24:05 +00:00
Greg Beaver
dcd7f23e6c verified unit test pear2.phpt works with changes, removing old code 2003-09-11 16:45:03 +00:00
Tomas V.V.Cox
7c9e926f10 "pear -v install" is now more usefull 2003-09-11 14:57:10 +00:00
Tomas V.V.Cox
7d96f7884e Be more nice when downloading files 2003-09-11 14:47:03 +00:00
Tomas V.V.Cox
dfcd61cef7 Fix bug of download tries when a local file is given
to install
2003-09-11 13:36:59 +00:00
Greg Beaver
a344aabb19 missed one segment to comment out 2003-09-11 13:21:07 +00:00
Greg Beaver
140ec7f354 use is_callable() - what a great function! 2003-09-11 13:16:13 +00:00
Greg Beaver
546663f7cd phpdoc correction (kind of serious error :) 2003-09-10 01:40:48 +00:00
Greg Beaver
1465e10781 test for checkDeps 2003-09-10 00:03:12 +00:00
Greg Beaver
79852dfa55 first step in unit testing the installer - tests the download PREG function 2003-09-09 23:40:39 +00:00
Greg Beaver
fba7705c99 make error code helpful if no releases of a package exist at all 2003-09-06 02:37:15 +00:00
Greg Beaver
639029bf25 make error code helpful if no releases of a package in preferred-state exist 2003-09-06 02:34:11 +00:00
Greg Beaver
e7eb8127a8 remove debug code 2003-09-04 22:30:07 +00:00
Greg Beaver
0ad60ebf3b fix bug in --force - $options was never passed to _installFile.
add PHPDoc
2003-09-04 22:29:21 +00:00