summaryrefslogtreecommitdiff
path: root/lib/tasks
Commit message (Collapse)AuthorAgeFilesLines
* Replace old GH importer with the parallel importergithub-importer-refactorYorick Peterse2017-11-071-2/+4
|
* Improve GitLab Import rake task to work with Hashed Storage and SubgroupsJames Lopez2017-11-071-8/+6
|
* show better message when deciding not to continue39903-restore-backup-warningdigitalMoksha2017-11-071-17/+22
|
* Make warning message more explicitdigitalMoksha2017-11-071-1/+1
|
* Remove tokens:reset_all_auth rake taskDouwe Maan2017-11-021-11/+1
|
* Remove gitlab:users:clear_all_authentication_tokens rake taskDouwe Maan2017-11-021-11/+0
|
* Ensure the ee-compat-check uses the correct patch URL for forks39628-bug-in-the-procedure-advised-from-ee_compat_checkRémy Coutable2017-10-311-4/+3
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Improve the gitlab:dev:ee_compat_check task to pass a repo URL without ↵39237-fix-ee_compat_checkRémy Coutable2017-10-181-1/+3
| | | | | | credentials Signed-off-by: Rémy Coutable <remy@rymai.me>
* Fix the ee_compat_check task for forksRémy Coutable2017-10-061-1/+4
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Merge branch 'zj-gitaly-namespace-service' into 'master'Douwe Maan2017-10-051-0/+7
|\ | | | | | | | | Gitaly namespace service enabled for GitLab See merge request gitlab-org/gitlab-ce!14274
| * Gitaly namespace service enabled for GitLabZeger-Jan van de Weg2017-10-051-0/+7
| |
* | Ensure the `import:github` task doesn't schedule an import jobRémy Coutable2017-10-051-4/+9
| | | | | | | | | | | | | | The point of this task is to run the import in the foreground, so it shouldn't schedule an import job! Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Don't mark the import as finished if it wasn't successful in the ↵Rémy Coutable2017-10-051-4/+10
|/ | | | | | `import:github` task Signed-off-by: Rémy Coutable <remy@rymai.me>
* Load only the currently needed JS locale fileTim Zallmann2017-10-041-1/+1
|
* Create repositories via GitalyJacob Vosmaer2017-09-291-1/+1
|
* Add support to migrate existing projects to Hashed Storage asynchashed-storage-migration-pathGabriel Mazetto2017-09-281-0/+85
|
* Enable ee_compat_check for forks, but not EELin Jen-Shin2017-09-151-1/+4
| | | | | We exclude known EE projects, and check the project directory name for EE forks.
* Refactor on namespace and repository checks and added specsGabriel Mazetto2017-09-121-1/+0
|
* Detect orphaned repositories and namespaces in any storageGabriel Mazetto2017-09-121-0/+30
|
* Finish migration to the new events setupevents-migration-cleanupYorick Peterse2017-09-061-0/+11
| | | | | | | | | | | | | This finishes the procedure for migrating events from the old format into the new format. Code no longer uses the old setup and the database tables used during the migration process are swapped, with the old table being dropped. While the database migration can be reversed this will 1) take a lot of time as data has to be coped around 2) won't restore data in the "events.data" column as we have no way of restoring this. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/37241
* Merge branch 'system-checks-incoming-email' into 'master'Sean McGivern2017-09-061-117/+8
|\ | | | | | | | | Move Incoming Email checks to System Checks See merge request !14028
| * Refactored Incoming Email checks to use SystemCheck librarysystem-checks-incoming-emailGabriel Mazetto2017-09-041-117/+8
| |
* | Do not require the simple_po_parser in the gettext rake task when in aDJ Mountney2017-09-051-1/+2
| |
* | Add a system check for the git user's custom SSH configurationNick Thomas2017-09-041-0/+1
| |
* | Only require `simple_po_parser` in rake task that needs itbvl-only-require-po-parser-in-rakeBob Van Landuyt2017-09-041-0/+1
|/ | | | | That way we don't need to install it in production, since it's really not needed there.
* Merge branch 'bvl-validate-po-files' into 'master'Douwe Maan2017-09-011-0/+40
|\ | | | | | | | | Validate PO files in static analysis See merge request !13000
| * Move `PoLinter` into `Gitlab::I18n`Bob Van Landuyt2017-08-311-2/+2
| |
| * Add a linter for PO filesBob Van Landuyt2017-08-311-0/+40
| |
* | `current_application_settings` belongs on `Gitlab::CurrentSettings`Sean McGivern2017-08-311-1/+1
|/ | | | | | | | | | | | | | | | The initializers including this were doing so at the top level, so every object loaded after them had a `current_application_settings` method. However, if someone had rack-attack enabled (which was loaded before these initializers), it would try to load the API, and fail, because `Gitlab::CurrentSettings` didn't have that method. To fix this: 1. Don't include `Gitlab::CurrentSettings` at the top level. We do not need `Object.new.current_application_settings` to work. 2. Make `Gitlab::CurrentSettings` explicitly `extend self`, as we already use it like that in several places. 3. Change the initializers to use that new form.
* Use `git update-ref --stdin -z` to delete refs36807-gc-unwanted-refs-after-importLin Jen-Shin2017-08-301-1/+1
|
* replace `is_gitlab_user?` with `gitlab_user?`Maxim Rydkin2017-08-291-2/+2
|
* Migrate creation of nested groups into a serviceBob Van Landuyt2017-08-231-17/+1
|
* Improve bare repository importBob Van Landuyt2017-08-231-63/+2
| | | | | | | | | - Allow imports into nested groups - Make sure it sets the correct visibility level when creating new groups While doing this, I moved the import into a testable class, that made it easier to improve.
* Prevent using gitlab import task when hashed storage is enabledGabriel Mazetto2017-08-221-0/+6
|
* Enable Layout/TrailingWhitespace cop and auto-correct offensesRobert Speicher2017-08-151-1/+1
|
* Add two more project templateszj-add-two-more-project-templatesZ.J. van de Weg2017-08-151-2/+7
| | | | | | | Related to !13108. Mostly this is just running the rake task and changing the task a bit to catch cases like the project already existing or so. The rake task moves archives to the vendor/project_template directory, which are checked in too.
* Use existing BUNDLE_PATH for gitaly in local testsgitaly-test-bundle-pathJacob Vosmaer2017-08-111-2/+6
|
* Merge branch '36003-do-not-include-to-kernel' into 'master'Robert Speicher2017-08-093-13/+3
|\ | | | | | | | | | | | | Don't include anything to Kernel only because of tasks Closes #36003 See merge request !13380
| * We shouldn't include utility methods everywhereLin Jen-Shin2017-08-081-0/+2
| |
| * Just extend main, rather than include to KernelLin Jen-Shin2017-08-082-13/+1
| | | | | | | | | | | | | | Unfortunately rake doesn't have nested context, everything just runs on a main rake object. This is probably due to compatibility issue, but anyway, we could just extend the object.
* | Unset BUNDLE_GEMFILE when installing GitalyJacob Vosmaer2017-08-081-1/+1
|/
* Merge branch '35941-fix-testing-issue-following-gitaly-install-fix' into ↵Rémy Coutable2017-08-081-1/+1
|\ | | | | | | | | | | | | | | | | 'master' Unset the `RUBYOPT` env variable before installing `gitaly-ruby` Closes #35941 and #35967 See merge request !13313
| * Print the setup steps and duration and fix an issue resulting in re-setuping ↵35941-fix-testing-issue-following-gitaly-install-fixRémy Coutable2017-08-041-1/+1
| | | | | | | | | | | | GitLab Shell on each test run Signed-off-by: Rémy Coutable <remy@rymai.me>
| * Unset the RUBYOPT env variable before installing gitaly-rubyRémy Coutable2017-08-041-1/+1
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
| * Revert "Merge branch 'fix-gitaly-install' into 'master'"Rémy Coutable2017-08-041-1/+1
| | | | | | | | | | This reverts commit 23c502b43404aa70741462da5d57c23196f6088a, reversing changes made to 1018ab0516fd94d1ffbc05a0ad8499947dd9630d.
* | Merge branch 'github' into 'master'Robert Speicher2017-08-071-1/+2
|\ \ | | | | | | | | | | | | | | | | | | Improve GitHub importer Closes #27429 See merge request !12886
| * | Fix small typoe on GitHub import rake taskDouglas Barbosa Alexandre2017-08-071-1/+1
| | |
| * | Use a custom root endpoint if defined on GH ominiauth provider settingsDouglas Barbosa Alexandre2017-08-071-1/+1
| | |
| * | Use project.import_url to fetch repositories from GithubDouglas Barbosa Alexandre2017-08-071-0/+1
| | |
* | | Merge branch 'zj-project-templates' into 'master'Sean McGivern2017-08-071-0/+49
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Allow projects to be started from a template Closes #32420 See merge request !13108