Updates the copyright to 2021 for all files that have a copyright. Files in our source code without the copyright header still do not receive one automatically. Additionally, backlisted files are also excluded.
Previously the copyright of chiliproject which references redmine stated a copyright of redmine up to and including 2017 which is not true for the code we have in here. Because of that I changed that to 2013
* replace very last cuke with spec
* remove cuke support files
* remove cucumber gems
* remove traces of cucumber
* remove no longer required route
* forcefully clear parallel_test features task
* attempt removal of binstub
* attempt to stabilize spec
This commit removes the entire FileSystem repository and adapter.
It rids all specs (core and legacy) of remaining uses of this adpater
and replaces it with a temporary subversion repository, where necessary.
We also need to remove remaining filesystem instances from the database,
otherwise users will receive errors when accessing said repositories
on the Frontend.
This does not destroy any data on filesystem, but database information
on the repositories (remarks) are lost.
This PR begins the push towards management of repository lifetime
from within OpenProject.
What this currently provides is the following:
- A mixin `ManageableRepository`, included by `Repository::{Git,
Subversion}` to provide an interface to repo management
- Two services and delayed_job workers for creating (`CreateManagedRepositoryService`) and
deleting (`DeleteRepositoryService`)
- Customized rendering of subforms in the repository settings for
arbitrary SCM vendors.
TODOS:
- [x] Provide sane ground to work on ( cf. PR #3149 )
- [x] Rework SCM settings form (`{scm}_tags` is currently HTML generated
from within a Helper.)
- [x] Ease integration of arbitrary SCM vendors
- [x] Display meaningful error / warning when user looks at bare
repository (currently outputs 500, as Git HEAD / svn revision is not
available)
- [x] I18n
- [ ] Specs (in progress)
- [x] Fix legacy specs
- [ ] Decide what to do with `Filesystem` adapter.
Open Questions:
- **Configuration**: Currently replaces the existing options in
`configuration.yml`.
- **Implementation specifics**:
- Sub-projects repositories reside in a hierarchy below their parents
- How should the delayed_job react upon failure? (esp. creation of
repositories)
Relevant work package: https://community.openproject.org/work_packages/20416
Merge dependent on PR #3149
For the time-being, we emulate Test::Unit Rake tasks and perform
separate runs for each of the legacy spec groups: there are still
problems with legacy specs not cleaning up after themselves.
Additionally legacy specs and the core spec suite cannot (yet) share
the same configuration.
Signed-off-by: Alex Coles <alex@alexbcoles.com>