From: Adrian Schröter
---
src/backend-dummy/README | 153 --
src/backend-dummy/Rakefile | 10 -
.../app/controllers/admin_controller.rb | 27 -
src/backend-dummy/app/controllers/application.rb | 25 -
.../app/controllers/platform_controller.rb | 47 -
.../app/controllers/result_controller.rb | 58 -
.../app/controllers/rpm_controller.rb | 29 -
.../app/controllers/source_controller.rb | 101 --
src/backend-dummy/app/helpers/admin_helper.rb | 2 -
.../app/helpers/application_helper.rb | 3 -
src/backend-dummy/app/helpers/platform_helper.rb | 2 -
src/backend-dummy/app/helpers/result_helper.rb | 2 -
src/backend-dummy/app/helpers/rpm_helper.rb | 2 -
src/backend-dummy/app/helpers/source_helper.rb | 2 -
src/backend-dummy/app/views/admin/index.rhtml | 3 -
.../app/views/admin/list_sources.rhtml | 5 -
src/backend-dummy/app/views/admin/say_hello.rhtml | 1 -
src/backend-dummy/app/views/error.rxml | 16 -
src/backend-dummy/app/views/layouts/admin.rhtml | 10 -
src/backend-dummy/app/views/platform/index.rxml | 5 -
src/backend-dummy/app/views/source/_meta.rhtml | 10 -
src/backend-dummy/app/views/source/index.rxml | 5 -
src/backend-dummy/config/boot.rb | 19 -
src/backend-dummy/config/database.yml | 85 -
src/backend-dummy/config/deploy.rb | 69 -
src/backend-dummy/config/environment.rb | 55 -
.../config/environments/development.rb | 21 -
.../config/environments/production.rb | 21 -
src/backend-dummy/config/environments/test.rb | 21 -
src/backend-dummy/config/routes.rb | 50 -
.../data_test/platform/SUSE-10.0/superkde | 37 -
.../data_test/platform/SUSE-10.0/suselinux-10.0 | 37 -
.../data_test/platform/SUSE10.1/Debian-Etch | 37 -
.../data_test/platform/SUSE10.1/superkde | 37 -
.../data_test/platform/SUSE10.1/suselinux-10.0 | 37 -
src/backend-dummy/data_test/source/kde4/_meta | 21 -
.../data_test/source/kde4/kdebase/_meta | 5 -
.../data_test/source/kde4/kdelibs/_meta | 24 -
.../data_test/source/kde4/kdelibs/kdelibs.tar.gz | 1 -
.../source/kde4/kdelibs/make_it_cool.patch | 1 -
.../data_test/source/kde4/kdelibs/my_patch.diff | 1 -
src/backend-dummy/doc/README_FOR_APP | 2 -
src/backend-dummy/lib/dummy_builder.rb | 163 --
src/backend-dummy/lib/tasks/switchtower.rake | 48 -
src/backend-dummy/public/.htaccess | 40 -
src/backend-dummy/public/404.html | 8 -
src/backend-dummy/public/500.html | 8 -
src/backend-dummy/public/dispatch.cgi | 10 -
src/backend-dummy/public/dispatch.fcgi | 24 -
src/backend-dummy/public/dispatch.rb | 10 -
src/backend-dummy/public/images/rails.png | Bin 1787 -> 0 bytes
src/backend-dummy/public/index.html | 277 ---
src/backend-dummy/public/javascripts/controls.js | 750 ---------
src/backend-dummy/public/javascripts/dragdrop.js | 539 ------
src/backend-dummy/public/javascripts/effects.js | 904 ----------
src/backend-dummy/public/javascripts/prototype.js | 1768 --------------------
src/backend-dummy/public/robots.txt | 1 -
src/backend-dummy/script/about | 3 -
src/backend-dummy/script/breakpointer | 3 -
src/backend-dummy/script/console | 3 -
src/backend-dummy/script/destroy | 3 -
src/backend-dummy/script/generate | 3 -
src/backend-dummy/script/performance/benchmarker | 3 -
src/backend-dummy/script/performance/profiler | 3 -
src/backend-dummy/script/plugin | 3 -
src/backend-dummy/script/process/reaper | 3 -
src/backend-dummy/script/process/spawner | 3 -
src/backend-dummy/script/process/spinner | 3 -
src/backend-dummy/script/runner | 3 -
src/backend-dummy/script/server | 5 -
.../test/functional/admin_controller_test.rb | 18 -
.../test/functional/platform_controller_test.rb | 18 -
.../test/functional/result_controller_test.rb | 18 -
.../test/functional/rpm_controller_test.rb | 18 -
.../test/functional/source_controller_test.rb | 18 -
src/backend-dummy/test/test_helper.rb | 28 -
src/backend/dummy/README | 153 ++
src/backend/dummy/Rakefile | 10 +
.../dummy/app/controllers/admin_controller.rb | 27 +
src/backend/dummy/app/controllers/application.rb | 25 +
.../dummy/app/controllers/platform_controller.rb | 47 +
.../dummy/app/controllers/result_controller.rb | 58 +
.../dummy/app/controllers/rpm_controller.rb | 29 +
.../dummy/app/controllers/source_controller.rb | 101 ++
src/backend/dummy/app/helpers/admin_helper.rb | 2 +
.../dummy/app/helpers/application_helper.rb | 3 +
src/backend/dummy/app/helpers/platform_helper.rb | 2 +
src/backend/dummy/app/helpers/result_helper.rb | 2 +
src/backend/dummy/app/helpers/rpm_helper.rb | 2 +
src/backend/dummy/app/helpers/source_helper.rb | 2 +
src/backend/dummy/app/views/admin/index.rhtml | 3 +
.../dummy/app/views/admin/list_sources.rhtml | 5 +
src/backend/dummy/app/views/admin/say_hello.rhtml | 1 +
src/backend/dummy/app/views/error.rxml | 16 +
src/backend/dummy/app/views/layouts/admin.rhtml | 10 +
src/backend/dummy/app/views/platform/index.rxml | 5 +
src/backend/dummy/app/views/source/_meta.rhtml | 10 +
src/backend/dummy/app/views/source/index.rxml | 5 +
src/backend/dummy/config/boot.rb | 19 +
src/backend/dummy/config/database.yml | 85 +
src/backend/dummy/config/deploy.rb | 69 +
src/backend/dummy/config/environment.rb | 55 +
.../dummy/config/environments/development.rb | 21 +
.../dummy/config/environments/production.rb | 21 +
src/backend/dummy/config/environments/test.rb | 21 +
src/backend/dummy/config/routes.rb | 50 +
.../dummy/data_test/platform/SUSE-10.0/superkde | 37 +
.../data_test/platform/SUSE-10.0/suselinux-10.0 | 37 +
.../dummy/data_test/platform/SUSE10.1/Debian-Etch | 37 +
.../dummy/data_test/platform/SUSE10.1/superkde | 37 +
.../data_test/platform/SUSE10.1/suselinux-10.0 | 37 +
src/backend/dummy/data_test/source/kde4/_meta | 21 +
.../dummy/data_test/source/kde4/kdebase/_meta | 5 +
.../dummy/data_test/source/kde4/kdelibs/_meta | 24 +
.../data_test/source/kde4/kdelibs/kdelibs.tar.gz | 1 +
.../source/kde4/kdelibs/make_it_cool.patch | 1 +
.../data_test/source/kde4/kdelibs/my_patch.diff | 1 +
src/backend/dummy/doc/README_FOR_APP | 2 +
src/backend/dummy/lib/dummy_builder.rb | 163 ++
src/backend/dummy/lib/tasks/switchtower.rake | 48 +
src/backend/dummy/public/.htaccess | 40 +
src/backend/dummy/public/404.html | 8 +
src/backend/dummy/public/500.html | 8 +
src/backend/dummy/public/dispatch.cgi | 10 +
src/backend/dummy/public/dispatch.fcgi | 24 +
src/backend/dummy/public/dispatch.rb | 10 +
src/backend/dummy/public/images/rails.png | Bin 0 -> 1787 bytes
src/backend/dummy/public/index.html | 277 +++
src/backend/dummy/public/javascripts/controls.js | 750 +++++++++
src/backend/dummy/public/javascripts/dragdrop.js | 539 ++++++
src/backend/dummy/public/javascripts/effects.js | 904 ++++++++++
src/backend/dummy/public/javascripts/prototype.js | 1768 ++++++++++++++++++++
src/backend/dummy/public/robots.txt | 1 +
src/backend/dummy/script/about | 3 +
src/backend/dummy/script/breakpointer | 3 +
src/backend/dummy/script/console | 3 +
src/backend/dummy/script/destroy | 3 +
src/backend/dummy/script/generate | 3 +
src/backend/dummy/script/performance/benchmarker | 3 +
src/backend/dummy/script/performance/profiler | 3 +
src/backend/dummy/script/plugin | 3 +
src/backend/dummy/script/process/reaper | 3 +
src/backend/dummy/script/process/spawner | 3 +
src/backend/dummy/script/process/spinner | 3 +
src/backend/dummy/script/runner | 3 +
src/backend/dummy/script/server | 5 +
.../dummy/test/functional/admin_controller_test.rb | 18 +
.../test/functional/platform_controller_test.rb | 18 +
.../test/functional/result_controller_test.rb | 18 +
.../dummy/test/functional/rpm_controller_test.rb | 18 +
.../test/functional/source_controller_test.rb | 18 +
src/backend/dummy/test/test_helper.rb | 28 +
152 files changed, 5808 insertions(+), 5808 deletions(-)
delete mode 100644 src/backend-dummy/README
delete mode 100644 src/backend-dummy/Rakefile
delete mode 100644 src/backend-dummy/app/controllers/admin_controller.rb
delete mode 100644 src/backend-dummy/app/controllers/application.rb
delete mode 100644 src/backend-dummy/app/controllers/platform_controller.rb
delete mode 100644 src/backend-dummy/app/controllers/result_controller.rb
delete mode 100644 src/backend-dummy/app/controllers/rpm_controller.rb
delete mode 100644 src/backend-dummy/app/controllers/source_controller.rb
delete mode 100644 src/backend-dummy/app/helpers/admin_helper.rb
delete mode 100644 src/backend-dummy/app/helpers/application_helper.rb
delete mode 100644 src/backend-dummy/app/helpers/platform_helper.rb
delete mode 100644 src/backend-dummy/app/helpers/result_helper.rb
delete mode 100644 src/backend-dummy/app/helpers/rpm_helper.rb
delete mode 100644 src/backend-dummy/app/helpers/source_helper.rb
delete mode 100644 src/backend-dummy/app/views/admin/index.rhtml
delete mode 100644 src/backend-dummy/app/views/admin/list_sources.rhtml
delete mode 100644 src/backend-dummy/app/views/admin/say_hello.rhtml
delete mode 100644 src/backend-dummy/app/views/error.rxml
delete mode 100644 src/backend-dummy/app/views/layouts/admin.rhtml
delete mode 100644 src/backend-dummy/app/views/platform/index.rxml
delete mode 100644 src/backend-dummy/app/views/source/_meta.rhtml
delete mode 100644 src/backend-dummy/app/views/source/index.rxml
delete mode 100644 src/backend-dummy/config/boot.rb
delete mode 100644 src/backend-dummy/config/database.yml
delete mode 100644 src/backend-dummy/config/deploy.rb
delete mode 100644 src/backend-dummy/config/environment.rb
delete mode 100644 src/backend-dummy/config/environments/development.rb
delete mode 100644 src/backend-dummy/config/environments/production.rb
delete mode 100644 src/backend-dummy/config/environments/test.rb
delete mode 100644 src/backend-dummy/config/routes.rb
delete mode 100644 src/backend-dummy/data_test/platform/SUSE-10.0/superkde
delete mode 100644 src/backend-dummy/data_test/platform/SUSE-10.0/suselinux-10.0
delete mode 100644 src/backend-dummy/data_test/platform/SUSE10.1/Debian-Etch
delete mode 100644 src/backend-dummy/data_test/platform/SUSE10.1/superkde
delete mode 100644 src/backend-dummy/data_test/platform/SUSE10.1/suselinux-10.0
delete mode 100644 src/backend-dummy/data_test/source/kde4/_meta
delete mode 100644 src/backend-dummy/data_test/source/kde4/kdebase/_meta
delete mode 100644 src/backend-dummy/data_test/source/kde4/kdelibs/_meta
delete mode 100644 src/backend-dummy/data_test/source/kde4/kdelibs/kdelibs.tar.gz
delete mode 100644 src/backend-dummy/data_test/source/kde4/kdelibs/make_it_cool.patch
delete mode 100644 src/backend-dummy/data_test/source/kde4/kdelibs/my_patch.diff
delete mode 100644 src/backend-dummy/db/development_structure.sql
delete mode 100644 src/backend-dummy/doc/README_FOR_APP
delete mode 100644 src/backend-dummy/lib/dummy_builder.rb
delete mode 100644 src/backend-dummy/lib/tasks/switchtower.rake
delete mode 100644 src/backend-dummy/public/.htaccess
delete mode 100644 src/backend-dummy/public/404.html
delete mode 100644 src/backend-dummy/public/500.html
delete mode 100755 src/backend-dummy/public/dispatch.cgi
delete mode 100755 src/backend-dummy/public/dispatch.fcgi
delete mode 100755 src/backend-dummy/public/dispatch.rb
delete mode 100644 src/backend-dummy/public/favicon.ico
delete mode 100644 src/backend-dummy/public/images/rails.png
delete mode 100644 src/backend-dummy/public/index.html
delete mode 100644 src/backend-dummy/public/javascripts/controls.js
delete mode 100644 src/backend-dummy/public/javascripts/dragdrop.js
delete mode 100644 src/backend-dummy/public/javascripts/effects.js
delete mode 100644 src/backend-dummy/public/javascripts/prototype.js
delete mode 100644 src/backend-dummy/public/robots.txt
delete mode 100755 src/backend-dummy/script/about
delete mode 100755 src/backend-dummy/script/breakpointer
delete mode 100755 src/backend-dummy/script/console
delete mode 100755 src/backend-dummy/script/destroy
delete mode 100755 src/backend-dummy/script/generate
delete mode 100755 src/backend-dummy/script/performance/benchmarker
delete mode 100755 src/backend-dummy/script/performance/profiler
delete mode 100755 src/backend-dummy/script/plugin
delete mode 100755 src/backend-dummy/script/process/reaper
delete mode 100755 src/backend-dummy/script/process/spawner
delete mode 100755 src/backend-dummy/script/process/spinner
delete mode 100755 src/backend-dummy/script/runner
delete mode 100755 src/backend-dummy/script/server
delete mode 100644 src/backend-dummy/test/functional/admin_controller_test.rb
delete mode 100644 src/backend-dummy/test/functional/platform_controller_test.rb
delete mode 100644 src/backend-dummy/test/functional/result_controller_test.rb
delete mode 100644 src/backend-dummy/test/functional/rpm_controller_test.rb
delete mode 100644 src/backend-dummy/test/functional/source_controller_test.rb
delete mode 100644 src/backend-dummy/test/test_helper.rb
create mode 100644 src/backend/dummy/README
create mode 100644 src/backend/dummy/Rakefile
create mode 100644 src/backend/dummy/app/controllers/admin_controller.rb
create mode 100644 src/backend/dummy/app/controllers/application.rb
create mode 100644 src/backend/dummy/app/controllers/platform_controller.rb
create mode 100644 src/backend/dummy/app/controllers/result_controller.rb
create mode 100644 src/backend/dummy/app/controllers/rpm_controller.rb
create mode 100644 src/backend/dummy/app/controllers/source_controller.rb
create mode 100644 src/backend/dummy/app/helpers/admin_helper.rb
create mode 100644 src/backend/dummy/app/helpers/application_helper.rb
create mode 100644 src/backend/dummy/app/helpers/platform_helper.rb
create mode 100644 src/backend/dummy/app/helpers/result_helper.rb
create mode 100644 src/backend/dummy/app/helpers/rpm_helper.rb
create mode 100644 src/backend/dummy/app/helpers/source_helper.rb
create mode 100644 src/backend/dummy/app/views/admin/index.rhtml
create mode 100644 src/backend/dummy/app/views/admin/list_sources.rhtml
create mode 100644 src/backend/dummy/app/views/admin/say_hello.rhtml
create mode 100644 src/backend/dummy/app/views/error.rxml
create mode 100644 src/backend/dummy/app/views/layouts/admin.rhtml
create mode 100644 src/backend/dummy/app/views/platform/index.rxml
create mode 100644 src/backend/dummy/app/views/source/_meta.rhtml
create mode 100644 src/backend/dummy/app/views/source/index.rxml
create mode 100644 src/backend/dummy/config/boot.rb
create mode 100644 src/backend/dummy/config/database.yml
create mode 100644 src/backend/dummy/config/deploy.rb
create mode 100644 src/backend/dummy/config/environment.rb
create mode 100644 src/backend/dummy/config/environments/development.rb
create mode 100644 src/backend/dummy/config/environments/production.rb
create mode 100644 src/backend/dummy/config/environments/test.rb
create mode 100644 src/backend/dummy/config/routes.rb
create mode 100644 src/backend/dummy/data_test/platform/SUSE-10.0/superkde
create mode 100644 src/backend/dummy/data_test/platform/SUSE-10.0/suselinux-10.0
create mode 100644 src/backend/dummy/data_test/platform/SUSE10.1/Debian-Etch
create mode 100644 src/backend/dummy/data_test/platform/SUSE10.1/superkde
create mode 100644 src/backend/dummy/data_test/platform/SUSE10.1/suselinux-10.0
create mode 100644 src/backend/dummy/data_test/source/kde4/_meta
create mode 100644 src/backend/dummy/data_test/source/kde4/kdebase/_meta
create mode 100644 src/backend/dummy/data_test/source/kde4/kdelibs/_meta
create mode 100644 src/backend/dummy/data_test/source/kde4/kdelibs/kdelibs.tar.gz
create mode 100644 src/backend/dummy/data_test/source/kde4/kdelibs/make_it_cool.patch
create mode 100644 src/backend/dummy/data_test/source/kde4/kdelibs/my_patch.diff
create mode 100644 src/backend/dummy/db/development_structure.sql
create mode 100644 src/backend/dummy/doc/README_FOR_APP
create mode 100644 src/backend/dummy/lib/dummy_builder.rb
create mode 100644 src/backend/dummy/lib/tasks/switchtower.rake
create mode 100644 src/backend/dummy/public/.htaccess
create mode 100644 src/backend/dummy/public/404.html
create mode 100644 src/backend/dummy/public/500.html
create mode 100755 src/backend/dummy/public/dispatch.cgi
create mode 100755 src/backend/dummy/public/dispatch.fcgi
create mode 100755 src/backend/dummy/public/dispatch.rb
create mode 100644 src/backend/dummy/public/favicon.ico
create mode 100644 src/backend/dummy/public/images/rails.png
create mode 100644 src/backend/dummy/public/index.html
create mode 100644 src/backend/dummy/public/javascripts/controls.js
create mode 100644 src/backend/dummy/public/javascripts/dragdrop.js
create mode 100644 src/backend/dummy/public/javascripts/effects.js
create mode 100644 src/backend/dummy/public/javascripts/prototype.js
create mode 100644 src/backend/dummy/public/robots.txt
create mode 100755 src/backend/dummy/script/about
create mode 100755 src/backend/dummy/script/breakpointer
create mode 100755 src/backend/dummy/script/console
create mode 100755 src/backend/dummy/script/destroy
create mode 100755 src/backend/dummy/script/generate
create mode 100755 src/backend/dummy/script/performance/benchmarker
create mode 100755 src/backend/dummy/script/performance/profiler
create mode 100755 src/backend/dummy/script/plugin
create mode 100755 src/backend/dummy/script/process/reaper
create mode 100755 src/backend/dummy/script/process/spawner
create mode 100755 src/backend/dummy/script/process/spinner
create mode 100755 src/backend/dummy/script/runner
create mode 100755 src/backend/dummy/script/server
create mode 100644 src/backend/dummy/test/functional/admin_controller_test.rb
create mode 100644 src/backend/dummy/test/functional/platform_controller_test.rb
create mode 100644 src/backend/dummy/test/functional/result_controller_test.rb
create mode 100644 src/backend/dummy/test/functional/rpm_controller_test.rb
create mode 100644 src/backend/dummy/test/functional/source_controller_test.rb
create mode 100644 src/backend/dummy/test/test_helper.rb
diff --git a/src/backend-dummy/README b/src/backend-dummy/README
deleted file mode 100644
index cd9d0ff..0000000
--- a/src/backend-dummy/README
+++ /dev/null
@@ -1,153 +0,0 @@
-== Welcome to Rails
-
-Rails is a web-application and persistence framework that includes everything
-needed to create database-backed web-applications according to the
-Model-View-Control pattern of separation. This pattern splits the view (also
-called the presentation) into "dumb" templates that are primarily responsible
-for inserting pre-built data in between HTML tags. The model contains the
-"smart" domain objects (such as Account, Product, Person, Post) that holds all
-the business logic and knows how to persist themselves to a database. The
-controller handles the incoming requests (such as Save New Account, Update
-Product, Show Post) by manipulating the model and directing data to the view.
-
-In Rails, the model is handled by what's called an object-relational mapping
-layer entitled Active Record. This layer allows you to present the data from
-database rows as objects and embellish these data objects with business logic
-methods. You can read more about Active Record in
-link:files/vendor/rails/activerecord/README.html.
-
-The controller and view are handled by the Action Pack, which handles both
-layers by its two parts: Action View and Action Controller. These two layers
-are bundled in a single package due to their heavy interdependence. This is
-unlike the relationship between the Active Record and Action Pack that is much
-more separate. Each of these packages can be used independently outside of
-Rails. You can read more about Action Pack in
-link:files/vendor/rails/actionpack/README.html.
-
-
-== Getting started
-
-1. Run the WEBrick servlet: <tt>ruby script/server</tt> (run with --help for options)
- ...or if you have lighttpd installed: <tt>ruby script/lighttpd</tt> (it's faster)
-2. Go to http://localhost:3000/ and get "Congratulations, you've put Ruby on Rails!"
-3. Follow the guidelines on the "Congratulations, you've put Ruby on Rails!" screen
-
-
-== Example for Apache conf
-
-
- ServerName rails
- DocumentRoot /path/application/public/
- ErrorLog /path/application/log/server.log
-
-
- Options ExecCGI FollowSymLinks
- AllowOverride all
- Allow from all
- Order allow,deny
- </Directory>
- </VirtualHost>
-
-NOTE: Be sure that CGIs can be executed in that directory as well. So ExecCGI
-should be on and ".cgi" should respond. All requests from 127.0.0.1 go
-through CGI, so no Apache restart is necessary for changes. All other requests
-go through FCGI (or mod_ruby), which requires a restart to show changes.
-
-
-== Debugging Rails
-
-Have "tail -f" commands running on both the server.log, production.log, and
-test.log files. Rails will automatically display debugging and runtime
-information to these files. Debugging info will also be shown in the browser
-on requests from 127.0.0.1.
-
-
-== Breakpoints
-
-Breakpoint support is available through the script/breakpointer client. This
-means that you can break out of execution at any point in the code, investigate
-and change the model, AND then resume execution! Example:
-
- class WeblogController < ActionController::Base
- def index
- @posts = Post.find_all
- breakpoint "Breaking out from the list"
- end
- end
-
-So the controller will accept the action, run the first line, then present you
-with a IRB prompt in the breakpointer window. Here you can do things like:
-
-Executing breakpoint "Breaking out from the list" at .../webrick_server.rb:16 in 'breakpoint'
-
- >> @posts.inspect
- => "[#nil, \"body\"=>nil, \"id\"=>\"1\"}>,
- #\"Rails you know!\", \"body\"=>\"Only ten..\", \"id\"=>\"2\"}>]"
- >> @posts.first.title = "hello from a breakpoint"
- => "hello from a breakpoint"
-
-...and even better is that you can examine how your runtime objects actually work:
-
- >> f = @posts.first
- => #nil, "body"=>nil, "id"=>"1"}>
- >> f.
- Display all 152 possibilities? (y or n)
-
-Finally, when you're ready to resume execution, you press CTRL-D
-
-
-== Console
-
-You can interact with the domain model by starting the console through script/console.
-Here you'll have all parts of the application configured, just like it is when the
-application is running. You can inspect domain models, change values, and save to the
-database. Starting the script without arguments will launch it in the development environment.
-Passing an argument will specify a different environment, like <tt>console production</tt>.
-
-
-== Description of contents
-
-app
- Holds all the code that's specific to this particular application.
-
-app/controllers
- Holds controllers that should be named like weblog_controller.rb for
- automated URL mapping. All controllers should descend from
- ActionController::Base.
-
-app/models
- Holds models that should be named like post.rb.
- Most models will descend from ActiveRecord::Base.
-
-app/views
- Holds the template files for the view that should be named like
- weblog/index.rhtml for the WeblogController#index action. All views use eRuby
- syntax. This directory can also be used to keep stylesheets, images, and so on
- that can be symlinked to public.
-
-app/helpers
- Holds view helpers that should be named like weblog_helper.rb.
-
-config
- Configuration files for the Rails environment, the routing map, the database, and other dependencies.
-
-components
- Self-contained mini-applications that can bundle together controllers, models, and views.
-
-lib
- Application specific libraries. Basically, any kind of custom code that doesn't
- belong under controllers, models, or helpers. This directory is in the load path.
-
-public
- The directory available for the web server. Contains subdirectories for images, stylesheets,
- and javascripts. Also contains the dispatchers and the default HTML files.
-
-script
- Helper scripts for automation and generation.
-
-test
- Unit and functional tests along with fixtures.
-
-vendor
- External libraries that the application depends on. Also includes the plugins subdirectory.
- This directory is in the load path.
diff --git a/src/backend-dummy/Rakefile b/src/backend-dummy/Rakefile
deleted file mode 100644
index cffd19f..0000000
--- a/src/backend-dummy/Rakefile
+++ /dev/null
@@ -1,10 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/switchtower.rake, and they will automatically be available to Rake.
-
-require(File.join(File.dirname(__FILE__), 'config', 'boot'))
-
-require 'rake'
-require 'rake/testtask'
-require 'rake/rdoctask'
-
-require 'tasks/rails'
\ No newline at end of file
diff --git a/src/backend-dummy/app/controllers/admin_controller.rb b/src/backend-dummy/app/controllers/admin_controller.rb
deleted file mode 100644
index a80355f..0000000
--- a/src/backend-dummy/app/controllers/admin_controller.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-class AdminController < ApplicationController
-
- def list_sources
- @files = []
- read_dir( "data" )
- end
-
- hide_action :read_dir
- def read_dir( dir )
- d = Dir.new( dir )
- d.each { |entry|
- if ( entry == "." || entry == ".." )
- next
- end
- path = dir + "/" + entry
- @files.push path
- if File.directory?( path )
- read_dir( path )
- end
- }
- end
-
- def say_hello
- render( :layout => false )
- end
-
-end
diff --git a/src/backend-dummy/app/controllers/application.rb b/src/backend-dummy/app/controllers/application.rb
deleted file mode 100644
index cac28ec..0000000
--- a/src/backend-dummy/app/controllers/application.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# Filters added to this controller will be run for all controllers in the application.
-# Likewise, all the methods added will be available for all controllers.
-class ApplicationController < ActionController::Base
-
- def render_error( opt = {} )
- @errorcode = 500
-
- if opt[:status]
- @errorcode = opt[:status]
- end
-
- @summary = "Internal Server Error"
- if opt[:message]
- @summary = opt[:message]
- end
-
- if opt[:exception]
- @exception = opt[:exception ]
- end
-
- render :template => 'error', :status => @errorcode
- end
-
-
-end
\ No newline at end of file
diff --git a/src/backend-dummy/app/controllers/platform_controller.rb b/src/backend-dummy/app/controllers/platform_controller.rb
deleted file mode 100644
index 2c07dab..0000000
--- a/src/backend-dummy/app/controllers/platform_controller.rb
+++ /dev/null
@@ -1,47 +0,0 @@
-class PlatformController < ApplicationController
-
- def initialize
- @basedir = DATA_DIRECTORY + "/platform/"
- unless File.exists?( @basedir )
- Dir.mkdir @basedir
- end
- end
-
-
- def index
- read_dir( @basedir )
- end
-
-
- def project
- project = params[ :project ]
- read_dir( @basedir + "/" + project)
- end
-
-
- # state of getting + putting of project platform files unclear
- def repository
-
- end
-
-
- def read_dir (path)
- unless File.exists?(path)
- render_error :message => "File not found", :status => 404
- else
- @entries = Array.new
- @projects = Dir.new(path).reject { |e| e =~ /(^\.)/ }
- @projects.each do |project|
- @platforms = Dir.new(path + "/" + project).reject { |e| e =~ /(^\.)/ }
-
- @platforms.each do |platform|
- @entries << project + "/" + platform
- end
- end
- render( :template => "platform/index" )
- end
- end
-
-
-
-end
diff --git a/src/backend-dummy/app/controllers/result_controller.rb b/src/backend-dummy/app/controllers/result_controller.rb
deleted file mode 100644
index ab0ec4a..0000000
--- a/src/backend-dummy/app/controllers/result_controller.rb
+++ /dev/null
@@ -1,58 +0,0 @@
-class ResultController < ApplicationController
-
- def initialize
- @basedir = DATA_DIRECTORY + "/result/"
- end
-
- def index
- render_text( "Results Index" )
- end
-
- def file
- platform = params[ :platform ]
- project = params[ :project ]
- file = params[ :file ]
-
- if ( !project || !file )
- render_text( "Error in URL to Results File" )
- return
- end
-
- base_path = @basedir + project + "/"
- if ( platform ) then base_path += platform + "/" end
- path = base_path + file
-
- # FIXME Return error message if illegal file name is given
-
- if request.get?
- if not File.exist? path
- if ( platform )
- s = ""
- xml = Builder::XmlMarkup.new( :target => s )
- xml.packageresult do
- xml.status( "code" => "notbuilt" ) do
- xml.summary( "Not built yet." )
- end
- end
- send_data s, :type => "text/xml", :disposition => "inline"
- else
- s = ""
- xml = Builder::XmlMarkup.new( :target => s )
- xml.projectresult do
- xml.status( "code" => "notbuilt" ) do
- xml.summary( "Not built yet." )
- end
- end
- send_data s, :type => "text/xml", :disposition => "inline"
- end
- else
- if path =~ /\.log/
- contenttype = "text/plain"
- else
- contenttype = "text/xml"
- end
- send_file path, :type => contenttype, :disposition => "inline"
- end
- end
- end
-end
diff --git a/src/backend-dummy/app/controllers/rpm_controller.rb b/src/backend-dummy/app/controllers/rpm_controller.rb
deleted file mode 100644
index d8f9655..0000000
--- a/src/backend-dummy/app/controllers/rpm_controller.rb
+++ /dev/null
@@ -1,29 +0,0 @@
-class RpmController < ApplicationController
-
- def initialize
- @basedir = DATA_DIRECTORY + "/rpm/"
- end
-
- def index
- render_text( "RPMs Index" )
- end
-
- def file
- platform = params[ :platform ]
- project = params[ :project ]
- file = params[ :file ]
-
- if ( !platform || !project || !file )
- render_text( "Error in URL to RPM" )
- return
- end
-
- base_path = @basedir + project + "/" + platform + "/"
- path = base_path + file
- # FIXME Return error message if file doesn't exist
- if request.get?
- send_file( path )
- end
- end
-
-end
diff --git a/src/backend-dummy/app/controllers/source_controller.rb b/src/backend-dummy/app/controllers/source_controller.rb
deleted file mode 100644
index 4214ed7..0000000
--- a/src/backend-dummy/app/controllers/source_controller.rb
+++ /dev/null
@@ -1,101 +0,0 @@
-class SourceController < ApplicationController
-
- require "dummy_builder"
-
- require_dependency "dummy_builder"
-
- def initialize
- @basedir = DATA_DIRECTORY + "/source/"
- unless File.exists?( @basedir )
- Dir.mkdir @basedir
- end
- end
-
- # show all available projects
- def index
- @datadir = @basedir
- read_dir(@datadir)
- end
-
- # show all available packages
- def packagelist
- project = params[:project]
- @datadir = @basedir + project
- read_dir(@datadir)
- end
-
- # show all available files for a package
- def filelist
- project = params[:project]
- package = params[:package]
- @datadir = @basedir + project + "/" + package
- read_dir(@datadir)
- end
-
- # show a file of a package
- def file
- project = params[:project]
- package = params[:package]
- file = params[ :file ]
- mimetype = "application/x-download"
- path = @basedir + project + "/" + package
- read_write_file(path, file, mimetype)
- end
-
-
- # show a file of a package
- def package_meta
- project = params[:project]
- package = params[:package]
- mimetype = "text/xml"
- path = @basedir + project + "/" + package
- read_write_file(path, "/_meta", mimetype)
- end
-
-
- # show a file of a package
- def project_meta
- project = params[:project]
- mimetype = "text/xml"
- path = @basedir + project
- read_write_file(path, "/_meta", mimetype)
- end
-
-
- def read_write_file (path, file, mimetype)
- fullpath = path + "/" + file
- if request.get?
- unless File.exists?(fullpath)
- render_error :message => "File not found", :status => 404
- else
- send_file( fullpath, :type => mimetype,
- :disposition => "inline" )
- end
- elsif request.put?
- logger.debug "--> processing put request, path: #{fullpath}"
- directory = File.dirname fullpath
- unless File.exists? directory
- Dir.mkdir directory
- end
- f = File.new( fullpath, "w" )
- f.print request.raw_post
- f.close
- render_text "OK"
- if file == "_meta"
- builder = DummyBuilder.new( project, fullpath )
- builder.build
- end
- end
- end
-
-
- def read_dir (path)
- unless File.exists?(path)
- render_error :message => "File not found", :status => 404
- else
- @entries = Dir.new(path).reject { |e| e =~ /(^\.)|(^_meta)/ }
- render( :template => "source/index" )
- end
- end
-
-end
diff --git a/src/backend-dummy/app/helpers/admin_helper.rb b/src/backend-dummy/app/helpers/admin_helper.rb
deleted file mode 100644
index d5c6d35..0000000
--- a/src/backend-dummy/app/helpers/admin_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module AdminHelper
-end
diff --git a/src/backend-dummy/app/helpers/application_helper.rb b/src/backend-dummy/app/helpers/application_helper.rb
deleted file mode 100644
index 22a7940..0000000
--- a/src/backend-dummy/app/helpers/application_helper.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Methods added to this helper will be available to all templates in the application.
-module ApplicationHelper
-end
diff --git a/src/backend-dummy/app/helpers/platform_helper.rb b/src/backend-dummy/app/helpers/platform_helper.rb
deleted file mode 100644
index 20396a1..0000000
--- a/src/backend-dummy/app/helpers/platform_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module PlatformHelper
-end
diff --git a/src/backend-dummy/app/helpers/result_helper.rb b/src/backend-dummy/app/helpers/result_helper.rb
deleted file mode 100644
index 70e46e6..0000000
--- a/src/backend-dummy/app/helpers/result_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module ResultHelper
-end
diff --git a/src/backend-dummy/app/helpers/rpm_helper.rb b/src/backend-dummy/app/helpers/rpm_helper.rb
deleted file mode 100644
index 36e7daf..0000000
--- a/src/backend-dummy/app/helpers/rpm_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module RpmHelper
-end
diff --git a/src/backend-dummy/app/helpers/source_helper.rb b/src/backend-dummy/app/helpers/source_helper.rb
deleted file mode 100644
index 2f7efc3..0000000
--- a/src/backend-dummy/app/helpers/source_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module SourceHelper
-end
diff --git a/src/backend-dummy/app/views/admin/index.rhtml b/src/backend-dummy/app/views/admin/index.rhtml
deleted file mode 100644
index b47cced..0000000
--- a/src/backend-dummy/app/views/admin/index.rhtml
+++ /dev/null
@@ -1,3 +0,0 @@
-<h2>Overview</h2>
-
-<%= link_to "All Sources", :action => "list_sources" %>
diff --git a/src/backend-dummy/app/views/admin/list_sources.rhtml b/src/backend-dummy/app/views/admin/list_sources.rhtml
deleted file mode 100644
index b870aa5..0000000
--- a/src/backend-dummy/app/views/admin/list_sources.rhtml
+++ /dev/null
@@ -1,5 +0,0 @@
-<h2>All Sources</h2>
-
-<% for file in @files %>
-<%= file %>
-<% end %>
diff --git a/src/backend-dummy/app/views/admin/say_hello.rhtml b/src/backend-dummy/app/views/admin/say_hello.rhtml
deleted file mode 100644
index 8006044..0000000
--- a/src/backend-dummy/app/views/admin/say_hello.rhtml
+++ /dev/null
@@ -1 +0,0 @@
-<em>Hello from Ajax!</em> (Session ID is <%= session.session_id %>)
diff --git a/src/backend-dummy/app/views/error.rxml b/src/backend-dummy/app/views/error.rxml
deleted file mode 100644
index 3656c92..0000000
--- a/src/backend-dummy/app/views/error.rxml
+++ /dev/null
@@ -1,16 +0,0 @@
-xml.instruct!
-xml.error do
- xml.code( @errorcode )
- xml.summary( @summary )
- if( @exception )
- xml.exception do
- xml.type( @exception.class.name )
- xml.message( @exception.message )
- xml.backtrace do
- @exception.backtrace.each do |line|
- xml.line( line )
- end
- end
- end
- end
-end
diff --git a/src/backend-dummy/app/views/layouts/admin.rhtml b/src/backend-dummy/app/views/layouts/admin.rhtml
deleted file mode 100644
index 8a6b4a3..0000000
--- a/src/backend-dummy/app/views/layouts/admin.rhtml
+++ /dev/null
@@ -1,10 +0,0 @@
-<head>
-</head>
-<body>
-<h1>openSUSE Build Service Administration Interface</h1>
-<%= @content_for_layout %>
-
-<hr>
-<%= link_to_unless_current "Admin Main Page", :action => "index" %>
-<br/>
-</body>
diff --git a/src/backend-dummy/app/views/platform/index.rxml b/src/backend-dummy/app/views/platform/index.rxml
deleted file mode 100644
index ab42c12..0000000
--- a/src/backend-dummy/app/views/platform/index.rxml
+++ /dev/null
@@ -1,5 +0,0 @@
-xml.directory do
- @entries.each do |entry|
- xml.entry( :name => entry )
- end
-end
diff --git a/src/backend-dummy/app/views/source/_meta.rhtml b/src/backend-dummy/app/views/source/_meta.rhtml
deleted file mode 100644
index 66c4f95..0000000
--- a/src/backend-dummy/app/views/source/_meta.rhtml
+++ /dev/null
@@ -1,10 +0,0 @@
-<body bgcolor="a00000">
-<h1>Meta</h1>
-Request: <%= request.method %>
-<br/>
-Parameters: <%= debug(params) %>
-<br/>
-Path: <%= request.path %>
-<br/>
-Project: <%= params['project'] %>
-</body>
diff --git a/src/backend-dummy/app/views/source/index.rxml b/src/backend-dummy/app/views/source/index.rxml
deleted file mode 100644
index ab42c12..0000000
--- a/src/backend-dummy/app/views/source/index.rxml
+++ /dev/null
@@ -1,5 +0,0 @@
-xml.directory do
- @entries.each do |entry|
- xml.entry( :name => entry )
- end
-end
diff --git a/src/backend-dummy/config/boot.rb b/src/backend-dummy/config/boot.rb
deleted file mode 100644
index 9fcd50f..0000000
--- a/src/backend-dummy/config/boot.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-# Don't change this file. Configuration is done in config/environment.rb and config/environments/*.rb
-
-unless defined?(RAILS_ROOT)
- root_path = File.join(File.dirname(__FILE__), '..')
- unless RUBY_PLATFORM =~ /mswin32/
- require 'pathname'
- root_path = Pathname.new(root_path).cleanpath(true).to_s
- end
- RAILS_ROOT = root_path
-end
-
-if File.directory?("#{RAILS_ROOT}/vendor/rails")
- require "#{RAILS_ROOT}/vendor/rails/railties/lib/initializer"
-else
- require 'rubygems'
- require 'initializer'
-end
-
-Rails::Initializer.run(:set_load_path)
diff --git a/src/backend-dummy/config/database.yml b/src/backend-dummy/config/database.yml
deleted file mode 100644
index 031995d..0000000
--- a/src/backend-dummy/config/database.yml
+++ /dev/null
@@ -1,85 +0,0 @@
-# MySQL (default setup). Versions 4.1 and 5.0 are recommended.
-#
-# Get the fast C bindings:
-# gem install mysql
-# (on OS X: gem install mysql -- --include=/usr/local/lib)
-# And be sure to use new-style password hashing:
-# http://dev.mysql.com/doc/refman/5.0/en/old-client.html
-development:
- adapter: mysql
- database: backend-dummy_development
- username: root
- password:
- host: 127.0.0.1
-
- # Connect on a TCP socket. If omitted, the adapter will connect on the
- # domain socket given by socket instead.
- #host: localhost
- #port: 3306
-
-# Warning: The database defined as 'test' will be erased and
-# re-generated from your development database when you run 'rake'.
-# Do not set this db to the same as development or production.
-test:
- adapter: mysql
- database: backend-dummy_test
- username: root
- password:
- host: 127.0.0.1
-
-production:
- adapter: mysql
- database: backend-dummy_production
- username: root
- password:
- host: 127.0.0.1
-
-
-# PostgreSQL versions 7.4 - 8.1
-#
-# Get the C bindings:
-# gem install postgres
-# or use the pure-Ruby bindings on Windows:
-# gem install postgres-pr
-postgresql_example:
- adapter: postgresql
- database: dummy-backend_development
- username: dummy-backend
- password:
-
- # Connect on a TCP socket. Omitted by default since the client uses a
- # domain socket that doesn't need configuration.
- #host: remote-database
- #port: 5432
-
- # Schema search path. The server defaults to $user,public
- #schema_search_path: myapp,sharedapp,public
-
- # Character set encoding. The server defaults to sql_ascii.
- #encoding: UTF8
-
- # Minimum log levels, in increasing order:
- # debug5, debug4, debug3, debug2, debug1,
- # info, notice, warning, error, log, fatal, or panic
- # The server defaults to notice.
- #min_messages: warning
-
-
-# SQLite version 2.x
-# gem install sqlite-ruby
-sqlite_example:
- adapter: sqlite
- database: db/development.sqlite2
-
-
-# SQLite version 3.x
-# gem install sqlite3-ruby
-sqlite3_example:
- adapter: sqlite3
- database: db/development.sqlite3
-
-
-# In-memory SQLite 3 database. Useful for tests.
-sqlite3_in_memory_example:
- adapter: sqlite3
- database: ":memory:"
diff --git a/src/backend-dummy/config/deploy.rb b/src/backend-dummy/config/deploy.rb
deleted file mode 100644
index e9f4de6..0000000
--- a/src/backend-dummy/config/deploy.rb
+++ /dev/null
@@ -1,69 +0,0 @@
-
-# =============================================================================
-# REQUIRED VARIABLES
-# =============================================================================
-# You must always specify the application and repository for every recipe. The
-# repository must be the URL of the repository you want this recipe to
-# correspond to. The deploy_to path must be the path on each machine that will
-# form the root of the application path.
-
-set :svnuser, ENV['USER']
-set :application, "backend-dummy"
-set :repository, "--username #{svnuser} https://svn.suse.de/svn/opensuse/trunk/buildservice/src/#{application}"
-
-set :server_port, 3002
-
-# =============================================================================
-# ROLES
-# =============================================================================
-# You can define any number of roles, each of which contains any number of
-# machines. Roles might include such things as :web, or :app, or :db, defining
-# what the purpose of each machine is. You can also specify options that can
-# be used to single out a specific subset of boxes in a particular role, like
-# :primary => true.
-
-role :web, "buildserviceapi.suse.de"
-role :app, "buildserviceapi.suse.de"
-role :db, "buildserviceapi.suse.de"
-#role :web, "www01.example.com", "www02.example.com"
-#role :app, "app01.example.com", "app02.example.com", "app03.example.com"
-#role :db, "db01.example.com", :primary => true
-#role :db, "db02.example.com", "db03.example.com"
-
-# =============================================================================
-# OPTIONAL VARIABLES
-# =============================================================================
-# set :deploy_to, "/path/to/app" # defaults to "/u/apps/#{application}"
-set :deploy_to, "/srv/www/opensuse/#{application}"
-set :user, "opensuse"
-# set :user, "flippy" # defaults to the currently logged in user
-# set :scm, :darcs # defaults to :subversion
-# set :svn, "/path/to/svn" # defaults to searching the PATH
-# set :darcs, "/path/to/darcs" # defaults to searching the PATH
-# set :cvs, "/path/to/cvs" # defaults to searching the PATH
-# set :gateway, "gate.host.com" # default to no gateway
-
-# =============================================================================
-# SSH OPTIONS
-# =============================================================================
-# ssh_options[:keys] = %w(/path/to/my/key /path/to/another/key)
-# ssh_options[:port] = 25
-
-# =============================================================================
-# TASKS
-# =============================================================================
-# Define tasks that run on all (or only some) of the machines. You can specify
-# a role (or set of roles) that each task should be executed on. You can also
-# narrow the set of servers to a subset of a role by specifying options, which
-# must match the options given for the servers to select (like :primary => true)
-
-# use common opensuse tasks
-load '../common/lib/switchtower/opensuse.rb'
-
-task :after_update_code, :roles => :web do
- run <<-CMD
- rm -rf #{current_release}/data &&
- echo "copying data from #{previous_release} to #{release_path}" &&
- cp -rf #{previous_release}/data #{release_path}
- CMD
-end
diff --git a/src/backend-dummy/config/environment.rb b/src/backend-dummy/config/environment.rb
deleted file mode 100644
index 4911568..0000000
--- a/src/backend-dummy/config/environment.rb
+++ /dev/null
@@ -1,55 +0,0 @@
-# Be sure to restart your web server when you modify this file.
-
-# Uncomment below to force Rails into production mode when
-# you don't control web/app server and can't set it the proper way
-# ENV['RAILS_ENV'] ||= 'production'
-
-# Bootstrap the Rails environment, frameworks, and default configuration
-require File.join(File.dirname(__FILE__), 'boot')
-
-Rails::Initializer.run do |config|
- # Settings in config/environments/* take precedence those specified here
-
- # Skip frameworks you're not going to use
- # config.frameworks -= [ :action_web_service, :action_mailer ]
-
- # Add additional load paths for your own custom dirs
- # config.load_paths += %W( #{RAILS_ROOT}/extras )
-
- # Force all environments to use the same logger level
- # (by default production uses :info, the others :debug)
- # config.log_level = :debug
-
- # Use the database for sessions instead of the file system
- # (create the session table with 'rake create_sessions_table')
- # config.action_controller.session_store = :active_record_store
-
- # Enable page/fragment caching by setting a file-based store
- # (remember to create the caching directory and make it readable to the application)
- # config.action_controller.fragment_cache_store = :file_store, "#{RAILS_ROOT}/cache"
-
- # Activate observers that should always be running
- # config.active_record.observers = :cacher, :garbage_collector
-
- # Make Active Record use UTC-base instead of local time
- # config.active_record.default_timezone = :utc
-
- # Use Active Record's schema dumper instead of SQL when creating the test database
- # (enables use of different database adapters for development and test environments)
- # config.active_record.schema_format = :ruby
-
- # See Rails::Configuration for more options
-end
-
-# Add new inflection rules using the following format
-# (all these examples are active by default):
-# Inflector.inflections do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# Include your application configuration below
-
-BREAKPOINT_SERVER_PORT=42533
diff --git a/src/backend-dummy/config/environments/development.rb b/src/backend-dummy/config/environments/development.rb
deleted file mode 100644
index aa618a5..0000000
--- a/src/backend-dummy/config/environments/development.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-# Settings specified here will take precedence over those in config/environment.rb
-
-# In the development environment your application's code is reloaded on
-# every request. This slows down response time but is perfect for development
-# since you don't have to restart the webserver when you make code changes.
-config.cache_classes = false
-
-# Log error messages when you accidentally call methods on nil.
-config.whiny_nils = true
-
-# Enable the breakpoint server that script/breakpointer connects to
-config.breakpoint_server = true
-
-# Show full error reports and disable caching
-config.action_controller.consider_all_requests_local = true
-config.action_controller.perform_caching = false
-
-# Don't care if the mailer can't send
-config.action_mailer.raise_delivery_errors = false
-
-DATA_DIRECTORY = "#{RAILS_ROOT}/data"
diff --git a/src/backend-dummy/config/environments/production.rb b/src/backend-dummy/config/environments/production.rb
deleted file mode 100644
index cb3a85c..0000000
--- a/src/backend-dummy/config/environments/production.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-# Settings specified here will take precedence over those in config/environment.rb
-
-# The production environment is meant for finished, "live" apps.
-# Code is not reloaded between requests
-config.cache_classes = true
-
-# Use a different logger for distributed setups
-# config.logger = SyslogLogger.new
-config.log_level = :debug
-
-# Full error reports are disabled and caching is turned on
-config.action_controller.consider_all_requests_local = false
-config.action_controller.perform_caching = true
-
-# Enable serving of images, stylesheets, and javascripts from an asset server
-# config.action_controller.asset_host = "http://assets.example.com"
-
-# Disable delivery errors if you bad email addresses should just be ignored
-# config.action_mailer.raise_delivery_errors = false
-
-DATA_DIRECTORY = "#{RAILS_ROOT}/data"
diff --git a/src/backend-dummy/config/environments/test.rb b/src/backend-dummy/config/environments/test.rb
deleted file mode 100644
index a960769..0000000
--- a/src/backend-dummy/config/environments/test.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-# Settings specified here will take precedence over those in config/environment.rb
-
-# The test environment is used exclusively to run your application's
-# test suite. You never need to work with it otherwise. Remember that
-# your test database is "scratch space" for the test suite and is wiped
-# and recreated between test runs. Don't rely on the data there!
-config.cache_classes = true
-
-# Log error messages when you accidentally call methods on nil.
-config.whiny_nils = true
-
-# Show full error reports and disable caching
-config.action_controller.consider_all_requests_local = true
-config.action_controller.perform_caching = false
-
-# Tell ActionMailer not to deliver emails to the real world.
-# The :test delivery method accumulates sent emails in the
-# ActionMailer::Base.deliveries array.
-config.action_mailer.delivery_method = :test
-
-DATA_DIRECTORY = "#{RAILS_ROOT}/data_test"
diff --git a/src/backend-dummy/config/routes.rb b/src/backend-dummy/config/routes.rb
deleted file mode 100644
index 0a46ea0..0000000
--- a/src/backend-dummy/config/routes.rb
+++ /dev/null
@@ -1,50 +0,0 @@
-ActionController::Routing::Routes.draw do |map|
- # Add your own custom routes here.
- # The priority is based upon order of creation: first created -> highest priority.
-
- # Here's a sample route:
- # map.connect 'products/:id', :controller => 'catalog', :action => 'view'
- # Keep in mind you can assign values other than :controller and :action
-
- # You can have the root of your site routed by hooking up ''
- # -- just remember to delete public/index.html.
- # map.connect '', :controller => "welcome"
-
- # Allow downloading Web Service WSDL as a file with an extension
- # instead of a file named 'wsdl'
-
-
- # setting routes for source controller
- map.connect 'source/:project/_meta', :controller => 'source',
- :action => 'project_meta'
- map.connect 'source/:project/:package/_meta', :controller => 'source',
- :action => 'package_meta'
- map.connect 'source/:project/:package/:file', :controller => "source",
- :action => 'file'
- map.connect 'source/:project/:package', :controller => "source",
- :action => 'filelist'
- map.connect 'source/:project', :controller => "source", :action => 'packagelist'
- map.connect 'source', :controller => "source"
-
-
- # setting routes for platform controller
- map.connect 'platform/:project/:repository', :controller => 'platform',
- :action => 'repository'
- map.connect 'platform/:project', :controller => 'platform',
- :action => 'project'
- map.connect 'platform', :controller => 'platform'
-
-
- map.connect 'admin/:action', :controller => 'admin'
-
- map.connect 'rpm/:project/:platform/:file', :controller => 'rpm',
- :action => 'file'
-
- map.connect 'result/:project/:platform/:file', :controller => 'result',
- :action => 'file'
- map.connect 'result/:project/:file', :controller => 'result',
- :action => 'file'
-
- # Install the default route as the lowest priority.
- # map.connect ':controller/:action/:id'
-end
diff --git a/src/backend-dummy/data_test/platform/SUSE-10.0/superkde b/src/backend-dummy/data_test/platform/SUSE-10.0/superkde
deleted file mode 100644
index ff92c0c..0000000
--- a/src/backend-dummy/data_test/platform/SUSE-10.0/superkde
+++ /dev/null
@@ -1,37 +0,0 @@
-<platform name="superkde5">
-<title>SuperKDE</title>
-−
- <description>
-
- SuperKDE is a testing area for heavily tuned KDE applications.
-
-</description>
-<person role="maintainer" userid="ernie"/>
-<person role="developer" userid="bert"/>
-<arch name="i386"/>
-<arch name="ppc"/>
-−
- <projectpath>
-−
- <projectpathelement>
-<project name="khtml_next_generation"/>
-</projectpathelement>
-−
- <projectpathelement>
-<project name="KDE-3.99"/>
-</projectpathelement>
-−
- <projectpathelement>
-<project name="kernel_on_steroids"/>
-</projectpathelement>
-−
- <projectpathelement>
-<project name="suselinux-10.0"/>
-</projectpathelement>
-</projectpath>
-−
- <compatible>
-<platform name="megakde"/>
-<platform name="minikde"/>
-</compatible>
-</platform>
\ No newline at end of file
diff --git a/src/backend-dummy/data_test/platform/SUSE-10.0/suselinux-10.0 b/src/backend-dummy/data_test/platform/SUSE-10.0/suselinux-10.0
deleted file mode 100644
index 2b5bc1b..0000000
--- a/src/backend-dummy/data_test/platform/SUSE-10.0/suselinux-10.0
+++ /dev/null
@@ -1,37 +0,0 @@
-<platform name="superkde4">
-<title>SuperKDE</title>
-−
- <description>
-
- SuperKDE is a testing area for heavily tuned KDE applications.
-
-</description>
-<person role="maintainer" userid="ernie"/>
-<person role="developer" userid="bert"/>
-<arch name="i386"/>
-<arch name="ppc"/>
-−
- <projectpath>
-−
- <projectpathelement>
-<project name="khtml_next_generation"/>
-</projectpathelement>
-−
- <projectpathelement>
-<project name="KDE-3.99"/>
-</projectpathelement>
-−
- <projectpathelement>
-<project name="kernel_on_steroids"/>
-</projectpathelement>
-−
- <projectpathelement>
-<project name="suselinux-10.0"/>
-</projectpathelement>
-</projectpath>
-−
- <compatible>
-<platform name="megakde"/>
-<platform name="minikde"/>
-</compatible>
-</platform>
\ No newline at end of file
diff --git a/src/backend-dummy/data_test/platform/SUSE10.1/Debian-Etch b/src/backend-dummy/data_test/platform/SUSE10.1/Debian-Etch
deleted file mode 100644
index 9fcf04f..0000000
--- a/src/backend-dummy/data_test/platform/SUSE10.1/Debian-Etch
+++ /dev/null
@@ -1,37 +0,0 @@
-<platform name="superkde3">
-<title>SuperKDE</title>
-−
- <description>
-
- SuperKDE is a testing area for heavily tuned KDE applications.
-
-</description>
-<person role="maintainer" userid="ernie"/>
-<person role="developer" userid="bert"/>
-<arch name="i386"/>
-<arch name="ppc"/>
-−
- <projectpath>
-−
- <projectpathelement>
-<project name="khtml_next_generation"/>
-</projectpathelement>
-−
- <projectpathelement>
-<project name="KDE-3.99"/>
-</projectpathelement>
-−
- <projectpathelement>
-<project name="kernel_on_steroids"/>
-</projectpathelement>
-−
- <projectpathelement>
-<project name="suselinux-10.0"/>
-</projectpathelement>
-</projectpath>
-−
- <compatible>
-<platform name="megakde"/>
-<platform name="minikde"/>
-</compatible>
-</platform>
\ No newline at end of file
diff --git a/src/backend-dummy/data_test/platform/SUSE10.1/superkde b/src/backend-dummy/data_test/platform/SUSE10.1/superkde
deleted file mode 100644
index 5e6d70f..0000000
--- a/src/backend-dummy/data_test/platform/SUSE10.1/superkde
+++ /dev/null
@@ -1,37 +0,0 @@
-<platform name="superkde2">
-<title>SuperKDE</title>
-−
- <description>
-
- SuperKDE is a testing area for heavily tuned KDE applications.
-
-</description>
-<person role="maintainer" userid="ernie"/>
-<person role="developer" userid="bert"/>
-<arch name="i386"/>
-<arch name="ppc"/>
-−
- <projectpath>
-−
- <projectpathelement>
-<project name="khtml_next_generation"/>
-</projectpathelement>
-−
- <projectpathelement>
-<project name="KDE-3.99"/>
-</projectpathelement>
-−
- <projectpathelement>
-<project name="kernel_on_steroids"/>
-</projectpathelement>
-−
- <projectpathelement>
-<project name="suselinux-10.0"/>
-</projectpathelement>
-</projectpath>
-−
- <compatible>
-<platform name="megakde"/>
-<platform name="minikde"/>
-</compatible>
-</platform>
\ No newline at end of file
diff --git a/src/backend-dummy/data_test/platform/SUSE10.1/suselinux-10.0 b/src/backend-dummy/data_test/platform/SUSE10.1/suselinux-10.0
deleted file mode 100644
index 0d8070f..0000000
--- a/src/backend-dummy/data_test/platform/SUSE10.1/suselinux-10.0
+++ /dev/null
@@ -1,37 +0,0 @@
-<platform name="superkde">
-<title>SuperKDE</title>
-−
- <description>
-
- SuperKDE is a testing area for heavily tuned KDE applications.
-
-</description>
-<person role="maintainer" userid="ernie"/>
-<person role="developer" userid="bert"/>
-<arch name="i386"/>
-<arch name="ppc"/>
-−
- <projectpath>
-−
- <projectpathelement>
-<project name="khtml_next_generation"/>
-</projectpathelement>
-−
- <projectpathelement>
-<project name="KDE-3.99"/>
-</projectpathelement>
-−
- <projectpathelement>
-<project name="kernel_on_steroids"/>
-</projectpathelement>
-−
- <projectpathelement>
-<project name="suselinux-10.0"/>
-</projectpathelement>
-</projectpath>
-−
- <compatible>
-<platform name="megakde"/>
-<platform name="minikde"/>
-</compatible>
-</platform>
diff --git a/src/backend-dummy/data_test/source/kde4/_meta b/src/backend-dummy/data_test/source/kde4/_meta
deleted file mode 100644
index 700e0a3..0000000
--- a/src/backend-dummy/data_test/source/kde4/_meta
+++ /dev/null
@@ -1,21 +0,0 @@
-<project name='kde4'>
- <title>KDE 4</title>
- <description>Description</description>
- <person role='maintainer' userid='fred'/>
- <package name='kdelibs' revision='1'/>
- <package name='kdebase' revision='1'/>
- <repository name="kde4:factory">
- <path project="kde4" repository="factory"/>
- <arch>i386</arch>
- <arch>x86_64</arch>
- </repository>
- <repository name="suselinux-9.3">
- <path project="suselinux-9.3" repository="standard"/>
- <arch>i386</arch>
- </repository>
- <repository name="gnomespecial">
- <path project="gnome3" repository="suselinux-9.3"/>
- <path project="suselinux-9.3" repository="standard"/>
- <arch>i386</arch>
- </repository>
-</project>
diff --git a/src/backend-dummy/data_test/source/kde4/kdebase/_meta b/src/backend-dummy/data_test/source/kde4/kdebase/_meta
deleted file mode 100644
index b432316..0000000
--- a/src/backend-dummy/data_test/source/kde4/kdebase/_meta
+++ /dev/null
@@ -1,5 +0,0 @@
-<package name='kdebase'>
- <title>xxx</title>
- <description>xxx</description>
-
- </package>
\ No newline at end of file
diff --git a/src/backend-dummy/data_test/source/kde4/kdelibs/_meta b/src/backend-dummy/data_test/source/kde4/kdelibs/_meta
deleted file mode 100644
index c4e410c..0000000
--- a/src/backend-dummy/data_test/source/kde4/kdelibs/_meta
+++ /dev/null
@@ -1,24 +0,0 @@
-<package name="kdelibs">
- <title>KDE libraries</title>
- <description>Base libraries of the KDE framework</description>
- <person role="maintainer" userid="fredlibs"/>
- <group>Desktop/Libraries</group>
- <file>
- <filename>kdelibs-1.2.3</filename>
- <filetype>source</filetype>
- </file>
- <file>
- <filename>kdelibs-1.2.3</filename>
- <revision>2</revision>
- <filetype>source</filetype>
- </file>
- <file>
- <filename>kdelibs-1.2.3</filename>
- <revision>3</revision>
- <filetype>source</filetype>
- </file>
- <file>
- <filename>kdelibs.spec</filename>
- <filetype>spec</filetype>
- </file>
-</package>
\ No newline at end of file
diff --git a/src/backend-dummy/data_test/source/kde4/kdelibs/kdelibs.tar.gz b/src/backend-dummy/data_test/source/kde4/kdelibs/kdelibs.tar.gz
deleted file mode 100644
index 4cf5aa5..0000000
--- a/src/backend-dummy/data_test/source/kde4/kdelibs/kdelibs.tar.gz
+++ /dev/null
@@ -1 +0,0 @@
-hallo
diff --git a/src/backend-dummy/data_test/source/kde4/kdelibs/make_it_cool.patch b/src/backend-dummy/data_test/source/kde4/kdelibs/make_it_cool.patch
deleted file mode 100644
index 6236746..0000000
--- a/src/backend-dummy/data_test/source/kde4/kdelibs/make_it_cool.patch
+++ /dev/null
@@ -1 +0,0 @@
-huhu
diff --git a/src/backend-dummy/data_test/source/kde4/kdelibs/my_patch.diff b/src/backend-dummy/data_test/source/kde4/kdelibs/my_patch.diff
deleted file mode 100644
index ebf2409..0000000
--- a/src/backend-dummy/data_test/source/kde4/kdelibs/my_patch.diff
+++ /dev/null
@@ -1 +0,0 @@
-argl
diff --git a/src/backend-dummy/db/development_structure.sql b/src/backend-dummy/db/development_structure.sql
deleted file mode 100644
index e69de29..0000000
diff --git a/src/backend-dummy/doc/README_FOR_APP b/src/backend-dummy/doc/README_FOR_APP
deleted file mode 100644
index ac6c149..0000000
--- a/src/backend-dummy/doc/README_FOR_APP
+++ /dev/null
@@ -1,2 +0,0 @@
-Use this README file to introduce your application and point to useful places in the API for learning more.
-Run "rake appdoc" to generate API documentation for your models and controllers.
\ No newline at end of file
diff --git a/src/backend-dummy/lib/dummy_builder.rb b/src/backend-dummy/lib/dummy_builder.rb
deleted file mode 100644
index a016886..0000000
--- a/src/backend-dummy/lib/dummy_builder.rb
+++ /dev/null
@@ -1,163 +0,0 @@
-require 'date'
-
-class DummyBuilder
-
- def initialize( project, project_meta_file )
- @project = project
- @project_meta_file = project_meta_file
- end
-
- def logger
- return RAILS_DEFAULT_LOGGER
- end
-
- def build
- logger.debug "BUILD: #{@project_meta_file}"
-
- rpm_path = DATA_DIRECTORY + "/rpm/"
- unless File.exists? rpm_path
- Dir.mkdir rpm_path
- end
-
- results_path = DATA_DIRECTORY + "/result/"
- unless File.exists? results_path
- Dir.mkdir results_path
- end
-
- project_path = @project + "/"
-
- unless File.exists? rpm_path + project_path
- Dir.mkdir rpm_path + project_path
- end
- unless File.exists? results_path + project_path
- Dir.mkdir results_path + project_path
- end
-
- @project_xml = REXML::Document.new( File.open( @project_meta_file ) )
- @project_xml.elements.each( "/project/target" ) do |target|
- @target_name = target.elements['platform'].attribute( "name" ).to_s
- @target = target
-
- logger.debug @target_name
-
- target_path = project_path + @target_name + "/"
-
- unless File.exists? rpm_path + target_path
- Dir.mkdir rpm_path + target_path
- end
- unless File.exists? results_path + target_path
- Dir.mkdir results_path + target_path
- end
-
- @project_xml.elements.each( "/project/package" ) do |package|
- @package_name = package.attribute( "name" ).to_s
-
- package_path = target_path + @package_name
- package_file_path = package_path + ".rpm"
- f = File.new( rpm_path + package_file_path, "w" )
- f.print "Built triggered by #{@project_meta_file}"
- f.close
-
- results_file_path = package_path + ".result"
- write_package_result( results_path + results_file_path )
-
- log_file_path = package_path + ".log"
- f = File.new( results_path + log_file_path, "w" )
- f.print Time.now
- f.close
-
- end
-
-=begin
- targetresults_file_path = target_path + "result"
- f = File.new( results_path + targetresults_file_path, "w" )
- builder = Builder::XmlMarkup.new
- out = builder.result do
- builder.summary( "All RPMs up to date.")
- end
- f.print out
- f.close
-=end
-
- end
-
- projectresults_file_path = project_path + "result"
- write_project_result( results_path + projectresults_file_path )
-
- end
-
- private
-
- #generates randomized project result xml and stores to passed file
- def write_project_result( path )
- logger.debug "writing project result file: #{path}"
- stat_codes = %w{built failed partiallyfailed}
- stat_summaries = {
- 'built' => 'All packages built.',
- 'failed' => 'All packages failed.',
- 'partiallyfailed' => 'Some packages failed.'
- }
-
- File.open( path, 'w' ) do |f|
- builder = Builder::XmlMarkup.new
- out = builder.projectresult('project' => @project) do
- builder.date( Time.now.strftime("%Y%m%dT%H%M%SZ") )
- builder.status('code' => 'building') do
- builder.summary('Build in progress')
- %w{new scheduled built failed stopped}.each do |state|
- builder.packagecount( rand(9), 'state' => state )
- end
- end
- @project_xml.root.elements.each('target') do |target|
- builder.platformresult('platform' => target.elements['platform'].attributes['name']) do
- stat_code = stat_codes[rand(stat_codes.length)]
- stat_summary = stat_summaries[stat_code]
-
- builder.status('code'=>stat_code) do
- builder.summary( stat_summary )
- end
- target.elements.each('arch') do |arch|
- builder.archresult('arch' => arch.text) do
- builder.status('code' => stat_code) do
- builder.summary( stat_summary )
- end
- end
- end
- end
- end
- end
- #logger.debug "out: #{out}"
- f.print out
- end
- end
-
- #generates randomized package result xml and stores to passed file
- def write_package_result( path )
- logger.debug "writing package result xml file: #{path}"
- package_xml = REXML::Document.new( File.open("#{DATA_DIRECTORY}/source/#{@project}/#{@package}/_meta") )
- f = File.open( path, "w" ) do |f|
- builder = Builder::XmlMarkup.new
- package_attribs = {
- 'package' => @package_name,
- 'project' => @project,
- 'platform' => @target_name
- }
- out = builder.packageresult( package_attribs ) do
- builder.date( Time.now.strftime("%Y%m%dT%H%M%SZ") )
- builder.status('code' => 'building') do
- builder.summary('Build in progress.')
- end
- logger.debug "target: #{@target.inspect}"
- @target.elements.each('arch') do |arch|
- builder.archresult('arch' => arch.text) do
- builder.status('code' => 'building') do
- builder.summary('Build in progress.')
- end
- end
- end
- end
- f.print out
- end
- end
-
-end
diff --git a/src/backend-dummy/lib/tasks/switchtower.rake b/src/backend-dummy/lib/tasks/switchtower.rake
deleted file mode 100644
index 5797669..0000000
--- a/src/backend-dummy/lib/tasks/switchtower.rake
+++ /dev/null
@@ -1,48 +0,0 @@
-# =============================================================================
-# A set of rake tasks for invoking the SwitchTower automation utility.
-# =============================================================================
-
-# Invoke the given actions via SwitchTower
-def switchtower_invoke(*actions)
- begin
- require 'rubygems'
- rescue LoadError
- # no rubygems to load, so we fail silently
- end
-
- require 'switchtower/cli'
-
- args = %w[-vvvvv -r config/deploy]
- args.concat(actions.map { |act| ["-a", act.to_s] }.flatten)
- SwitchTower::CLI.new(args).execute!
-end
-
-desc "Push the latest revision into production"
-task :deploy do
- switchtower_invoke :deploy
-end
-
-desc "Rollback to the release before the current release in production"
-task :rollback do
- switchtower_invoke :rollback
-end
-
-desc "Describe the differences between HEAD and the last production release"
-task :diff_from_last_deploy do
- switchtower_invoke :diff_from_last_deploy
-end
-
-desc "Enumerate all available deployment tasks"
-task :show_deploy_tasks do
- switchtower_invoke :show_tasks
-end
-
-desc "Execute a specific action using switchtower"
-task :remote_exec do
- unless ENV['ACTION']
- raise "Please specify an action (or comma separated list of actions) via the ACTION environment variable"
- end
-
- actions = ENV['ACTION'].split(",")
- switchtower_invoke(*actions)
-end
diff --git a/src/backend-dummy/public/.htaccess b/src/backend-dummy/public/.htaccess
deleted file mode 100644
index d3c9983..0000000
--- a/src/backend-dummy/public/.htaccess
+++ /dev/null
@@ -1,40 +0,0 @@
-# General Apache options
-AddHandler fastcgi-script .fcgi
-AddHandler cgi-script .cgi
-Options +FollowSymLinks +ExecCGI
-
-# If you don't want Rails to look in certain directories,
-# use the following rewrite rules so that Apache won't rewrite certain requests
-#
-# Example:
-# RewriteCond %{REQUEST_URI} ^/notrails.*
-# RewriteRule .* - [L]
-
-# Redirect all requests not available on the filesystem to Rails
-# By default the cgi dispatcher is used which is very slow
-#
-# For better performance replace the dispatcher with the fastcgi one
-#
-# Example:
-# RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
-RewriteEngine On
-
-# If your Rails application is accessed via an Alias directive,
-# then you MUST also set the RewriteBase in this htaccess file.
-#
-# Example:
-# Alias /myrailsapp /path/to/myrailsapp/public
-# RewriteBase /myrailsapp
-
-RewriteRule ^$ index.html [QSA]
-RewriteRule ^([^.]+)$ $1.html [QSA]
-RewriteCond %{REQUEST_FILENAME} !-f
-RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
-
-# In case Rails experiences terminal errors
-# Instead of displaying this message you can supply a file here which will be rendered instead
-#
-# Example:
-# ErrorDocument 500 /500.html
-
-ErrorDocument 500 "<h2>Application error</h2>Rails application failed to start properly"
\ No newline at end of file
diff --git a/src/backend-dummy/public/404.html b/src/backend-dummy/public/404.html
deleted file mode 100644
index 0e18456..0000000
--- a/src/backend-dummy/public/404.html
+++ /dev/null
@@ -1,8 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
- "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<body>
- <h1>File not found</h1>
- <p>Change this error message for pages not found in public/404.html</p>
-</body>
-</html>
\ No newline at end of file
diff --git a/src/backend-dummy/public/500.html b/src/backend-dummy/public/500.html
deleted file mode 100644
index a1001a0..0000000
--- a/src/backend-dummy/public/500.html
+++ /dev/null
@@ -1,8 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
- "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<body>
- <h1>Application error (Apache)</h1>
- <p>Change this error message for exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code) in public/500.html</p>
-</body>
-</html>
\ No newline at end of file
diff --git a/src/backend-dummy/public/dispatch.cgi b/src/backend-dummy/public/dispatch.cgi
deleted file mode 100755
index 9730473..0000000
--- a/src/backend-dummy/public/dispatch.cgi
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/usr/bin/ruby
-
-require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)
-
-# If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like:
-# "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impaired
-require "dispatcher"
-
-ADDITIONAL_LOAD_PATHS.reverse.each { |dir| $:.unshift(dir) if File.directory?(dir) } if defined?(Apache::RubyRun)
-Dispatcher.dispatch
\ No newline at end of file
diff --git a/src/backend-dummy/public/dispatch.fcgi b/src/backend-dummy/public/dispatch.fcgi
deleted file mode 100755
index f934b30..0000000
--- a/src/backend-dummy/public/dispatch.fcgi
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/usr/bin/ruby
-#
-# You may specify the path to the FastCGI crash log (a log of unhandled
-# exceptions which forced the FastCGI instance to exit, great for debugging)
-# and the number of requests to process before running garbage collection.
-#
-# By default, the FastCGI crash log is RAILS_ROOT/log/fastcgi.crash.log
-# and the GC period is nil (turned off). A reasonable number of requests
-# could range from 10-100 depending on the memory footprint of your app.
-#
-# Example:
-# # Default log path, normal GC behavior.
-# RailsFCGIHandler.process!
-#
-# # Default log path, 50 requests between GC.
-# RailsFCGIHandler.process! nil, 50
-#
-# # Custom log path, normal GC behavior.
-# RailsFCGIHandler.process! '/var/log/myapp_fcgi_crash.log'
-#
-require File.dirname(__FILE__) + "/../config/environment"
-require 'fcgi_handler'
-
-RailsFCGIHandler.process!
diff --git a/src/backend-dummy/public/dispatch.rb b/src/backend-dummy/public/dispatch.rb
deleted file mode 100755
index 9730473..0000000
--- a/src/backend-dummy/public/dispatch.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/usr/bin/ruby
-
-require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)
-
-# If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like:
-# "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impaired
-require "dispatcher"
-
-ADDITIONAL_LOAD_PATHS.reverse.each { |dir| $:.unshift(dir) if File.directory?(dir) } if defined?(Apache::RubyRun)
-Dispatcher.dispatch
\ No newline at end of file
diff --git a/src/backend-dummy/public/favicon.ico b/src/backend-dummy/public/favicon.ico
deleted file mode 100644
index e69de29..0000000
diff --git a/src/backend-dummy/public/images/rails.png b/src/backend-dummy/public/images/rails.png
deleted file mode 100644
index b8441f182e06974083cf08f0acaf0e2fd612bd40..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 1787
zcmVCLdthj)A!BBmWB&y|X`RY;f`BJ<_ju%@N||NoLFD~mQl$aHGjq>;5dG_D{h(5s}0
z6&=HANU$m__3PuddU(lvR_xWj`}Oho@9EyQt-n!E*P(KhM@X_VFV2l&>deNZJT%y8iwA
zoG>u1B`p2=_u9k4v1Mud`1+qvOZoHg#bITJ9U`qBAek?40RR96!AV3xRCwBy*IQ$v
zN(=yC9IhRft9V64L`77pqF_Cx@c;kSNoGK)`?Ps*cP(EtGlYZ{D5cxspMQvjKH)Oh6X(pa|J{
zGy1J$Ej7=Z{uvmMfRRsE;v`p;45B~6*ep#hM^ji
zl$+7qoWq~}ewG=61uFw0He{tJurMU&4Iv?=B^eR(wAHk!miA)O7p_+YR>lbmU3rmn
ze?+ze(+sEd6M3|b0|Gn
z+5t#z6*ffSVc6DjpmB2?AAR@@vB!wCK?9Yl;33;Q7^%(401QW|k=R8b!OwtLJPjjm
zO9Ia;qCq)rOq!1Ia*6#A%#xb}yDx1P*pWla>9j$bnMn3CBqe4`TRll_Iy29kmG?4fbKuF=XqU|?3b@B
zA`&a?KIgZ|KJx5eND_c3Em=WZn@xW8hRJ^G&sY^b(FW?WC9W_sb;+lAPdLTdBaKIK;-f}*h4|1aTjw7qX_k~e{TWO7jqcekERN;Jyh%67)q4rKpL*CEYL;|#GY{B@5
zi52XoC?xsoorJKxsliugF#z38MJqrYCWV(t<=G&f;^Me13&AiI9{3jUZ$
zFM`*L(9qc^VMxkz1oaDH!1pcD^IXp>Z0Jb=_qs?Vsrs{mp<^{$N!EC9o+`CO-(o}E
zJ`y{*;9s|wr22-QoJ87y^~;)Q@b%P4UgSSsx>2$o@Vd{%Pk0@4qZ^fhB(vt$c1TG>
z*{Ad;foraENbld`=MCNm4?9kvlgK~&J>ialpJ7nua
zx0oRzwG5;}Qne)Fg(N3kf?JVmB;}y&5(0+~r*aL$0Zof8fe!AtHWH>A^1Y)@G@GsA
zup`R{Qg?{+MaxTq#2n{6w|)c&yaJ7{U4ngAH5v6I)*;@rEBE*ehIPBwKBQU)YKE8F0lR!Sm?sE4Xk-sj&E$|A-9n
dP56HS1^^A-61FoN)nxzx002ovPDHLkV1kw_Sd9Px
diff --git a/src/backend-dummy/public/index.html b/src/backend-dummy/public/index.html
deleted file mode 100644
index f789df4..0000000
--- a/src/backend-dummy/public/index.html
+++ /dev/null
@@ -1,277 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html>
- <head>
- <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
- <title>Ruby on Rails: Welcome aboard</title>
- <style type="text/css" media="screen">
- body {
- margin: 0;
- margin-bottom: 25px;
- padding: 0;
- background-color: #f0f0f0;
- font-family: "Lucida Grande", "Bitstream Vera Sans", "Verdana";
- font-size: 13px;
- color: #333;
- }
-
- h1 {
- font-size: 28px;
- color: #000;
- }
-
- a {color: #03c}
- a:hover {
- background-color: #03c;
- color: white;
- text-decoration: none;
- }
-
-
- #page {
- background-color: #f0f0f0;
- width: 750px;
- margin: 0;
- margin-left: auto;
- margin-right: auto;
- }
-
- #content {
- float: left;
- background-color: white;
- border: 3px solid #aaa;
- border-top: none;
- padding: 25px;
- width: 500px;
- }
-
- #sidebar {
- float: right;
- width: 175px;
- }
-
- #footer {
- clear: both;
- }
-
-
- #header, #about, #getting-started {
- padding-left: 75px;
- padding-right: 30px;
- }
-
-
- #header {
- background-image: url("images/rails.png");
- background-repeat: no-repeat;
- background-position: top left;
- height: 64px;
- }
- #header h1, #header h2 {margin: 0}
- #header h2 {
- color: #888;
- font-weight: normal;
- font-size: 16px;
- }
-
-
- #about h3 {
- margin: 0;
- margin-bottom: 10px;
- font-size: 14px;
- }
-
- #about-content {
- background-color: #ffd;
- border: 1px solid #fc0;
- margin-left: -11px;
- }
- #about-content table {
- margin-top: 10px;
- margin-bottom: 10px;
- font-size: 11px;
- border-collapse: collapse;
- }
- #about-content td {
- padding: 10px;
- padding-top: 3px;
- padding-bottom: 3px;
- }
- #about-content td.name {color: #555}
- #about-content td.value {color: #000}
-
- #about-content.failure {
- background-color: #fcc;
- border: 1px solid #f00;
- }
- #about-content.failure p {
- margin: 0;
- padding: 10px;
- }
-
-
- #getting-started {
- border-top: 1px solid #ccc;
- margin-top: 25px;
- padding-top: 15px;
- }
- #getting-started h1 {
- margin: 0;
- font-size: 20px;
- }
- #getting-started h2 {
- margin: 0;
- font-size: 14px;
- font-weight: normal;
- color: #333;
- margin-bottom: 25px;
- }
- #getting-started ol {
- margin-left: 0;
- padding-left: 0;
- }
- #getting-started li {
- font-size: 18px;
- color: #888;
- margin-bottom: 25px;
- }
- #getting-started li h2 {
- margin: 0;
- font-weight: normal;
- font-size: 18px;
- color: #333;
- }
- #getting-started li p {
- color: #555;
- font-size: 13px;
- }
-
-
- #search {
- margin: 0;
- padding-top: 10px;
- padding-bottom: 10px;
- font-size: 11px;
- }
- #search input {
- font-size: 11px;
- margin: 2px;
- }
- #search-text {width: 170px}
-
-
- #sidebar ul {
- margin-left: 0;
- padding-left: 0;
- }
- #sidebar ul h3 {
- margin-top: 25px;
- font-size: 16px;
- padding-bottom: 10px;
- border-bottom: 1px solid #ccc;
- }
- #sidebar li {
- list-style-type: none;
- }
- #sidebar ul.links li {
- margin-bottom: 5px;
- }
-
- </style>
- <script type="text/javascript" src="javascripts/prototype.js"></script>
- <script type="text/javascript" src="javascripts/effects.js"></script>
- <script type="text/javascript">
- function about() {
- if (Element.empty('about-content')) {
- new Ajax.Updater('about-content', 'rails_info/properties', {
- method: 'get',
- onFailure: function() {Element.classNames('about-content').add('failure')},
- onComplete: function() {new Effect.BlindDown('about-content', {duration: 0.25})}
- });
- } else {
- new Effect[Element.visible('about-content') ?
- 'BlindUp' : 'BlindDown']('about-content', {duration: 0.25});
- }
- }
-
- window.onload = function() {
- $('search-text').value = '';
- $('search').onsubmit = function() {
- $('search-text').value = 'site:rubyonrails.org ' + $F('search-text');
- }
- }
- </script>
- </head>
- <body>
- <div id="page">
- <div id="sidebar">
- <ul id="sidebar-items">
- <li>
- <form id="search" action="http://www.google.com/search" method="get">
- <input type="hidden" name="hl" value="en" />
- <input type="text" id="search-text" name="q" value="site:rubyonrails.org " />
- <input type="submit" value="Search" /> the Rails site
- </form>
- </li>
-
- <li>
- <h3>Join the community</h3>
- <ul class="links">
- <li><a href="http://www.rubyonrails.org/">Ruby on Rails</a></li>
- <li><a href="http://weblog.rubyonrails.org/">Official weblog</a></li>
- <li><a href="http://lists.rubyonrails.org/">Mailing lists</a></li>
- <li><a href="http://wiki.rubyonrails.org/rails/pages/IRC">IRC channel</a></li>
- <li><a href="http://wiki.rubyonrails.org/">Wiki</a></li>
- <li><a href="http://dev.rubyonrails.org/">Bug tracker</a></li>
- </ul>
- </li>
-
- <li>
- <h3>Browse the documentation</h3>
- <ul class="links">
- <li><a href="http://api.rubyonrails.org/">Rails API</a></li>
- <li><a href="http://www.ruby-doc.org/stdlib/">Ruby standard library</a></li>
- <li><a href="http://www.ruby-doc.org/core/">Ruby core</a></li>
- </ul>
- </li>
- </ul>
- </div>
-
- <div id="content">
- <div id="header">
- <h1>Welcome aboard</h2>
- <h2>You’re riding the Rails!</h2>
- </div>
-
- <div id="about">
- <h3><a href="rails_info/properties" onclick="about(); return false">About your application’s environment</a></h3>
- <div id="about-content" style="display: none"></div>
- </div>
-
- <div id="getting-started">
- <h1>Getting started</h1>
- <h2>Here’s how to get rolling:</h2>
-
- <ol>
- <li>
- <h2>Create your databases and edit <tt>config/database.yml</tt></h2>
- <p>Rails needs to know your login and password.</p>
- </li>
-
- <li>
- <h2>Use <tt>script/generate</tt> to create your models and controllers</h2>
- <p>To see all available options, run it without parameters.</p>
- </li>
-
- <li>
- <h2>Set up a default route and remove or rename this file</h2>
- <p>Routes are setup in config/routes.rb.</p>
- </li>
- </ol>
- </div>
- </div>
-
- <div id="footer"> </div>
- </div>
- </body>
-</html>
\ No newline at end of file
diff --git a/src/backend-dummy/public/javascripts/controls.js b/src/backend-dummy/public/javascripts/controls.js
deleted file mode 100644
index 9742b69..0000000
--- a/src/backend-dummy/public/javascripts/controls.js
+++ /dev/null
@@ -1,750 +0,0 @@
-// Copyright (c) 2005 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
-// (c) 2005 Ivan Krstic (http://blogs.law.harvard.edu/ivan)
-// (c) 2005 Jon Tirsen (http://www.tirsen.com)
-// Contributors:
-// Richard Livsey
-// Rahul Bhargava
-// Rob Wills
-//
-// See scriptaculous.js for full license.
-
-// Autocompleter.Base handles all the autocompletion functionality
-// that's independent of the data source for autocompletion. This
-// includes drawing the autocompletion menu, observing keyboard
-// and mouse events, and similar.
-//
-// Specific autocompleters need to provide, at the very least,
-// a getUpdatedChoices function that will be invoked every time
-// the text inside the monitored textbox changes. This method
-// should get the text for which to provide autocompletion by
-// invoking this.getToken(), NOT by directly accessing
-// this.element.value. This is to allow incremental tokenized
-// autocompletion. Specific auto-completion logic (AJAX, etc)
-// belongs in getUpdatedChoices.
-//
-// Tokenized incremental autocompletion is enabled automatically
-// when an autocompleter is instantiated with the 'tokens' option
-// in the options parameter, e.g.:
-// new Ajax.Autocompleter('id','upd', '/url/', { tokens: ',' });
-// will incrementally autocomplete with a comma as the token.
-// Additionally, ',' in the above example can be replaced with
-// a token array, e.g. { tokens: [',', '\n'] } which
-// enables autocompletion on multiple tokens. This is most
-// useful when one of the tokens is \n (a newline), as it
-// allows smart autocompletion after linebreaks.
-
-var Autocompleter = {}
-Autocompleter.Base = function() {};
-Autocompleter.Base.prototype = {
- baseInitialize: function(element, update, options) {
- this.element = $(element);
- this.update = $(update);
- this.hasFocus = false;
- this.changed = false;
- this.active = false;
- this.index = 0;
- this.entryCount = 0;
-
- if (this.setOptions)
- this.setOptions(options);
- else
- this.options = options || {};
-
- this.options.paramName = this.options.paramName || this.element.name;
- this.options.tokens = this.options.tokens || [];
- this.options.frequency = this.options.frequency || 0.4;
- this.options.minChars = this.options.minChars || 1;
- this.options.onShow = this.options.onShow ||
- function(element, update){
- if(!update.style.position || update.style.position=='absolute') {
- update.style.position = 'absolute';
- Position.clone(element, update, {setHeight: false, offsetTop: element.offsetHeight});
- }
- Effect.Appear(update,{duration:0.15});
- };
- this.options.onHide = this.options.onHide ||
- function(element, update){ new Effect.Fade(update,{duration:0.15}) };
-
- if (typeof(this.options.tokens) == 'string')
- this.options.tokens = new Array(this.options.tokens);
-
- this.observer = null;
-
- this.element.setAttribute('autocomplete','off');
-
- Element.hide(this.update);
-
- Event.observe(this.element, "blur", this.onBlur.bindAsEventListener(this));
- Event.observe(this.element, "keypress", this.onKeyPress.bindAsEventListener(this));
- },
-
- show: function() {
- if(Element.getStyle(this.update, 'display')=='none') this.options.onShow(this.element, this.update);
- if(!this.iefix &&
- (navigator.appVersion.indexOf('MSIE')>0) &&
- (navigator.userAgent.indexOf('Opera')<0) &&
- (Element.getStyle(this.update, 'position')=='absolute')) {
- new Insertion.After(this.update,
- '