gitlab-org--gitlab-foss/lib/tasks
Zeger-Jan van de Weg fff7754186
Rename the Repository table to PoolRepository
To separate the different kinds of repositories we have at GitLab this
table will be renamed to pool_repositories. A project can, for now at
least, be member of none, or one of these. The table will get additional
columns in a later merge request where more logic is implemented for the
model.

Further included is a small refactor of logic around hashing ids for the
disk_path, mainly to ensure a previous implementation is reusable.

The disk_path for the pool_repositories table no longer has a NOT NULL
constraint, but given the hashing of the ID requires the DB to assign
the record an ID, an after_create hook is used to update the value.

A related MR is:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/23143, adding
tables for 'normal' repositories and wiki_repositories.
2018-11-27 13:41:46 +01:00
..
ci
gitlab Rename the Repository table to PoolRepository 2018-11-27 13:41:46 +01:00
migrate Fix migrations 2018-09-04 17:43:42 +02:00
brakeman.rake Speed up Unicorn specs by using a dummy Rack application instead of GitLab 2017-11-22 19:51:57 +00:00
cache.rake Allow rake cache:clear clearing pipeline status cache 2018-04-10 20:57:00 +08:00
config_lint.rake
dev.rake Use Gitlab::Utils::Override over defined?(super) 2017-12-26 17:18:10 +08:00
downtime_check.rake
ee_compat_check.rake
eslint.rake
gemojione.rake Fix grammar (setup to set-up) in code comments, spec, views, etc. 2018-09-17 09:17:33 +00:00
gettext.rake Rails 5: replace removed silence_stream 2018-08-28 13:47:40 +02:00
grape.rake
haml-lint.rake Convert parser warnings to stdout in haml_lint 2018-10-24 15:31:00 +08:00
import.rake Make getting a user by the username case insensitive 2018-10-18 09:06:44 +00:00
karma.rake
lint.rake Stop using Flay 2018-09-03 15:31:53 +02:00
plugins.rake Improve plugins documentation and remove unnecessary rake task 2018-02-28 12:31:19 +02:00
rubocop.rake
scss-lint.rake
services.rake
setup.rake
sidekiq.rake
spec.rake Enable the Style/TrailingCommaInLiteral cop 2017-05-10 18:25:45 +02:00
test.rake Remove test_ci rake task 2018-04-03 07:54:30 +09:00
tokens.rake [master] Persist only SHA digest of PersonalAccessToken#token 2018-10-29 16:06:45 +00:00
yarn.rake