Those searches should work. I made a few last minute changes that were somewhat intrusive to the way the methods handle arguments. I guess I just didn't test as much as I should have there. I'll take a look at the patches to see if you could interpret exactly what I was trying to do before I broke it ;-)
/aron ----- Original Message ----- From: "Maxim Burgerhout" <[email protected]> To: "Aron Parsons" <[email protected]> Cc: [email protected] Sent: Wednesday, April 28, 2010 11:31:06 AM GMT -05:00 US/Canada Eastern Subject: Re: [Spacewalk-devel] spacecmd - Spacewalk Command Shell I'll be keeping an eye on this. Expect more patches from me: I'm fixing some bugs I'm running into as I'm typing this. My first (small) patch is attached to your first issue already, and I just posted a second one. I hope I am not patching stuff that's just not finished yet, but I like this idea and I want to support it. Maybe github has a method of communication for use apart from the issue tracker, by the way. The spacewalk-devel list might not be the best place for this. And for the ssm_add part: you mean system.search.deviceDriver and system.search.vendor actually work for you? I only get exceptions there. I just filed a quick issue with RH for that (we use Satellite, not Spacewalk). Regards, Maxim Burgerhout [email protected] ---------------- GPG Fingerprint EB11 5E56 E648 9D99 E8EF 05FB C513 6FD4 1302 B48A On Wed, Apr 28, 2010 at 16:33, Aron Parsons <[email protected]> wrote: > I was actually surprised this didn't exist yet after searching around for > something like it. > > The SSM code already supports adding/removing systems by group, so doing an > intersection is > just a manual step at this point. You can also do the same thing with > searching for systems > (e.g., all all VMware systems by doing an 'ssm_add vendor:vmware'). Adding a > method to handle > this automatically would be pretty slick. > > If you have patches, send them over. I'm new to git and GitHub, but I'm sure > I'll > figure out how to handle patches from others. > > /aron > > ----- Original Message ----- > From: "Maxim Burgerhout" <[email protected]> > To: [email protected] > Cc: [email protected] > Sent: Wednesday, April 28, 2010 7:12:53 AM GMT -05:00 US/Canada Eastern > Subject: Re: [Spacewalk-devel] spacecmd - Spacewalk Command Shell > > Cool! > > A *long* time ago, I posted to this list about a very similar script I > had written. My employer had his reservations on sending the script > upstream, so it never happened. I never got to doing the cleaner > rewrite I had planned to do in my spare time (because I have none) and > submitting that. > > What I hopefully *will* be able to do, is contribute to this script. > I'm checking it out right now and already love it. I admit had a lot > less methods implemented. > > What I did have though, is a way of doing an intersection between more > than 2 groups. I don't think this was ever possible in the Spacewalk / > Satellite web GUI. I'll look into implementing that in your script, if > you consider it interesting. > > Maxim Burgerhout > [email protected] > ---------------- > GPG Fingerprint > EB11 5E56 E648 9D99 E8EF 05FB C513 6FD4 1302 B48A > > > > On Tue, Apr 27, 2010 at 21:43, Aron Parsons <[email protected]> wrote: >> I wrote a shell interface to Spacewalk that leverages the API found in >> Spacewalk (I wrote this against Satellite 5.3, v10.8 of the API). The focus >> of the program is on managing systems, not all the other aspects of >> Satellite. However, other data in Spacewalk (e.g., Kickstarts, activation >> keys, configuration channels) can be viewed, just not manipulated. >> >> I'm sure there are plenty of bugs to be found and features to be added. >> Please provide feedback directly to me or via GitHub. If there's any >> interest in this, I hope maybe it can live in the 'contrib' directory of the >> Spacewalk git repository. >> >> http://github.com/aparsons/spacecmd >> >> /aron >> >> _______________________________________________ >> Spacewalk-devel mailing list >> [email protected] >> https://www.redhat.com/mailman/listinfo/spacewalk-devel >> > _______________________________________________ Spacewalk-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-devel
