From: Suraj Kurapati Date: 2008-05-29T15:26:08+09:00 Subject: Re: ruby wish-list David Masover wrote: > On Wednesday 28 May 2008 20:51:15 Suraj Kurapati wrote: >> Roger Pack wrote: >> > gem install package_name --checkout_latest_svn_trunk_and_build_it >> >> Not everyone uses Subversion. :) > > No reason it has to be SCM-specific. From my understanding of the problem, implementing this kind of feature would require gem creators to supply some kind of resource identifier in the gem's meta-data. Let us assume that the aforementioned resource identifier is an SCM-dependent URL to a project's code repository. RubyGems would then be responsible for (1) checking out the latest copy of the code repository, (2) constructing a gem out of it, and (2) installing the constructed gem. In contrast, if we were to make this feature fully SCM-independent, then the aforementioned resource identifier would need to be something like a URL to a ZIP file that contains the latest code for a particular project. RubyGems would then be responsible for (1) fetching the ZIP file, (2) constructing a gem out of it, and (2) installing the constructed gem. All that's needed then is to have some automated process that publishes a ZIP file of a project's code repository whenever someone commits new changes to the repository. This would obviously be SCM-specific. -- Posted via http://www.ruby-forum.com/.