I have the following working again, which should make it much easier for
people with an interest in developing cobbler for 2.0 to work on it once
more:
cobbler list
cobbler report
cobbler <objecttype> list
cobbler <objecttype> report
cobbler <objecttype> report [options]
cobbler <objecttype> find [options]
cobbler <object> add [options]
cobbler <object> edit [options]
cobbler <object> remove
cobbler import [options]
Also, remote exceptions are better logged now.
As mentioned previously, making remote exceptions look better to the
user is still TBD.
Still left to test/complete are the rest of the "actions", such as sync,
reposync, etc. These, however, are pretty simple :)
I'm pretty happy with the way things are turning out with cli.py
remaining pretty small thus far. (350 lines)
Previously we had:
[mdehaan@mdehaan obsolete]$ cat commands.py | wc -l
516
[mdehaan@mdehaan obsolete]$ cat cli_*.py | wc -l
1098
Now all of that will grow some as we add the other commands/options, but
it should, as a continuing theme, make things a lot nicer to work on.
You're welcome to play around with the command line and try to break it,
just note that there are lot of unfinished pieces yet which should be
very shortly
cleaned up.
I don't expect code changes to extend far outside cli.py and remote.py
in any sort of intrusive way, so don't feel like you need to hold back
on patches. Anything
added to utils should merge very cleanly.
Barring any other features we want to add, and holding off on network
objects, I think this means 2.0 is moving closer.
I still want to explore web app improvements as I think that is the main
"marketable" feature for this release, though increasing ease of
contributions is certaintly huge.
--Michael
Show replies by date