On 11/04/2010 09:31 AM, Chris Lalancette wrote: > On 11/02/10 - 04:51:38PM, Mohammed Morsi wrote: > <snip> > >> 80 files changed, 4233 insertions(+), 2669 deletions(-) > Nice work on a prototype, Mo. This is more painful than I would have hoped; > a rough count of our source lines show 11,000 lines of code total, so this > is changing more than 50% of it. In your first message, you say: >
Note that 5081 of those changes are in public/javascripts/prototype.js which rails itself provides. Rails 2.3.5 ships with prototype.js v1.6.0.3 where as Rails 3 ships with v1.7rc2. All in all, I'm not sure we even use / need this library (since we use jquery) and if not it probably can be removed. Also alot of the other changes are to the rails framework itself, for example all the scripts located in the scripts/ directory have been replaced with the single 'rails' script. Granted, there were quite a few changes needed to our app to conform to the new api, but these mostly reside in the app/, config/, spec/, and features/ directories (and even then some of the changes in those dirs are for the rails generated stuff as well). >> - All the gems and plugins we depend on seem to have been updated >> to work against Rails 3. The upstream communities seem to be on >> the ball regarding this matter > That's good in terms of the code being available, but we still would need to > get this stuff packaged up for Fedora. Aside from Rails 3 itself, do you > have a feeling as to how many RPMs that are currently in fedora would need to > be updated, and how many we would need to add, to get this to work? > I just ran through the list of gems installed on the system I was trying this on and came up with the following which might need to be updated in Fedora (I say might as some of these may just be the latest version of the packages available that were automatically pulled in) * rails, activesupport, activerecord, actionpack, activeresource, actionmailer - 2.3.8 -> 3.0.1 * compass - 0.8.17 -> 0.10.6 * cucumber - 0.9.0 -> 0.9.3 * erubis - 2.6.5 -> 2.6.6 * gherkin - 2.2.4 -> 2.2.9 * haml - 3.0.17 -> 3.0.23 * polyglot - 0.2.5 -> 0.3.1 * rack - 1.1.0 -> 1.2.1 * rack-test - 0.5.4 -> 0.5.6 * rspec - 1.3.0 -> 2.0.1 * simple-navigation - 3.0.0 -> 3.0.2 * sinatra - 1.0 -> 1.1.0 * sqlite3-ruby - 1.2.4 -> 1.3.2 * term-ansicolor - 1.0.3 -> 1.0.5 * thor - 0.13.6 -> 0.14.3 * treetop - 1.3.0 -> 1.4.8 And the following would need to be packaged: * arel (1.0.1) * autotest (4.4.2) * bundler (1.0.3) * database_cleaner (0.6.0) * factory_girl_rails (1.0) * i18n (0.4.2) * mail (2.2.29) * tilt (1.1) * timecop (0.3.5) * rack-mount (0.6.13) * railties (3.0.1) * rspec-core, rspec-expectations, rspec-mocks, rspec-rails (2.0.1) * tzinfo (0.3.23) Our explicit dependencies can be found in the Gemfile included in the patch. -Mo _______________________________________________ deltacloud-devel mailing list [email protected] https://fedorahosted.org/mailman/listinfo/deltacloud-devel
