Content
View differences
Updated by Jens Ulferts almost 11 years ago
**As an** OpenProject Admin
**I want to** delete the SVN repository when I delete a project and I want to create repositories when I activate the repository module
**so that** I save storage and follow the KBR requirements about “Speicherfristen”.
## Technical Solution Concept
From analysis in \#18799
- [Abandon reposman.rb script and rebuild within <s>delayed job</s> synchronous OP service (for now)](https://community.openproject.org/#122-Rebuild-within-delayed-job-queue). delayed job](https://community.openproject.org/#122-Rebuild-within-delayed-job-queue). The drawback of this, that the functionality of creating repositories on servers other than the ones OpenProject is running on does not affect any of our clients. Removing the reposman.rb script reduces complexity. Later on, the WS based solution could build on this one.
- a <s>delayed job</s> synchronous OP service (for now) delayed job is run when the repository module is activated (instant creation as in \#18834)
- ? a <s>delayed job</s> synchronous OP service (for now) delayed job is run when the repository module is deactivated ?
- probably to risky but not doing it will leave unnecessary repositories in the system, so maybe we need a manual trigger for deletion.
- a <s>delayed job</s> synchronous OP service (for now) delayed job is run when a project is deleted (\#18478)
<!-- end list -->
- When updating the storage information for a project and if the updated information reaches a threshold, an E-Mail is send to admins (\#18479)
- If a repository is not controlled by OpenProject (e.g. when it is on GitHub, the above functionality does not exist and is disabled)
- The two columns for attachment and repository size are added to the project table (\#18393)
- All installations currently employing reposman.rb need to have the cron job for this removed (setting in chef).
## Acceptance criteria
- Rebuild repository functionality as onw webservice
- Allowing to push information from OpenProject to SVN or git
- Immediate creation of repositories when creating a project
- Rebuild deployment automation
- Chef
- Packager
**I want to** delete the SVN repository when I delete a project and I want to create repositories when I activate the repository module
**so that** I save storage and follow the KBR requirements about “Speicherfristen”.
## Technical Solution Concept
From analysis in \#18799
- [Abandon reposman.rb script and rebuild within <s>delayed job</s> synchronous OP service (for now)](https://community.openproject.org/#122-Rebuild-within-delayed-job-queue).
- a <s>delayed job</s> synchronous OP service (for now)
- ? a <s>delayed job</s> synchronous OP service (for now)
- probably to risky but not doing it will leave unnecessary repositories in the system, so maybe we need a manual trigger for deletion.
- a <s>delayed job</s> synchronous OP service (for now)
<!-- end list -->
- When updating the storage information for a project and if the updated information reaches a threshold, an E-Mail is send to admins (\#18479)
- If a repository is not controlled by OpenProject (e.g. when it is on GitHub, the above functionality does not exist and is disabled)
- The two columns for attachment and repository size are added to the project table (\#18393)
- All installations currently employing reposman.rb need to have the cron job for this removed (setting in chef).
## Acceptance criteria
- Rebuild repository functionality as onw webservice
- Allowing to push information from OpenProject to SVN or git
- Immediate creation of repositories when creating a project
- Rebuild deployment automation
- Chef
- Packager