On Sat, Jul 26, 2014 at 11:40:09PM -0300, Antonio Terceiro wrote:
I want to let you know that I am working on this. I will appreciate any
help I can get, so if you want to help with this let me know so that we
can coordinate and don't duplicate work. I don't have a clear list of
action items yet, though; it is more or less exploratory work at this
point.
I got to the point of having a installable rails stack that works as far as
passing the autopkgtest smoke test (see below). I didn't do further tests such
as running a non-trivial application, but I think this is a good starting
point.
I had to modify the following packages:
ruby-arel
new upstream release; I just saw on IRC that Cédric did a much better update,
so I will just drop what I did.
ruby-coffee-rails
new upstream release + change dependency (s/-3.2//)
ruby-jbuilder
new upstream release + change to run test suite with rake
ruby-jquery-rails
new upstream release + change dependency (s/-3.2//)
ruby-sass-rails
new upstream release + change dependency (s/-3.2//) + patch to work with sprockets 2.12+
ruby-sprockets-rails
new upstream release + change dependency (s/-4.0//)
I also had to package these new ones:
ruby-sdoc
ruby-spring
ruby-turbolinks
there awas existing work on git by Jonas; I took it from there.
I will be uploading all of these, except ruby-arel, in the next days.
That's what I had for now. :-)
Below the successfull smoke test run.
----------------8<----------------8<----------------8<-----------------
$ ./debian/tests/newapp
+ exec
+ ruby -v
ruby 2.1.2p95 (2014-05-08) [x86_64-linux-gnu]
+ gem list
*** LOCAL GEMS ***
actionmailer (4.1.4)
actionpack (4.1.4, 4.0.8)
actionview (4.1.4)
activemodel (4.1.4, 4.0.8)
activerecord (4.1.4, 4.0.8)
activerecord-deprecated_finders (1.0.3)
activesupport (4.1.4, 4.0.8)
arel (5.0.1.20140414130214, 4.0.2)
atomic (1.1.16)
bigdecimal (1.2.4)
builder (3.2.2, 3.1.4)
bundler (1.6.3)
celluloid (0.15.2)
coffee-rails (4.0.1)
coffee-script (2.2.0)
coffee-script-source (1.3.3)
erubis (2.7.0)
execjs (1.4.0)
ffi (1.9.3)
hike (1.2.1)
i18n (0.6.9)
io-console (0.4.2)
jbuilder (2.1.3)
jquery-rails (3.1.1)
json (1.8.1)
listen (2.4.0)
mail (2.6.1, 2.5.4)
mime-types (1.25)
minitest (5.4.0, 4.7.5)
multi_json (1.10.0)
net-http-persistent (2.9)
oj (2.9.6)
polyglot (0.3.4)
psych (2.0.5)
rack (1.5.2)
rack-test (0.6.2)
rails (4.1.4)
railties (4.1.4)
rake (10.1.1, 10.1.0)
rb-inotify (0.9.5)
rdoc (4.1.0)
sass (3.2.19)
sass-rails (4.0.3)
sdoc (0.4.0)
spring (1.1.3)
sprockets (2.12.1)
sprockets-rails (2.1.3)
sqlite3 (1.3.9)
test-unit (2.1.2.0)
thor (0.19.1)
thread_safe (0.3.3)
tilt (1.4.1)
timers (1.1.0)
treetop (1.4.14)
turbolinks (2.2.2)
tzinfo (1.1.0, 0.3.40)
uglifier (2.5.0)
yajl-ruby (1.2.0)
+ [ -z ]
+ mktemp -d
+ ADTTMP=/tmp/tmp.VpHGvtU5jB
+ cd /tmp/tmp.VpHGvtU5jB
+ rails new foo
create
create README.rdoc
create Rakefile
create config.ru
create .gitignore
create Gemfile
create app
create app/assets/javascripts/application.js
create app/assets/stylesheets/application.css
create app/controllers/application_controller.rb
create app/helpers/application_helper.rb
create app/views/layouts/application.html.erb
create app/assets/images/.keep
create app/mailers/.keep
create app/models/.keep
create app/controllers/concerns/.keep
create app/models/concerns/.keep
create bin
create bin/bundle
create bin/rails
create bin/rake
create config
create config/routes.rb
create config/application.rb
create config/environment.rb
create config/secrets.yml
create config/environments
create config/environments/development.rb
create config/environments/production.rb
create config/environments/test.rb
create config/initializers
create config/initializers/assets.rb
create config/initializers/backtrace_silencers.rb
create config/initializers/cookies_serializer.rb
create config/initializers/filter_parameter_logging.rb
create config/initializers/inflections.rb
create config/initializers/mime_types.rb
create config/initializers/session_store.rb
create config/initializers/wrap_parameters.rb
create config/locales
create config/locales/en.yml
create config/boot.rb
create config/database.yml
create db
create db/seeds.rb
create lib
create lib/tasks
create lib/tasks/.keep
create lib/assets
create lib/assets/.keep
create log
create log/.keep
create public
create public/404.html
create public/422.html
create public/500.html
create public/favicon.ico
create public/robots.txt
create test/fixtures
create test/fixtures/.keep
create test/controllers
create test/controllers/.keep
create test/mailers
create test/mailers/.keep
create test/models
create test/models/.keep
create test/helpers
create test/helpers/.keep
create test/integration
create test/integration/.keep
create test/test_helper.rb
create tmp/cache
create tmp/cache/assets
create vendor/assets/javascripts
create vendor/assets/javascripts/.keep
create vendor/assets/stylesheets
create vendor/assets/stylesheets/.keep
run bundle install --local
Resolving dependencies...
Using rake 10.1.1
Using i18n 0.6.9
Using json 1.8.1
Using minitest 5.4.0
Using thread_safe 0.3.3
Using tzinfo 1.1.0
Using activesupport 4.1.4
Using builder 3.2.2
Using erubis 2.7.0
Using actionview 4.1.4
Using rack 1.5.2
Using rack-test 0.6.2
Using actionpack 4.1.4
Using mime-types 1.25
Using polyglot 0.3.4
Using treetop 1.4.14
Using mail 2.5.4
Using actionmailer 4.1.4
Using activemodel 4.1.4
Using arel 5.0.1.20140414130214
Using activerecord 4.1.4
Using bundler 1.6.3
Using coffee-script-source 1.3.3
Using multi_json 1.10.0
Using execjs 1.4.0
Using coffee-script 2.2.0
Using thor 0.19.1
Using railties 4.1.4
Using coffee-rails 4.0.1
Using hike 1.2.1
Using jbuilder 2.1.3
Using jquery-rails 3.1.1
Using tilt 1.4.1
Using sprockets 2.12.1
Using sprockets-rails 2.1.3
Using rails 4.1.4
Using rdoc 4.1.0
Using sass 3.2.19
Using sass-rails 4.0.3
Using sdoc 0.4.0
Using spring 1.1.3
Using sqlite3 1.3.9
Using turbolinks 2.2.2
Using uglifier 2.5.0
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
run bundle exec spring binstub --all
* bin/rake: spring inserted
* bin/rails: spring inserted
+ cd foo
/tmp/tmp.VpHGvtU5jB/foo
+ rails runner puts "Empty Rails %s app booted correctly" % Rails.version
Warning: Running `gem pristine --all` to regenerate your installed gemspecs (and deleting then reinstalling your bundle if you use bundle --path) will improve the startup performance of Spring.
Empty Rails 4.1.4 app booted correctly
+ rails generate scaffold Product title
Warning: Running `gem pristine --all` to regenerate your installed gemspecs (and deleting then reinstalling your bundle if you use bundle --path) will improve the startup performance of Spring.
invoke active_record
create db/migrate/20140727200312_create_products.rb
create app/models/product.rb
invoke test_unit
create test/models/product_test.rb
create test/fixtures/products.yml
invoke resource_route
route resources :products
invoke scaffold_controller
create app/controllers/products_controller.rb
invoke erb
create app/views/products
create app/views/products/index.html.erb
create app/views/products/edit.html.erb
create app/views/products/show.html.erb
create app/views/products/new.html.erb
create app/views/products/_form.html.erb
invoke test_unit
create test/controllers/products_controller_test.rb
invoke helper
create app/helpers/products_helper.rb
invoke test_unit
create test/helpers/products_helper_test.rb
invoke jbuilder
create app/views/products/index.json.jbuilder
create app/views/products/show.json.jbuilder
invoke assets
invoke coffee
create app/assets/javascripts/products.js.coffee
invoke scss
create app/assets/stylesheets/products.css.scss
invoke scss
create app/assets/stylesheets/scaffolds.css.scss
+ rake db:migrate
== 20140727200312 CreateProducts: migrating ===================================
-- create_table(:products)
-> 0.0015s
== 20140727200312 CreateProducts: migrated (0.0016s) ==========================
+ rake test
Run options: --seed 56012
# Running:
.......
Finished in 0.692588s, 10.1070 runs/s, 18.7702 assertions/s.
7 runs, 13 assertions, 0 failures, 0 errors, 0 skips
----------------8<----------------8<----------------8<-----------------