motiro 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +280 -0
- data/README +28 -0
- data/README.en +175 -0
- data/README.pt-br +175 -0
- data/Rakefile +10 -0
- data/app/controllers/account_controller.rb +62 -0
- data/app/controllers/application.rb +72 -0
- data/app/controllers/edition_controller.rb +13 -0
- data/app/controllers/javascript_controller.rb +21 -0
- data/app/controllers/report_controller.rb +79 -0
- data/app/controllers/root_controller.rb +7 -0
- data/app/controllers/wiki_controller.rb +102 -0
- data/app/core/cache_reporter.rb +53 -0
- data/app/core/cache_reporter_fetcher.rb +33 -0
- data/app/core/chief_editor.rb +69 -0
- data/app/core/reporter.rb +105 -0
- data/app/core/reporter_driver.rb +36 -0
- data/app/core/reporter_fetcher.rb +39 -0
- data/app/core/settings.rb +43 -0
- data/app/core/version.rb +1 -0
- data/app/core/wiki_page_not_found.rb +33 -0
- data/app/core/wiki_reporter.rb +83 -0
- data/app/helpers/account_helper.rb +2 -0
- data/app/helpers/application_helper.rb +68 -0
- data/app/helpers/default_page_provider.rb +28 -0
- data/app/helpers/report_helper.rb +2 -0
- data/app/helpers/root_helper.rb +2 -0
- data/app/helpers/wiki_helper.rb +3 -0
- data/app/models/change.rb +96 -0
- data/app/models/diff_table_builder.rb +285 -0
- data/app/models/event.rb +18 -0
- data/app/models/headline.rb +109 -0
- data/app/models/page.rb +114 -0
- data/app/models/page_sweeper.rb +26 -0
- data/app/models/user.rb +85 -0
- data/app/ports/chdir_runner.rb +36 -0
- data/app/ports/reporter_loader.rb +9 -0
- data/app/ports/runner.rb +64 -0
- data/app/reporters/darcs_connection.rb +54 -0
- data/app/reporters/darcs_reporter.rb +104 -0
- data/app/reporters/darcs_settings.rb +9 -0
- data/app/reporters/darcs_temp_repo.rb +40 -0
- data/app/reporters/events_reporter.rb +28 -0
- data/app/reporters/features_reporter.rb +24 -0
- data/app/reporters/subversion_reporter.rb +203 -0
- data/app/reporters/svn_connection.rb +62 -0
- data/app/reporters/svn_settings.rb +40 -0
- data/app/views/account/_authorization.rhtml +54 -0
- data/app/views/account/_availability.rhtml +5 -0
- data/app/views/account/availability.rhtml +1 -0
- data/app/views/account/login.rhtml +22 -0
- data/app/views/account/logout.rhtml +10 -0
- data/app/views/javascript/motiro.rjs +132 -0
- data/app/views/javascript/niftycube.rjs +300 -0
- data/app/views/layouts/_bottom.rhtml +5 -0
- data/app/views/layouts/_header.rhtml +7 -0
- data/app/views/layouts/_top.rhtml +25 -0
- data/app/views/layouts/application.rhtml +3 -0
- data/app/views/layouts/scaffold.rhtml +13 -0
- data/app/views/layouts/wiki_edit.rhtml +26 -0
- data/app/views/report/list.rhtml +32 -0
- data/app/views/report/older.rhtml +26 -0
- data/app/views/report/rss.rxml +29 -0
- data/app/views/report/show.rhtml +20 -0
- data/app/views/root/index.rhtml +33 -0
- data/app/views/wiki/_editbar.rhtml +26 -0
- data/app/views/wiki/_properties_edit.rhtml +5 -0
- data/app/views/wiki/_properties_show.rhtml +5 -0
- data/app/views/wiki/edit.rhtml +56 -0
- data/app/views/wiki/properties_edit.rhtml +1 -0
- data/app/views/wiki/show.rhtml +9 -0
- data/bin/motiro +44 -0
- data/config/boot.rb +19 -0
- data/config/database.yml +14 -0
- data/config/environment.rb +64 -0
- data/config/environments/development.rb +20 -0
- data/config/environments/production.rb +19 -0
- data/config/environments/test.rb +19 -0
- data/config/motiro.yml +43 -0
- data/config/routes.rb +79 -0
- data/db/migrate/005_globalize_migration.rb +11363 -0
- data/db/migrate/006_remove_headline_title.rb +14 -0
- data/db/migrate/007_stretch_rid.rb +11 -0
- data/db/migrate/008_add_page_editors.rb +12 -0
- data/db/migrate/009_add_page_original_author.rb +12 -0
- data/db/migrate/010_remove_empty_string_defaults_from_pages.rb +17 -0
- data/db/migrate/011_add_title_and_kind_to_pages.rb +13 -0
- data/db/migrate/012_page_modification_info.rb +13 -0
- data/db/migrate/013_nullify_initial_page_attributes.rb +21 -0
- data/db/migrate/014_events_are_wiki_pages.rb +13 -0
- data/db/migrate/015_migrate_previous_event_data.rb +23 -0
- data/db/migrate/1_initial_structure.rb +36 -0
- data/db/migrate/2_add_authentication.rb +12 -0
- data/db/migrate/3_drop_articles.rb +26 -0
- data/db/migrate/4_add_page_editing.rb +14 -0
- data/db/motirodb.sqlite.initial +0 -0
- data/db/schema_version +1 -0
- data/db/translation/pt-BR.rb +76 -0
- data/doc/README_FOR_APP +2 -0
- data/installer/rails_installer_defaults.yml +5 -0
- data/lib/import_translations.rb +154 -0
- data/lib/login_system.rb +89 -0
- data/lib/relative_time.rb +48 -0
- data/lib/string_extensions.rb +10 -0
- data/lib/stub_hash.rb +22 -0
- data/lib/tasks/packaging.rake +93 -0
- data/lib/tasks/testing.rake +32 -0
- data/lib/tick_daemon.rb +41 -0
- data/lib/translator.rb +67 -0
- data/lib/wiki_renderer.rb +42 -0
- data/lib/wiki_url_generator.rb +29 -0
- data/log/.keepdir +0 -0
- data/public/404.html +8 -0
- data/public/500.html +8 -0
- data/public/dispatch.cgi +10 -0
- data/public/dispatch.fcgi +24 -0
- data/public/dispatch.rb +10 -0
- data/public/favicon.ico +0 -0
- data/public/images/calendar.png +0 -0
- data/public/images/rss.png +0 -0
- data/public/javascripts/controls.js +750 -0
- data/public/javascripts/dragdrop.js +584 -0
- data/public/javascripts/effects.js +854 -0
- data/public/javascripts/prototype.js +1785 -0
- data/public/robots.txt +1 -0
- data/public/stylesheets/motiro.css +269 -0
- data/public/stylesheets/niftyCorners.css +35 -0
- data/public/stylesheets/scaffold.css +74 -0
- data/script/about +3 -0
- data/script/breakpointer +3 -0
- data/script/console +3 -0
- data/script/destroy +3 -0
- data/script/generate +3 -0
- data/script/performance/benchmarker +3 -0
- data/script/performance/profiler +3 -0
- data/script/plugin +3 -0
- data/script/process/reaper +3 -0
- data/script/process/spawner +3 -0
- data/script/process/spinner +3 -0
- data/script/runner +3 -0
- data/script/server +3 -0
- data/script/ticker +29 -0
- data/test/acceptance/account_test.rb +186 -0
- data/test/acceptance/darcs_test.rb +62 -0
- data/test/acceptance/events_test.rb +47 -0
- data/test/acceptance/main_page_test.rb +92 -0
- data/test/acceptance/subversion_test.rb +319 -0
- data/test/acceptance/ts_all_suites.rb +27 -0
- data/test/acceptance/wiki_test.rb +202 -0
- data/test/contract/darcs_test.rb +51 -0
- data/test/contract/remote_darcs_test.rb +61 -0
- data/test/contract/svn_test.rb +53 -0
- data/test/fixtures/changes.yml +25 -0
- data/test/fixtures/headlines.yml +45 -0
- data/test/fixtures/pages.yml +98 -0
- data/test/fixtures/users.yml +31 -0
- data/test/functional/account_controller_test.rb +96 -0
- data/test/functional/report_controller_test.rb +113 -0
- data/test/functional/report_features_test.rb +38 -0
- data/test/functional/report_subversion_test.rb +79 -0
- data/test/functional/root_controller_test.rb +127 -0
- data/test/functional/wiki_controller_test.rb +280 -0
- data/test/lib/acceptance_test_case.rb +43 -0
- data/test/lib/configuration.rb +53 -0
- data/test/lib/darcs_excerpts.rb +181 -0
- data/test/lib/darcs_repo.rb +77 -0
- data/test/lib/live_mode_test.rb +51 -0
- data/test/lib/local_svn.rb +157 -0
- data/test/lib/netutils.rb +42 -0
- data/test/lib/platform_thread.rb +62 -0
- data/test/lib/repoutils.rb +23 -0
- data/test/lib/selenium_extensions.rb +32 -0
- data/test/lib/stubio.rb +37 -0
- data/test/lib/svn_excerpts.rb +288 -0
- data/test/lib/test_configuration.rb +14 -0
- data/test/lib/webserver.rb +71 -0
- data/test/meta/configuration_test.rb +72 -0
- data/test/meta/darcs_repo_test.rb +118 -0
- data/test/meta/local_svn_test.rb +125 -0
- data/test/meta/platform_thread_test.rb +46 -0
- data/test/meta/stubio_test.rb +44 -0
- data/test/mocks/headline.rb +34 -0
- data/test/mocks/svn_reporter.rb +29 -0
- data/test/stubs/svn_settings.rb +19 -0
- data/test/stubs/url_generator.rb +24 -0
- data/test/test_helper.rb +36 -0
- data/test/unit/cache_reporter_fetcher_test.rb +46 -0
- data/test/unit/cache_reporter_test.rb +97 -0
- data/test/unit/caching_test.rb +78 -0
- data/test/unit/change_test.rb +152 -0
- data/test/unit/chdir_runner_test.rb +77 -0
- data/test/unit/chief_editor_test.rb +234 -0
- data/test/unit/darcs_connection_test.rb +109 -0
- data/test/unit/darcs_reporter_test.rb +146 -0
- data/test/unit/darcs_settings_test.rb +37 -0
- data/test/unit/darcs_temp_repo_test.rb +51 -0
- data/test/unit/default_page_provider_test.rb +46 -0
- data/test/unit/diff_table_builder_test.rb +602 -0
- data/test/unit/headline_test.rb +259 -0
- data/test/unit/page_test.rb +145 -0
- data/test/unit/relative_time_test.rb +56 -0
- data/test/unit/reporter_driver_test.rb +85 -0
- data/test/unit/reporter_fetcher_test.rb +31 -0
- data/test/unit/reporter_test.rb +81 -0
- data/test/unit/runner_test.rb +93 -0
- data/test/unit/settings_test.rb +55 -0
- data/test/unit/string_extensions_test.rb +10 -0
- data/test/unit/svn_connection_test.rb +183 -0
- data/test/unit/svn_reporter_interaction_test.rb +38 -0
- data/test/unit/svn_reporter_test.rb +286 -0
- data/test/unit/svn_settings_test.rb +86 -0
- data/test/unit/translator_test.rb +96 -0
- data/test/unit/user_test.rb +125 -0
- data/test/unit/wiki_renderer_test.rb +87 -0
- data/test/unit/wiki_reporter_test.rb +94 -0
- data/test/unit/wiki_url_generator_test.rb +31 -0
- data/vendor/motiro-installer.rb +159 -0
- data/vendor/plugins/globalize/LICENSE +9 -0
- data/vendor/plugins/globalize/README +49 -0
- data/vendor/plugins/globalize/data/country_data.csv +240 -0
- data/vendor/plugins/globalize/data/language_data.csv +188 -0
- data/vendor/plugins/globalize/data/translation_data.csv +3421 -0
- data/vendor/plugins/globalize/generators/globalize/USAGE +10 -0
- data/vendor/plugins/globalize/generators/globalize/globalize_generator.rb +42 -0
- data/vendor/plugins/globalize/generators/globalize/templates/migration.rb.gz +0 -0
- data/vendor/plugins/globalize/generators/globalize/templates/tiny_migration.rb.gz +0 -0
- data/vendor/plugins/globalize/init.rb +30 -0
- data/vendor/plugins/globalize/lib/globalize/localization/core_ext.rb +170 -0
- data/vendor/plugins/globalize/lib/globalize/localization/core_ext_hooks.rb +33 -0
- data/vendor/plugins/globalize/lib/globalize/localization/db_translate.rb +494 -0
- data/vendor/plugins/globalize/lib/globalize/localization/db_view_translator.rb +152 -0
- data/vendor/plugins/globalize/lib/globalize/localization/locale.rb +173 -0
- data/vendor/plugins/globalize/lib/globalize/localization/rfc_3066.rb +40 -0
- data/vendor/plugins/globalize/lib/globalize/models/country.rb +24 -0
- data/vendor/plugins/globalize/lib/globalize/models/currency.rb +188 -0
- data/vendor/plugins/globalize/lib/globalize/models/language.rb +84 -0
- data/vendor/plugins/globalize/lib/globalize/models/model_translation.rb +4 -0
- data/vendor/plugins/globalize/lib/globalize/models/translation.rb +9 -0
- data/vendor/plugins/globalize/lib/globalize/models/view_translation.rb +14 -0
- data/vendor/plugins/globalize/lib/globalize/rails/action_mailer.rb +125 -0
- data/vendor/plugins/globalize/lib/globalize/rails/action_view.rb +79 -0
- data/vendor/plugins/globalize/lib/globalize/rails/active_record.rb +129 -0
- data/vendor/plugins/globalize/lib/globalize/rails/active_record_helper.rb +33 -0
- data/vendor/plugins/globalize/populators/pop_dates.rb +81 -0
- data/vendor/plugins/globalize/populators/pop_migration.rb +18 -0
- data/vendor/plugins/globalize/populators/pop_pluralization.rb +26 -0
- data/vendor/plugins/globalize/populators/pop_seps.rb +32 -0
- data/vendor/plugins/globalize/tasks/data.rake +130 -0
- data/vendor/plugins/globalize/test/action_mailer_test/globalize_mailer/test.en-US.plain.text.rhtml +1 -0
- data/vendor/plugins/globalize/test/action_mailer_test/globalize_mailer/test.en.plain.text.rhtml +1 -0
- data/vendor/plugins/globalize/test/action_mailer_test/globalize_mailer/test.he.plain.text.rhtml +1 -0
- data/vendor/plugins/globalize/test/action_mailer_test/globalize_mailer/test.plain.text.rhtml +1 -0
- data/vendor/plugins/globalize/test/action_mailer_test.rb +54 -0
- data/vendor/plugins/globalize/test/config/database.yml.default +16 -0
- data/vendor/plugins/globalize/test/config/database.yml.example +22 -0
- data/vendor/plugins/globalize/test/core_ext_test.rb +61 -0
- data/vendor/plugins/globalize/test/currency_test.rb +141 -0
- data/vendor/plugins/globalize/test/date_helper_test.rb +634 -0
- data/vendor/plugins/globalize/test/db/schema.rb +90 -0
- data/vendor/plugins/globalize/test/db_translation_test.rb +374 -0
- data/vendor/plugins/globalize/test/fixtures/globalize_categories.yml +7 -0
- data/vendor/plugins/globalize/test/fixtures/globalize_categories_products.yml +7 -0
- data/vendor/plugins/globalize/test/fixtures/globalize_countries.yml +41 -0
- data/vendor/plugins/globalize/test/fixtures/globalize_languages.yml +64 -0
- data/vendor/plugins/globalize/test/fixtures/globalize_manufacturers.yml +5 -0
- data/vendor/plugins/globalize/test/fixtures/globalize_products.yml +29 -0
- data/vendor/plugins/globalize/test/fixtures/globalize_simples.yml +5 -0
- data/vendor/plugins/globalize/test/fixtures/globalize_translations.yml +354 -0
- data/vendor/plugins/globalize/test/locale_test.rb +27 -0
- data/vendor/plugins/globalize/test/mime_responds_test.rb +358 -0
- data/vendor/plugins/globalize/test/model_test.rb +17 -0
- data/vendor/plugins/globalize/test/standard_data_test_helper.rb +33 -0
- data/vendor/plugins/globalize/test/test_helper.rb +19 -0
- data/vendor/plugins/globalize/test/test_standard_data.rb +54 -0
- data/vendor/plugins/globalize/test/validation_test.rb +29 -0
- data/vendor/plugins/globalize/test/view_picking_test.rb +49 -0
- data/vendor/plugins/globalize/test/view_translation_test.rb +237 -0
- data/vendor/plugins/globalize/test/views/layouts/standard.rhtml +1 -0
- data/vendor/plugins/globalize/test/views/respond_to/all_types_with_layout.rhtml +1 -0
- data/vendor/plugins/globalize/test/views/respond_to/all_types_with_layout.rjs +1 -0
- data/vendor/plugins/globalize/test/views/respond_to/using_defaults.en.rhtml +1 -0
- data/vendor/plugins/globalize/test/views/respond_to/using_defaults.en.rjs +1 -0
- data/vendor/plugins/globalize/test/views/respond_to/using_defaults.en.rxml +1 -0
- data/vendor/plugins/globalize/test/views/respond_to/using_defaults.fr.rhtml +1 -0
- data/vendor/plugins/globalize/test/views/respond_to/using_defaults.fr.rjs +1 -0
- data/vendor/plugins/globalize/test/views/respond_to/using_defaults.fr.rxml +1 -0
- data/vendor/plugins/globalize/test/views/respond_to/using_defaults.rhtml +1 -0
- data/vendor/plugins/globalize/test/views/respond_to/using_defaults.rjs +1 -0
- data/vendor/plugins/globalize/test/views/respond_to/using_defaults.rxml +1 -0
- data/vendor/plugins/globalize/test/views/respond_to/using_defaults_with_type_list.en.rhtml +1 -0
- data/vendor/plugins/globalize/test/views/respond_to/using_defaults_with_type_list.en.rjs +1 -0
- data/vendor/plugins/globalize/test/views/respond_to/using_defaults_with_type_list.en.rxml +1 -0
- data/vendor/plugins/globalize/test/views/respond_to/using_defaults_with_type_list.fr.rhtml +1 -0
- data/vendor/plugins/globalize/test/views/respond_to/using_defaults_with_type_list.fr.rjs +1 -0
- data/vendor/plugins/globalize/test/views/respond_to/using_defaults_with_type_list.fr.rxml +1 -0
- data/vendor/plugins/globalize/test/views/respond_to/using_defaults_with_type_list.rhtml +1 -0
- data/vendor/plugins/globalize/test/views/respond_to/using_defaults_with_type_list.rjs +1 -0
- data/vendor/plugins/globalize/test/views/respond_to/using_defaults_with_type_list.rxml +1 -0
- data/vendor/plugins/globalize/test/views/test.he-IL.rhtml +1 -0
- data/vendor/plugins/globalize/test/views/test.rhtml +1 -0
- data/vendor/plugins/globalize/test/views/test2.he.rhtml +1 -0
- data/vendor/plugins/globalize/test/views/test2.rhtml +1 -0
- data/vendor/plugins/test_xml/MIT-LICENSE +20 -0
- data/vendor/plugins/test_xml/README +20 -0
- data/vendor/plugins/test_xml/Rakefile +22 -0
- data/vendor/plugins/test_xml/init.rb +7 -0
- data/vendor/plugins/test_xml/lib/xml_assertions.rb +22 -0
- data/vendor/plugins/test_xml/test/test_xml_test.rb +40 -0
- metadata +505 -0
data/LICENSE
ADDED
@@ -0,0 +1,280 @@
|
|
1
|
+
GNU GENERAL PUBLIC LICENSE
|
2
|
+
Version 2, June 1991
|
3
|
+
|
4
|
+
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
5
|
+
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
6
|
+
Everyone is permitted to copy and distribute verbatim copies
|
7
|
+
of this license document, but changing it is not allowed.
|
8
|
+
|
9
|
+
Preamble
|
10
|
+
|
11
|
+
The licenses for most software are designed to take away your
|
12
|
+
freedom to share and change it. By contrast, the GNU General Public
|
13
|
+
License is intended to guarantee your freedom to share and change free
|
14
|
+
software--to make sure the software is free for all its users. This
|
15
|
+
General Public License applies to most of the Free Software
|
16
|
+
Foundation's software and to any other program whose authors commit to
|
17
|
+
using it. (Some other Free Software Foundation software is covered by
|
18
|
+
the GNU Library General Public License instead.) You can apply it to
|
19
|
+
your programs, too.
|
20
|
+
|
21
|
+
When we speak of free software, we are referring to freedom, not
|
22
|
+
price. Our General Public Licenses are designed to make sure that you
|
23
|
+
have the freedom to distribute copies of free software (and charge for
|
24
|
+
this service if you wish), that you receive source code or can get it
|
25
|
+
if you want it, that you can change the software or use pieces of it
|
26
|
+
in new free programs; and that you know you can do these things.
|
27
|
+
|
28
|
+
To protect your rights, we need to make restrictions that forbid
|
29
|
+
anyone to deny you these rights or to ask you to surrender the rights.
|
30
|
+
These restrictions translate to certain responsibilities for you if you
|
31
|
+
distribute copies of the software, or if you modify it.
|
32
|
+
|
33
|
+
For example, if you distribute copies of such a program, whether
|
34
|
+
gratis or for a fee, you must give the recipients all the rights that
|
35
|
+
you have. You must make sure that they, too, receive or can get the
|
36
|
+
source code. And you must show them these terms so they know their
|
37
|
+
rights.
|
38
|
+
|
39
|
+
We protect your rights with two steps: (1) copyright the software, and
|
40
|
+
(2) offer you this license which gives you legal permission to copy,
|
41
|
+
distribute and/or modify the software.
|
42
|
+
|
43
|
+
Also, for each author's protection and ours, we want to make certain
|
44
|
+
that everyone understands that there is no warranty for this free
|
45
|
+
software. If the software is modified by someone else and passed on, we
|
46
|
+
want its recipients to know that what they have is not the original, so
|
47
|
+
that any problems introduced by others will not reflect on the original
|
48
|
+
authors' reputations.
|
49
|
+
|
50
|
+
Finally, any free program is threatened constantly by software
|
51
|
+
patents. We wish to avoid the danger that redistributors of a free
|
52
|
+
program will individually obtain patent licenses, in effect making the
|
53
|
+
program proprietary. To prevent this, we have made it clear that any
|
54
|
+
patent must be licensed for everyone's free use or not licensed at all.
|
55
|
+
|
56
|
+
The precise terms and conditions for copying, distribution and
|
57
|
+
modification follow.
|
58
|
+
|
59
|
+
GNU GENERAL PUBLIC LICENSE
|
60
|
+
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
61
|
+
|
62
|
+
0. This License applies to any program or other work which contains
|
63
|
+
a notice placed by the copyright holder saying it may be distributed
|
64
|
+
under the terms of this General Public License. The "Program", below,
|
65
|
+
refers to any such program or work, and a "work based on the Program"
|
66
|
+
means either the Program or any derivative work under copyright law:
|
67
|
+
that is to say, a work containing the Program or a portion of it,
|
68
|
+
either verbatim or with modifications and/or translated into another
|
69
|
+
language. (Hereinafter, translation is included without limitation in
|
70
|
+
the term "modification".) Each licensee is addressed as "you".
|
71
|
+
|
72
|
+
Activities other than copying, distribution and modification are not
|
73
|
+
covered by this License; they are outside its scope. The act of
|
74
|
+
running the Program is not restricted, and the output from the Program
|
75
|
+
is covered only if its contents constitute a work based on the
|
76
|
+
Program (independent of having been made by running the Program).
|
77
|
+
Whether that is true depends on what the Program does.
|
78
|
+
|
79
|
+
1. You may copy and distribute verbatim copies of the Program's
|
80
|
+
source code as you receive it, in any medium, provided that you
|
81
|
+
conspicuously and appropriately publish on each copy an appropriate
|
82
|
+
copyright notice and disclaimer of warranty; keep intact all the
|
83
|
+
notices that refer to this License and to the absence of any warranty;
|
84
|
+
and give any other recipients of the Program a copy of this License
|
85
|
+
along with the Program.
|
86
|
+
|
87
|
+
You may charge a fee for the physical act of transferring a copy, and
|
88
|
+
you may at your option offer warranty protection in exchange for a fee.
|
89
|
+
|
90
|
+
2. You may modify your copy or copies of the Program or any portion
|
91
|
+
of it, thus forming a work based on the Program, and copy and
|
92
|
+
distribute such modifications or work under the terms of Section 1
|
93
|
+
above, provided that you also meet all of these conditions:
|
94
|
+
|
95
|
+
a) You must cause the modified files to carry prominent notices
|
96
|
+
stating that you changed the files and the date of any change.
|
97
|
+
|
98
|
+
b) You must cause any work that you distribute or publish, that in
|
99
|
+
whole or in part contains or is derived from the Program or any
|
100
|
+
part thereof, to be licensed as a whole at no charge to all third
|
101
|
+
parties under the terms of this License.
|
102
|
+
|
103
|
+
c) If the modified program normally reads commands interactively
|
104
|
+
when run, you must cause it, when started running for such
|
105
|
+
interactive use in the most ordinary way, to print or display an
|
106
|
+
announcement including an appropriate copyright notice and a
|
107
|
+
notice that there is no warranty (or else, saying that you provide
|
108
|
+
a warranty) and that users may redistribute the program under
|
109
|
+
these conditions, and telling the user how to view a copy of this
|
110
|
+
License. (Exception: if the Program itself is interactive but
|
111
|
+
does not normally print such an announcement, your work based on
|
112
|
+
the Program is not required to print an announcement.)
|
113
|
+
|
114
|
+
These requirements apply to the modified work as a whole. If
|
115
|
+
identifiable sections of that work are not derived from the Program,
|
116
|
+
and can be reasonably considered independent and separate works in
|
117
|
+
themselves, then this License, and its terms, do not apply to those
|
118
|
+
sections when you distribute them as separate works. But when you
|
119
|
+
distribute the same sections as part of a whole which is a work based
|
120
|
+
on the Program, the distribution of the whole must be on the terms of
|
121
|
+
this License, whose permissions for other licensees extend to the
|
122
|
+
entire whole, and thus to each and every part regardless of who wrote it.
|
123
|
+
|
124
|
+
Thus, it is not the intent of this section to claim rights or contest
|
125
|
+
your rights to work written entirely by you; rather, the intent is to
|
126
|
+
exercise the right to control the distribution of derivative or
|
127
|
+
collective works based on the Program.
|
128
|
+
|
129
|
+
In addition, mere aggregation of another work not based on the Program
|
130
|
+
with the Program (or with a work based on the Program) on a volume of
|
131
|
+
a storage or distribution medium does not bring the other work under
|
132
|
+
the scope of this License.
|
133
|
+
|
134
|
+
3. You may copy and distribute the Program (or a work based on it,
|
135
|
+
under Section 2) in object code or executable form under the terms of
|
136
|
+
Sections 1 and 2 above provided that you also do one of the following:
|
137
|
+
|
138
|
+
a) Accompany it with the complete corresponding machine-readable
|
139
|
+
source code, which must be distributed under the terms of Sections
|
140
|
+
1 and 2 above on a medium customarily used for software interchange; or,
|
141
|
+
|
142
|
+
b) Accompany it with a written offer, valid for at least three
|
143
|
+
years, to give any third party, for a charge no more than your
|
144
|
+
cost of physically performing source distribution, a complete
|
145
|
+
machine-readable copy of the corresponding source code, to be
|
146
|
+
distributed under the terms of Sections 1 and 2 above on a medium
|
147
|
+
customarily used for software interchange; or,
|
148
|
+
|
149
|
+
c) Accompany it with the information you received as to the offer
|
150
|
+
to distribute corresponding source code. (This alternative is
|
151
|
+
allowed only for noncommercial distribution and only if you
|
152
|
+
received the program in object code or executable form with such
|
153
|
+
an offer, in accord with Subsection b above.)
|
154
|
+
|
155
|
+
The source code for a work means the preferred form of the work for
|
156
|
+
making modifications to it. For an executable work, complete source
|
157
|
+
code means all the source code for all modules it contains, plus any
|
158
|
+
associated interface definition files, plus the scripts used to
|
159
|
+
control compilation and installation of the executable. However, as a
|
160
|
+
special exception, the source code distributed need not include
|
161
|
+
anything that is normally distributed (in either source or binary
|
162
|
+
form) with the major components (compiler, kernel, and so on) of the
|
163
|
+
operating system on which the executable runs, unless that component
|
164
|
+
itself accompanies the executable.
|
165
|
+
|
166
|
+
If distribution of executable or object code is made by offering
|
167
|
+
access to copy from a designated place, then offering equivalent
|
168
|
+
access to copy the source code from the same place counts as
|
169
|
+
distribution of the source code, even though third parties are not
|
170
|
+
compelled to copy the source along with the object code.
|
171
|
+
|
172
|
+
4. You may not copy, modify, sublicense, or distribute the Program
|
173
|
+
except as expressly provided under this License. Any attempt
|
174
|
+
otherwise to copy, modify, sublicense or distribute the Program is
|
175
|
+
void, and will automatically terminate your rights under this License.
|
176
|
+
However, parties who have received copies, or rights, from you under
|
177
|
+
this License will not have their licenses terminated so long as such
|
178
|
+
parties remain in full compliance.
|
179
|
+
|
180
|
+
5. You are not required to accept this License, since you have not
|
181
|
+
signed it. However, nothing else grants you permission to modify or
|
182
|
+
distribute the Program or its derivative works. These actions are
|
183
|
+
prohibited by law if you do not accept this License. Therefore, by
|
184
|
+
modifying or distributing the Program (or any work based on the
|
185
|
+
Program), you indicate your acceptance of this License to do so, and
|
186
|
+
all its terms and conditions for copying, distributing or modifying
|
187
|
+
the Program or works based on it.
|
188
|
+
|
189
|
+
6. Each time you redistribute the Program (or any work based on the
|
190
|
+
Program), the recipient automatically receives a license from the
|
191
|
+
original licensor to copy, distribute or modify the Program subject to
|
192
|
+
these terms and conditions. You may not impose any further
|
193
|
+
restrictions on the recipients' exercise of the rights granted herein.
|
194
|
+
You are not responsible for enforcing compliance by third parties to
|
195
|
+
this License.
|
196
|
+
|
197
|
+
7. If, as a consequence of a court judgment or allegation of patent
|
198
|
+
infringement or for any other reason (not limited to patent issues),
|
199
|
+
conditions are imposed on you (whether by court order, agreement or
|
200
|
+
otherwise) that contradict the conditions of this License, they do not
|
201
|
+
excuse you from the conditions of this License. If you cannot
|
202
|
+
distribute so as to satisfy simultaneously your obligations under this
|
203
|
+
License and any other pertinent obligations, then as a consequence you
|
204
|
+
may not distribute the Program at all. For example, if a patent
|
205
|
+
license would not permit royalty-free redistribution of the Program by
|
206
|
+
all those who receive copies directly or indirectly through you, then
|
207
|
+
the only way you could satisfy both it and this License would be to
|
208
|
+
refrain entirely from distribution of the Program.
|
209
|
+
|
210
|
+
If any portion of this section is held invalid or unenforceable under
|
211
|
+
any particular circumstance, the balance of the section is intended to
|
212
|
+
apply and the section as a whole is intended to apply in other
|
213
|
+
circumstances.
|
214
|
+
|
215
|
+
It is not the purpose of this section to induce you to infringe any
|
216
|
+
patents or other property right claims or to contest validity of any
|
217
|
+
such claims; this section has the sole purpose of protecting the
|
218
|
+
integrity of the free software distribution system, which is
|
219
|
+
implemented by public license practices. Many people have made
|
220
|
+
generous contributions to the wide range of software distributed
|
221
|
+
through that system in reliance on consistent application of that
|
222
|
+
system; it is up to the author/donor to decide if he or she is willing
|
223
|
+
to distribute software through any other system and a licensee cannot
|
224
|
+
impose that choice.
|
225
|
+
|
226
|
+
This section is intended to make thoroughly clear what is believed to
|
227
|
+
be a consequence of the rest of this License.
|
228
|
+
|
229
|
+
8. If the distribution and/or use of the Program is restricted in
|
230
|
+
certain countries either by patents or by copyrighted interfaces, the
|
231
|
+
original copyright holder who places the Program under this License
|
232
|
+
may add an explicit geographical distribution limitation excluding
|
233
|
+
those countries, so that distribution is permitted only in or among
|
234
|
+
countries not thus excluded. In such case, this License incorporates
|
235
|
+
the limitation as if written in the body of this License.
|
236
|
+
|
237
|
+
9. The Free Software Foundation may publish revised and/or new versions
|
238
|
+
of the General Public License from time to time. Such new versions will
|
239
|
+
be similar in spirit to the present version, but may differ in detail to
|
240
|
+
address new problems or concerns.
|
241
|
+
|
242
|
+
Each version is given a distinguishing version number. If the Program
|
243
|
+
specifies a version number of this License which applies to it and "any
|
244
|
+
later version", you have the option of following the terms and conditions
|
245
|
+
either of that version or of any later version published by the Free
|
246
|
+
Software Foundation. If the Program does not specify a version number of
|
247
|
+
this License, you may choose any version ever published by the Free Software
|
248
|
+
Foundation.
|
249
|
+
|
250
|
+
10. If you wish to incorporate parts of the Program into other free
|
251
|
+
programs whose distribution conditions are different, write to the author
|
252
|
+
to ask for permission. For software which is copyrighted by the Free
|
253
|
+
Software Foundation, write to the Free Software Foundation; we sometimes
|
254
|
+
make exceptions for this. Our decision will be guided by the two goals
|
255
|
+
of preserving the free status of all derivatives of our free software and
|
256
|
+
of promoting the sharing and reuse of software generally.
|
257
|
+
|
258
|
+
NO WARRANTY
|
259
|
+
|
260
|
+
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
261
|
+
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
262
|
+
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
263
|
+
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
264
|
+
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
265
|
+
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
266
|
+
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
267
|
+
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
268
|
+
REPAIR OR CORRECTION.
|
269
|
+
|
270
|
+
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
271
|
+
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
272
|
+
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
273
|
+
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
274
|
+
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
275
|
+
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
276
|
+
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
277
|
+
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
278
|
+
POSSIBILITY OF SUCH DAMAGES.
|
279
|
+
|
280
|
+
END OF TERMS AND CONDITIONS
|
data/README
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
Motiro - A project tracking tool
|
2
|
+
Copyright (C) 2006, 2007 Thiago Arrais
|
3
|
+
|
4
|
+
This program is free software; you can redistribute it and/or modify
|
5
|
+
it under the terms of the GNU General Public License as published by
|
6
|
+
the Free Software Foundation; either version 2 of the License, or
|
7
|
+
any later version.
|
8
|
+
|
9
|
+
This program is distributed in the hope that it will be useful,
|
10
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
12
|
+
GNU General Public License for more details.
|
13
|
+
|
14
|
+
You should have received a copy of the GNU General Public License
|
15
|
+
along with this program; if not, write to the Free Software
|
16
|
+
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
17
|
+
--------------------------------------------------------------------------------
|
18
|
+
Motiro version 0.6.3 - March 2007
|
19
|
+
|
20
|
+
Please refer to your preferred language README. Every text file below this
|
21
|
+
directory is UTF-8 encoded. Please make sure to set up your reader accordingly.
|
22
|
+
|
23
|
+
Por favor, consulte o README no idioma de sua preferência. Todo arquivo abaixo
|
24
|
+
deste diretório está codificado com UTF-8. Por favor certifique-se de configurar
|
25
|
+
seu leitor de acordo.
|
26
|
+
|
27
|
+
English - README.en
|
28
|
+
Português (Brasil) - README.pt-br
|
data/README.en
ADDED
@@ -0,0 +1,175 @@
|
|
1
|
+
Motiro - A project tracking tool
|
2
|
+
Copyright (C) 2006, 2007 Thiago Arrais
|
3
|
+
|
4
|
+
This program is free software; you can redistribute it and/or modify
|
5
|
+
it under the terms of the GNU General Public License as published by
|
6
|
+
the Free Software Foundation; either version 2 of the License, or
|
7
|
+
any later version.
|
8
|
+
|
9
|
+
This program is distributed in the hope that it will be useful,
|
10
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
12
|
+
GNU General Public License for more details.
|
13
|
+
|
14
|
+
You should have received a copy of the GNU General Public License
|
15
|
+
along with this program; if not, write to the Free Software
|
16
|
+
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
17
|
+
|
18
|
+
--------------------------------------------------------------------------------
|
19
|
+
|
20
|
+
Motiro is a portal for keeping track of progress on software projects. It
|
21
|
+
allows developers to stop at a single place to get the information they need
|
22
|
+
about their project's situation.
|
23
|
+
|
24
|
+
The instructions here are intended to get you started with Motiro and running a
|
25
|
+
first test to see what you can possibly get out of it. For real-life production
|
26
|
+
use, you will probably need a different setup. Please contact us at the English
|
27
|
+
development mailing list for further help. Subscription is free and available at
|
28
|
+
http://lists.sourceforge.net/mailman/listinfo/motiro-devel-en
|
29
|
+
|
30
|
+
GET IT RUNNING
|
31
|
+
=====
|
32
|
+
|
33
|
+
Motiro is developed and tested more often on some flavours of Linux -- specially
|
34
|
+
Debian, Ubuntu, Fedora and Gentoo. These probably should be the best available
|
35
|
+
systems to host Motiro, but it has been tested and seems to work pretty well on
|
36
|
+
top of Microsoft Windows or Mac OS X.
|
37
|
+
|
38
|
+
If you manage to test Motiro on another platform or happen to find any problem
|
39
|
+
with those listed above, we we'll be happy to receive your bug report.
|
40
|
+
|
41
|
+
1. Strawberries or chocolate?
|
42
|
+
------
|
43
|
+
|
44
|
+
Motiro is available for download in two main flavours: Ruby Gem and the good old
|
45
|
+
tarball (tar.gz). Each one of the solutions works as well as the other one and
|
46
|
+
both are very easy to install, but ease is a very subjective matter that depends
|
47
|
+
on what you prefer and know. You probably already have downloaded the tarball to
|
48
|
+
read this, but you may want to use the Gem version anyway.
|
49
|
+
|
50
|
+
The Gem will solve most dependencies automatically and will probably demand less
|
51
|
+
effort to set up, but will install some libraries into your system that may be a
|
52
|
+
little harder to remove in the future (nothing impossible, though). If you like
|
53
|
+
to have greater control over what is inside your system, maybe you will want to
|
54
|
+
use the tarball. It has few dependencies and everything is placed inside a
|
55
|
+
single directory instead of spread across your system.
|
56
|
+
|
57
|
+
2. Requirements
|
58
|
+
------
|
59
|
+
|
60
|
+
Motiro is written in Ruby and, in order to run it, you will need the Ruby
|
61
|
+
interpreter 1.8.2 or later. Development is mainly based on versions 1.8.2 and
|
62
|
+
1.8.4, therefore those should be the most stable ones, but any later one should
|
63
|
+
work.
|
64
|
+
|
65
|
+
For the default installation, in addition to the Ruby interpreter, you will also
|
66
|
+
need other freely available software. The programs labelled (tar) will only need
|
67
|
+
to be installed manually if you choose to install from the tarball. When using
|
68
|
+
the Gem installation these dependencies will be solved automatically for you,
|
69
|
+
but those with no label need to be installed by everyone.
|
70
|
+
|
71
|
+
* SQLite 3
|
72
|
+
* Subversion command line client (svn) (only if you will be using a Subversion
|
73
|
+
repository)
|
74
|
+
* Darcs command line client (darcs) (only if you will be using a Darcs
|
75
|
+
repository)
|
76
|
+
* (tar) POpen4 0.1.1 (available as Ruby Gem: POpen4)
|
77
|
+
* (tar) SQLite3-Ruby 1.2.1 or later (available as Ruby Gem: sqlite3-ruby)
|
78
|
+
|
79
|
+
After making sure your system has all those requirements, you may proceed with
|
80
|
+
the installation. Choose your installation method and proceed to the appropriate
|
81
|
+
section.
|
82
|
+
|
83
|
+
3. Installing the Gem
|
84
|
+
------
|
85
|
+
|
86
|
+
In order to install the Gem and have your own local Motiro, you will only need
|
87
|
+
two commands:
|
88
|
+
|
89
|
+
$ gem install motiro --include-dependencies
|
90
|
+
$ motiro install <somewhere in your system>
|
91
|
+
|
92
|
+
This will automatically download Motiro together with any library dependencies
|
93
|
+
that may be needed and install it. While running the first command, you may be
|
94
|
+
asked to choose the version for some Gems. Just select one that happens to be
|
95
|
+
compatible with your platform.
|
96
|
+
|
97
|
+
After that, Motiro will be installed in your chosen place and you can make as
|
98
|
+
many copies as you want to. Just repeat the command motiro install for different
|
99
|
+
locations.
|
100
|
+
|
101
|
+
After the second command, you will be told the local port number that Motiro
|
102
|
+
chose to run on. If you don't mind pointing your favourite browser to
|
103
|
+
http://localhost:<port>, you will be able to enjoy your Motiro right away. To
|
104
|
+
activate the reporter that collects information from your source-code
|
105
|
+
repository, proceed to the section 5 - Making it work for you.
|
106
|
+
|
107
|
+
4. Installing the tarball
|
108
|
+
------
|
109
|
+
|
110
|
+
After double-checking if you have all the requirements, the next step needed to
|
111
|
+
install from a tarball is downloading the file. As soon as you get your hands on
|
112
|
+
the archived package, choose an appropriate location in your system and unpack
|
113
|
+
Motiro.
|
114
|
+
|
115
|
+
That is all you need. You will only need to run one command to finally see your
|
116
|
+
Motiro running and try to edit some pages:
|
117
|
+
|
118
|
+
$ ruby script/server
|
119
|
+
|
120
|
+
This will start a web server on port 3000. From now on, you just need to point
|
121
|
+
your preferred browser to http://localhost:3000 and enjoy your installation.
|
122
|
+
After testing if everything is in place, you will most probably want to make
|
123
|
+
Motiro show news from your project's source code repository.
|
124
|
+
|
125
|
+
5. Making it work for you
|
126
|
+
------
|
127
|
+
|
128
|
+
Motiro comes pre-configured to its own development needs because we actually use
|
129
|
+
it to keep track of our progress. Seriously.
|
130
|
+
|
131
|
+
This may be satisfactory if you are interested in watching us work. But most
|
132
|
+
people want to keep track of their own project, their own team.
|
133
|
+
|
134
|
+
To customize Motiro to your needs, you will need to edit the configuration file
|
135
|
+
config/motiro.yml. For example, suppose you are trying to keep an eye on the
|
136
|
+
development of the Ruby on Rails framework. You can make Motiro look at their
|
137
|
+
Subversion repository by changing the repo line to
|
138
|
+
|
139
|
+
repo: http://dev.rubyonrails.org/svn/rails
|
140
|
+
|
141
|
+
All you need to do is change the Motiro repository address for yours.
|
142
|
+
|
143
|
+
6. Starting the job scheduler
|
144
|
+
------
|
145
|
+
|
146
|
+
Motiro uses an independent daemon that runs on background to update the
|
147
|
+
information from the revision control repository. In order to start and stop the
|
148
|
+
daemon, you can use the script script/ticker.
|
149
|
+
|
150
|
+
To start the scheduler, try going where you installed Motiro and saying
|
151
|
+
|
152
|
+
% ruby script/ticker start
|
153
|
+
|
154
|
+
Analogously, to stop it, you do
|
155
|
+
|
156
|
+
% ruby script/ticker stop
|
157
|
+
|
158
|
+
On Windows platforms, you are better off starting the scheduler with
|
159
|
+
|
160
|
+
% ruby script/ticker run
|
161
|
+
|
162
|
+
and stopping it by hitting Ctrl-C.
|
163
|
+
|
164
|
+
After a few minutes the reporter will have finished his job and the latest code
|
165
|
+
revisions will be available on your Motiro.
|
166
|
+
|
167
|
+
FURTHER INFO AND TROUBLESHOOTING
|
168
|
+
====
|
169
|
+
|
170
|
+
If you experience any problems with Motiro, if you have any compliments or if
|
171
|
+
you just want to discuss it, please go to
|
172
|
+
|
173
|
+
http://sourceforge.net/mail/?group_id=173790
|
174
|
+
|
175
|
+
and choose the mail list most suited to your needs.
|
data/README.pt-br
ADDED
@@ -0,0 +1,175 @@
|
|
1
|
+
Motiro - Uma ferramenta para acompanhamento de projetos
|
2
|
+
Copyright (C) 2006, 2007 Thiago Arrais
|
3
|
+
|
4
|
+
Este programa é um software de livre distribuição, que pode ser
|
5
|
+
copiado e distribuído sob os termos da Licença Pública Geral GNU,
|
6
|
+
conforme publicada pela Free Software Foundation, versão 2 da licença
|
7
|
+
ou qualquer versão posterior.
|
8
|
+
|
9
|
+
Este programa é distribuído na expectativa de ser útil aos seus usuários,
|
10
|
+
porém NÃO TEM NENHUMA GARANTIA, EXPLÍCITAS OU IMPLÍCITAS,
|
11
|
+
COMERCIAIS OU DE ATENDIMENTO A UMA DETERMINADA FINALIDADE.
|
12
|
+
Consulte a Licença Pública Geral GNU para maiores detalhes.
|
13
|
+
|
14
|
+
Deve haver uma cópia da Licença Pública Geral GNU junto com este software
|
15
|
+
em inglês ou português. Caso não haja escreva para
|
16
|
+
Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
17
|
+
|
18
|
+
--------------------------------------------------------------------------------
|
19
|
+
|
20
|
+
Motiro é um portal para acompanhamento de projetos de software. Com ele os
|
21
|
+
programadores podem obter uma vasta gama de informação sobre a situação do seu
|
22
|
+
projeto em um local central.
|
23
|
+
|
24
|
+
Estas instruções aqui têm como objetivo lhe introduzir ao Motiro através da
|
25
|
+
execução de um primeiro teste, para que você possa ver por si mesmo o que ele
|
26
|
+
pode te dar. Para utilização no mundo real, você muito provavelmente vai querer
|
27
|
+
uma configuração diferente. Por favor, contate-nos na lista de desenvolvimento
|
28
|
+
em português para maiores informações. A assinatura é grátis, disponível no
|
29
|
+
endereço http://lists.sourceforge.net/mailman/listinfo/motiro-devel-pt_br
|
30
|
+
|
31
|
+
FAZENDO A COISA RODAR
|
32
|
+
=====
|
33
|
+
|
34
|
+
O Motiro é desenvolvido e testado com maior freqüência em alguns sabores de
|
35
|
+
Linux -- especificamente Debian, Ubuntu, Fedora e Gentoo. Estes em geral devem
|
36
|
+
ser melhores sistemas para rodar o Motiro, mas ele também já foi testado e
|
37
|
+
parece funcionar bem com Microsoft Windows e Mac OS X.
|
38
|
+
|
39
|
+
Se você chegar a testar o Motiro em outra plataforma ou encontrar algum problema
|
40
|
+
com alguma das citadas acima, ficaremos felizes em receber seu relatório de bug.
|
41
|
+
|
42
|
+
1. Flocos ou chocolate?
|
43
|
+
------
|
44
|
+
|
45
|
+
O Motiro está disponível para download em dois formatos principais: como uma
|
46
|
+
Ruby Gem e como um tarball (tar.gz). Cada uma das duas soluções funciona tão bem
|
47
|
+
quanto a outra e ambos são bem fáceis de instalar, mas facilidade é uma matéria
|
48
|
+
bem subjetiva que depende do que você prefere ou sabe. Você provavelmente já
|
49
|
+
baixou o tarball para poder ler isto, mas talvez você prefira usar a versão Gem
|
50
|
+
mesmo assim.
|
51
|
+
|
52
|
+
A Gem deverá resolver a maioria das dependências automaticamente e deve dar
|
53
|
+
menos trabalho para instalar, mas irá instalar algumas bibliotecas no seu
|
54
|
+
sistema que talvez sejam um pouco mais difíceis de remover no futuro (nada de
|
55
|
+
impossível). Se você gosta de ter maior controle sobre o que está instalado em
|
56
|
+
seu sistema, talvez você prefira usar o tarball. Há poucas dependências e tudo
|
57
|
+
fica confinado em um diretório só ao invés de espalhado pelo sistema.
|
58
|
+
|
59
|
+
2. Pré-requisitos
|
60
|
+
------
|
61
|
+
|
62
|
+
O Motiro é escrito em Ruby e, para executá-lo, você vai precisar do
|
63
|
+
interpretador Ruby versão 1.8.2 ou superior. O desenvolvimento do Motiro é
|
64
|
+
baseado principalmente nas versões 1.8.2 e 1.8.4, portanto estas devem ser as
|
65
|
+
mais estáveis, mas qualquer uma posterior a isto deve funcionar.
|
66
|
+
|
67
|
+
Além do interpretador Ruby, para a instalação padrão, você vai precisar de
|
68
|
+
outros programas livremente disponíveis. Os programas marcados com (tar) só
|
69
|
+
precisarão ser instalados manualmente por quem optar pelo tarball. Caso esteja
|
70
|
+
fazendo a instalação via Gem, essas dependências serão resolvidas
|
71
|
+
automaticamente para você, mas as que estão desmarcadas precisam ser instaladas
|
72
|
+
manualmente por todos.
|
73
|
+
|
74
|
+
* SQLite 3
|
75
|
+
* Cliente de linha de comando Subversion (svn) (somente se estiver utilizando
|
76
|
+
repositório Subversion)
|
77
|
+
* Cliente de linha de comando Darcs (darcs) (somente se estiver utilizando
|
78
|
+
repositório Darcs)
|
79
|
+
* (tar) POpen4 0.1.1 (disponível como Ruby Gem: POpen4)
|
80
|
+
* (tar) SQLite3-Ruby 1.2.1 ou superior (disponível como Ruby Gem:
|
81
|
+
sqlite3-ruby)
|
82
|
+
|
83
|
+
Depois de se certificar que seu sistema possui todos os pré-requisitos, você
|
84
|
+
pode continuar a instalação. Escolha seu método de instalação e prossiga para a
|
85
|
+
seção apropriada.
|
86
|
+
|
87
|
+
3. Instalando a Gem
|
88
|
+
------
|
89
|
+
|
90
|
+
Para instalar a Gem e ver o seu Motiro local, bastam dois comandos:
|
91
|
+
|
92
|
+
$ gem install motiro --include-dependencies
|
93
|
+
$ motiro install <algum local no seu sistema>
|
94
|
+
|
95
|
+
Durante a execução do primeiro comando, será solicitado que você opte pela
|
96
|
+
versão de algumas Gems. Selecione uma versão compatível com sua plataforma.
|
97
|
+
|
98
|
+
Com isso o Motiro será instalado no local indicado e você pode fazer tantas
|
99
|
+
cópias quanto necessárias simplesmente repetindo o comando motiro install para
|
100
|
+
locais diferentes.
|
101
|
+
|
102
|
+
Ao final do segundo comando, vai ser informado o número da porta local que o
|
103
|
+
Motiro escolheu. Se abrir seu navegador em http://localhost:<porta>, você já
|
104
|
+
poderá apreciar seu Motiro e criar páginas nele. Para ativar o repórter para
|
105
|
+
coletar informação do seu repositório de código-fonte, continue na seção 5 -
|
106
|
+
Fazendo ele trabalhar para você.
|
107
|
+
|
108
|
+
4. Instalando o tarball
|
109
|
+
-----
|
110
|
+
|
111
|
+
Você já deve ter baixado e desempacotado o tarball para conseguir ler isto. Para
|
112
|
+
finalmente ver seu Motiro funcionando e conseguir editar algumas páginas, basta
|
113
|
+
executar uma linha de comando:
|
114
|
+
|
115
|
+
$ ruby script/server
|
116
|
+
|
117
|
+
Isto vai iniciar um servidor web na porta 3000. Daí para a frente só é preciso
|
118
|
+
apontar seu navegador preferido para http://localhost:3000 e apreciar sua
|
119
|
+
instalação. Depois de testar se tudo está funcionando, você muito provavelmente
|
120
|
+
vai querer que o Motiro comece a mostrar as notícias do repositório de código
|
121
|
+
do seu projeto.
|
122
|
+
|
123
|
+
5. Fazendo ele trabalhar para você
|
124
|
+
-----
|
125
|
+
|
126
|
+
O Motiro sai da caixa pré-configurado para seu próprio desenvolvimento porque
|
127
|
+
nós o usamos para acompanhar nosso próprio progresso. De verdade.
|
128
|
+
|
129
|
+
Isto pode ser satisfatório se você estiver interessado em nos ver trabalhar.
|
130
|
+
Porém a maioria das pessoas quer acompanhar seu próprio projeto, sua própria
|
131
|
+
equipe.
|
132
|
+
|
133
|
+
Para personalizar o Motiro para suas necessidades, é preciso editar o arquivo de
|
134
|
+
configuração config/motiro.yml. Por exemplo, suponha que queiramos estar
|
135
|
+
antenados no desenvolvimento do framework Ruby on Rails. Podemos instruir o
|
136
|
+
Motiro a olhar para o repositório Subversion deles com a mudança da linha 'repo'
|
137
|
+
para:
|
138
|
+
|
139
|
+
repo: http://dev.rubyonrails.org/svn/rails
|
140
|
+
|
141
|
+
Tudo que você precisa fazer é substituir o endereço do repositório do Motiro
|
142
|
+
pelo seu.
|
143
|
+
|
144
|
+
6. Iniciando o agendador de tarefas
|
145
|
+
|
146
|
+
O Motiro usa um daemon independente que deve rodar em segundo plano para
|
147
|
+
atualizar as informações do repositório de controle de versão. Para iniciar e
|
148
|
+
interromper o daemon, pode ser usado o script script/ticker.
|
149
|
+
|
150
|
+
Para iniciar o agendador, tente ir para onde você instalou o Motiro e dizer:
|
151
|
+
|
152
|
+
$ ruby script/ticker start
|
153
|
+
|
154
|
+
De maneira análoga, para interrompê-lo, você faz:
|
155
|
+
|
156
|
+
$ ruby script/ticker stop
|
157
|
+
|
158
|
+
Em plataformas Windows, é melhor tentar iniciar o agendador com
|
159
|
+
|
160
|
+
$ ruby script/ticker run
|
161
|
+
|
162
|
+
e interrompe-lo apertando Ctrl-C.
|
163
|
+
|
164
|
+
Após alguns minutos o repórter terá acabado de executar seu trabalho e as
|
165
|
+
últimas revisões de código já estarão disponíveis no seu Motiro.
|
166
|
+
|
167
|
+
MAIORES INFORMAÇÕES E RESOLUÇÃO DE PROBLEMAS
|
168
|
+
====
|
169
|
+
|
170
|
+
Se você tiver qualquer problema com o Motiro, se tiver algum elogio ou se quiser
|
171
|
+
apenas discutí-lo, por favor visite
|
172
|
+
|
173
|
+
http://sourceforge.net/mail/?group_id=173790
|
174
|
+
|
175
|
+
e escolha a lista de discussão mais adequada às suas necessidades.
|
data/Rakefile
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
# Add your own tasks in files placed in lib/tasks ending in .rake,
|
2
|
+
# for example lib/tasks/switchtower.rake, and they will automatically be available to Rake.
|
3
|
+
|
4
|
+
require(File.join(File.dirname(__FILE__), 'config', 'boot'))
|
5
|
+
|
6
|
+
require 'rake'
|
7
|
+
require 'rake/testtask'
|
8
|
+
require 'rake/rdoctask'
|
9
|
+
|
10
|
+
require 'tasks/rails'
|