Angus MacArthur
2ad723e1c1
fixed broken gitlab version determination during backup
...
If the backup directory is not sub the gitlab install directory,
then the git rev-parse call will fail.
2013-04-23 16:14:13 -04:00
Dmitriy Zaporozhets
44d63b4cea
require gitlab:shell v1.3.0
2013-04-20 15:56:13 +03:00
Dmitriy Zaporozhets
a769662f18
Invoke shell setup after backup restore
2013-04-18 13:27:52 +03:00
Dmitriy Zaporozhets
bd4057910b
Merge pull request #3603 from axilleas/os-name
...
Added os_name support for systems running systemd.
2013-04-18 03:08:40 -07:00
axilleas
7305d98c8e
Added check_redis_version. Fixes #3449
...
Checking the redis version will warn users that
are using an old version to update. Included
reference to the troubleshooting guide.
2013-04-15 21:54:45 +03:00
Axilleas Pipinellis
efe9087606
Added os_name support for systems running systemd.
2013-04-15 18:05:48 +03:00
Dmitriy Zaporozhets
e230551940
backup/restore uploads
2013-04-10 15:41:47 +03:00
Dmitriy Zaporozhets
0da5a4fab1
separate rake task for migration and persistent one
2013-04-05 20:44:16 +03:00
Dmitriy Zaporozhets
c33d5e16fe
refactor backup/restore
2013-04-05 19:01:19 +03:00
Dmitriy Zaporozhets
38d23c0e5f
Replace db:backup/restore with native mysq/pg solution
2013-04-05 15:55:02 +03:00
Evan Wondrasek
f1b369b57d
Fixed: gitlab-shell version check error message
2013-03-28 11:03:00 -05:00
Dmitriy Zaporozhets
53e54ddf8a
require gitlab-shell v1.2.0 now
2013-03-25 15:19:06 +02:00
Kevin Lyda
415bade302
Result of misspellings run.
...
Most of these are comments but a few are strings for users.
Might be an idea to run this from time to time:
https://github.com/lyda/misspell-check
It runs mostly clean now.
2013-03-17 19:46:54 +00:00
Dan Knox
330fe4162e
Fix Wiki migration task and add more test coverage.
...
There was an error in the #extract_attributes_from_page method that
caused an exception when checking to see if a page named "Home"
already exists.
The check occurs to handle the renaming of the main index page to
"Home" to match the Gollum standard. If there is already a page
called "Home" then the migrator will leave that page and create
the Index page as usual. Users will need to manually rename their
old "Home" page to something else then rename their "Index" page
to "Home". Fortunately, I would be highly surprised if this case
ever comes up.
I also added more verbosity to the logging so if an error does
occur, it will be easier to track down which Wiki page is causing
the problem.
2013-03-16 18:01:48 -07:00
Dmitriy Zaporozhets
cf848fd06d
Merge pull request #3217 from chrislawlor/2437
...
Adds DB-sensitive tablename escape for backup task.
2013-03-16 02:26:01 -07:00
Dmitriy Zaporozhets
71ab011a17
Merge branch 'use_gollum_wikis' of https://github.com/DanKnox/gitlabhq into DanKnox-use_gollum_wikis
...
Conflicts:
app/views/layouts/project_resource.html.haml
app/views/wikis/edit.html.haml
app/views/wikis/pages.html.haml
app/views/wikis/show.html.haml
spec/features/gitlab_flavored_markdown_spec.rb
2013-03-15 16:55:07 +02:00
Chris Lawlor
3df5253cc3
Adds DB-sensitive tablename escape for backup task.
...
Uses ActiveRecord::Base.connection.quote_table_name.
Fixes issue 2437.
2013-03-14 13:30:25 -04:00
Dmitriy Zaporozhets
70fc1c5021
cleanup ProjectMover
2013-03-12 14:13:25 +02:00
Dmitriy Zaporozhets
147b93ee3e
check gitlab-shell version in gitlab:check
2013-03-12 12:53:07 +02:00
Dan Knox
f0aa54e0fb
Create Wiki migration task.
...
This commit adds a new Rake task for migrating all of your existing
Wiki content from your database into new Gollum repositories.
The bulk of the logic happens within the `WikiToGollumMigrator`
class which is decently test covered and located in the lib directory.
The new Rake task can be executed by running:
`bundle exec rake gitlab:wiki:migrate`
It will output a nice log of every project that it migrates along
with success or failure messages.
I have used it on my own installation to migrate my Wikis successfully.
2013-03-10 19:10:44 -07:00
Dmitriy Zaporozhets
9c2a6e2013
Merge pull request #3047 from mikew/capistrano-deploy-example
...
Capistrano deploy example
2013-03-07 02:08:11 -08:00
Axilleas Pipinellis
a3bbc5956b
We don't need to check .profile now that gitolite is replaced by gitlab-shell
2013-02-20 17:36:09 +02:00
Mike Wyatt
c6f5b96ba8
allow force=yes rake gitlab:setup for capistrano deploy:cold
2013-02-20 00:14:03 -03:30
Dmitriy Zaporozhets
b729728536
uppercase Gitlab version and revision constants. check api return gitlab version now
2013-02-16 14:42:22 +02:00
Bhagavan Das
4bc7d98d65
Remove hardcoded refernce to gitlab-shell home. so that gitlab can be installed on any unix account other than git
2013-02-14 23:10:18 +00:00
Bhagavan Das
08dfbc962b
rename setup to setup_db so that it does not collide with gitlab:shell:setup task
2013-02-14 21:39:48 +00:00
Riyad Preukschas
428af5ea62
Merge pull request #2890 from cameronyule/support_osx_groups
...
OS X support for gitlab:check rake tasks
2013-02-14 11:07:46 -08:00
Martin Bastien
8353bd8ee3
Forgot gitlab-shell folder
2013-02-12 12:49:11 -05:00
Martin Bastien
6b96ca47e0
Some fix for gitlab:gitlab_shell:check
...
Fixing issue #2970
2013-02-12 12:42:36 -05:00
Dmitriy Zaporozhets
d64090b8a9
No gitolite in project any more
2013-02-11 19:16:59 +02:00
Dmitriy Zaporozhets
2d83e43db0
FIx gitlab:env:info
2013-02-11 10:02:52 +02:00
Dmitriy Zaporozhets
7a88bf0978
Fix gitlab:check
2013-02-11 09:58:02 +02:00
Dmitriy Zaporozhets
a404c43805
removing outdated checks
2013-02-09 15:34:04 +02:00
Dmitriy Zaporozhets
2f019b2b4c
cleanup rake tasks since no gitolite required
2013-02-09 15:21:19 +02:00
Dmitriy Zaporozhets
433f2dbcef
task to build missing projects with gitlab-shell
2013-02-09 12:30:49 +02:00
Dmitriy Zaporozhets
cdcf69d0d9
gitlab;shell init script
2013-02-07 10:06:39 +02:00
Dmitriy Zaporozhets
adfd36f26a
no need to run gitolite for enable_automerge
2013-02-05 13:30:56 +02:00
Cameron Yule
e0d62d9c5f
Replacing the manual parsing of the /etc/group file with the equivalent call from the Etc class in the Ruby standard library. This has the benefit of supporting additional platforms (e.g. OS X).
2013-02-02 20:04:07 +00:00
Riyad Preukschas
fac503877d
Port changes from #2803
2013-02-01 21:22:40 +01:00
Riyad Preukschas
42dd006dfc
Small fixes to the installation guide and check task
2013-02-01 21:06:44 +01:00
Riyad Preukschas
003c312104
Merge pull request #2440 from klamontagne/master
...
Don't setuid the repositories on installation
2013-02-01 20:56:03 +01:00
Lennart Rosam
f9a48f72d4
Fix issue #2790
2013-01-28 13:52:30 +01:00
Lennart Rosam
66ebf8d83f
Merge remote-tracking branch 'github/master'
2013-01-28 13:04:23 +01:00
Lennart Rosam
dc13af90b1
Fix rake task - Update method name
2013-01-28 12:54:07 +01:00
Alex Denisov
6ab6c55de5
Missed environment added to 'Try fixing it' block
2013-01-26 14:22:48 +00:00
Erwan Arzur
621ca86b9e
[import] - fix project import after refactoring
2013-01-22 19:07:11 +01:00
Riyad Preukschas
47e510e14f
Small fixes
2013-01-19 15:26:55 +01:00
Kevin Lamontagne
f4175219fb
Fix gitlab:check recommendation
...
Running the recommendation would give out:
GNU find: paths must precede expression
2013-01-18 14:14:32 -05:00
Riyad Preukschas
65c35466b6
Rename gitlab:app:setup task to gitlab:setup
2013-01-17 21:26:22 +01:00
Riyad Preukschas
bc59fd046f
Add a warning prompt to the setup task
2013-01-17 21:19:36 +01:00