Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| | * | | One significant step closer to getting autotest running properly on the ↵ | Rick Bradley | 2007-10-26 | 10 | -17/+158 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Puppet specs. Created a spec/lib/monkey_patches/ directory for holding patches to RSpec functionality. Extraced 'confine' and 'runnable?' support from the local copy of RSpec (spec/lib/spec/) and now load them from the monkey_patches/ directory. Fixed a bad include in one of the specs. Made it possible for the gem-installed spec binary (which autotest calls) to be used with Puppet. Imported the Autotest::Rspec class, created a PuppetRspec autotest class, added a discovery.rb file for autotest to pick these up. Autotest still has the following problems: * it needs to be run with the proper include path: % ruby -I spec/lib/ `which autotest` * the patterns in our custom autotest handler (puppet_rspec) aren't yet fully specified (they only recognize changes in our spec files, not changes in the puppet libs which they are testing) | |||||
| | * | | Merge branch 'master' of git://reductivelabs.com/puppet into routing | Rick Bradley | 2007-10-26 | 168 | -467/+759 | |
| | |\ \ | ||||||
| | * | | | Exceptions on requests are now captured, exceptions are serialized, and ↵ | Rick Bradley | 2007-10-23 | 5 | -22/+116 | |
| | | | | | | | | | | | | | | | | | | | | exception text is passed back via REST. | |||||
| | * | | | Finish serializing successful results (via calls to to_yaml, etc.) for REST ↵ | Rick Bradley | 2007-10-23 | 5 | -135/+177 | |
| | | | | | | | | | | | | | | | | | | | | handlers. Refactor request building in REST handler specs. | |||||
| | * | | | REST handlers now properly returning 200 status on success. | Rick Bradley | 2007-10-23 | 4 | -15/+69 | |
| | | | | | ||||||
| | * | | | Merge branch 'master' of git://reductivelabs.com/puppet into routing | Rick Bradley | 2007-10-23 | 43 | -332/+1565 | |
| | |\ \ \ | ||||||
| | * \ \ \ | Merge branch 'master' of git://reductivelabs.com/puppet into routing | Rick Bradley | 2007-10-22 | 55 | -82/+2441 | |
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: spec/unit/indirector/indirection.rb | |||||
| | * | | | | | Fix test which is conditional on mongrel installation. | Rick Bradley | 2007-10-17 | 1 | -2/+4 | |
| | | | | | | | ||||||
| | * | | | | | More specs, fleshing out the returns from REST | Rick Bradley | 2007-10-17 | 5 | -6/+44 | |
| | | | | | | | ||||||
| | * | | | | | getting more fine-grained with the response specs -- the target is always ↵ | Rick Bradley | 2007-10-16 | 2 | -6/+18 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | moving. | |||||
| | * | | | | | Argument passing now supported on {webrick,mongrel}+REST. | Rick Bradley | 2007-10-16 | 5 | -19/+123 | |
| | | | | | | | ||||||
| | * | | | | | Make the actual runtime be more robust when mongrel is not installed. | Rick Bradley | 2007-10-16 | 2 | -2/+10 | |
| | | | | | | | ||||||
| | * | | | | | Make it possible to run all tests even if mongrel isn't installed. ↵ | Rick Bradley | 2007-10-16 | 3 | -1/+12 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Shouldn't "confine" produce some output when running spec? Who knows. | |||||
| | * | | | | | Refactoring, argument processing for model methods. | Rick Bradley | 2007-10-16 | 5 | -25/+107 | |
| | | | | | | | ||||||
| | * | | | | | Tweak to move model lookup functionality into the Handler base class where ↵ | Rick Bradley | 2007-10-16 | 5 | -2/+28 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | it belongs. Robustifying the request sanitization a bit more. | |||||
| | * | | | | | Refactored to use a Handler base class for server+protocol handlers. ↵ | Rick Bradley | 2007-10-16 | 6 | -77/+127 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Finally eliminated dependency on Puppet.start, etc., from WEBrick HTTP server class. {webrick,mongrel}+REST now support request handling uniformly; need encode/decode next. | |||||
| | * | | | | | Inlined the controller, eliminating a class. Mongrel+REST has the right ↵ | Rick Bradley | 2007-10-16 | 5 | -85/+96 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | bits for request handling prior to the encode/decode/exception-handling bits. Refactored to make the common logic extractable to a base class. | |||||
| | * | | | | | Registration now built for {webrick,mongrel} REST handlers. | Rick Bradley | 2007-10-16 | 6 | -17/+59 | |
| | | | | | | | ||||||
| | * | | | | | Going back to each server+protocol object being responsible for only one ↵ | Rick Bradley | 2007-10-16 | 8 | -26/+26 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | indirection, as the REST vs. XMLRPC models are different enough that the object must register itself on initialization and handle the request when it comes in. | |||||
| | * | | | | | First pass through initializers of {mongrel, webrick} REST handlers; hooks ↵ | Rick Bradley | 2007-10-16 | 13 | -35/+150 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | into Indirection to look up models from indirected names. | |||||
| | * | | | | | Minor tweaks to make the ::Server initialization a bit more robust. Fail on ↵ | Rick Bradley | 2007-10-16 | 2 | -5/+13 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | unknown HTTP Server types; fail fast. | |||||
| | * | | | | | Finish front end of delegation to server+protocol helper classes ("handlers"). | Rick Bradley | 2007-10-15 | 8 | -9/+55 | |
| | | | | | | | ||||||
| | * | | | | | Bringing in initial handlers for server+protocol pairs. | Rick Bradley | 2007-10-15 | 5 | -43/+47 | |
| | | | | | | | ||||||
| | * | | | | | Merge branch 'master' of git://reductivelabs.com/puppet into routing | Rick Bradley | 2007-10-15 | 47 | -235/+268 | |
| | |\ \ \ \ \ | ||||||
| | * | | | | | | Partial support for building Handlers for all handler-protocol pairs. | Rick Bradley | 2007-10-15 | 4 | -11/+93 | |
| | | | | | | | | ||||||
| | * | | | | | | Implementing address & port support for new webrick server. | Rick Bradley | 2007-10-15 | 2 | -5/+20 | |
| | | | | | | | | ||||||
| | * | | | | | | Hooking up address/port support for the various servers w/ specs. Still ↵ | Rick Bradley | 2007-10-15 | 6 | -40/+119 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | need to start up a webrick server w/ address + port (this is far too incestuous with Puppet lib & Puppet.start at the moment). | |||||
| | * | | | | | | trivial: WEBRick -> WEBrick, to be more consistent with how the WEBrick ruby ↵ | Rick Bradley | 2007-10-15 | 5 | -12/+12 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | classes are named. | |||||
| | * | | | | | | Implementing listening state tracking for webrick and mongrel. | Rick Bradley | 2007-10-15 | 4 | -6/+54 | |
| | | | | | | | | ||||||
| | * | | | | | | More unit specs for mongrel and webrick; more code to make them work, yo. | Rick Bradley | 2007-10-15 | 6 | -26/+147 | |
| | | | | | | | | ||||||
| | * | | | | | | Pushing functionality down to webrick/mongrel classes now; cleanup in the ↵ | Rick Bradley | 2007-10-15 | 6 | -61/+102 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | base server / http server classes + specs. | |||||
| | * | | | | | | Merge branch 'master' of git://reductivelabs.com/puppet into routing | Rick Bradley | 2007-10-13 | 25 | -224/+411 | |
| | |\ \ \ \ \ \ | ||||||
| | * | | | | | | | more stuff for the interim commit | Rick Bradley | 2007-10-12 | 4 | -0/+106 | |
| | | | | | | | | | ||||||
| | * | | | | | | | interim checkin of network stuffs | Rick Bradley | 2007-10-12 | 3 | -269/+235 | |
| | | | | | | | | | ||||||
| | * | | | | | | | Merge branch 'master' of git://reductivelabs.com/puppet into routing | Rick Bradley | 2007-10-09 | 2 | -2/+13 | |
| | |\ \ \ \ \ \ \ | ||||||
| | * \ \ \ \ \ \ \ | Merge branch 'master' of git://reductivelabs.com/puppet into routing | Rick Bradley | 2007-10-09 | 29 | -179/+717 | |
| | |\ \ \ \ \ \ \ \ | ||||||
| | * \ \ \ \ \ \ \ \ | Merge branch 'master' of git://reductivelabs.com/puppet into routing | Rick Bradley | 2007-10-06 | 35 | -373/+319 | |
| | |\ \ \ \ \ \ \ \ \ | ||||||
* | | | | | | | | | | | | Commenting out the time debugging I was using | Luke Kanies | 2007-11-08 | 1 | -3/+3 | |
|/ / / / / / / / / / / | ||||||
* | | | | | | | | | | | Adding unit tests for the module that handles the | Luke Kanies | 2007-11-08 | 2 | -7/+144 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | logic around mounting and unmounting. This includes a fix for bug #761, which required a different regex for Solaris. | |||||
* | | | | | | | | | | | Merge branch 'master' of ssh://reductivelabs.com/opt/rl/git/puppet | Luke Kanies | 2007-11-08 | 8 | -69/+113 | |
|\ \ \ \ \ \ \ \ \ \ \ | ||||||
| * \ \ \ \ \ \ \ \ \ \ | Merge commit 'davids-bugfixes/rest/fix-760' | Luke Kanies | 2007-11-08 | 1 | -0/+2 | |
| |\ \ \ \ \ \ \ \ \ \ \ | ||||||
| | * | | | | | | | | | | | fix #760: property_fix has to be called after creating a symlink | David Schmitt | 2007-11-08 | 1 | -0/+2 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | Merge commit 'davids-bugfixes/rest/fix-731' | Luke Kanies | 2007-11-08 | 1 | -1/+2 | |
| |\ \ \ \ \ \ \ \ \ \ \ \ | ||||||
| | * | | | | | | | | | | | | fix #731: add exported=true to collect_exported | David Schmitt | 2007-11-08 | 1 | -1/+2 | |
| | |/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this just adds the patch from the bugreport | |||||
| * | | | | | | | | | | | | Switching the class resource evaluation to only happen | Luke Kanies | 2007-11-08 | 4 | -12/+23 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when using :include, not (for example) when evaluating node classes. | |||||
| * | | | | | | | | | | | | Classes once again get evaluated immediately when the | Luke Kanies | 2007-11-08 | 5 | -64/+94 | |
| | |_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'include' function is used, instead of being lazy-evaluated. Previous work caused resources to get created to model these classes, but in the process, I removed the fact that the classes were evaluated immediately. This meant that you couldn't guarantee that a class was evaluated before you went to use its variables. | |||||
* / | | | | | | | | | | | Fixing the 'mount' tests so that they no longer | Luke Kanies | 2007-11-08 | 6 | -280/+211 | |
|/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | modify the local system and they run fine as non-root users. | |||||
* | | | | | | | | | | | Switching the base class for the Relationship class. | Luke Kanies | 2007-11-08 | 6 | -85/+168 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It was previously using the GRATR::Edge class, which had wonky overrides that dramatically slowed down sorting (its hash mechanism hashed the source and target so that edges with the same source/target got the same hash, which we actually don't want any more). This shouldn't change any functionality, just performance. I didn't retain all functionality from the Edge class, but a lot of that functionality was, um, horrible, like Edge[] being equivalent to Edge.new. | |||||
* | | | | | | | | | | | Merge branch 'rest' | Luke Kanies | 2007-11-08 | 13 | -144/+575 | |
|\| | | | | | | | | | | ||||||
| * | | | | | | | | | | Splitting the puppetd tests into two tests. It is still not a very good ↵ | Luke Kanies | 2007-11-08 | 1 | -27/+22 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | test, but I do not know of a good way to test this, really. |