summaryrefslogtreecommitdiff
path: root/lib/tasks/migrate
Commit message (Collapse)AuthorAgeFilesLines
* Improve performance of User.by_loginuser-by-login-performanceYorick Peterse2015-10-151-0/+2
| | | | | | | | | | | | | | | | | Performance is improved in two steps: 1. On PostgreSQL an expression index is used for checking lower(email) and lower(username). 2. The check to determine if we're searching for a username or Email is moved to Ruby. Thanks to @haynes for suggesting and writing the initial implementation of this. Moving the check to Ruby makes this method an additional 1.5 times faster compared to doing the check in the SQL query. With performance being improved I've now also tweaked the amount of iterations required by the User.by_login benchmark. This method now runs between 900 and 1000 iterations per second.
* Added dedicated Rake task for setting up PostgresYorick Peterse2015-10-081-0/+6
| | | | | This ensures any PostgreSQL specific schema changes (e.g. expression indexes) are created when setting up the database.
* Replace GITLAB with GitLab in rake task descriptionsDmitriy Zaporozhets2015-06-232-2/+2
|
* Adjust MySQL limits for existing installationsJacob Vosmaer2014-04-231-9/+2
|
* Add mysql limits to db during setupDmitriy Zaporozhets2014-03-131-0/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Changed limits to a higher orderJeroen van Baarsen2014-03-121-3/+3
|
* Added rake task to add limits back in mysqlJeroen van Baarsen2014-03-111-0/+13
|
* Remove old migration tasksDmitriy Zaporozhets2013-08-267-110/+0
| | | | | | You should update to 6.0 before proceed with update to higher version. So its no reason to keep old tasks any more. It should be still available in 6-0-stable but not in master
* Add iids to milestones. Moved iids logic to separate concernDmitriy Zaporozhets2013-08-211-0/+15
|
* Fix migrate_iids for issuesDmitriy Zaporozhets2013-08-201-1/+1
|
* Merge branch 'feature/internal_ids' of /home/git/repositories/gitlab/gitlabhqDmitriy Zaporozhets2013-08-201-0/+33
|\
| * Iid improvemetsDmitriy Zaporozhets2013-08-191-2/+4
| | | | | | | | | | | | * call set_iid before validation * make rake task pass event if objects are invalid * show iid in comment event at dashboard
| * Create task to create iid for existing issues/mrDmitriy Zaporozhets2013-08-191-0/+31
| |
* | Better message for migrating global projectsDmitriy Zaporozhets2013-08-201-2/+9
|/
* Move diff parsing to own class. Correctly identify note diff lineDmitriy Zaporozhets2013-08-041-1/+1
|
* Store diff with line note. It makes possible to see inline notes with proper ↵Dmitriy Zaporozhets2013-08-041-0/+16
| | | | diff even if MR diff changed
* Delete duplicate keys in migrate_keys taskJacob Vosmaer2013-08-021-0/+5
|
* Fix typosJohannes Schleifenbaum2013-07-291-1/+1
|
* store and display public key fingerprintDmitriy Zaporozhets2013-06-241-0/+15
|
* You should not be able to remove a Group ownerDmitriy Zaporozhets2013-06-221-0/+16
|
* Migrate global project taks. Removed more teams related functionalityDmitriy Zaporozhets2013-06-191-3/+7
|
* Remove Global namespace from options. Prepared file for migration of global ↵Dmitriy Zaporozhets2013-06-191-0/+12
| | | | projects
* Migrate notes.line_code format.baba2013-05-111-0/+13
| | | | | | | | | Since version 4.1, notes.line_code means: {SHA1 hash of file path}_{old line}_{new line} but the older version means: {file index of the commit}_{old line}_{new line} This rake task migrate the above differences.
* migrate milestones with nil stateDmitriy Zaporozhets2013-04-161-0/+4
|
* Warn user about losing merge request diffDmitriy Zaporozhets2013-04-151-0/+7
|
* Remove wiki migrator. We dont need it any more. Users should migrate to 5.0 ↵Dmitriy Zaporozhets2013-04-101-42/+0
| | | | first
* separate rake task for migration and persistent oneDmitriy Zaporozhets2013-04-052-0/+53