1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

26 commits

Author SHA1 Message Date
Rick Olson
441bba8091 Remove some cruft from the framework:update:configs task and fix the documentation. Closes #5300. [jeremy@planetargon.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4475 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-21 02:11:59 +00:00
David Heinemeier Hansson
bbbe4247a5 RAILS_ROOT, please
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4199 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-07 18:29:43 +00:00
David Heinemeier Hansson
c077a7308e Fixed that boot.rb would set RAILS_GEM_VERSION twice, not respect an uncommented RAILS_GEM_VERSION line, and not use require_gem [DHH] Added rake rails:update:configs to update config/boot.rb from the latest (also included in rake rails:update) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4197 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-07 18:21:52 +00:00
Scott Barron
6b3bc1bc52 A better idea, take the -qr HEAD log as before but use the root of the svn
instead of rails trunk.  This allows svn 1.1.x (debian) to work with freeze
edge out of the box, without having to specify REVISION.

References #4356, #4450, #4569.


git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4155 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-04 17:44:34 +00:00
Scott Barron
fb8428fe0d If using svn 1.1.x and no REVISION is specified, give an error message
to the user suggesting they use REVISION.

References #4450
Closes #4569


git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4154 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-04 17:00:17 +00:00
David Heinemeier Hansson
802493ca6d Added TAG option for rake rails:freeze:edge, so you can say rake rails:freeze:edge TAG=rel_1-1-0 to lock to the 1.1.0 release [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4133 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-03 02:38:12 +00:00
David Heinemeier Hansson
d08f838c0e Added -f/--freeze option to rails command for freezing the application to the Rails version it was generated with [DHH] Fixed rake rails:freeze:gems (closes #4518) [benji@silverinsanity.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4115 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-01 06:29:32 +00:00
Scott Barron
c954a5b9a0 When doing svn log -qr HEAD trunk/url, a log message with revision will not
show if the last commit was not in the trunk/ path.

For example, changeset [4045] is for scriptaculous, so the command executed by
rails:freeze:edge:

svn -qr HEAD log http://dev.rubyonrails.org/svn/rails/trunk

Yields the following output:
------------------------------------------------------------------------

Causing the regex to bomb.

Change the command to use --limit 1 instead of HEAD, which will pick up the
last changeset against the trunk path.

Fixes #4356


git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4046 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-26 16:12:48 +00:00
David Heinemeier Hansson
8463cd646e Fixed rails:freeze:gems for Windows (closes #3274) [paul@paulbutcher.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3963 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-19 01:34:14 +00:00
Tobias Lütke
e9d6fea533 Don't replace application.js in public/javascripts if it already exists [Cody Fauser]. Closes #4195
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3863 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-13 18:45:40 +00:00
David Heinemeier Hansson
2f9442c1d4 Added tracking of database and framework versions in script/about #4088 [charles.gerungan@gmail.com/Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3783 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-05 21:38:51 +00:00
David Heinemeier Hansson
3c756f85be Dont mkdir for each framework now that theyre checked out in their entirety
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3779 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-05 19:29:40 +00:00
David Heinemeier Hansson
e9d6429ad3 Added that rake rails:freeze:edge will now just export all the contents of the frameworks instead of just lib, so stuff like rails:update:scripts, rails:update:javascripts, and script/server on lighttpd still just works (closes #4047) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3748 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-03 02:54:30 +00:00
Scott Barron
9fcbd37d9c When freezing to edge, we should also export railties/bin and railties/html so
that rails:update:scripts and rails:update:javascripts still function.


git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3719 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-01 16:02:50 +00:00
David Heinemeier Hansson
985cb44110 Added namespaces to all tasks, so for example load_fixtures is now db:fixtures:load. All the old task names are still valid, they just point to the new namespaced names. "rake -T" will only show the namespaced ones, though [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3680 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-27 04:38:39 +00:00
Nicholas Seckar
ca7341d2a5 Fix freeze_gems so that the latest rails version is dumped by default
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3191 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-28 00:53:38 +00:00
Jeremy Kemper
917189b076 Correct versioning in :freeze_gems Rake task. Closes #2778.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2941 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-08 10:43:40 +00:00
Scott Barron
c9ae41fe51 Adding new scripts should set them 0755.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2932 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 22:05:53 +00:00
Jamis Buck
c2eb22e5c6 Add 'add_new_scripts' rake task for adding new rails scripts to script/*
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2926 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 18:09:31 +00:00
David Heinemeier Hansson
3c8d425bb2 Fail gracefully from svn checks (closes #2700) [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2907 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 09:46:40 +00:00
Jeremy Kemper
b4b47e560e Simplify gem search for :freeze_gems rake task.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2840 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-01 18:56:56 +00:00
Jeremy Kemper
30b9d6d28a The freeze_gems Rake task accepts the VERSION environment variable to decide which version of Rails to pull into vendor/rails.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2838 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-01 18:26:06 +00:00
Jeremy Kemper
80a8d75bf1 The freeze_edge Rake task does smarter svn detection and can export a specific revision by passing the REVISION environment variable. For example: rake freeze_edge REVISION=1234. Closes #2663.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2830 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-30 17:17:05 +00:00
David Heinemeier Hansson
41a2a63fee Fix freeze_gems
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2656 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-16 20:33:37 +00:00
David Heinemeier Hansson
985574c940 Make freezing work with Windows
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2615 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 15:44:35 +00:00
David Heinemeier Hansson
8cfcc04d08 Added Rails framework freezing tasks: freeze_gems (freeze to current gems), freeze_edge (freeze to Rails SVN trunk), unfreeze_rails (float with newest gems on system)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2613 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 15:00:15 +00:00