- 01 8月, 2017 4 次提交
-
-
由 Gabriel Mazetto 提交于
-
由 Gabriel Mazetto 提交于
-
由 Gabriel Mazetto 提交于
-
由 Gabriel Mazetto 提交于
-
- 26 7月, 2017 1 次提交
-
-
由 Tiago Botelho 提交于
-
- 20 7月, 2017 3 次提交
-
-
由 Tiago Botelho 提交于
-
由 Tiago Botelho 提交于
-
由 Timothy Andrew 提交于
1. Rescue all errors that `Projects::DestroyService` might throw, to prevent the worker from leaving things in an inconsistent state 2. Unmark the project as `pending_delete` 3. Add a `delete_error` text column to `projects`, and save the error message in there, to be shown to the project masters/owners.
-
- 03 6月, 2017 1 次提交
-
-
由 Douwe Maan 提交于
-
- 05 4月, 2017 2 次提交
-
-
由 Grzegorz Bizon 提交于
-
由 Grzegorz Bizon 提交于
-
- 04 4月, 2017 1 次提交
-
-
由 Grzegorz Bizon 提交于
-
- 01 3月, 2017 1 次提交
-
-
由 Sean McGivern 提交于
-
- 23 2月, 2017 1 次提交
-
-
由 Douwe Maan 提交于
-
- 22 2月, 2017 1 次提交
-
-
由 Andre Guedes 提交于
- Fixes project, container_image and tag deletion - Removed container_images_repository [ci skip]
-
- 19 2月, 2017 1 次提交
-
-
由 Stan Hu 提交于
There are two issues with truncating the project team early: 1. `Projects::UnlinkForkService` may not close merge requests properly since permissions may be revoked early. 2. If an error is encountered during flushing of caches, then the user will lose all privileges, possibly causing an issue on deletion on retry.
-
- 13 9月, 2016 1 次提交
-
-
由 Katarzyna Kobierska 提交于
-
- 11 8月, 2016 1 次提交
-
-
由 Stan Hu 提交于
Instead of redirecting from the project service to the service and back to the model, put all destruction code in the service. Also removes a possible source of failure where run_after_commit may not destroy the project.
-
- 30 6月, 2016 1 次提交
-
-
由 Alejandro Rodríguez 提交于
-
- 03 6月, 2016 2 次提交
-
-
由 James Lopez 提交于
This reverts commit 3e991230.
-
由 James Lopez 提交于
# Conflicts: # app/models/project.rb
-
- 14 5月, 2016 1 次提交
-
-
由 Kamil Trzcinski 提交于
-
- 13 5月, 2016 1 次提交
-
-
由 Kamil Trzcinski 提交于
-
- 11 5月, 2016 1 次提交
-
-
由 Stan Hu 提交于
-
- 10 5月, 2016 1 次提交
-
-
由 Kamil Trzcinski 提交于
-
- 07 5月, 2016 1 次提交
-
-
由 Stan Hu 提交于
Run ProjectDestroyWorker after pending_delete attribute has been committed to DB
-
- 04 5月, 2016 1 次提交
-
-
由 Kamil Trzcinski 提交于
-
- 23 2月, 2016 1 次提交
-
-
由 Yorick Peterse 提交于
This keeps all the cache expiration code in a single file/class instead of spreading it all across the codebase.
-
- 17 2月, 2016 1 次提交
-
-
由 Yorick Peterse 提交于
This ensures that _all_ caches (including any caches normally only flushed under certain conditions) are flushed whenever a project is removed. Because cache keys are based on project namespaces (excluding IDs) not doing so could result in a newly created project re-using old caches (if the project was re-created using the same name).
-
- 29 1月, 2016 1 次提交
-
-
由 Josh Frye 提交于
-
- 11 8月, 2015 2 次提交
-
-
由 Dmitriy Zaporozhets 提交于
This reverts commit 5daf44b7, reversing changes made to 2f706fbd.
-
由 Dmitriy Zaporozhets 提交于
This reverts commit 957e849f, reversing changes made to 6b9dbe9f. Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- 15 7月, 2015 1 次提交
-
-
由 Dmitriy Zaporozhets 提交于
-
- 03 6月, 2015 3 次提交
-
-
由 Dmitriy Zaporozhets 提交于
Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
由 Dmitriy Zaporozhets 提交于
Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
由 Dmitriy Zaporozhets 提交于
Ths commit does next: * When we remove project we move repository to path+deleted.git * Then we schedule removal of path+deleted with sidekiq * If repository move failed we abort project removal This should help us with NFS issue when project get removed but repository stayed. The full explanation of problem is below: * rm -rf project.git * rm -rf removes project.git/objects/foo * NFS server renames foo to foo.nfsXXXX because some NFS client (think * Unicorn) still has the file open * rm -rf exits, but project.git/objects/foo.nfsXXX still exists * Unicorn closes the file, the NFS client closes the file (foo), and the * NFS server removes foo.nfsXXX * the directory project.git/objects/ still exists => problem So now we move repository and even if repository removal failed Repository directory is moved so no bugs with project removed but repository directory taken. User still able to create new project with same name. From administrator perspective you can easily find stalled repositories by searching `*+deleted.git` Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- 23 10月, 2014 1 次提交
-
-
由 Vinnie Okada 提交于
Always delete repositories from the filesystem when deleting a project.
-
- 08 10月, 2014 1 次提交
-
-
由 Vinnie Okada 提交于
Update the project API controller to use `Projects::DestroyService` instead of calling `Project#destroy` directly. Also add an optional parameter, `:keep_repo`, that allows a project to be deleted without deleting the repository, wiki, and satellite from disk.
-
- 18 6月, 2014 2 次提交
-
-
由 Dmitriy Zaporozhets 提交于
-
由 Dmitriy Zaporozhets 提交于
-