Anderson Silva wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> I also see that "cobbler system report --help" doesn't provide the
> extended options, but I am not as concerned with this.
>
I think part of the reason I didn't even look at this is because the
version of cobbler I was working on does not provide that functionality.
> If you can see about addressing the bug above with "fields" and also the
> extra debug output, I can look at applying this.
>
>
These should be fixed with the patch attached.
AS
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora -
http://enigmail.mozdev.org
iD8DBQFI0TLkECmX3C4JWKgRAiFSAKCVHN5YfkUpXxGe6kA/f9wdqUDEIwCgqoHL
BR+JIMF4nrb18jtB7PBBHT0=
=JbCJ
-----END PGP SIGNATURE-----
------------------------------------------------------------------------
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler
Excellent, this is all applied now and pushed.
I made a few minor changes to add some error handling and also be able
to search better through the field lists.
Some possible improvements would be to add the "--type" syntax to report
commands invocated with "cobbler system report", so you could do
"cobbler system report --type=csv --fields=name,mac_address"instead of
having to remember "cobbler report --what=systems --type=csv
--fields=name,mac_address". That would basically make both work the
same. Other neat things would be to add simple fixed-with formatting
so you could make a easily human (not Wiki) readable output formatted
with %20s style widths for fields for just including in email or
skimming over by humans.
(I also think "--type" probably should named "format" so I'll go
ahead
and take care of that.)
Thanks!
--Michael