diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-01-13 18:16:51 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-01-13 18:16:51 +0000 |
commit | aa072fd68cfe366c0d5968c65e9b42aecb2a75b5 (patch) | |
tree | a7b51bab61941464115c84beff0d11ecf2a582ee /.gitlab/issue_templates | |
parent | bd5ff5cb6553dd8f168b28c97175a63250fe2ab2 (diff) | |
download | gitlab-ce-aa072fd68cfe366c0d5968c65e9b42aecb2a75b5.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.gitlab/issue_templates')
-rw-r--r-- | .gitlab/issue_templates/Geo Replicate a new Git repository type.md | 8 | ||||
-rw-r--r-- | .gitlab/issue_templates/Geo Replicate a new blob type.md | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/.gitlab/issue_templates/Geo Replicate a new Git repository type.md b/.gitlab/issue_templates/Geo Replicate a new Git repository type.md index 3c482105a22..256bddcbdab 100644 --- a/.gitlab/issue_templates/Geo Replicate a new Git repository type.md +++ b/.gitlab/issue_templates/Geo Replicate a new Git repository type.md @@ -175,8 +175,8 @@ That's all of the required database changes. #### Step 1. Implement replication and verification - [ ] Add the following lines to the `cool_widget` model to accomplish some important tasks: - - Include `Gitlab::Geo::ReplicableModel` in the `CoolWidget` class, and specify the Replicator class `with_replicator Geo::CoolWidgetReplicator`. - - Include the `::Gitlab::Geo::VerificationState` concern. + - Include `::Geo::ReplicableModel` in the `CoolWidget` class, and specify the Replicator class `with_replicator Geo::CoolWidgetReplicator`. + - Include the `::Geo::VerifiableModel` concern. - Delegate verification related methods to the `cool_widget_state` model. - For verification, override some scopes to use the `cool_widget_states` table instead of the model table. - Implement the `verification_state_object` method to return the object that holds @@ -192,8 +192,8 @@ That's all of the required database changes. class CoolWidget < ApplicationRecord ... - include ::Gitlab::Geo::ReplicableModel - include ::Gitlab::Geo::VerificationState + include ::Geo::ReplicableModel + include ::Geo::VerifiableModel with_replicator Geo::CoolWidgetReplicator diff --git a/.gitlab/issue_templates/Geo Replicate a new blob type.md b/.gitlab/issue_templates/Geo Replicate a new blob type.md index d2fc7307c88..44b80158e51 100644 --- a/.gitlab/issue_templates/Geo Replicate a new blob type.md +++ b/.gitlab/issue_templates/Geo Replicate a new blob type.md @@ -179,8 +179,8 @@ That's all of the required database changes. #### Step 1. Implement replication and verification - [ ] Add the following lines to the `cool_widget` model to accomplish some important tasks: - - Include `Gitlab::Geo::ReplicableModel` in the `CoolWidget` class, and specify the Replicator class `with_replicator Geo::CoolWidgetReplicator`. - - Include the `::Gitlab::Geo::VerificationState` concern. + - Include `::Geo::ReplicableModel` in the `CoolWidget` class, and specify the Replicator class `with_replicator Geo::CoolWidgetReplicator`. + - Include the `::Geo::VerifiableModel` concern. - Delegate verification related methods to the `cool_widget_state` model. - For verification, override some scopes to use the `cool_widget_states` table instead of the model table. - Implement the `verification_state_object` method to return the object that holds @@ -194,8 +194,8 @@ That's all of the required database changes. class CoolWidget < ApplicationRecord ... - include ::Gitlab::Geo::ReplicableModel - include ::Gitlab::Geo::VerificationState + include ::Geo::ReplicableModel + include ::Geo::VerifiableModel with_replicator Geo::CoolWidgetReplicator |