From ericbmerritt at gmail.com Tue Mar 8 15:34:58 2011 From: ericbmerritt at gmail.com (Eric Merritt) Date: Tue, 8 Mar 2011 14:34:58 -0600 Subject: [ditz-talk] Ditz Cleanup Message-ID: <20110308203457.GD6601@emerritt-macbookpro-2.local> Hello All, I have contributed to ditz in the past and am using it again. I am looking forward to making contributions again. One thing I noticed as I was looking at getting involved again is that the ditz repositories seem to be pretty fragmented. It took me a while to find the canonical gitorious repo. Back in October Michael Nagel made the following observation ,---- | Hi everyone, | | the ditz page at http://ditz.rubyforge.org/ | the ditz ditz page at http://ditz.rubyforge.org/ditz/ | and the debian releases at http://packages.qa.debian.org/d/ditz.html | | are all rather old and stale whereas on http://gitorious.org/ditz | there seems to happening something/a lot. | | so my question is: are there any plans on updating the information | on these pages and maybe even put together a new release? | | Best Regards | Michael `---- He has a very good point. It looks like ditz.rubyforge.org is the main user page, while gitorious is the main repo. Any chance you could sync the gitorious and ruby forge, perhaps put a not on the ditz.rubyforge.org page. I suspect it is as simple as a cron job on the box of someone that has access to both gitorious and rubyforge. Getting a new release started would also be great, both to debian and the gems. I don't have much experiance with this though. I would be more then willing to help in this if needed. Thanks, Eric -- Eric Merritt Erlang & OTP in Action (Manning) http://manning.com/logan http://twitter.com/ericbmerritt http://erlware.org From alejandro_liu at hotmail.com Mon Mar 21 20:42:42 2011 From: alejandro_liu at hotmail.com (Alejandro Liu) Date: Tue, 22 Mar 2011 00:42:42 +0000 Subject: [ditz-talk] How do Hooks work? Message-ID: Hi, Can somebody explain to me how do the hooks functionality in "ditz" works? If somebody could post examples, on how they are supposed to be used, that would be very helpful. I searched for it in the mailing list and in the code and couldn't find any. Then again, I don't know any ruby so that doesn't help things much. Regards, AL -------------- next part -------------- An HTML attachment was scrubbed... URL: From alejandro.liu at ymail.com Tue Mar 22 06:28:31 2011 From: alejandro.liu at ymail.com (Alejandro Liu Ly) Date: Tue, 22 Mar 2011 03:28:31 -0700 (PDT) Subject: [ditz-talk] How to use hooks Message-ID: <269436.35918.qm@web113907.mail.gq1.yahoo.com> So back to my question on how to use hooks... Essentially I want to use the hooks as defined by: ditz --list-hooks. I simply want to run the appropriate SCM command for the after_update, after_delete and after_add hooks are triggered. I can not find any examples on how to do this anywhere.? (I am sorry, I don't know Ruby, I just want to be able to use ditz). I looked into the plugins but that did not share much light on how would I do this. Regards Alejandro -------------- next part -------------- An HTML attachment was scrubbed... URL: From alejandro.liu at ymail.com Fri Mar 25 18:47:19 2011 From: alejandro.liu at ymail.com (Alejandro Liu Ly) Date: Fri, 25 Mar 2011 15:47:19 -0700 (PDT) Subject: [ditz-talk] How to use hooks Message-ID: <89918.10551.qm@web113915.mail.gq1.yahoo.com> So I figured out how to use the hooks.? Since I have never ever written a single line of code in Ruby you can assume that everything in this e-mail is wrong. Attached is my attempt at integrating DITZ with BZR.? Save the file in a directory $HOME/.ditz/hooks or $PROJECT/.ditz/hooks with a .rb extension. Hopefully this would help others from spending time searching the web for examples on how to use ditz hooks. Regards, Alex --- On Tue, 22/3/11, Alejandro Liu Ly wrote: From: Alejandro Liu Ly Subject: Re: [ditz-talk] How to use hooks To: ditz-talk at rubyforge.org Date: Tuesday, 22 March, 2011, 18:28 So back to my question on how to use hooks... Essentially I want to use the hooks as defined by: ditz --list-hooks. I simply want to run the appropriate SCM command for the after_update, after_delete and after_add hooks are triggered. I can not find any examples on how to do this anywhere.? (I am sorry, I don't know Ruby, I just want to be able to use ditz). I looked into the plugins but that did not share much light on how would I do this. Regards Alejandro -----Inline Attachment Follows----- _______________________________________________ ditz-talk mailing list ditz-talk at rubyforge.org http://rubyforge.org/mailman/listinfo/ditz-talk -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: bzr.rb Type: application/octet-stream Size: 730 bytes Desc: not available URL: