Marcus Huewe
9c5c329a04
- get_diff: don't diff binary files
2010-08-31 13:30:37 +02:00
Marcus Huewe
9c2f1d85ca
- added testcase for the "def commit" method + _missing_ log message from a5a0917fce7124f9cc8458a9ee41ced521aa502e
...
missing log for a5a0917fce7124f9cc8458a9ee41ced521aa502e:
- added support for @POST, @PUT, @DELETE decorators
- support optional "exception" keyword arg for the decorators
(the specified exception will be raised before returning the response)
- moved "_check_digests" into the common module
2010-08-31 13:30:37 +02:00
Marcus Huewe
3cf8a5bf88
- fixed commit (Package class)
...
- use "self.rev" when calling update_local_filesmeta (otherwise we might get a newer revision)
- write addlist after commit
2010-08-31 13:30:37 +02:00
Marcus Huewe
c4ceb7f700
- adjusted store_write_string calls so that the storefile ends with a newline
...
- adjusted testcase fixtures for this change
2010-08-31 13:30:37 +02:00
Marcus Huewe
c8e849b391
- fixed importsrcpkg
2010-08-31 13:30:37 +02:00
Marcus Huewe
2ffd46a9c2
- get rid of the init_package_dir mess
...
moved code into the staticmethod "init_package" of the Package class.
Cleaned up "checkout_package"
2010-08-31 13:30:37 +02:00
Marcus Huewe
9e8eeb8590
- removed old "make_diff", "comparePac" methods + old status code
2010-08-31 13:30:37 +02:00
Marcus Huewe
19c63111b6
- added testcases for the new "get_diff" method
2010-08-31 13:30:36 +02:00
Marcus Huewe
ca61d08bf3
- added new "get_diff" method to the Package class
...
- restructured "get_source_file_diff"
- commandline.py: adapted commands so that they use the new "get_diff" method
2010-08-31 13:30:36 +02:00
Marcus Huewe
d90228a7e3
- support a revert of a missing file which was added to the wc
2010-08-31 13:30:36 +02:00
Marcus Huewe
1d7c674d80
- adjusted testcase for the init_basicauth change in master
2010-08-31 13:30:36 +02:00
Marcus Huewe
8050671870
- fixed logic errors
...
- fixed shutil.copyfile calls (use <filename>.copy+rename)
2010-08-31 13:30:36 +02:00
Marcus Huewe
7d8aeae6d8
- beautify
2010-08-31 13:30:36 +02:00
Marcus Huewe
9c0076d726
- added testcases for "def revert"
2010-08-31 13:30:36 +02:00
Marcus Huewe
80bf280d8b
- removed hack for #399247 - there's nothing special when expanding/unexpanding links
2010-08-31 13:30:36 +02:00
Marcus Huewe
e21e61f20e
- minor fixes
2010-08-31 13:30:36 +02:00
Marcus Huewe
62dc807378
- moved common methods into the OscTestCase class
2010-08-31 13:30:36 +02:00
Marcus Huewe
3fefbfbc5f
- added some comments for known bugs
2010-08-31 13:30:36 +02:00
Marcus Huewe
71e0b3ee34
- GET decorator: use name of the original method for the wrapper method
2010-08-31 13:30:36 +02:00
Marcus Huewe
5b6aa0a4fc
- added testsuite module which aggregates all testcases
2010-08-31 13:30:36 +02:00
Marcus Huewe
88a961cae4
- rewrote addfile() and delete_file() methods from the Package class (for the details see below)
...
- addfile():
* contains the complete logic for adding a file (=> simplified addFiles(...))
* semantic fixes
- delete_file():
* semantic fixes
- different handling of newly added/replaced files:
* added/replaced files are tracked in the .osc/_to_be_added file
- introduced new file state 'R': 'R' == "replaced"
* usecase: osc rm <file>; osc add <file> => new state is 'R'
* conceptually 'R' is equal to 'A'
- adapted revert() to support the new state (+ some other minor fixes)
- added testcases for addfile() and delete_file()
2010-08-31 13:30:36 +02:00
Marcus Huewe
e6b451596c
- moved __change_to_pkg into common module (new name _change_to_pkg)
...
removed unused method "__expected_requests" from TestUpdate class
2010-08-31 13:30:36 +02:00
Marcus Huewe
f4adf69ef9
- refactored testcase code: moved common stuff into a common module
2010-08-31 13:30:36 +02:00
Marcus Huewe
a6efd9e970
- adjust testcase for commit 9205d4d902cd3d45747c30405acd92bd5f98d210
2010-08-31 13:30:36 +02:00
Marcus Huewe
d5e4a81e8f
- addremove: don't remove storefile
2010-08-31 13:30:36 +02:00
Marcus Huewe
a17fbdcff1
- restore storefile in case it is lost (for whatever reason)
2010-08-31 13:30:35 +02:00
Marcus Huewe
7fc24f70a1
- bye bye old code
2010-08-31 13:30:35 +02:00
Marcus Huewe
bfb53cf67a
- raise an exception if a file is known by meta but no storefile exists
2010-08-31 13:30:35 +02:00
Marcus Huewe
b3d638774c
- do_revert: initial version
2010-08-31 13:30:35 +02:00
Marcus Huewe
7ca255cca0
- todo_send and todo_delete are no longer attributes (this also fixes commit ca45955ad60fc1dac9b013ba2d7cecbb9a132c6e)
2010-08-31 13:30:35 +02:00
Marcus Huewe
334fa82d39
- delete storefile if the commit was successful
2010-08-31 13:30:35 +02:00
Marcus Huewe
d8c59c8438
- update: support special handling for _service: files
2010-08-31 13:30:35 +02:00
Marcus Huewe
63df61e452
- simplify
2010-08-31 13:30:35 +02:00
Marcus Huewe
58ca66a417
- update: always use 'rev' query parameter when fetching files
2010-08-31 13:30:35 +02:00
Marcus Huewe
e91475508e
- support limit_size parameter during update
...
also added testcases
2010-08-31 13:30:35 +02:00
Marcus Huewe
b6a2266a5e
- initial testcases for the new update mechanism
...
some generic stuff from test_update.py will be moved into a new
module later
2010-08-31 13:30:35 +02:00
Marcus Huewe
5447dfbf12
- initial version of the new update mechanism
...
TODO: special handling for service files + respect limit_size parameter
2010-08-31 13:30:35 +02:00
Marcus Huewe
e74159754c
- bump version to 0.129git
2010-08-30 19:45:53 +02:00
Marcus Huewe
73f4adcba6
- bump version to 0.129
2010-08-30 19:36:52 +02:00
Marcus Huewe
0ae30e00e3
Merge branch 'master' of git@gitorious.org:opensuse/osc
2010-08-30 16:28:37 +02:00
Marcus Huewe
8307a7063f
- fixed "do_results"
2010-08-30 16:28:10 +02:00
Michal Čihař
48da9e2b71
Print http debugging to stderr.
2010-08-30 13:13:20 +02:00
Michal Čihař
c88d7fc4a3
Redirect debug output to stderr.
2010-08-30 13:06:17 +02:00
Martin Mohring
fdfd4793c0
updated: mips / mipsel support documented in NEWS
2010-08-28 11:28:36 +02:00
Marcus Huewe
4865e1230c
- updated NEWS file (listed only user visible changes)
2010-08-27 17:18:39 +02:00
Marcus Huewe
9ac19b2c22
- request_interactive_review: don't abort if the diff fails due to status 404
2010-08-27 12:44:10 +02:00
Marcus Huewe
d5c91babc1
- "osc build --keep-pkgs dir": create dir if it does not exist
2010-08-26 18:50:20 +02:00
Marcus Huewe
788342ea1b
- oops (forgot 'not')
2010-08-26 17:38:47 +02:00
Marcus Huewe
0473f4b9ec
- removed bashism (patch by Guido Berhoerster <gber@opensuse.org>)
2010-08-26 14:39:36 +02:00
Marcus Huewe
2a18eff50b
- _build_opener fail if the url is no apiurl
2010-08-26 14:14:23 +02:00