Re: [PATCH] Simplify our modules by auto-detecting them and registering their handlers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Luke Macken wrote:
Luke Macken wrote:
Dear Lords of Func,

This is a pretty significant change to the way our modules are currently
written. The result is that it makes writing modules much more simple, by
removing all hard-coded method definitions and register_rpc methods.

Some brief testing on my end shows it to work fine, but still needs more
testing to ensure that we don't regress.

If no one has any problems with it, I can commit it.

After getting the "go ahead" from Adrian and Michael on IRC, I have committed these patches.

Please yell if something breaks :)

luke

_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list

Yeah, the command line hits most things.

I want to get the various Client class invocations added to the test scripts (using the Python unit test stuff) pretty soon.

Until then, func-inventory hits most of the weird calling conventions.

Namely all permutations on Client(glob, forks=N, async=True/False, noglobs=True/False) if those all work and do not expode for a good cross section of the methods (which should be easy to code up), life is good.

Another good quicky to test is the exploding battery finder in the examples directory, because it gets the list of expanded systems and then
hits them up individually.

Speaking of stuff to review, do check out my test/async_test.py script and see if that works as you would expect. Let me know...


--Michael

_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list

[Index of Archives]     [Fedora Users]     [Linux Networking]     [Fedora Legacy List]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux