summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Correct rpmlint errorsMichael DeHaan2006-06-283-10/+14
|
* Make cobbler use the Howell-Evans YAML parser now, so RHEL4 supportMichael DeHaan2006-06-2813-11/+1627
| | | | will be possible (Syck needs Python 2.4).
* Add URL to spec so Fedora Extras won't complainMichael DeHaan2006-05-181-1/+1
|
* Merging mdehaan's changesMihai Ibanescu2006-05-121-3/+1
|\
| * removing else branch after a returnMihai Ibanescu2006-05-121-3/+1
| |
* | Remove api_call indirection and exception handling layer since tests had ↵Michael DeHaan2006-05-122-33/+16
|/ | | | already been modified to use failUnlessRaises.
* Make unit tests use cobbler.py instead of the /usr/bin wrapper scriptMichael DeHaan2006-05-122-2/+5
|
* Make /usr/bin/cobbler work correctlyMichael DeHaan2006-05-121-2/+2
|
* Modified spec file to add dependencies and application group, ↵Michael DeHaan2006-05-112-1/+5
| | | | /usr/bin/cobbler wrapper still needs modification, otherwise all ok.
* Remove stray characters from gethostbyip, which interfere with PXE IP encoding.Michael DeHaan2006-05-111-1/+1
|
* Added licensing and RH copyright. Pychecker (once again). Fixed one unit ↵Michael DeHaan2006-05-1122-20/+181
| | | | test where I changed a command line syntax.
* Move docs to 3rd person and make them a bit more intelligible.Michael DeHaan2006-05-091-19/+22
| | | | Comments on docs welcome.
* Tests don't need root either.Michael DeHaan2006-05-091-3/+0
|
* More nonroot checking.Michael DeHaan2006-05-091-1/+4
|
* Fixes to non-root error handling.Michael DeHaan2006-05-092-7/+22
|
* Simplified the command line, made a better 'list' function, some string and ↵Michael DeHaan2006-05-0914-179/+146
| | | | | | exception cleanup.
* Adding exception handling to remove the problem of propogating error codes ↵Michael DeHaan2006-05-0814-135/+145
| | | | all the way up the stack. Still not quite super-consistant, but getting there. Util functions still return true/false since they just ask questions, but API functions will throw errors to ensure they are being dealt with. Main CLI class needs to take advantage of this fact and become simpler. Tests are already modified to detect new exceptions with one exception :)
* Interim checkin while straightening out exceptions. The last_error bit ↵Michael DeHaan2006-05-0816-141/+172
| | | | | | | reminded me of the thing I hated most about Microsoft SDK/DDK programming (that being, last_error and inconsistant error handling), so it had to go.
* More pychecker. More comments.Michael DeHaan2006-05-0810-75/+48
|
* PyChecker.Michael DeHaan2006-05-0816-44/+162
|
* Re-enable tmpdir test. GC/circular ref issues resolved.Michael DeHaan2006-05-081-3/+3
|
* Unit tests pass again.Michael DeHaan2006-05-0818-87/+155
|
* Removed trailing whitespaceMichael DeHaan2006-05-056-10/+10
|
* Interim commit during refactoring. Pretty broken as a result of some ↵Michael DeHaan2006-05-0519-88/+137
| | | | cleanup but it will get straightened out very soon. The main thing I'm doing here is to remove backreferences from the object tree and make the API simpler, so that folks using the API screw up less. This means making the CLI code simpler as well. The serializer has also been overhauled so it's not as much bolted on, although I have some fixing to do to make it work entirely correctly. Wanted to check all of this in case someone decided to patch something else, making diffing really complex in the interim. I'd recommend not patching anything else to this code as I'm not close to done, really.
* Get rid of swap fileMichael DeHaan2006-05-051-0/+0
|
* Interim commitMichael DeHaan2006-05-0519-153/+285
|
* Interim refactoring commitMichael DeHaan2006-05-0517-1633/+198
|
* Interim commit while refactoring. This breaks lots of stuff.Michael DeHaan2006-05-0514-719/+718
|
* Weakref additions prior to refactoringMichael DeHaan2006-05-055-8/+12
|
* Added __init__.py to testsMichael DeHaan2006-05-051-0/+0
|
* Make /etc/cobbler.conf be packaged instead of being created, proper handling ↵Michael DeHaan2006-05-059-49/+60
| | | | of parse errors on config files, tweaking unit tests tempfile stuff since sync() test is currently broken by the tempfile changes (why??)
* Merging with mdehaan's changesMihai Ibanescu2006-05-045-213/+218
|\
| * Test case runs from a clean dir nowMihai Ibanescu2006-05-041-18/+35
| | | | | | | | We create temp dirs and we remove them when we're done.
| * Comparison function is simpler, and no need to sort when we need maxMihai Ibanescu2006-05-041-16/+16
| | | | | | | | reduce is a nice way to extract the max of a sequence.
| * s/cobber/cobbler/Mihai Ibanescu2006-05-041-8/+8
| |
| * Fixing regression in common constructorMihai Ibanescu2006-05-041-1/+1
| | | | | | | | When transcribing the constructors, moved one bracket too far to the right.
| * Moving code aroundMihai Ibanescu2006-05-041-158/+158
| | | | | | | | Just to define Collections after Items.
| * Reducing duplication in the constructorsMihai Ibanescu2006-05-041-27/+15
| | | | | | | | | | | | | | | | | | | | We define a top-level constructor in the base class and define an _item_factory that is the class to be instantiated for each item. The code as it is checked in now is broken because we reference the class before we define it in the global scope; but wanted the checkins to be separate, the next one will move all the Collection-related stuff after the Item-related stuff (but the diff would have been difficult to read)
| * Fixed so it doesn't fail on 64-bit platformsMihai Ibanescu2006-05-041-1/+1
| |
* | Switch to syck since Mihai has it packaged now. Check for syck brokenness ↵Michael DeHaan2006-05-043-9/+14
|/ | | | in main().
* Merged Michael's changes with mineMihai Ibanescu2006-05-0415-445/+221
|
* packages should be enough hereMihai Ibanescu2006-05-041-2/+1
|
* Merged Michael's addition of setup.pyMihai Ibanescu2006-05-0417-225/+444
|\
| * install will clean first; don't run in subshell, use -f for rm insteadMihai Ibanescu2006-05-041-8/+4
| |
| * Added .hgignoreMihai Ibanescu2006-05-041-0/+1
| |
* | Fixed makefileMichael DeHaan2006-05-041-7/+7
| |
* | Working out some issues related to broken serializers, and some other ↵Michael DeHaan2006-05-046-38/+33
| | | | | | | | randomnessrelated to the packaging reorg of files.
* | Remove bootconf.man (no longer used), ran jim's whitespace patch.Michael DeHaan2006-05-0414-406/+189
| |
* | Add setup.pyMichael DeHaan2006-05-041-0/+35
|/
* Misc cobbler cleanup. Switched to the new yaml parser (it's uglier,Michael DeHaan2006-05-039-155/+217
| | | | | need to do something about that). Added some tests. Modified test code so it never clobbers a working install.