diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-21 18:07:57 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-21 18:07:57 +0000 |
commit | c0b718a0dbd99e6c0d30e5bc55bdcf4a12946375 (patch) | |
tree | 8ad3691912d91d8cf7b3931f68a4284ae7b5995c | |
parent | 5dc70663c4ff1feb215428ce50673b5b646f9809 (diff) | |
download | gitlab-ce-c0b718a0dbd99e6c0d30e5bc55bdcf4a12946375.tar.gz |
Add latest changes from gitlab-org/gitlab@master
662 files changed, 1432 insertions, 214 deletions
diff --git a/.gitlab/ci/rules.gitlab-ci.yml b/.gitlab/ci/rules.gitlab-ci.yml index 707980c3513..29c02c5e5bf 100644 --- a/.gitlab/ci/rules.gitlab-ci.yml +++ b/.gitlab/ci/rules.gitlab-ci.yml @@ -312,6 +312,7 @@ - "scripts/rspec_helpers.sh" # Mapped patterns (see tests.yml) - "data/whats_new/*.yml" + - "doc/index.md" .search-backend-patterns: &search-backend-patterns - "{,jh/}Gemfile.lock" @@ -381,6 +382,7 @@ - ".gitlab/ci/**/*" # Mapped patterns (see tests.yml) - "data/whats_new/*.yml" + - "doc/index.md" # .code-patterns + .backstage-patterns .code-backstage-patterns: &code-backstage-patterns @@ -411,6 +413,7 @@ - "{,spec/}tooling/**/*" # Mapped patterns (see tests.yml) - "data/whats_new/*.yml" + - "doc/index.md" # .code-patterns + .qa-patterns .code-qa-patterns: &code-qa-patterns @@ -437,6 +440,7 @@ - "{,jh/}qa/**/*" # Mapped patterns (see tests.yml) - "data/whats_new/*.yml" + - "doc/index.md" # .code-patterns + .backstage-patterns + .qa-patterns .code-backstage-qa-patterns: &code-backstage-qa-patterns @@ -471,6 +475,7 @@ - "{,jh/}qa/**/*" # Mapped patterns (see tests.yml) - "data/whats_new/*.yml" + - "doc/index.md" # .code-backstage-qa-patterns + .workhorse-patterns # NOTE: `setup-test-env-patterns` intentionally does not include docs files, because this would @@ -493,7 +498,9 @@ - "config.ru" - "{,ee/,jh/}{app,bin,config,db,generator_templates,haml_lint,lib,locale,public,scripts,storybook,symbol,vendor}/**/*" - "doc/api/graphql/reference/*" # Files in this folder are auto-generated + # Mapped patterns (see tests.yml) - "data/whats_new/*.yml" + - "doc/index.md" # CI changes - ".gitlab-ci.yml" - ".gitlab/ci/**/*" @@ -1881,32 +1888,31 @@ - <<: *if-merge-request-labels-run-review-app - <<: *if-dot-com-gitlab-org-merge-request changes: *ci-review-patterns - when: never + allow_failure: true - <<: *if-dot-com-gitlab-org-merge-request changes: *frontend-build-patterns variables: *review-change-pattern - when: never + allow_failure: true - <<: *if-dot-com-gitlab-org-merge-request changes: *controllers-patterns variables: *review-change-pattern - when: never + allow_failure: true - <<: *if-dot-com-gitlab-org-merge-request changes: *models-patterns variables: *review-change-pattern - when: never + allow_failure: true - <<: *if-dot-com-gitlab-org-merge-request changes: *lib-gitlab-patterns variables: *review-change-pattern - when: never + allow_failure: true - <<: *if-dot-com-gitlab-org-merge-request changes: *qa-patterns - when: never + allow_failure: true - <<: *if-dot-com-gitlab-org-merge-request changes: *code-patterns when: manual allow_failure: true - <<: *if-dot-com-gitlab-org-schedule - when: never allow_failure: true variables: KNAPSACK_GENERATE_REPORT: "true" diff --git a/.gitlab/merge_request_templates/Default.md b/.gitlab/merge_request_templates/Default.md index ecb8505e0df..f670882a72f 100644 --- a/.gitlab/merge_request_templates/Default.md +++ b/.gitlab/merge_request_templates/Default.md @@ -44,3 +44,5 @@ This checklist encourages us to confirm any changes have been analyzed to reduce * [ ] I have evaluated the [MR acceptance checklist](https://docs.gitlab.com/ee/development/code_review.html#acceptance-checklist) for this MR. <!-- template sourced from https://gitlab.com/gitlab-org/gitlab/-/blob/master/.gitlab/merge_request_templates/Default.md --> + +/assign me diff --git a/app/assets/javascripts/deprecated_jquery_dropdown/render.js b/app/assets/javascripts/deprecated_jquery_dropdown/render.js index 0f612989bb4..97698d55011 100644 --- a/app/assets/javascripts/deprecated_jquery_dropdown/render.js +++ b/app/assets/javascripts/deprecated_jquery_dropdown/render.js @@ -149,7 +149,7 @@ function renderLink(row, data, { options, group, index }) { } function getOptionRenderer({ options, instance }) { - return options.renderRow && ((li, data) => options.renderRow(data, instance)); + return options.renderRow && ((li, data, params) => options.renderRow(data, instance, params)); } function getRenderer(data, params) { diff --git a/app/assets/javascripts/filtered_search/add_extra_tokens_for_merge_requests.js b/app/assets/javascripts/filtered_search/add_extra_tokens_for_merge_requests.js index d9c627f5c93..397ba879866 100644 --- a/app/assets/javascripts/filtered_search/add_extra_tokens_for_merge_requests.js +++ b/app/assets/javascripts/filtered_search/add_extra_tokens_for_merge_requests.js @@ -1,9 +1,16 @@ -import { __, s__ } from '~/locale'; +import { __ } from '~/locale'; +import { + TOKEN_TITLE_APPROVED_BY, + TOKEN_TITLE_REVIEWER, + TOKEN_TYPE_APPROVED_BY, + TOKEN_TYPE_REVIEWER, + TOKEN_TYPE_TARGET_BRANCH, +} from '~/vue_shared/components/filtered_search_bar/constants'; export default (IssuableTokenKeys, disableTargetBranchFilter = false) => { const reviewerToken = { - formattedKey: s__('SearchToken|Reviewer'), - key: 'reviewer', + formattedKey: TOKEN_TITLE_REVIEWER, + key: TOKEN_TYPE_REVIEWER, type: 'string', param: 'username', symbol: '@', @@ -53,7 +60,7 @@ export default (IssuableTokenKeys, disableTargetBranchFilter = false) => { if (!disableTargetBranchFilter) { const targetBranchToken = { formattedKey: __('Target-Branch'), - key: 'target-branch', + key: TOKEN_TYPE_TARGET_BRANCH, type: 'string', param: '', symbol: '', @@ -67,8 +74,8 @@ export default (IssuableTokenKeys, disableTargetBranchFilter = false) => { const approvedBy = { token: { - formattedKey: __('Approved-By'), - key: 'approved-by', + formattedKey: TOKEN_TITLE_APPROVED_BY, + key: TOKEN_TYPE_APPROVED_BY, type: 'array', param: 'usernames[]', symbol: '@', @@ -76,8 +83,8 @@ export default (IssuableTokenKeys, disableTargetBranchFilter = false) => { tag: '@approved-by', }, tokenAlternative: { - formattedKey: __('Approved-By'), - key: 'approved-by', + formattedKey: TOKEN_TITLE_APPROVED_BY, + key: TOKEN_TYPE_APPROVED_BY, type: 'string', param: 'usernames', symbol: '@', @@ -85,25 +92,25 @@ export default (IssuableTokenKeys, disableTargetBranchFilter = false) => { condition: [ { url: 'approved_by_usernames[]=None', - tokenKey: 'approved-by', + tokenKey: TOKEN_TYPE_APPROVED_BY, value: __('None'), operator: '=', }, { url: 'not[approved_by_usernames][]=None', - tokenKey: 'approved-by', + tokenKey: TOKEN_TYPE_APPROVED_BY, value: __('None'), operator: '!=', }, { url: 'approved_by_usernames[]=Any', - tokenKey: 'approved-by', + tokenKey: TOKEN_TYPE_APPROVED_BY, value: __('Any'), operator: '=', }, { url: 'not[approved_by_usernames][]=Any', - tokenKey: 'approved-by', + tokenKey: TOKEN_TYPE_APPROVED_BY, value: __('Any'), operator: '!=', }, diff --git a/app/assets/javascripts/filtered_search/available_dropdown_mappings.js b/app/assets/javascripts/filtered_search/available_dropdown_mappings.js index 3913e4e8d81..1f8baa470d8 100644 --- a/app/assets/javascripts/filtered_search/available_dropdown_mappings.js +++ b/app/assets/javascripts/filtered_search/available_dropdown_mappings.js @@ -1,5 +1,17 @@ import { sortMilestonesByDueDate } from '~/milestones/utils'; -import { mergeUrlParams } from '../lib/utils/url_utility'; +import { mergeUrlParams } from '~/lib/utils/url_utility'; +import { + TOKEN_TYPE_APPROVED_BY, + TOKEN_TYPE_ASSIGNEE, + TOKEN_TYPE_AUTHOR, + TOKEN_TYPE_CONFIDENTIAL, + TOKEN_TYPE_LABEL, + TOKEN_TYPE_MILESTONE, + TOKEN_TYPE_MY_REACTION, + TOKEN_TYPE_RELEASE, + TOKEN_TYPE_REVIEWER, + TOKEN_TYPE_TARGET_BRANCH, +} from '~/vue_shared/components/filtered_search_bar/constants'; import DropdownEmoji from './dropdown_emoji'; import DropdownHint from './dropdown_hint'; import DropdownNonUser from './dropdown_non_user'; @@ -58,17 +70,17 @@ export default class AvailableDropdownMappings { getMappings() { return { - author: { + [TOKEN_TYPE_AUTHOR]: { reference: null, gl: DropdownUser, element: this.container.querySelector('#js-dropdown-author'), }, - assignee: { + [TOKEN_TYPE_ASSIGNEE]: { reference: null, gl: DropdownUser, element: this.container.querySelector('#js-dropdown-assignee'), }, - reviewer: { + [TOKEN_TYPE_REVIEWER]: { reference: null, gl: DropdownUser, element: this.container.querySelector('#js-dropdown-reviewer'), @@ -78,12 +90,12 @@ export default class AvailableDropdownMappings { gl: DropdownUser, element: this.container.getElementById('js-dropdown-attention-requested'), }, - 'approved-by': { + [TOKEN_TYPE_APPROVED_BY]: { reference: null, gl: DropdownUser, element: this.container.querySelector('#js-dropdown-approved-by'), }, - milestone: { + [TOKEN_TYPE_MILESTONE]: { reference: null, gl: DropdownNonUser, extraArguments: { @@ -93,7 +105,7 @@ export default class AvailableDropdownMappings { }, element: this.container.querySelector('#js-dropdown-milestone'), }, - release: { + [TOKEN_TYPE_RELEASE]: { reference: null, gl: DropdownNonUser, extraArguments: { @@ -106,7 +118,7 @@ export default class AvailableDropdownMappings { }, element: this.container.querySelector('#js-dropdown-release'), }, - label: { + [TOKEN_TYPE_LABEL]: { reference: null, gl: DropdownNonUser, extraArguments: { @@ -116,7 +128,7 @@ export default class AvailableDropdownMappings { }, element: this.container.querySelector('#js-dropdown-label'), }, - 'my-reaction': { + [TOKEN_TYPE_MY_REACTION]: { reference: null, gl: DropdownEmoji, element: this.container.querySelector('#js-dropdown-my-reaction'), @@ -126,12 +138,12 @@ export default class AvailableDropdownMappings { gl: DropdownNonUser, element: this.container.querySelector('#js-dropdown-wip'), }, - confidential: { + [TOKEN_TYPE_CONFIDENTIAL]: { reference: null, gl: DropdownNonUser, element: this.container.querySelector('#js-dropdown-confidential'), }, - 'target-branch': { + [TOKEN_TYPE_TARGET_BRANCH]: { reference: null, gl: DropdownNonUser, extraArguments: { diff --git a/app/assets/javascripts/filtered_search/constants.js b/app/assets/javascripts/filtered_search/constants.js index e07dccd11e8..b328ae6a872 100644 --- a/app/assets/javascripts/filtered_search/constants.js +++ b/app/assets/javascripts/filtered_search/constants.js @@ -1,4 +1,17 @@ -export const USER_TOKEN_TYPES = ['author', 'assignee', 'approved-by', 'reviewer', 'attention']; +import { + TOKEN_TYPE_APPROVED_BY, + TOKEN_TYPE_ASSIGNEE, + TOKEN_TYPE_AUTHOR, + TOKEN_TYPE_REVIEWER, +} from '~/vue_shared/components/filtered_search_bar/constants'; + +export const USER_TOKEN_TYPES = [ + TOKEN_TYPE_AUTHOR, + TOKEN_TYPE_ASSIGNEE, + TOKEN_TYPE_APPROVED_BY, + TOKEN_TYPE_REVIEWER, + 'attention', +]; export const DROPDOWN_TYPE = { hint: 'hint', diff --git a/app/assets/javascripts/filtered_search/dropdown_utils.js b/app/assets/javascripts/filtered_search/dropdown_utils.js index 22e1604871a..38909db0555 100644 --- a/app/assets/javascripts/filtered_search/dropdown_utils.js +++ b/app/assets/javascripts/filtered_search/dropdown_utils.js @@ -1,4 +1,5 @@ import { last } from 'lodash'; +import { TOKEN_TYPE_LABEL } from '~/vue_shared/components/filtered_search_bar/constants'; import FilteredSearchContainer from './container'; import FilteredSearchDropdownManager from './filtered_search_dropdown_manager'; import FilteredSearchTokenizer from './filtered_search_tokenizer'; @@ -113,7 +114,7 @@ export default class DropdownUtils { visualToken && visualToken.querySelector('.value') && visualToken.querySelector('.value').textContent.trim(); - if (tokenName === 'label' && tokenValue) { + if (tokenName === TOKEN_TYPE_LABEL && tokenValue) { // remove leading symbol and wrapping quotes tokenValue = tokenValue.replace(/^~("|')?(.*)/, '$2').replace(/("|')$/, ''); } diff --git a/app/assets/javascripts/filtered_search/filtered_search_manager.js b/app/assets/javascripts/filtered_search/filtered_search_manager.js index bc0f5398b4c..16c70fdd069 100644 --- a/app/assets/javascripts/filtered_search/filtered_search_manager.js +++ b/app/assets/javascripts/filtered_search/filtered_search_manager.js @@ -10,8 +10,12 @@ import { DOWN_KEY_CODE, } from '~/lib/utils/keycodes'; import { __ } from '~/locale'; -import { addClassIfElementExists } from '../lib/utils/dom_utils'; -import { visitUrl, getUrlParamsArray, getParameterByName } from '../lib/utils/url_utility'; +import { addClassIfElementExists } from '~/lib/utils/dom_utils'; +import { visitUrl, getUrlParamsArray, getParameterByName } from '~/lib/utils/url_utility'; +import { + TOKEN_TYPE_ASSIGNEE, + TOKEN_TYPE_AUTHOR, +} from '~/vue_shared/components/filtered_search_bar/constants'; import FilteredSearchContainer from './container'; import DropdownUtils from './dropdown_utils'; import eventHub from './event_hub'; @@ -675,7 +679,7 @@ export default class FilteredSearchManager { const id = parseInt(value, 10); if (usernameParams[id]) { hasFilteredSearch = true; - const tokenName = 'assignee'; + const tokenName = TOKEN_TYPE_ASSIGNEE; const canEdit = this.canEdit && this.canEdit(tokenName); const operator = FilteredSearchVisualTokens.getOperatorToken(usernameParams[id]); const valueToken = FilteredSearchVisualTokens.getValueToken(usernameParams[id]); @@ -688,7 +692,7 @@ export default class FilteredSearchManager { const id = parseInt(value, 10); if (usernameParams[id]) { hasFilteredSearch = true; - const tokenName = 'author'; + const tokenName = TOKEN_TYPE_AUTHOR; const canEdit = this.canEdit && this.canEdit(tokenName); const operator = FilteredSearchVisualTokens.getOperatorToken(usernameParams[id]); const valueToken = FilteredSearchVisualTokens.getValueToken(usernameParams[id]); diff --git a/app/assets/javascripts/filtered_search/issuable_filtered_search_token_keys.js b/app/assets/javascripts/filtered_search/issuable_filtered_search_token_keys.js index d6e7887f93f..8aa99ec52f9 100644 --- a/app/assets/javascripts/filtered_search/issuable_filtered_search_token_keys.js +++ b/app/assets/javascripts/filtered_search/issuable_filtered_search_token_keys.js @@ -7,13 +7,20 @@ import { TOKEN_TITLE_MILESTONE, TOKEN_TITLE_MY_REACTION, TOKEN_TITLE_RELEASE, + TOKEN_TYPE_ASSIGNEE, + TOKEN_TYPE_AUTHOR, + TOKEN_TYPE_LABEL, + TOKEN_TYPE_MILESTONE, + TOKEN_TYPE_MY_REACTION, + TOKEN_TYPE_RELEASE, + TOKEN_TYPE_REVIEWER, } from '~/vue_shared/components/filtered_search_bar/constants'; import FilteredSearchTokenKeys from './filtered_search_token_keys'; export const tokenKeys = [ { formattedKey: TOKEN_TITLE_AUTHOR, - key: 'author', + key: TOKEN_TYPE_AUTHOR, type: 'string', param: 'username', symbol: '@', @@ -22,7 +29,7 @@ export const tokenKeys = [ }, { formattedKey: TOKEN_TITLE_ASSIGNEE, - key: 'assignee', + key: TOKEN_TYPE_ASSIGNEE, type: 'string', param: 'username', symbol: '@', @@ -31,7 +38,7 @@ export const tokenKeys = [ }, { formattedKey: TOKEN_TITLE_MILESTONE, - key: 'milestone', + key: TOKEN_TYPE_MILESTONE, type: 'string', param: 'title', symbol: '%', @@ -40,7 +47,7 @@ export const tokenKeys = [ }, { formattedKey: TOKEN_TITLE_RELEASE, - key: 'release', + key: TOKEN_TYPE_RELEASE, type: 'string', param: 'tag', symbol: '', @@ -49,7 +56,7 @@ export const tokenKeys = [ }, { formattedKey: TOKEN_TITLE_LABEL, - key: 'label', + key: TOKEN_TYPE_LABEL, type: 'array', param: 'name[]', symbol: '~', @@ -62,7 +69,7 @@ if (gon.current_user_id) { // Appending tokenkeys only logged-in tokenKeys.push({ formattedKey: TOKEN_TITLE_MY_REACTION, - key: 'my-reaction', + key: TOKEN_TYPE_MY_REACTION, type: 'string', param: 'emoji', symbol: '', @@ -74,7 +81,7 @@ if (gon.current_user_id) { export const alternativeTokenKeys = [ { formattedKey: TOKEN_TITLE_LABEL, - key: 'label', + key: TOKEN_TYPE_LABEL, type: 'string', param: 'name', symbol: '~', @@ -85,77 +92,77 @@ export const conditions = flattenDeep( [ { url: 'assignee_id=None', - tokenKey: 'assignee', + tokenKey: TOKEN_TYPE_ASSIGNEE, value: __('None'), }, { url: 'assignee_id=Any', - tokenKey: 'assignee', + tokenKey: TOKEN_TYPE_ASSIGNEE, value: __('Any'), }, { url: 'reviewer_id=None', - tokenKey: 'reviewer', + tokenKey: TOKEN_TYPE_REVIEWER, value: __('None'), }, { url: 'reviewer_id=Any', - tokenKey: 'reviewer', + tokenKey: TOKEN_TYPE_REVIEWER, value: __('Any'), }, { url: 'author_username=support-bot', - tokenKey: 'author', + tokenKey: TOKEN_TYPE_AUTHOR, value: 'support-bot', }, { url: 'milestone_title=None', - tokenKey: 'milestone', + tokenKey: TOKEN_TYPE_MILESTONE, value: __('None'), }, { url: 'milestone_title=Any', - tokenKey: 'milestone', + tokenKey: TOKEN_TYPE_MILESTONE, value: __('Any'), }, { url: 'milestone_title=%23upcoming', - tokenKey: 'milestone', + tokenKey: TOKEN_TYPE_MILESTONE, value: __('Upcoming'), }, { url: 'milestone_title=%23started', - tokenKey: 'milestone', + tokenKey: TOKEN_TYPE_MILESTONE, value: __('Started'), }, { url: 'release_tag=None', - tokenKey: 'release', + tokenKey: TOKEN_TYPE_RELEASE, value: __('None'), }, { url: 'release_tag=Any', - tokenKey: 'release', + tokenKey: TOKEN_TYPE_RELEASE, value: __('Any'), }, { url: 'label_name[]=None', - tokenKey: 'label', + tokenKey: TOKEN_TYPE_LABEL, value: __('None'), }, { url: 'label_name[]=Any', - tokenKey: 'label', + tokenKey: TOKEN_TYPE_LABEL, value: __('Any'), }, { url: 'my_reaction_emoji=None', - tokenKey: 'my-reaction', + tokenKey: TOKEN_TYPE_MY_REACTION, value: __('None'), }, { url: 'my_reaction_emoji=Any', - tokenKey: 'my-reaction', + tokenKey: TOKEN_TYPE_MY_REACTION, value: __('Any'), }, ].map((condition) => { diff --git a/app/assets/javascripts/filtered_search/visual_token_value.js b/app/assets/javascripts/filtered_search/visual_token_value.js index 1ad2006d689..33fda7533e4 100644 --- a/app/assets/javascripts/filtered_search/visual_token_value.js +++ b/app/assets/javascripts/filtered_search/visual_token_value.js @@ -8,6 +8,7 @@ import { createAlert } from '~/flash'; import AjaxCache from '~/lib/utils/ajax_cache'; import UsersCache from '~/lib/utils/users_cache'; import { __ } from '~/locale'; +import { TOKEN_TYPE_LABEL } from '~/vue_shared/components/filtered_search_bar/constants'; export default class VisualTokenValue { constructor(tokenValue, tokenType, tokenOperator) { @@ -23,7 +24,7 @@ export default class VisualTokenValue { return; } - if (tokenType === 'label') { + if (tokenType === TOKEN_TYPE_LABEL) { this.updateLabelTokenColor(tokenValueContainer); } else if (USER_TOKEN_TYPES.includes(tokenType)) { this.updateUserTokenAppearance(tokenValueContainer, tokenValueElement); diff --git a/app/assets/javascripts/pages/projects/project.js b/app/assets/javascripts/pages/projects/project.js index d177c67f133..4c9eb830ff6 100644 --- a/app/assets/javascripts/pages/projects/project.js +++ b/app/assets/javascripts/pages/projects/project.js @@ -11,10 +11,14 @@ import { mergeUrlParams } from '~/lib/utils/url_utility'; import { __ } from '~/locale'; import projectSelect from '~/project_select'; +const BRANCH_REF_TYPE = 'heads'; +const TAG_REF_TYPE = 'tags'; +const BRANCH_GROUP_NAME = __('Branches'); +const TAG_GROUP_NAME = __('Tags'); + export default class Project { constructor() { initClonePanel(); - // Ref switcher if (document.querySelector('.js-project-refs-dropdown')) { Project.initRefSwitcher(); @@ -62,6 +66,7 @@ export default class Project { return $('.js-project-refs-dropdown').each(function () { const $dropdown = $(this); const selected = $dropdown.data('selected'); + const refType = $dropdown.data('refType'); const fieldName = $dropdown.data('fieldName'); const shouldVisit = Boolean($dropdown.data('visit')); const $form = $dropdown.closest('form'); @@ -91,18 +96,32 @@ export default class Project { filterByText: true, inputFieldName: $dropdown.data('inputFieldName'), fieldName, - renderRow(ref) { + renderRow(ref, _, params) { const li = refListItem.cloneNode(false); const link = refLink.cloneNode(false); if (ref === selected) { - link.className = 'is-active'; + // Check group and current ref type to avoid adding a class when tags and branches share the same name + if ( + (refType === BRANCH_REF_TYPE && params.group === BRANCH_GROUP_NAME) || + (refType === TAG_REF_TYPE && params.group === TAG_GROUP_NAME) || + !refType + ) { + link.className = 'is-active'; + } } + link.textContent = ref; link.dataset.ref = ref; if (ref.length > 0 && shouldVisit) { - link.href = mergeUrlParams({ [fieldName]: ref }, linkTarget); + const urlParams = { [fieldName]: ref }; + if (params.group === BRANCH_GROUP_NAME) { + urlParams.ref_type = BRANCH_REF_TYPE; + } else { + urlParams.ref_type = TAG_REF_TYPE; + } + link.href = mergeUrlParams(urlParams, linkTarget); } li.appendChild(link); diff --git a/app/assets/javascripts/vue_shared/components/filtered_search_bar/constants.js b/app/assets/javascripts/vue_shared/components/filtered_search_bar/constants.js index 8750e477803..e1f65375f25 100644 --- a/app/assets/javascripts/vue_shared/components/filtered_search_bar/constants.js +++ b/app/assets/javascripts/vue_shared/components/filtered_search_bar/constants.js @@ -53,6 +53,7 @@ export const SORT_DIRECTION = { export const FILTERED_SEARCH_LABELS = 'labels'; export const FILTERED_SEARCH_TERM = 'filtered-search-term'; +export const TOKEN_TITLE_APPROVED_BY = __('Approved-By'); export const TOKEN_TITLE_ASSIGNEE = s__('SearchToken|Assignee'); export const TOKEN_TITLE_AUTHOR = __('Author'); export const TOKEN_TITLE_CONFIDENTIAL = __('Confidential'); @@ -62,11 +63,13 @@ export const TOKEN_TITLE_MILESTONE = __('Milestone'); export const TOKEN_TITLE_MY_REACTION = __('My-Reaction'); export const TOKEN_TITLE_ORGANIZATION = s__('Crm|Organization'); export const TOKEN_TITLE_RELEASE = __('Release'); +export const TOKEN_TITLE_REVIEWER = s__('SearchToken|Reviewer'); export const TOKEN_TITLE_SOURCE_BRANCH = __('Source Branch'); export const TOKEN_TITLE_STATUS = __('Status'); export const TOKEN_TITLE_TARGET_BRANCH = __('Target Branch'); export const TOKEN_TITLE_TYPE = __('Type'); +export const TOKEN_TYPE_APPROVED_BY = 'approved-by'; export const TOKEN_TYPE_ASSIGNEE = 'assignee'; export const TOKEN_TYPE_AUTHOR = 'author'; export const TOKEN_TYPE_CONFIDENTIAL = 'confidential'; @@ -83,5 +86,8 @@ export const TOKEN_TYPE_MILESTONE = 'milestone'; export const TOKEN_TYPE_MY_REACTION = 'my-reaction'; export const TOKEN_TYPE_ORGANIZATION = 'organization'; export const TOKEN_TYPE_RELEASE = 'release'; +export const TOKEN_TYPE_REVIEWER = 'reviewer'; +export const TOKEN_TYPE_SOURCE_BRANCH = 'source-branch'; +export const TOKEN_TYPE_TARGET_BRANCH = 'target-branch'; export const TOKEN_TYPE_TYPE = 'type'; export const TOKEN_TYPE_WEIGHT = 'weight'; diff --git a/app/assets/javascripts/work_items/components/work_item_description_rendered.vue b/app/assets/javascripts/work_items/components/work_item_description_rendered.vue index 4225509dd2c..2cdff901978 100644 --- a/app/assets/javascripts/work_items/components/work_item_description_rendered.vue +++ b/app/assets/javascripts/work_items/components/work_item_description_rendered.vue @@ -1,5 +1,5 @@ <script> -import { GlButton } from '@gitlab/ui'; +import { GlButton, GlTooltipDirective } from '@gitlab/ui'; import $ from 'jquery'; import '~/behaviors/markdown/render_gfm'; import SafeHtml from '~/vue_shared/directives/safe_html'; @@ -9,6 +9,7 @@ const isCheckbox = (target) => target?.classList.contains('task-list-item-checkb export default { directives: { SafeHtml, + GlTooltip: GlTooltipDirective, }, components: { GlButton, @@ -98,10 +99,12 @@ export default { <label class="d-block col-form-label gl-mr-5">{{ __('Description') }}</label> <gl-button v-if="canEdit" + v-gl-tooltip class="gl-ml-auto" icon="pencil" data-testid="edit-description" :aria-label="__('Edit description')" + :title="__('Edit description')" @click="$emit('startEditing')" /> </div> diff --git a/app/controllers/concerns/integrations/params.rb b/app/controllers/concerns/integrations/params.rb index 30de4a86bec..74d998503b7 100644 --- a/app/controllers/concerns/integrations/params.rb +++ b/app/controllers/concerns/integrations/params.rb @@ -88,7 +88,9 @@ module Integrations param_values = return_value[:integration] if param_values.is_a?(ActionController::Parameters) - if action_name == 'update' && integration.chat? && param_values['webhook'] == BaseChatNotification::SECRET_MASK + if %w[update test].include?(action_name) && integration.chat? && + param_values['webhook'] == BaseChatNotification::SECRET_MASK + param_values.delete('webhook') end diff --git a/app/controllers/projects/commits_controller.rb b/app/controllers/projects/commits_controller.rb index f4125fd0a15..dd900173c40 100644 --- a/app/controllers/projects/commits_controller.rb +++ b/app/controllers/projects/commits_controller.rb @@ -28,6 +28,8 @@ class Projects::CommitsController < Projects::ApplicationController @merge_request = MergeRequestsFinder.new(current_user, project_id: @project.id).execute.opened .find_by(source_project: @project, source_branch: @ref, target_branch: @repository.root_ref) + @ref_type = ref_type + respond_to do |format| format.html format.atom { render layout: 'xml' } @@ -73,18 +75,20 @@ class Projects::CommitsController < Projects::ApplicationController search = permitted_params[:search] author = permitted_params[:author] + # fully_qualified_ref is available in some situations when the use_ref_type_parameter FF is enabled + ref = @fully_qualified_ref || @ref @commits = if search.present? - @repository.find_commits_by_message(search, @ref, @path, @limit, @offset) + @repository.find_commits_by_message(search, ref, @path, @limit, @offset) elsif author.present? - @repository.commits(@ref, author: author, path: @path, limit: @limit, offset: @offset) + @repository.commits(ref, author: author, path: @path, limit: @limit, offset: @offset) else - @repository.commits(@ref, path: @path, limit: @limit, offset: @offset) + @repository.commits(ref, path: @path, limit: @limit, offset: @offset) end @commits.each(&:lazy_author) # preload authors - @commits = @commits.with_markdown_cache.with_latest_pipeline(@ref) + @commits = @commits.with_markdown_cache.with_latest_pipeline(ref) @commits = set_commits_for_rendering(@commits) end diff --git a/app/controllers/projects/refs_controller.rb b/app/controllers/projects/refs_controller.rb index 72af3280a39..05fe34ceb5b 100644 --- a/app/controllers/projects/refs_controller.rb +++ b/app/controllers/projects/refs_controller.rb @@ -34,7 +34,11 @@ class Projects::RefsController < Projects::ApplicationController when "badges" project_settings_ci_cd_path(@project, ref: @id) else - project_commits_path(@project, @id) + if Feature.enabled?(:use_ref_type_parameter, @project) + project_commits_path(@project, @id, ref_type: ref_type) + else + project_commits_path(@project, @id) + end end redirect_to new_path diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb index e41a3fa5091..b16f44adeb6 100644 --- a/app/helpers/projects_helper.rb +++ b/app/helpers/projects_helper.rb @@ -480,6 +480,28 @@ module ProjectsHelper format_cached_count(1000, number) end + def fork_divergence_message(counts) + messages = [] + + if counts[:behind] > 0 + messages << s_("ForksDivergence|%{behind} %{commit_word} behind") % { + behind: counts[:behind], commit_word: n_('commit', 'commits', counts[:behind]) + } + end + + if counts[:ahead] > 0 + messages << s_("ForksDivergence|%{ahead} %{commit_word} ahead of") % { + ahead: counts[:ahead], commit_word: n_('commit', 'commits', counts[:ahead]) + } + end + + if messages.blank? + s_('ForksDivergence|Up to date with upstream repository') + else + s_("ForksDivergence|%{messages} upstream repository") % { messages: messages.join(', ') } + end + end + private def localized_access_names diff --git a/app/helpers/sidebars_helper.rb b/app/helpers/sidebars_helper.rb index 9002fdda128..cbee02a28c0 100644 --- a/app/helpers/sidebars_helper.rb +++ b/app/helpers/sidebars_helper.rb @@ -20,9 +20,8 @@ module SidebarsHelper end end - def project_sidebar_context(project, user, current_ref) - context_data = project_sidebar_context_data(project, user, current_ref) - + def project_sidebar_context(project, user, current_ref, ref_type: nil) + context_data = project_sidebar_context_data(project, user, current_ref, ref_type: ref_type) Sidebars::Projects::Context.new(**context_data) end @@ -83,12 +82,13 @@ module SidebarsHelper tracking_attrs('user_side_navigation', 'render', 'user_side_navigation') end - def project_sidebar_context_data(project, user, current_ref) + def project_sidebar_context_data(project, user, current_ref, ref_type: nil) { current_user: user, container: project, learn_gitlab_enabled: learn_gitlab_enabled?(project), current_ref: current_ref, + ref_type: ref_type, jira_issues_integration: project_jira_issues_integration?, can_view_pipeline_editor: can_view_pipeline_editor?(project), show_cluster_hint: show_gke_cluster_integration_callout?(project) diff --git a/app/models/projects/forks/divergence_counts.rb b/app/models/projects/forks/divergence_counts.rb new file mode 100644 index 00000000000..0831d9cbc7e --- /dev/null +++ b/app/models/projects/forks/divergence_counts.rb @@ -0,0 +1,49 @@ +# frozen_string_literal: true + +module Projects + module Forks + # Class for calculating the divergence of a fork with the source project + class DivergenceCounts + EXPIRATION_TIME = 8.hours + + def initialize(project, ref) + @project = project + @fork_repo = project.repository + @source_repo = project.fork_source.repository + @ref = ref + end + + def counts + ahead, behind = calculate_divergence_counts + + { ahead: ahead.to_i, behind: behind.to_i } + end + + private + + attr_reader :project, :fork_repo, :source_repo, :ref + + def cache_key + @cache_key ||= ['project_forks', project.id, ref, 'divergence_counts'] + end + + def calculate_divergence_counts + fork_sha = fork_repo.commit(ref).sha + source_sha = source_repo.commit.sha + + cached_source_sha, cached_fork_sha, counts = Rails.cache.read(cache_key) + return counts if counts.present? && cached_source_sha == source_sha && cached_fork_sha == fork_sha + + counts = + Gitlab::Git::CrossRepo.new(fork_repo, source_repo) + .execute(source_sha) do |cross_repo_sha| + fork_repo.count_commits_between(fork_sha, cross_repo_sha, left_right: true) + end + + Rails.cache.write(cache_key, [source_sha, fork_sha, counts], expires_in: EXPIRATION_TIME) + + counts + end + end + end +end diff --git a/app/views/layouts/nav/sidebar/_project.html.haml b/app/views/layouts/nav/sidebar/_project.html.haml index a06f9f8d6ef..67c3cd9cc54 100644 --- a/app/views/layouts/nav/sidebar/_project.html.haml +++ b/app/views/layouts/nav/sidebar/_project.html.haml @@ -1 +1 @@ -= render partial: 'shared/nav/sidebar', object: Sidebars::Projects::Panel.new(project_sidebar_context(@project, current_user, current_ref)) += render partial: 'shared/nav/sidebar', object: Sidebars::Projects::Panel.new(project_sidebar_context(@project, current_user, current_ref, ref_type: @ref_type)) diff --git a/app/views/projects/_files.html.haml b/app/views/projects/_files.html.haml index 51222784847..8bf397d0796 100644 --- a/app/views/projects/_files.html.haml +++ b/app/views/projects/_files.html.haml @@ -10,6 +10,9 @@ .nav-block.gl-display-flex.gl-xs-flex-direction-column.gl-align-items-stretch = render 'projects/tree/tree_header', tree: @tree, is_project_overview: is_project_overview + - if project.forked? && Feature.enabled?(:fork_divergence_counts, @project.fork_source) + = render 'projects/fork_info' + .info-well.gl-display-none.gl-sm-display-flex.project-last-commit.gl-flex-direction-column #js-last-commit.gl-m-auto = gl_loading_icon(size: 'md') diff --git a/app/views/projects/_fork_info.html.haml b/app/views/projects/_fork_info.html.haml new file mode 100644 index 00000000000..834126f985c --- /dev/null +++ b/app/views/projects/_fork_info.html.haml @@ -0,0 +1,13 @@ +.info-well.gl-sm-display-flex.gl-flex-direction-column + .well-segment.gl-p-5.gl-w-full.gl-display-flex + .gl-icon.s32.gl-mt-4.gl-mr-4.gl-text-center + = sprite_icon('fork') + %div + - source = visible_fork_source(@project) + - if source + #{ s_('ForkedFromProjectPath|Forked from') } + = link_to source.full_name, project_path(source), data: { qa_selector: 'forked_from_link' } + .gl-text-secondary + = fork_divergence_message(::Projects::Forks::DivergenceCounts.new(@project, @ref).counts) + - else + = s_('ForkedFromProjectPath|Forked from an inaccessible project') diff --git a/app/views/projects/_home_panel.html.haml b/app/views/projects/_home_panel.html.haml index 3b240ee60ed..33ae6104d84 100644 --- a/app/views/projects/_home_panel.html.haml +++ b/app/views/projects/_home_panel.html.haml @@ -53,7 +53,7 @@ %button.btn.gl-button.btn-blank.btn-link.js-read-more-trigger.d-lg-none{ type: "button" } = _("Read more") - - if @project.forked? + - if @project.forked? && Feature.disabled?(:fork_divergence_counts, @project.fork_source) %p - source = visible_fork_source(@project) - if source diff --git a/app/views/projects/commits/show.html.haml b/app/views/projects/commits/show.html.haml index ae68a13929e..765b4e7b615 100644 --- a/app/views/projects/commits/show.html.haml +++ b/app/views/projects/commits/show.html.haml @@ -1,6 +1,7 @@ - breadcrumb_title _("Commits") - add_page_specific_style 'page_bundles/tree' - page_title _("Commits"), @ref + = content_for :meta_tags do = auto_discovery_link_tag(:atom, project_commits_path(@project, @ref, rss_url_options), title: "#{@project.name}:#{@ref} commits") @@ -24,7 +25,7 @@ = _("Create merge request") .control - = form_tag(project_commits_path(@project, @id), method: :get, class: 'commits-search-form js-signature-container', data: { 'signatures-path' => namespace_project_signatures_path }) do + = form_tag(project_commits_path(@project, @id, ref_type: @ref_type), method: :get, class: 'commits-search-form js-signature-container', data: { 'signatures-path' => namespace_project_signatures_path(ref_type: @ref_type)}) do = search_field_tag :search, params[:search], { placeholder: _('Search by message'), id: 'commits-search', class: 'form-control gl-form-input input-short gl-mt-3 gl-sm-mt-0 gl-min-w-full', spellcheck: false } .control.d-none.d-md-block = link_to project_commits_path(@project, @id, rss_url_options), title: _("Commits feed"), class: 'btn gl-button btn-default btn-icon' do diff --git a/app/views/shared/_ref_switcher.html.haml b/app/views/shared/_ref_switcher.html.haml index 20bf2141cc3..6a36f85daa4 100644 --- a/app/views/shared/_ref_switcher.html.haml +++ b/app/views/shared/_ref_switcher.html.haml @@ -2,7 +2,7 @@ - ref = local_assigns.fetch(:ref, @ref) - form_path = local_assigns.fetch(:form_path, switch_project_refs_path(@project)) -- dropdown_toggle_text = ref || @project.default_branch +- dropdown_toggle_text = @id || @project.default_branch - field_name = local_assigns.fetch(:field_name, 'ref') = form_tag form_path, method: :get, class: "project-refs-form" do @@ -13,7 +13,7 @@ - @options && @options.each do |key, value| = hidden_field_tag key, value, id: nil .dropdown - = dropdown_toggle dropdown_toggle_text, { toggle: "dropdown", selected: dropdown_toggle_text, ref: ref, refs_url: refs_project_path(@project, sort: 'updated_desc'), field_name: field_name, submit_form_on_click: true, visit: true, qa_selector: "branches_dropdown", testid: "branches-select" }, { toggle_class: "js-project-refs-dropdown" } + = dropdown_toggle dropdown_toggle_text, { toggle: "dropdown", selected: dropdown_toggle_text, ref: ref, ref_type: @ref_type, refs_url: refs_project_path(@project, sort: 'updated_desc'), field_name: field_name, submit_form_on_click: true, visit: true, qa_selector: "branches_dropdown", testid: "branches-select" }, { toggle_class: "js-project-refs-dropdown" } .dropdown-menu.dropdown-menu-selectable.git-revision-dropdown.dropdown-menu-paging{ class: ("dropdown-menu-right" if local_assigns[:align_right]), data: { qa_selector: "branches_dropdown_content" } } .dropdown-page-one = dropdown_title _("Switch branch/tag") diff --git a/config/feature_flags/development/fork_divergence_counts.yml b/config/feature_flags/development/fork_divergence_counts.yml new file mode 100644 index 00000000000..929e9fae790 --- /dev/null +++ b/config/feature_flags/development/fork_divergence_counts.yml @@ -0,0 +1,8 @@ +--- +name: fork_divergence_counts +introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/103814 +rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/382878 +milestone: '15.7' +type: development +group: group::source code +default_enabled: false diff --git a/config/feature_flags/development/use_ref_type_parameter.yml b/config/feature_flags/development/use_ref_type_parameter.yml new file mode 100644 index 00000000000..5cdd3d6f198 --- /dev/null +++ b/config/feature_flags/development/use_ref_type_parameter.yml @@ -0,0 +1,9 @@ +--- +name: use_ref_type_parameter +introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/102936 +rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/381501 +milestone: '15.6' +type: development +group: group::source code +default_enabled: false + diff --git a/db/docs/abuse_reports.yml b/db/docs/abuse_reports.yml index dcd081e6892..896c978f9d7 100644 --- a/db/docs/abuse_reports.yml +++ b/db/docs/abuse_reports.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores abuse reports from other users. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/cba7f20dc8614d12e3eeda6e14f454aeb22b9b54 milestone: '7.13' +gitlab_schema: gitlab_main diff --git a/db/docs/agent_activity_events.yml b/db/docs/agent_activity_events.yml index 3be300e1852..9fd906d5352 100644 --- a/db/docs/agent_activity_events.yml +++ b/db/docs/agent_activity_events.yml @@ -7,3 +7,4 @@ feature_categories: description: Historical timeline events belonging to a cluster agent introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/74577 milestone: '14.6' +gitlab_schema: gitlab_main diff --git a/db/docs/agent_group_authorizations.yml b/db/docs/agent_group_authorizations.yml index 3592c93ed83..61c8733383a 100644 --- a/db/docs/agent_group_authorizations.yml +++ b/db/docs/agent_group_authorizations.yml @@ -7,3 +7,4 @@ feature_categories: description: Configuration for a group that is authorized to use a particular cluster agent introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/68023 milestone: '14.3' +gitlab_schema: gitlab_main diff --git a/db/docs/agent_project_authorizations.yml b/db/docs/agent_project_authorizations.yml index c4e101f754f..e595c84b5d5 100644 --- a/db/docs/agent_project_authorizations.yml +++ b/db/docs/agent_project_authorizations.yml @@ -7,3 +7,4 @@ feature_categories: description: Configuration for a project that is authorized to use a particular cluster agent introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/67295 milestone: '14.3' +gitlab_schema: gitlab_main diff --git a/db/docs/alert_management_alert_assignees.yml b/db/docs/alert_management_alert_assignees.yml index 4d5a1acb0ca..cda7725e18f 100644 --- a/db/docs/alert_management_alert_assignees.yml +++ b/db/docs/alert_management_alert_assignees.yml @@ -7,3 +7,4 @@ feature_categories: description: Persists metadata between users and alerts to support alert assignments introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/32609 milestone: '13.1' +gitlab_schema: gitlab_main diff --git a/db/docs/alert_management_alert_metric_images.yml b/db/docs/alert_management_alert_metric_images.yml index bcfa2b54b1c..20117109ad4 100644 --- a/db/docs/alert_management_alert_metric_images.yml +++ b/db/docs/alert_management_alert_metric_images.yml @@ -7,3 +7,4 @@ feature_categories: description: Persists metadata for uploads related to alerts introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/80339 milestone: '14.8' +gitlab_schema: gitlab_main diff --git a/db/docs/alert_management_alert_user_mentions.yml b/db/docs/alert_management_alert_user_mentions.yml index 6a3aaf2ce83..02f5602a33f 100644 --- a/db/docs/alert_management_alert_user_mentions.yml +++ b/db/docs/alert_management_alert_user_mentions.yml @@ -7,3 +7,4 @@ feature_categories: description: Persists metadata for system notes related to alerts introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/33217 milestone: '13.1' +gitlab_schema: gitlab_main diff --git a/db/docs/alert_management_alerts.yml b/db/docs/alert_management_alerts.yml index ca8b02ec346..4e3f4151165 100644 --- a/db/docs/alert_management_alerts.yml +++ b/db/docs/alert_management_alerts.yml @@ -7,3 +7,4 @@ feature_categories: description: Persists incoming alert data including its payload introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/29864 milestone: '13.0' +gitlab_schema: gitlab_main diff --git a/db/docs/alert_management_http_integrations.yml b/db/docs/alert_management_http_integrations.yml index 8fa330f0775..4eb824f74ec 100644 --- a/db/docs/alert_management_http_integrations.yml +++ b/db/docs/alert_management_http_integrations.yml @@ -7,3 +7,4 @@ feature_categories: description: Persists settings for alert HTTP integrations introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/43634 milestone: '13.5' +gitlab_schema: gitlab_main diff --git a/db/docs/allowed_email_domains.yml b/db/docs/allowed_email_domains.yml index 65a12dd712c..4dd6100e4c4 100644 --- a/db/docs/allowed_email_domains.yml +++ b/db/docs/allowed_email_domains.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores email domains for group, only members with email from those domains can be added to the group introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/14800 milestone: '12.2' +gitlab_schema: gitlab_main diff --git a/db/docs/analytics_cycle_analytics_aggregations.yml b/db/docs/analytics_cycle_analytics_aggregations.yml index ab92c5c078b..0f9bf6695c5 100644 --- a/db/docs/analytics_cycle_analytics_aggregations.yml +++ b/db/docs/analytics_cycle_analytics_aggregations.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores Value Stream Analytics aggregation related metadata for top-level groups. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/79942 milestone: '14.9' +gitlab_schema: gitlab_main diff --git a/db/docs/analytics_cycle_analytics_group_stages.yml b/db/docs/analytics_cycle_analytics_group_stages.yml index 67bca593a61..5dbb3eba2c0 100644 --- a/db/docs/analytics_cycle_analytics_group_stages.yml +++ b/db/docs/analytics_cycle_analytics_group_stages.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/15061 milestone: '12.2' +gitlab_schema: gitlab_main diff --git a/db/docs/analytics_cycle_analytics_group_value_streams.yml b/db/docs/analytics_cycle_analytics_group_value_streams.yml index 8942439dddd..e29d07c5a72 100644 --- a/db/docs/analytics_cycle_analytics_group_value_streams.yml +++ b/db/docs/analytics_cycle_analytics_group_value_streams.yml @@ -7,3 +7,4 @@ feature_categories: description: Store group level Value Stream objects. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/36658 milestone: '13.2' +gitlab_schema: gitlab_main diff --git a/db/docs/analytics_cycle_analytics_issue_stage_events.yml b/db/docs/analytics_cycle_analytics_issue_stage_events.yml index b3f6a9f4716..f31cb808b09 100644 --- a/db/docs/analytics_cycle_analytics_issue_stage_events.yml +++ b/db/docs/analytics_cycle_analytics_issue_stage_events.yml @@ -7,3 +7,4 @@ feature_categories: description: Contains various Issue-related timestamps for aggregating Value Stream Analytics data. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/68950 milestone: '14.3' +gitlab_schema: gitlab_main diff --git a/db/docs/analytics_cycle_analytics_merge_request_stage_events.yml b/db/docs/analytics_cycle_analytics_merge_request_stage_events.yml index ae3074d544b..35438cd4c0c 100644 --- a/db/docs/analytics_cycle_analytics_merge_request_stage_events.yml +++ b/db/docs/analytics_cycle_analytics_merge_request_stage_events.yml @@ -7,3 +7,4 @@ feature_categories: description: Contains various MergeRequest-related timestamps for aggregating Value Stream Analytics data. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/68950 milestone: '14.3' +gitlab_schema: gitlab_main diff --git a/db/docs/analytics_cycle_analytics_project_stages.yml b/db/docs/analytics_cycle_analytics_project_stages.yml index 1ff917faf94..dc5b1db16cd 100644 --- a/db/docs/analytics_cycle_analytics_project_stages.yml +++ b/db/docs/analytics_cycle_analytics_project_stages.yml @@ -7,3 +7,4 @@ feature_categories: description: Persists project level value stream analytics stages. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/15061 milestone: '12.2' +gitlab_schema: gitlab_main diff --git a/db/docs/analytics_cycle_analytics_project_value_streams.yml b/db/docs/analytics_cycle_analytics_project_value_streams.yml index 9b63ea0500a..5881c048d3b 100644 --- a/db/docs/analytics_cycle_analytics_project_value_streams.yml +++ b/db/docs/analytics_cycle_analytics_project_value_streams.yml @@ -7,3 +7,4 @@ feature_categories: description: Used to store the value stream configurations for projects introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/60925 milestone: '13.12' +gitlab_schema: gitlab_main diff --git a/db/docs/analytics_cycle_analytics_stage_event_hashes.yml b/db/docs/analytics_cycle_analytics_stage_event_hashes.yml index 3df5ee1c172..52cef9fcdcb 100644 --- a/db/docs/analytics_cycle_analytics_stage_event_hashes.yml +++ b/db/docs/analytics_cycle_analytics_stage_event_hashes.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores hashes of Value Stream Analytics stage configurations. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/67259 milestone: '14.2' +gitlab_schema: gitlab_main diff --git a/db/docs/analytics_devops_adoption_segments.yml b/db/docs/analytics_devops_adoption_segments.yml index 4b22c5926c2..42f04f57608 100644 --- a/db/docs/analytics_devops_adoption_segments.yml +++ b/db/docs/analytics_devops_adoption_segments.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores a reference to the Namespace which is enabled for the DevOps report. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/45748 milestone: '13.6' +gitlab_schema: gitlab_main diff --git a/db/docs/analytics_devops_adoption_snapshots.yml b/db/docs/analytics_devops_adoption_snapshots.yml index 3fcaea684d6..378b83cc22f 100644 --- a/db/docs/analytics_devops_adoption_snapshots.yml +++ b/db/docs/analytics_devops_adoption_snapshots.yml @@ -7,3 +7,4 @@ feature_categories: description: Contains periodical DevOps Adoption data points. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/47388 milestone: '13.7' +gitlab_schema: gitlab_main diff --git a/db/docs/analytics_language_trend_repository_languages.yml b/db/docs/analytics_language_trend_repository_languages.yml index c42328b6bc8..3425788591b 100644 --- a/db/docs/analytics_language_trend_repository_languages.yml +++ b/db/docs/analytics_language_trend_repository_languages.yml @@ -7,3 +7,4 @@ feature_categories: description: Contains snapshot data about the used programming languages over time. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/16491 milestone: '12.3' +gitlab_schema: gitlab_main diff --git a/db/docs/analytics_usage_trends_measurements.yml b/db/docs/analytics_usage_trends_measurements.yml index 1672c195e3d..8c492d3dda1 100644 --- a/db/docs/analytics_usage_trends_measurements.yml +++ b/db/docs/analytics_usage_trends_measurements.yml @@ -7,3 +7,4 @@ feature_categories: description: Contains periodically snapshotted database record counts. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/62797 milestone: '14.0' +gitlab_schema: gitlab_main diff --git a/db/docs/appearances.yml b/db/docs/appearances.yml index 8d30bc52d4d..104a72263f0 100644 --- a/db/docs/appearances.yml +++ b/db/docs/appearances.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/40104eead753e7e8ea77951a74a3941546c35aab milestone: '6.8' +gitlab_schema: gitlab_main diff --git a/db/docs/application_setting_terms.yml b/db/docs/application_setting_terms.yml index 11f8c6536c4..046231b13a4 100644 --- a/db/docs/application_setting_terms.yml +++ b/db/docs/application_setting_terms.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/cf37bef287d7dd5d2dce3e2276489767b8c0671f milestone: '10.8' +gitlab_schema: gitlab_main diff --git a/db/docs/application_settings.yml b/db/docs/application_settings.yml index ae28221b7ac..1015884e8a3 100644 --- a/db/docs/application_settings.yml +++ b/db/docs/application_settings.yml @@ -11,3 +11,4 @@ feature_categories: description: GitLab application settings introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/8589b4e137f50293952923bb07e2814257d7784d milestone: '7.7' +gitlab_schema: gitlab_main diff --git a/db/docs/approval_merge_request_rule_sources.yml b/db/docs/approval_merge_request_rule_sources.yml index 868d694d190..9f4c8212360 100644 --- a/db/docs/approval_merge_request_rule_sources.yml +++ b/db/docs/approval_merge_request_rule_sources.yml @@ -7,3 +7,4 @@ feature_categories: description: Keeps connection between merge request and project approval rule introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/8497 milestone: '11.7' +gitlab_schema: gitlab_main diff --git a/db/docs/approval_merge_request_rules.yml b/db/docs/approval_merge_request_rules.yml index ad8b3411706..517294e4ed0 100644 --- a/db/docs/approval_merge_request_rules.yml +++ b/db/docs/approval_merge_request_rules.yml @@ -7,3 +7,4 @@ feature_categories: description: Keeps approval merge request rules introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/8497 milestone: '11.7' +gitlab_schema: gitlab_main diff --git a/db/docs/approval_merge_request_rules_approved_approvers.yml b/db/docs/approval_merge_request_rules_approved_approvers.yml index 9074a4dd39a..4a453da4162 100644 --- a/db/docs/approval_merge_request_rules_approved_approvers.yml +++ b/db/docs/approval_merge_request_rules_approved_approvers.yml @@ -6,3 +6,4 @@ feature_categories: description: Join table for approved approvers and ApprovalMergeRequestRule introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/8497 milestone: '11.7' +gitlab_schema: gitlab_main diff --git a/db/docs/approval_merge_request_rules_groups.yml b/db/docs/approval_merge_request_rules_groups.yml index 1acf9882d57..45306dc0bd1 100644 --- a/db/docs/approval_merge_request_rules_groups.yml +++ b/db/docs/approval_merge_request_rules_groups.yml @@ -6,3 +6,4 @@ feature_categories: description: Keeps connection between group and a merge request approval rule introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/8497 milestone: '11.7' +gitlab_schema: gitlab_main diff --git a/db/docs/approval_merge_request_rules_users.yml b/db/docs/approval_merge_request_rules_users.yml index 750e7ae1f48..746aa70ebd2 100644 --- a/db/docs/approval_merge_request_rules_users.yml +++ b/db/docs/approval_merge_request_rules_users.yml @@ -6,3 +6,4 @@ feature_categories: description: Keeps connection between user and a merge request approval rule introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/8497 milestone: '11.7' +gitlab_schema: gitlab_main diff --git a/db/docs/approval_project_rules.yml b/db/docs/approval_project_rules.yml index c2aff9d358f..c970b86bb18 100644 --- a/db/docs/approval_project_rules.yml +++ b/db/docs/approval_project_rules.yml @@ -7,3 +7,4 @@ feature_categories: description: Keeps approval project rules introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/8497 milestone: '11.7' +gitlab_schema: gitlab_main diff --git a/db/docs/approval_project_rules_groups.yml b/db/docs/approval_project_rules_groups.yml index 83eeb52099c..5d1b96a4197 100644 --- a/db/docs/approval_project_rules_groups.yml +++ b/db/docs/approval_project_rules_groups.yml @@ -6,3 +6,4 @@ feature_categories: description: Keeps connection between group and a project approval rule introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/8497 milestone: '11.7' +gitlab_schema: gitlab_main diff --git a/db/docs/approval_project_rules_protected_branches.yml b/db/docs/approval_project_rules_protected_branches.yml index a41fd741af8..e2776e89f21 100644 --- a/db/docs/approval_project_rules_protected_branches.yml +++ b/db/docs/approval_project_rules_protected_branches.yml @@ -7,3 +7,4 @@ feature_categories: description: Keeps relation between approval project rules and protected branches. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/22673 milestone: '12.7' +gitlab_schema: gitlab_main diff --git a/db/docs/approval_project_rules_users.yml b/db/docs/approval_project_rules_users.yml index a1ff8bf7bff..ce35033356a 100644 --- a/db/docs/approval_project_rules_users.yml +++ b/db/docs/approval_project_rules_users.yml @@ -6,3 +6,4 @@ feature_categories: description: Keeps connection between user and a project approval rule introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/8497 milestone: '11.7' +gitlab_schema: gitlab_main diff --git a/db/docs/approvals.yml b/db/docs/approvals.yml index 82d833b9ba6..30cc53ece16 100644 --- a/db/docs/approvals.yml +++ b/db/docs/approvals.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores merge request approvals made by users introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/73faf3c7289c4fa4535b752a12247ee74b173976 milestone: '7.12' +gitlab_schema: gitlab_main diff --git a/db/docs/approver_groups.yml b/db/docs/approver_groups.yml index e078e20814c..fd892ed3f4c 100644 --- a/db/docs/approver_groups.yml +++ b/db/docs/approver_groups.yml @@ -8,3 +8,4 @@ feature_categories: description: Group approvers of given merge request introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/743 milestone: '8.13' +gitlab_schema: gitlab_main diff --git a/db/docs/approvers.yml b/db/docs/approvers.yml index f0bfa47761a..ac15bbb8767 100644 --- a/db/docs/approvers.yml +++ b/db/docs/approvers.yml @@ -8,3 +8,4 @@ feature_categories: description: Approvers of given merge request introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/3cc78d89984d9c9df8372c52b7bba38e6226f9f2 milestone: '7.13' +gitlab_schema: gitlab_main diff --git a/db/docs/ar_internal_metadata.yml b/db/docs/ar_internal_metadata.yml index e299e9f6317..4e5c0c2d833 100644 --- a/db/docs/ar_internal_metadata.yml +++ b/db/docs/ar_internal_metadata.yml @@ -7,3 +7,4 @@ description: >- An internal table used by ActiveRecord to store information about how the database was migrated. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/9ba1224867665844b117fa037e1465bb706b3685 milestone: '0.8' +gitlab_schema: gitlab_internal diff --git a/db/docs/atlassian_identities.yml b/db/docs/atlassian_identities.yml index 64e29a80817..e43c8018d5c 100644 --- a/db/docs/atlassian_identities.yml +++ b/db/docs/atlassian_identities.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores Atlassian credentials that are used to integrate with Atlassian API introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/40176 milestone: '13.4' +gitlab_schema: gitlab_main diff --git a/db/docs/audit_events.yml b/db/docs/audit_events.yml index b19b26be711..ec707e41286 100644 --- a/db/docs/audit_events.yml +++ b/db/docs/audit_events.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/cf6b622686eacffa46aba5c8ed6419dc877a6b58 milestone: '7.6' +gitlab_schema: gitlab_main diff --git a/db/docs/audit_events_external_audit_event_destinations.yml b/db/docs/audit_events_external_audit_event_destinations.yml index 6cac68c54cb..91fb1e5a17a 100644 --- a/db/docs/audit_events_external_audit_event_destinations.yml +++ b/db/docs/audit_events_external_audit_event_destinations.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/70706 milestone: '14.4' +gitlab_schema: gitlab_main diff --git a/db/docs/audit_events_streaming_event_type_filters.yml b/db/docs/audit_events_streaming_event_type_filters.yml index 7119c84589e..fe36fbf5a5a 100644 --- a/db/docs/audit_events_streaming_event_type_filters.yml +++ b/db/docs/audit_events_streaming_event_type_filters.yml @@ -7,3 +7,4 @@ feature_categories: description: Represents a event type filter for audit event streaming introduced_by_url: milestone: '15.6' +gitlab_schema: gitlab_main diff --git a/db/docs/audit_events_streaming_headers.yml b/db/docs/audit_events_streaming_headers.yml index 034ed2c6644..4f0ef9f20b5 100644 --- a/db/docs/audit_events_streaming_headers.yml +++ b/db/docs/audit_events_streaming_headers.yml @@ -7,3 +7,4 @@ feature_categories: description: Represents a HTTP header sent with streaming audit events introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/88063 milestone: '15.1' +gitlab_schema: gitlab_main diff --git a/db/docs/authentication_events.yml b/db/docs/authentication_events.yml index 7eec9124e81..eaede3b7cd4 100644 --- a/db/docs/authentication_events.yml +++ b/db/docs/authentication_events.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/39652 milestone: '13.4' +gitlab_schema: gitlab_main diff --git a/db/docs/award_emoji.yml b/db/docs/award_emoji.yml index 7405e3e57e2..6cbea437117 100644 --- a/db/docs/award_emoji.yml +++ b/db/docs/award_emoji.yml @@ -7,3 +7,4 @@ feature_categories: description: Store the awarding of emoji by users on Issues, Epics, and other Awardables. introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/3785 milestone: '8.9' +gitlab_schema: gitlab_main diff --git a/db/docs/aws_roles.yml b/db/docs/aws_roles.yml index df308acc423..902d6a97b62 100644 --- a/db/docs/aws_roles.yml +++ b/db/docs/aws_roles.yml @@ -7,3 +7,4 @@ feature_categories: description: (Deprecated) AWS IAM role for creating EKS clusters via GitLab introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/17057 milestone: '12.4' +gitlab_schema: gitlab_main diff --git a/db/docs/background_migration_jobs.yml b/db/docs/background_migration_jobs.yml index b0fd5b58d50..14903b74ce0 100644 --- a/db/docs/background_migration_jobs.yml +++ b/db/docs/background_migration_jobs.yml @@ -9,3 +9,4 @@ description: >- See https://docs.gitlab.com/ee/development/database/background_migrations.html for more details. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/35913 milestone: '13.2' +gitlab_schema: gitlab_shared diff --git a/db/docs/badges.yml b/db/docs/badges.yml index 209d4d1d88a..af05638152c 100644 --- a/db/docs/badges.yml +++ b/db/docs/badges.yml @@ -9,3 +9,4 @@ feature_categories: description: Stores badges records introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/17082 milestone: '10.6' +gitlab_schema: gitlab_main diff --git a/db/docs/banned_users.yml b/db/docs/banned_users.yml index 788684494db..d14b6d77234 100644 --- a/db/docs/banned_users.yml +++ b/db/docs/banned_users.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/64728 milestone: '14.2' +gitlab_schema: gitlab_main diff --git a/db/docs/batched_background_migration_job_transition_logs.yml b/db/docs/batched_background_migration_job_transition_logs.yml index 826145d82b4..d6cca5f24d3 100644 --- a/db/docs/batched_background_migration_job_transition_logs.yml +++ b/db/docs/batched_background_migration_job_transition_logs.yml @@ -9,3 +9,4 @@ description: >- Every time a batched background migrations job changes to a new state, the system records that information in this table. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/75113 milestone: '14.8' +gitlab_schema: gitlab_shared diff --git a/db/docs/batched_background_migration_jobs.yml b/db/docs/batched_background_migration_jobs.yml index 4a307d28781..b44cfc860d1 100644 --- a/db/docs/batched_background_migration_jobs.yml +++ b/db/docs/batched_background_migration_jobs.yml @@ -8,3 +8,4 @@ description: >- The batched_background_migration_jobs table stores information about the jobs created during the execution of a batched background migration. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/54628 milestone: '13.10' +gitlab_schema: gitlab_shared diff --git a/db/docs/batched_background_migrations.yml b/db/docs/batched_background_migrations.yml index a8285210801..d23f1b30b1d 100644 --- a/db/docs/batched_background_migrations.yml +++ b/db/docs/batched_background_migrations.yml @@ -9,3 +9,4 @@ description: >- See https://docs.gitlab.com/ee/development/batched_background_migrations.html for more details. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/54628 milestone: '13.10' +gitlab_schema: gitlab_shared diff --git a/db/docs/board_assignees.yml b/db/docs/board_assignees.yml index dd7235a440e..5da2c57c3f4 100644 --- a/db/docs/board_assignees.yml +++ b/db/docs/board_assignees.yml @@ -7,3 +7,4 @@ feature_categories: description: Used by issue boards to filter issues by assignee as part of the default scope introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/2912 milestone: '10.2' +gitlab_schema: gitlab_main diff --git a/db/docs/board_group_recent_visits.yml b/db/docs/board_group_recent_visits.yml index 3e516038737..5615620567c 100644 --- a/db/docs/board_group_recent_visits.yml +++ b/db/docs/board_group_recent_visits.yml @@ -7,3 +7,4 @@ feature_categories: description: The last group issue board visited by a user, used to redirect them from the default boards page introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/7aeab58f4861144fcc1d334907cb1b465c645001 milestone: '11.5' +gitlab_schema: gitlab_main diff --git a/db/docs/board_labels.yml b/db/docs/board_labels.yml index 33dfdd5df70..d682783eaf9 100644 --- a/db/docs/board_labels.yml +++ b/db/docs/board_labels.yml @@ -7,3 +7,4 @@ feature_categories: description: Used by issue boards to filter issues by label as part of the default scope introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/2912 milestone: '10.2' +gitlab_schema: gitlab_main diff --git a/db/docs/board_project_recent_visits.yml b/db/docs/board_project_recent_visits.yml index bd7783acfe7..336be808517 100644 --- a/db/docs/board_project_recent_visits.yml +++ b/db/docs/board_project_recent_visits.yml @@ -7,3 +7,4 @@ feature_categories: description: The last project issue board visited by a user, used to redirect them from the default boards page introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/7aeab58f4861144fcc1d334907cb1b465c645001 milestone: '11.5' +gitlab_schema: gitlab_main diff --git a/db/docs/board_user_preferences.yml b/db/docs/board_user_preferences.yml index 61b30c4fc66..c997acf3439 100644 --- a/db/docs/board_user_preferences.yml +++ b/db/docs/board_user_preferences.yml @@ -7,3 +7,4 @@ feature_categories: description: Preferences for issue boards stored on a per user basis, such as whether to hide or show labels introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/33892 milestone: '13.1' +gitlab_schema: gitlab_main diff --git a/db/docs/boards.yml b/db/docs/boards.yml index bf50cecd826..db177f7a562 100644 --- a/db/docs/boards.yml +++ b/db/docs/boards.yml @@ -7,3 +7,4 @@ feature_categories: description: Configuration information for issue boards, including default scope and visibility of open and closed lists introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/611dab2e522e5e59cf09cd459a31686e65616863 milestone: '8.11' +gitlab_schema: gitlab_main diff --git a/db/docs/boards_epic_board_labels.yml b/db/docs/boards_epic_board_labels.yml index d34499f8105..021e34b653d 100644 --- a/db/docs/boards_epic_board_labels.yml +++ b/db/docs/boards_epic_board_labels.yml @@ -7,3 +7,4 @@ feature_categories: description: Information relating epic boards to labels used to scope the boards introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/48658 milestone: '13.7' +gitlab_schema: gitlab_main diff --git a/db/docs/boards_epic_board_positions.yml b/db/docs/boards_epic_board_positions.yml index 88d01bc9a11..ba63fe2b9a8 100644 --- a/db/docs/boards_epic_board_positions.yml +++ b/db/docs/boards_epic_board_positions.yml @@ -7,3 +7,4 @@ feature_categories: description: Relates epics to epic boards by position, unique to each combination of epic and board introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/48120 milestone: '13.7' +gitlab_schema: gitlab_main diff --git a/db/docs/boards_epic_board_recent_visits.yml b/db/docs/boards_epic_board_recent_visits.yml index c60d1400f8c..2262241a0c0 100644 --- a/db/docs/boards_epic_board_recent_visits.yml +++ b/db/docs/boards_epic_board_recent_visits.yml @@ -7,3 +7,4 @@ feature_categories: description: The epic board most recently visited by users, used to determine where to redirect them by default introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/60720 milestone: '13.12' +gitlab_schema: gitlab_main diff --git a/db/docs/boards_epic_boards.yml b/db/docs/boards_epic_boards.yml index 7b35decdd54..d55e99e58f0 100644 --- a/db/docs/boards_epic_boards.yml +++ b/db/docs/boards_epic_boards.yml @@ -7,3 +7,4 @@ feature_categories: description: Configuration information for epic boards, including default scope and visibility of open and closed lists introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/48658 milestone: '13.7' +gitlab_schema: gitlab_main diff --git a/db/docs/boards_epic_list_user_preferences.yml b/db/docs/boards_epic_list_user_preferences.yml index ea3eee5a33f..32107ac86a2 100644 --- a/db/docs/boards_epic_list_user_preferences.yml +++ b/db/docs/boards_epic_list_user_preferences.yml @@ -7,3 +7,4 @@ feature_categories: description: Epic board list preferences on a per-user basis, specifically whether the user has collapsed the list or not introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/54541 milestone: '13.10' +gitlab_schema: gitlab_main diff --git a/db/docs/boards_epic_lists.yml b/db/docs/boards_epic_lists.yml index 87a15e4dde0..31fb116d110 100644 --- a/db/docs/boards_epic_lists.yml +++ b/db/docs/boards_epic_lists.yml @@ -7,3 +7,4 @@ feature_categories: description: Configuration of a single list within an epic board introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/49728 milestone: '13.7' +gitlab_schema: gitlab_main diff --git a/db/docs/boards_epic_user_preferences.yml b/db/docs/boards_epic_user_preferences.yml index 8137d370ebe..aed2b7a47d8 100644 --- a/db/docs/boards_epic_user_preferences.yml +++ b/db/docs/boards_epic_user_preferences.yml @@ -7,3 +7,4 @@ feature_categories: description: The epic_ids used to create swimlanes on issue boards; stored per user, per board introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/40360 milestone: '13.4' +gitlab_schema: gitlab_main diff --git a/db/docs/broadcast_messages.yml b/db/docs/broadcast_messages.yml index 1e4c181d48f..d6d6a93ad2e 100644 --- a/db/docs/broadcast_messages.yml +++ b/db/docs/broadcast_messages.yml @@ -7,3 +7,4 @@ feature_categories: description: GitLab can display broadcast messages to users of a GitLab instance introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/f1ecf53c1e55fbbc66cb2d7d12fb411cbfc2ace8 milestone: '6.3' +gitlab_schema: gitlab_main diff --git a/db/docs/bulk_import_configurations.yml b/db/docs/bulk_import_configurations.yml index 8456e834230..9ddb3115068 100644 --- a/db/docs/bulk_import_configurations.yml +++ b/db/docs/bulk_import_configurations.yml @@ -7,3 +7,4 @@ feature_categories: description: Used to store the configuration details of a bulk import of groups or projects introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/42978 milestone: '13.5' +gitlab_schema: gitlab_main diff --git a/db/docs/bulk_import_entities.yml b/db/docs/bulk_import_entities.yml index 250df850949..2232d68679a 100644 --- a/db/docs/bulk_import_entities.yml +++ b/db/docs/bulk_import_entities.yml @@ -7,3 +7,4 @@ feature_categories: description: Used to store and track the status of the migration of groups or projects introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/42978 milestone: '13.5' +gitlab_schema: gitlab_main diff --git a/db/docs/bulk_import_export_uploads.yml b/db/docs/bulk_import_export_uploads.yml index 40b418b2711..494678098a1 100644 --- a/db/docs/bulk_import_export_uploads.yml +++ b/db/docs/bulk_import_export_uploads.yml @@ -7,3 +7,4 @@ feature_categories: description: Used to store information of the exported files containing the data of groups or projects introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/59976 milestone: '13.12' +gitlab_schema: gitlab_main diff --git a/db/docs/bulk_import_exports.yml b/db/docs/bulk_import_exports.yml index 27af7fd1892..cc70f92ec8f 100644 --- a/db/docs/bulk_import_exports.yml +++ b/db/docs/bulk_import_exports.yml @@ -7,3 +7,4 @@ feature_categories: description: Used to track the generation status of export files for groups or projects introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/59976 milestone: '13.12' +gitlab_schema: gitlab_main diff --git a/db/docs/bulk_import_failures.yml b/db/docs/bulk_import_failures.yml index 87a127f47c4..3d15e06e2f0 100644 --- a/db/docs/bulk_import_failures.yml +++ b/db/docs/bulk_import_failures.yml @@ -7,3 +7,4 @@ feature_categories: description: Used to store failures that occur during the migration of groups or projects introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/47526 milestone: '13.7' +gitlab_schema: gitlab_main diff --git a/db/docs/bulk_import_trackers.yml b/db/docs/bulk_import_trackers.yml index 6f31bfb7c80..66f0158e771 100644 --- a/db/docs/bulk_import_trackers.yml +++ b/db/docs/bulk_import_trackers.yml @@ -7,3 +7,4 @@ feature_categories: description: Used to store and track the status of each pipeline associated with the migration of groups or projects introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/47009 milestone: '13.6' +gitlab_schema: gitlab_main diff --git a/db/docs/bulk_imports.yml b/db/docs/bulk_imports.yml index 354cb9c4ef7..c5f41fdc896 100644 --- a/db/docs/bulk_imports.yml +++ b/db/docs/bulk_imports.yml @@ -7,3 +7,4 @@ feature_categories: description: Used to store and track the status of a bulk import request of groups or projects introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/42978 milestone: '13.5' +gitlab_schema: gitlab_main diff --git a/db/docs/chat_names.yml b/db/docs/chat_names.yml index c588c65dca5..fd1efaf91d7 100644 --- a/db/docs/chat_names.yml +++ b/db/docs/chat_names.yml @@ -8,3 +8,4 @@ feature_categories: description: Stores mappings from external chat accounts to GitLab users. introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/7450 milestone: '8.14' +gitlab_schema: gitlab_main diff --git a/db/docs/chat_teams.yml b/db/docs/chat_teams.yml index 295947d77c8..d50e596279a 100644 --- a/db/docs/chat_teams.yml +++ b/db/docs/chat_teams.yml @@ -8,3 +8,4 @@ feature_categories: description: Stores mappings from external chat teams to GitLab groups. introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/8746 milestone: '9.0' +gitlab_schema: gitlab_main diff --git a/db/docs/ci_build_needs.yml b/db/docs/ci_build_needs.yml index f9367124ed2..7253e83601a 100644 --- a/db/docs/ci_build_needs.yml +++ b/db/docs/ci_build_needs.yml @@ -7,3 +7,4 @@ feature_categories: description: Dependencies for a specific CI/CD job. introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/31328 milestone: '12.2' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_build_pending_states.yml b/db/docs/ci_build_pending_states.yml index aa9e07d64b5..24b640c9598 100644 --- a/db/docs/ci_build_pending_states.yml +++ b/db/docs/ci_build_pending_states.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/41585 milestone: '13.4' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_build_report_results.yml b/db/docs/ci_build_report_results.yml index b1f112aea3c..388b4d8445d 100644 --- a/db/docs/ci_build_report_results.yml +++ b/db/docs/ci_build_report_results.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores data related to the build that finished, including junit test data. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/32991 milestone: '13.1' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_build_trace_chunks.yml b/db/docs/ci_build_trace_chunks.yml index b44f04d3e60..3d7bd10192d 100644 --- a/db/docs/ci_build_trace_chunks.yml +++ b/db/docs/ci_build_trace_chunks.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/9d6fe7bfdf9ff3f68ee73baa0e3d0aa7df13c351 milestone: '10.8' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_build_trace_metadata.yml b/db/docs/ci_build_trace_metadata.yml index 54c35cf9c76..25b45fbc95c 100644 --- a/db/docs/ci_build_trace_metadata.yml +++ b/db/docs/ci_build_trace_metadata.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/68171 milestone: '14.2' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_builds.yml b/db/docs/ci_builds.yml index fdaecfe22e8..547338b5969 100644 --- a/db/docs/ci_builds.yml +++ b/db/docs/ci_builds.yml @@ -11,3 +11,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/046b28312704f3131e72dcd2dbdacc5264d4aa62 milestone: '8.0' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_builds_metadata.yml b/db/docs/ci_builds_metadata.yml index ce5c72cf0f1..71f8a0c5427 100644 --- a/db/docs/ci_builds_metadata.yml +++ b/db/docs/ci_builds_metadata.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/1dde609ca6b130aa0a3d39e929edee7e770e62fc milestone: '10.7' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_builds_runner_session.yml b/db/docs/ci_builds_runner_session.yml index 0e46442da3f..282da1de91d 100644 --- a/db/docs/ci_builds_runner_session.yml +++ b/db/docs/ci_builds_runner_session.yml @@ -7,3 +7,4 @@ feature_categories: description: Store build-related runner session. Data is removed after the respective job transitions from running to any state. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/6208 milestone: '11.1' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_daily_build_group_report_results.yml b/db/docs/ci_daily_build_group_report_results.yml index 3e75950f462..1d88a4c3e40 100644 --- a/db/docs/ci_daily_build_group_report_results.yml +++ b/db/docs/ci_daily_build_group_report_results.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores daily aggregated data related to the build group, including code coverage data. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/30387 milestone: '13.0' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_deleted_objects.yml b/db/docs/ci_deleted_objects.yml index a2e108e6c0a..bb35f63b438 100644 --- a/db/docs/ci_deleted_objects.yml +++ b/db/docs/ci_deleted_objects.yml @@ -7,3 +7,4 @@ feature_categories: description: Allows efficient batch deletion of data in object storage. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/9bf76fe03f8edf4f67023448161af27abb8fb521 milestone: '13.5' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_freeze_periods.yml b/db/docs/ci_freeze_periods.yml index 5c6e25ecc32..0267f925149 100644 --- a/db/docs/ci_freeze_periods.yml +++ b/db/docs/ci_freeze_periods.yml @@ -7,3 +7,4 @@ feature_categories: description: https://docs.gitlab.com/ee/ci/environments/deployment_safety.html#prevent-deployments-during-deploy-freeze-windows introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/29162 milestone: '13.0' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_group_variables.yml b/db/docs/ci_group_variables.yml index de361da918d..c504a601c4c 100644 --- a/db/docs/ci_group_variables.yml +++ b/db/docs/ci_group_variables.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/5b0954759cc24bdba97be89bb117c5440174f859 milestone: '9.4' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_instance_variables.yml b/db/docs/ci_instance_variables.yml index 94d7c08a0fa..c39fe03b993 100644 --- a/db/docs/ci_instance_variables.yml +++ b/db/docs/ci_instance_variables.yml @@ -7,3 +7,4 @@ feature_categories: description: CI/CD variables available to all projects and groups in an instance. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/30156 milestone: '13.0' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_job_artifact_states.yml b/db/docs/ci_job_artifact_states.yml index 6fe7443dd26..4c9116a059b 100644 --- a/db/docs/ci_job_artifact_states.yml +++ b/db/docs/ci_job_artifact_states.yml @@ -7,3 +7,4 @@ feature_categories: description: Separate table for job artifacts containing Geo verification metadata. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/75264 milestone: '14.8' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_job_artifacts.yml b/db/docs/ci_job_artifacts.yml index 492132315b6..bff81fa5ae9 100644 --- a/db/docs/ci_job_artifacts.yml +++ b/db/docs/ci_job_artifacts.yml @@ -8,3 +8,4 @@ feature_categories: description: Stores artifacts produced by a build. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/61864a5a5bb523953589c9398a431c4369fbfc76 milestone: '10.3' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_job_token_project_scope_links.yml b/db/docs/ci_job_token_project_scope_links.yml index 993d392bb93..9102ef0db93 100644 --- a/db/docs/ci_job_token_project_scope_links.yml +++ b/db/docs/ci_job_token_project_scope_links.yml @@ -7,3 +7,4 @@ feature_categories: description: The connection between a source project, which defines the job token scope, and a target project, which is the one allowed to be accessed by the job token. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/62733 milestone: '14.0' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_job_variables.yml b/db/docs/ci_job_variables.yml index f913ee4f800..1cbabb4fcbb 100644 --- a/db/docs/ci_job_variables.yml +++ b/db/docs/ci_job_variables.yml @@ -7,3 +7,4 @@ feature_categories: description: CI/CD variables set to a job when running it manually. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/14784 milestone: '12.2' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_minutes_additional_packs.yml b/db/docs/ci_minutes_additional_packs.yml index 37e5e9b1423..2be58f2cdde 100644 --- a/db/docs/ci_minutes_additional_packs.yml +++ b/db/docs/ci_minutes_additional_packs.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/62393 milestone: '14.0' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_namespace_mirrors.yml b/db/docs/ci_namespace_mirrors.yml index 31349cfa94c..dd6b8eab821 100644 --- a/db/docs/ci_namespace_mirrors.yml +++ b/db/docs/ci_namespace_mirrors.yml @@ -7,3 +7,4 @@ feature_categories: description: Mirrors some data from the `main` database into the `ci` database so that we can join directly in a single query introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/75621 milestone: '14.6' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_namespace_monthly_usages.yml b/db/docs/ci_namespace_monthly_usages.yml index 601d208f1af..276cc52c7f3 100644 --- a/db/docs/ci_namespace_monthly_usages.yml +++ b/db/docs/ci_namespace_monthly_usages.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/52915 milestone: '13.9' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_partitions.yml b/db/docs/ci_partitions.yml index 8dfa31f05f9..98144deb0c2 100644 --- a/db/docs/ci_partitions.yml +++ b/db/docs/ci_partitions.yml @@ -7,3 +7,4 @@ feature_categories: description: Database partitioning metadata for CI tables introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/96856 milestone: '15.4' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_pending_builds.yml b/db/docs/ci_pending_builds.yml index 68a31db0868..4abcb77a499 100644 --- a/db/docs/ci_pending_builds.yml +++ b/db/docs/ci_pending_builds.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/61581 milestone: '14.0' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_pipeline_artifacts.yml b/db/docs/ci_pipeline_artifacts.yml index 124fe4de90b..6d498f6c99a 100644 --- a/db/docs/ci_pipeline_artifacts.yml +++ b/db/docs/ci_pipeline_artifacts.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores aggregated artifacts produced by a pipeline. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/37969 milestone: '13.3' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_pipeline_chat_data.yml b/db/docs/ci_pipeline_chat_data.yml index 1edd3c923f2..eeef86bd4dd 100644 --- a/db/docs/ci_pipeline_chat_data.yml +++ b/db/docs/ci_pipeline_chat_data.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores information about a CI pipeline created via chatops introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/4466 milestone: '10.6' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_pipeline_messages.yml b/db/docs/ci_pipeline_messages.yml index ad759f5f7e6..603b7934939 100644 --- a/db/docs/ci_pipeline_messages.yml +++ b/db/docs/ci_pipeline_messages.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/33762 milestone: '13.2' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_pipeline_metadata.yml b/db/docs/ci_pipeline_metadata.yml index ed0bd896841..d246253e64a 100644 --- a/db/docs/ci_pipeline_metadata.yml +++ b/db/docs/ci_pipeline_metadata.yml @@ -4,6 +4,7 @@ classes: - Ci::PipelineMetadata feature_categories: - continuous_integration -description: 'Stores additional information about CI pipelines' +description: Stores additional information about CI pipelines introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/97139 milestone: '15.5' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_pipeline_schedule_variables.yml b/db/docs/ci_pipeline_schedule_variables.yml index 20c439c7d87..9cf48ef2fea 100644 --- a/db/docs/ci_pipeline_schedule_variables.yml +++ b/db/docs/ci_pipeline_schedule_variables.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/d278da48f837292491aaf81649afef1da3a1eb09 milestone: '9.4' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_pipeline_schedules.yml b/db/docs/ci_pipeline_schedules.yml index e61e3adfb82..a5a17c0941a 100644 --- a/db/docs/ci_pipeline_schedules.yml +++ b/db/docs/ci_pipeline_schedules.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/8df3997a92bffa2d29f3c559933a336b837cdb93 milestone: '9.2' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_pipeline_variables.yml b/db/docs/ci_pipeline_variables.yml index a98f17405bc..aaf49b17c99 100644 --- a/db/docs/ci_pipeline_variables.yml +++ b/db/docs/ci_pipeline_variables.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/56418e85ac6b667d19495665860092ce4d74f55d milestone: '9.5' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_pipelines.yml b/db/docs/ci_pipelines.yml index 8931c5233f3..62ec2508ad9 100644 --- a/db/docs/ci_pipelines.yml +++ b/db/docs/ci_pipelines.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/c6ae290cea4b88ecaa9cfe0bc9d88e8fd32070c1 milestone: '9.0' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_pipelines_config.yml b/db/docs/ci_pipelines_config.yml index c3a5f33fda0..42a7b460bbd 100644 --- a/db/docs/ci_pipelines_config.yml +++ b/db/docs/ci_pipelines_config.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/21827 milestone: '12.7' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_platform_metrics.yml b/db/docs/ci_platform_metrics.yml index b96f613f3ac..c3026d66783 100644 --- a/db/docs/ci_platform_metrics.yml +++ b/db/docs/ci_platform_metrics.yml @@ -7,3 +7,4 @@ feature_categories: description: Instrumentation for https://docs.gitlab.com/ee/ci/cloud_deployment/ecs/quick_start_guide.html introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/40036 milestone: '13.4' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_project_mirrors.yml b/db/docs/ci_project_mirrors.yml index f04fbf80596..d6619880b20 100644 --- a/db/docs/ci_project_mirrors.yml +++ b/db/docs/ci_project_mirrors.yml @@ -7,3 +7,4 @@ feature_categories: description: Mirrors some data from the `main` database into the `ci` database so that we can join directly in a single query introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/75621 milestone: '14.6' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_project_monthly_usages.yml b/db/docs/ci_project_monthly_usages.yml index e7f0dc2b17b..03d84aa669f 100644 --- a/db/docs/ci_project_monthly_usages.yml +++ b/db/docs/ci_project_monthly_usages.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/53460 milestone: '13.9' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_refs.yml b/db/docs/ci_refs.yml index ce2d9256a9c..1e4da221241 100644 --- a/db/docs/ci_refs.yml +++ b/db/docs/ci_refs.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/16951 milestone: '12.9' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_resource_groups.yml b/db/docs/ci_resource_groups.yml index 716dea0b182..ea66284ccd1 100644 --- a/db/docs/ci_resource_groups.yml +++ b/db/docs/ci_resource_groups.yml @@ -7,3 +7,4 @@ feature_categories: description: https://docs.gitlab.com/ee/ci/resource_groups/ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/20950 milestone: '12.7' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_resources.yml b/db/docs/ci_resources.yml index 2fac94eb416..1950db54890 100644 --- a/db/docs/ci_resources.yml +++ b/db/docs/ci_resources.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/20950 milestone: '12.7' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_runner_namespaces.yml b/db/docs/ci_runner_namespaces.yml index ea57281076d..e6d4693e58c 100644 --- a/db/docs/ci_runner_namespaces.yml +++ b/db/docs/ci_runner_namespaces.yml @@ -7,3 +7,4 @@ feature_categories: description: Relationships between runners and namespaces for group runners introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/1549239849adf31a078be7503ab2288795e337cf milestone: '10.8' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_runner_projects.yml b/db/docs/ci_runner_projects.yml index 120044e4a34..3819cddb8a0 100644 --- a/db/docs/ci_runner_projects.yml +++ b/db/docs/ci_runner_projects.yml @@ -7,3 +7,4 @@ feature_categories: description: Relationships between runners and projects for project runners introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/046b28312704f3131e72dcd2dbdacc5264d4aa62 milestone: '8.0' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_runner_versions.yml b/db/docs/ci_runner_versions.yml index e0221e3956f..cb983222a6e 100644 --- a/db/docs/ci_runner_versions.yml +++ b/db/docs/ci_runner_versions.yml @@ -7,3 +7,4 @@ feature_categories: description: Information about used Ci::Runner versions introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/90982 milestone: '15.2' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_runners.yml b/db/docs/ci_runners.yml index 1ca8cb39738..5930adf7062 100644 --- a/db/docs/ci_runners.yml +++ b/db/docs/ci_runners.yml @@ -9,3 +9,4 @@ feature_categories: description: Registered CI runners introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/046b28312704f3131e72dcd2dbdacc5264d4aa62 milestone: '8.0' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_running_builds.yml b/db/docs/ci_running_builds.yml index 5a004ac9c61..de337d628eb 100644 --- a/db/docs/ci_running_builds.yml +++ b/db/docs/ci_running_builds.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/62912 milestone: '14.0' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_secure_file_states.yml b/db/docs/ci_secure_file_states.yml index 5e8a748e52a..5734f040f2f 100644 --- a/db/docs/ci_secure_file_states.yml +++ b/db/docs/ci_secure_file_states.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores verification state for Geo replicated Project-level Secure Files. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/90510 milestone: '15.2' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_secure_files.yml b/db/docs/ci_secure_files.yml index deeb24b02a5..6124eeade28 100644 --- a/db/docs/ci_secure_files.yml +++ b/db/docs/ci_secure_files.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/77886 milestone: '14.7' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_sources_pipelines.yml b/db/docs/ci_sources_pipelines.yml index 1fdc758a181..7e0121ab66e 100644 --- a/db/docs/ci_sources_pipelines.yml +++ b/db/docs/ci_sources_pipelines.yml @@ -7,3 +7,4 @@ feature_categories: description: It stores parent-child and cross-project pipeline relationships. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/163983e0d7d1dab622846441bd0dd9086c78a69f milestone: '9.3' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_sources_projects.yml b/db/docs/ci_sources_projects.yml index b39e3a20f03..10aba3025d8 100644 --- a/db/docs/ci_sources_projects.yml +++ b/db/docs/ci_sources_projects.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/20063 milestone: '12.9' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_stages.yml b/db/docs/ci_stages.yml index 9c71193dfd4..553e4a612bf 100644 --- a/db/docs/ci_stages.yml +++ b/db/docs/ci_stages.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/acc22a8422cd1471819510aa375c455b5ea009c5 milestone: '9.3' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_subscriptions_projects.yml b/db/docs/ci_subscriptions_projects.yml index 0e55c95d6bb..e383432eac6 100644 --- a/db/docs/ci_subscriptions_projects.yml +++ b/db/docs/ci_subscriptions_projects.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/18678 milestone: '12.5' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_trigger_requests.yml b/db/docs/ci_trigger_requests.yml index 25360f81f50..15e15e9b7bc 100644 --- a/db/docs/ci_trigger_requests.yml +++ b/db/docs/ci_trigger_requests.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/046b28312704f3131e72dcd2dbdacc5264d4aa62 milestone: '8.0' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_triggers.yml b/db/docs/ci_triggers.yml index c0e556b481c..d17efc7b85a 100644 --- a/db/docs/ci_triggers.yml +++ b/db/docs/ci_triggers.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/046b28312704f3131e72dcd2dbdacc5264d4aa62 milestone: '8.0' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_unit_test_failures.yml b/db/docs/ci_unit_test_failures.yml index 9a1b27e8062..90f6e780e19 100644 --- a/db/docs/ci_unit_test_failures.yml +++ b/db/docs/ci_unit_test_failures.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores unit test failure data produced from builds. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56137 milestone: '13.11' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_unit_tests.yml b/db/docs/ci_unit_tests.yml index 46b405678f0..501795a7182 100644 --- a/db/docs/ci_unit_tests.yml +++ b/db/docs/ci_unit_tests.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores unit test data produced from builds. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56137 milestone: '13.11' +gitlab_schema: gitlab_ci diff --git a/db/docs/ci_variables.yml b/db/docs/ci_variables.yml index 2636ff2aa30..bcb6b3f3753 100644 --- a/db/docs/ci_variables.yml +++ b/db/docs/ci_variables.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/046b28312704f3131e72dcd2dbdacc5264d4aa62 milestone: '8.0' +gitlab_schema: gitlab_ci diff --git a/db/docs/cluster_agent_tokens.yml b/db/docs/cluster_agent_tokens.yml index a08684e4e84..24b093c948c 100644 --- a/db/docs/cluster_agent_tokens.yml +++ b/db/docs/cluster_agent_tokens.yml @@ -7,3 +7,4 @@ feature_categories: description: Tokens used by cluster agents to connect to GitLab introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/33228 milestone: '13.3' +gitlab_schema: gitlab_main diff --git a/db/docs/cluster_agents.yml b/db/docs/cluster_agents.yml index 59090f2ff75..14574fb82f4 100644 --- a/db/docs/cluster_agents.yml +++ b/db/docs/cluster_agents.yml @@ -7,3 +7,4 @@ feature_categories: description: Represents a GitLab Agent for Kubernetes installed in a Kubernetes cluster introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/33228 milestone: '13.3' +gitlab_schema: gitlab_main diff --git a/db/docs/cluster_enabled_grants.yml b/db/docs/cluster_enabled_grants.yml index 7a8faba26d6..873bbb4b7b5 100644 --- a/db/docs/cluster_enabled_grants.yml +++ b/db/docs/cluster_enabled_grants.yml @@ -7,3 +7,4 @@ feature_categories: description: Persists information about namespaces which got an extended life for certificate based clusters introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/87149 milestone: '15.1' +gitlab_schema: gitlab_main diff --git a/db/docs/cluster_groups.yml b/db/docs/cluster_groups.yml index 8a20ad3d562..ff5c3d890fd 100644 --- a/db/docs/cluster_groups.yml +++ b/db/docs/cluster_groups.yml @@ -4,6 +4,7 @@ classes: - Clusters::Group feature_categories: - kubernetes_management -description: (Deprecated) Join table between 'clusters' and 'namespaces' +description: "(Deprecated) Join table between 'clusters' and 'namespaces'" introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/0e15eec86d83cbdfefe17966bf5c02e4d419a34d milestone: '11.5' +gitlab_schema: gitlab_main diff --git a/db/docs/cluster_platforms_kubernetes.yml b/db/docs/cluster_platforms_kubernetes.yml index ab1b53e36b4..c92705b7c46 100644 --- a/db/docs/cluster_platforms_kubernetes.yml +++ b/db/docs/cluster_platforms_kubernetes.yml @@ -4,6 +4,7 @@ classes: - Clusters::Platforms::Kubernetes feature_categories: - kubernetes_management -description: (Deprecated) Kubernetes specific details for a cluster integration +description: "(Deprecated) Kubernetes specific details for a cluster integration" introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/d0cff7f5855f91b5479f9fdaa39d8d95ec691a9e milestone: '10.2' +gitlab_schema: gitlab_main diff --git a/db/docs/cluster_projects.yml b/db/docs/cluster_projects.yml index 51f996c0d5c..89bcd726e1f 100644 --- a/db/docs/cluster_projects.yml +++ b/db/docs/cluster_projects.yml @@ -4,6 +4,7 @@ classes: - Clusters::Project feature_categories: - kubernetes_management -description: (Deprecated) Join table between 'clusters' and 'projects' +description: "(Deprecated) Join table between 'clusters' and 'projects'" introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/d0cff7f5855f91b5479f9fdaa39d8d95ec691a9e milestone: '10.2' +gitlab_schema: gitlab_main diff --git a/db/docs/cluster_providers_aws.yml b/db/docs/cluster_providers_aws.yml index 1af9a814685..7c32b9291d1 100644 --- a/db/docs/cluster_providers_aws.yml +++ b/db/docs/cluster_providers_aws.yml @@ -4,6 +4,7 @@ classes: - Clusters::Providers::Aws feature_categories: - kubernetes_management -description: (Deprecated) AWS specific details for an EKS cluster integration +description: "(Deprecated) AWS specific details for an EKS cluster integration" introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/17057 milestone: '12.4' +gitlab_schema: gitlab_main diff --git a/db/docs/cluster_providers_gcp.yml b/db/docs/cluster_providers_gcp.yml index 3ef9ebb995c..cc89320d346 100644 --- a/db/docs/cluster_providers_gcp.yml +++ b/db/docs/cluster_providers_gcp.yml @@ -4,6 +4,7 @@ classes: - Clusters::Providers::Gcp feature_categories: - kubernetes_management -description: (Deprecated) GCP specific details for a GKE cluster integration +description: "(Deprecated) GCP specific details for a GKE cluster integration" introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/d0cff7f5855f91b5479f9fdaa39d8d95ec691a9e milestone: '10.2' +gitlab_schema: gitlab_main diff --git a/db/docs/clusters.yml b/db/docs/clusters.yml index cad0fd4c3b3..f791c84bfa2 100644 --- a/db/docs/clusters.yml +++ b/db/docs/clusters.yml @@ -7,3 +7,4 @@ feature_categories: description: Persists information about GitLab managed clusters introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/14879 milestone: '10.1' +gitlab_schema: gitlab_main diff --git a/db/docs/clusters_applications_cert_managers.yml b/db/docs/clusters_applications_cert_managers.yml index bf85400c3ae..36bc15e045c 100644 --- a/db/docs/clusters_applications_cert_managers.yml +++ b/db/docs/clusters_applications_cert_managers.yml @@ -4,6 +4,7 @@ classes: - Clusters::Applications::CertManager feature_categories: - kubernetes_management -description: (Deprecated) A GitLab managed cert-manager installation in a Kubernetes cluster +description: "(Deprecated) A GitLab managed cert-manager installation in a Kubernetes cluster" introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/8837519445c319a699e0f3ced1c6912c839f3389 milestone: '11.6' +gitlab_schema: gitlab_main diff --git a/db/docs/clusters_applications_cilium.yml b/db/docs/clusters_applications_cilium.yml index 1fa71a93911..8744ee73633 100644 --- a/db/docs/clusters_applications_cilium.yml +++ b/db/docs/clusters_applications_cilium.yml @@ -7,3 +7,4 @@ feature_categories: description: Information about installed instance of Cilium in the cluster introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/34601 milestone: '13.2' +gitlab_schema: gitlab_main diff --git a/db/docs/clusters_applications_crossplane.yml b/db/docs/clusters_applications_crossplane.yml index ef9bbed9415..f633f746e70 100644 --- a/db/docs/clusters_applications_crossplane.yml +++ b/db/docs/clusters_applications_crossplane.yml @@ -4,6 +4,7 @@ classes: - Clusters::Applications::Crossplane feature_categories: - kubernetes_management -description: (Deprecated) A GitLab managed Crossplane installation in a Kubernetes cluster +description: "(Deprecated) A GitLab managed Crossplane installation in a Kubernetes cluster" introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/18797 milestone: '12.5' +gitlab_schema: gitlab_main diff --git a/db/docs/clusters_applications_helm.yml b/db/docs/clusters_applications_helm.yml index 83014ab9221..bb849a21cae 100644 --- a/db/docs/clusters_applications_helm.yml +++ b/db/docs/clusters_applications_helm.yml @@ -4,6 +4,7 @@ classes: - Clusters::Applications::Helm feature_categories: - kubernetes_management -description: (Deprecated) A GitLab managed Helm installation in a Kubernetes cluster +description: "(Deprecated) A GitLab managed Helm installation in a Kubernetes cluster" introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/64be8d70ae20928df351e495a3442bb6036bc3e7 milestone: '10.2' +gitlab_schema: gitlab_main diff --git a/db/docs/clusters_applications_ingress.yml b/db/docs/clusters_applications_ingress.yml index 73c0d8d7cb4..02dda5a4498 100644 --- a/db/docs/clusters_applications_ingress.yml +++ b/db/docs/clusters_applications_ingress.yml @@ -4,6 +4,7 @@ classes: - Clusters::Applications::Ingress feature_categories: - kubernetes_management -description: (Deprecated) A GitLab managed Ingress installation in a Kubernetes cluster +description: "(Deprecated) A GitLab managed Ingress installation in a Kubernetes cluster" introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/d8223468ae2ae061020cc26336c51dc93cc75571 milestone: '10.2' +gitlab_schema: gitlab_main diff --git a/db/docs/clusters_applications_jupyter.yml b/db/docs/clusters_applications_jupyter.yml index faff294bf6b..b15b889779b 100644 --- a/db/docs/clusters_applications_jupyter.yml +++ b/db/docs/clusters_applications_jupyter.yml @@ -4,6 +4,7 @@ classes: - Clusters::Applications::Jupyter feature_categories: - kubernetes_management -description: (Deprecated) A GitLab managed Jupyter installation in a Kubernetes cluster +description: "(Deprecated) A GitLab managed Jupyter installation in a Kubernetes cluster" introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/db9f765852d9fef464e69c0bf47a382f2ab7219d milestone: '11.0' +gitlab_schema: gitlab_main diff --git a/db/docs/clusters_applications_knative.yml b/db/docs/clusters_applications_knative.yml index 4d8d3a30ad5..e17a0284a1f 100644 --- a/db/docs/clusters_applications_knative.yml +++ b/db/docs/clusters_applications_knative.yml @@ -4,6 +4,7 @@ classes: - Clusters::Applications::Knative feature_categories: - kubernetes_management -description: (Deprecated) A GitLab managed Knative installation in a Kubernetes cluster +description: "(Deprecated) A GitLab managed Knative installation in a Kubernetes cluster" introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/b5155b90ee233e2824c168fbb06b3ce5d3aeb194 milestone: '11.5' +gitlab_schema: gitlab_main diff --git a/db/docs/clusters_applications_prometheus.yml b/db/docs/clusters_applications_prometheus.yml index 394ab63f81f..9b99ffba5db 100644 --- a/db/docs/clusters_applications_prometheus.yml +++ b/db/docs/clusters_applications_prometheus.yml @@ -7,3 +7,4 @@ feature_categories: description: Information about installed instance of Prometheus in the cluster introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/0d4548026f3060ca0a8f7aa8d8fc89838bc66130 milestone: '10.4' +gitlab_schema: gitlab_main diff --git a/db/docs/clusters_applications_runners.yml b/db/docs/clusters_applications_runners.yml index 06c43337b83..c2fd4799cf9 100644 --- a/db/docs/clusters_applications_runners.yml +++ b/db/docs/clusters_applications_runners.yml @@ -4,6 +4,7 @@ classes: - Clusters::Applications::Runner feature_categories: - kubernetes_management -description: (Deprecated) A GitLab managed Runner installation in a Kubernetes cluster +description: "(Deprecated) A GitLab managed Runner installation in a Kubernetes cluster" introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/c607008ee55e35465e04a938a341f2f24cb6761f milestone: '10.6' +gitlab_schema: gitlab_main diff --git a/db/docs/clusters_integration_prometheus.yml b/db/docs/clusters_integration_prometheus.yml index f8702226daa..a0abd9935d8 100644 --- a/db/docs/clusters_integration_prometheus.yml +++ b/db/docs/clusters_integration_prometheus.yml @@ -7,3 +7,4 @@ feature_categories: description: Persists information about prometheus cluster integration introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/59091 milestone: '13.11' +gitlab_schema: gitlab_main diff --git a/db/docs/clusters_kubernetes_namespaces.yml b/db/docs/clusters_kubernetes_namespaces.yml index 0772f9ce877..3572cfa4f2c 100644 --- a/db/docs/clusters_kubernetes_namespaces.yml +++ b/db/docs/clusters_kubernetes_namespaces.yml @@ -4,6 +4,7 @@ classes: - Clusters::KubernetesNamespace feature_categories: - kubernetes_management -description: (Deprecated) A Kubernetes namespace in a GitLab managed Kubernetes cluster +description: "(Deprecated) A Kubernetes namespace in a GitLab managed Kubernetes cluster" introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/e3ca493876ab71ed29817a0af436fc563f564bbe milestone: '11.5' +gitlab_schema: gitlab_main diff --git a/db/docs/commit_user_mentions.yml b/db/docs/commit_user_mentions.yml index e04f2001d9c..6dbd0a1f1bf 100644 --- a/db/docs/commit_user_mentions.yml +++ b/db/docs/commit_user_mentions.yml @@ -4,6 +4,7 @@ classes: - CommitUserMention feature_categories: - team_planning -description: User mentions in commit messages +description: User mentions in commit messages introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/19009 milestone: '12.6' +gitlab_schema: gitlab_main diff --git a/db/docs/compliance_management_frameworks.yml b/db/docs/compliance_management_frameworks.yml index edf89095593..9a75e43a938 100644 --- a/db/docs/compliance_management_frameworks.yml +++ b/db/docs/compliance_management_frameworks.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/44098 milestone: '13.5' +gitlab_schema: gitlab_main diff --git a/db/docs/container_expiration_policies.yml b/db/docs/container_expiration_policies.yml index a7027ee6f5e..8cc8c675cf9 100644 --- a/db/docs/container_expiration_policies.yml +++ b/db/docs/container_expiration_policies.yml @@ -7,3 +7,4 @@ feature_categories: description: Project level settings for container registry cleanup policies introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/20412 milestone: '12.6' +gitlab_schema: gitlab_main diff --git a/db/docs/container_repositories.yml b/db/docs/container_repositories.yml index c4eb599848a..472385b8e65 100644 --- a/db/docs/container_repositories.yml +++ b/db/docs/container_repositories.yml @@ -7,3 +7,4 @@ feature_categories: description: Container registry repositories (images), originally named container_images, renamed in https://gitlab.com/gitlab-org/gitlab/-/commit/01d159b409d8b24d36204979a73de249843d71bf introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/10109 milestone: '9.1' +gitlab_schema: gitlab_main diff --git a/db/docs/content_blocked_states.yml b/db/docs/content_blocked_states.yml index 0abf239a98b..38349b2014a 100644 --- a/db/docs/content_blocked_states.yml +++ b/db/docs/content_blocked_states.yml @@ -6,3 +6,4 @@ feature_categories: description: JiHu only. Keeps list of restricted blobs. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/72124 milestone: '14.5' +gitlab_schema: gitlab_main diff --git a/db/docs/conversational_development_index_metrics.yml b/db/docs/conversational_development_index_metrics.yml index 9371f9f1bfb..507b21daf53 100644 --- a/db/docs/conversational_development_index_metrics.yml +++ b/db/docs/conversational_development_index_metrics.yml @@ -7,3 +7,4 @@ feature_categories: description: Contains data for calculating DevOps score. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/26dde5f55f1dac2e6bea4f7e1dfa51c72dc756cb milestone: '9.3' +gitlab_schema: gitlab_main diff --git a/db/docs/coverage_fuzzing_corpuses.yml b/db/docs/coverage_fuzzing_corpuses.yml index 3e8e55cd4e6..38410c1a72d 100644 --- a/db/docs/coverage_fuzzing_corpuses.yml +++ b/db/docs/coverage_fuzzing_corpuses.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores additional values describing corpuses used by coverage fuzzing introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/71704 milestone: '14.4' +gitlab_schema: gitlab_main diff --git a/db/docs/csv_issue_imports.yml b/db/docs/csv_issue_imports.yml index 7560876c4a0..c5bdd72e6e4 100644 --- a/db/docs/csv_issue_imports.yml +++ b/db/docs/csv_issue_imports.yml @@ -7,3 +7,4 @@ feature_categories: description: Used to report the unique user usage of the CSV Issue Import feature introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/44742 milestone: '13.6' +gitlab_schema: gitlab_main diff --git a/db/docs/custom_emoji.yml b/db/docs/custom_emoji.yml index 205e652835e..2b20ea014f4 100644 --- a/db/docs/custom_emoji.yml +++ b/db/docs/custom_emoji.yml @@ -7,3 +7,4 @@ feature_categories: description: Filename and name of custom emoji created by users introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/24229 milestone: '13.2' +gitlab_schema: gitlab_main diff --git a/db/docs/customer_relations_contacts.yml b/db/docs/customer_relations_contacts.yml index 57fce1e0def..dcb7e3184dd 100644 --- a/db/docs/customer_relations_contacts.yml +++ b/db/docs/customer_relations_contacts.yml @@ -7,3 +7,4 @@ feature_categories: description: Contacts, against which time can be spent by users on issues using the CRM functionality introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/67985 milestone: '14.3' +gitlab_schema: gitlab_main diff --git a/db/docs/customer_relations_organizations.yml b/db/docs/customer_relations_organizations.yml index b25c70a4fd2..07f9ed01ca6 100644 --- a/db/docs/customer_relations_organizations.yml +++ b/db/docs/customer_relations_organizations.yml @@ -7,3 +7,4 @@ feature_categories: description: Organizations, against which time can be spent by users on issues using the CRM functionality introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/67551 milestone: '14.2' +gitlab_schema: gitlab_main diff --git a/db/docs/dast_profile_schedules.yml b/db/docs/dast_profile_schedules.yml index 820251d2e16..b7846b6d798 100644 --- a/db/docs/dast_profile_schedules.yml +++ b/db/docs/dast_profile_schedules.yml @@ -7,3 +7,4 @@ feature_categories: description: Scheduling for scans using DAST Profiles introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/65327 milestone: '14.2' +gitlab_schema: gitlab_main diff --git a/db/docs/dast_profiles.yml b/db/docs/dast_profiles.yml index bd909be59f1..a7999915039 100644 --- a/db/docs/dast_profiles.yml +++ b/db/docs/dast_profiles.yml @@ -7,3 +7,4 @@ feature_categories: description: Profile used to run a DAST on-demand scan introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/51296 milestone: '13.9' +gitlab_schema: gitlab_main diff --git a/db/docs/dast_profiles_pipelines.yml b/db/docs/dast_profiles_pipelines.yml index 3b972423083..19a235d6ba4 100644 --- a/db/docs/dast_profiles_pipelines.yml +++ b/db/docs/dast_profiles_pipelines.yml @@ -7,3 +7,4 @@ feature_categories: description: Join table between DAST Profiles and CI Pipelines introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56821 milestone: '13.11' +gitlab_schema: gitlab_main diff --git a/db/docs/dast_scanner_profiles.yml b/db/docs/dast_scanner_profiles.yml index bb5850abbd2..8d69bef4b60 100644 --- a/db/docs/dast_scanner_profiles.yml +++ b/db/docs/dast_scanner_profiles.yml @@ -7,3 +7,4 @@ feature_categories: description: A scanner profile defines the scanner settings used to run an on-demand scan introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/37404 milestone: '13.3' +gitlab_schema: gitlab_main diff --git a/db/docs/dast_scanner_profiles_builds.yml b/db/docs/dast_scanner_profiles_builds.yml index 8beed026a0b..c4531c21fbf 100644 --- a/db/docs/dast_scanner_profiles_builds.yml +++ b/db/docs/dast_scanner_profiles_builds.yml @@ -7,3 +7,4 @@ feature_categories: description: Join table between DAST Scanner Profiles and CI Builds introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/63362 milestone: '14.1' +gitlab_schema: gitlab_main diff --git a/db/docs/dast_site_profile_secret_variables.yml b/db/docs/dast_site_profile_secret_variables.yml index d1711d5f6e7..c9a51911dc9 100644 --- a/db/docs/dast_site_profile_secret_variables.yml +++ b/db/docs/dast_site_profile_secret_variables.yml @@ -7,3 +7,4 @@ feature_categories: description: Secret variables used in DAST on-demand scans introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56067 milestone: '13.11' +gitlab_schema: gitlab_main diff --git a/db/docs/dast_site_profiles.yml b/db/docs/dast_site_profiles.yml index a584a8eaf22..e9542426cd7 100644 --- a/db/docs/dast_site_profiles.yml +++ b/db/docs/dast_site_profiles.yml @@ -7,3 +7,4 @@ feature_categories: description: A site profile describes the attributes of a web site to scan on demand with DAST introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/36659 milestone: '13.2' +gitlab_schema: gitlab_main diff --git a/db/docs/dast_site_profiles_builds.yml b/db/docs/dast_site_profiles_builds.yml index 71bfea2e122..bbe3dbe7396 100644 --- a/db/docs/dast_site_profiles_builds.yml +++ b/db/docs/dast_site_profiles_builds.yml @@ -7,3 +7,4 @@ feature_categories: description: Join table between DAST Site Profiles and CI Builds introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/63362 milestone: '14.1' +gitlab_schema: gitlab_main diff --git a/db/docs/dast_site_profiles_pipelines.yml b/db/docs/dast_site_profiles_pipelines.yml index 022b241934e..21f622fad6b 100644 --- a/db/docs/dast_site_profiles_pipelines.yml +++ b/db/docs/dast_site_profiles_pipelines.yml @@ -6,3 +6,4 @@ feature_categories: description: Join table between DAST Site Profiles and CI Pipelines introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/60090 milestone: '13.12' +gitlab_schema: gitlab_main diff --git a/db/docs/dast_site_tokens.yml b/db/docs/dast_site_tokens.yml index 1d92bcd6981..c96c76c9ded 100644 --- a/db/docs/dast_site_tokens.yml +++ b/db/docs/dast_site_tokens.yml @@ -7,3 +7,4 @@ feature_categories: description: Token for the site to be validated introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/41639 milestone: '13.4' +gitlab_schema: gitlab_main diff --git a/db/docs/dast_site_validations.yml b/db/docs/dast_site_validations.yml index cb42895bc6a..7fc2e41f1ab 100644 --- a/db/docs/dast_site_validations.yml +++ b/db/docs/dast_site_validations.yml @@ -7,3 +7,4 @@ feature_categories: description: The site to be validated with a dast_site_token introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/41639 milestone: '13.4' +gitlab_schema: gitlab_main diff --git a/db/docs/dast_sites.yml b/db/docs/dast_sites.yml index 63dcad7b35f..8e0faf2217e 100644 --- a/db/docs/dast_sites.yml +++ b/db/docs/dast_sites.yml @@ -7,3 +7,4 @@ feature_categories: description: Site to run dast scan on introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/36659 milestone: '13.2' +gitlab_schema: gitlab_main diff --git a/db/docs/dependency_proxy_blobs.yml b/db/docs/dependency_proxy_blobs.yml index ad54ac8943e..78b0cc54013 100644 --- a/db/docs/dependency_proxy_blobs.yml +++ b/db/docs/dependency_proxy_blobs.yml @@ -7,3 +7,4 @@ feature_categories: description: Dependency proxy blob files introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/10676 milestone: '11.11' +gitlab_schema: gitlab_main diff --git a/db/docs/dependency_proxy_group_settings.yml b/db/docs/dependency_proxy_group_settings.yml index d975ca482de..53ec18594e0 100644 --- a/db/docs/dependency_proxy_group_settings.yml +++ b/db/docs/dependency_proxy_group_settings.yml @@ -7,3 +7,4 @@ feature_categories: description: Group-level settings for the dependency proxy introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/10676 milestone: '11.11' +gitlab_schema: gitlab_main diff --git a/db/docs/dependency_proxy_image_ttl_group_policies.yml b/db/docs/dependency_proxy_image_ttl_group_policies.yml index f985c083118..6f744246b18 100644 --- a/db/docs/dependency_proxy_image_ttl_group_policies.yml +++ b/db/docs/dependency_proxy_image_ttl_group_policies.yml @@ -7,3 +7,4 @@ feature_categories: description: Group-level settings for dependency proxy cleanup policies introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/68809 milestone: '14.3' +gitlab_schema: gitlab_main diff --git a/db/docs/dependency_proxy_manifests.yml b/db/docs/dependency_proxy_manifests.yml index 408878790a0..5ee2eeaef27 100644 --- a/db/docs/dependency_proxy_manifests.yml +++ b/db/docs/dependency_proxy_manifests.yml @@ -7,3 +7,4 @@ feature_categories: description: Dependency proxy manifest files introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/48535 milestone: '13.7' +gitlab_schema: gitlab_main diff --git a/db/docs/deploy_keys_projects.yml b/db/docs/deploy_keys_projects.yml index d308af56712..5d3591f1b4f 100644 --- a/db/docs/deploy_keys_projects.yml +++ b/db/docs/deploy_keys_projects.yml @@ -7,3 +7,4 @@ feature_categories: description: https://docs.gitlab.com/ee/user/project/deploy_keys/ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/a735ce2aa7da72242629a4452c33e7a1900fdd62 milestone: "<6.0" +gitlab_schema: gitlab_main diff --git a/db/docs/deploy_tokens.yml b/db/docs/deploy_tokens.yml index 320fc9e2ba8..73b40699a58 100644 --- a/db/docs/deploy_tokens.yml +++ b/db/docs/deploy_tokens.yml @@ -7,3 +7,4 @@ feature_categories: description: https://docs.gitlab.com/ee/user/project/deploy_tokens/ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/db18993f652425b72c4b854e18a002e0ec44b196 milestone: '10.7' +gitlab_schema: gitlab_main diff --git a/db/docs/deployment_approvals.yml b/db/docs/deployment_approvals.yml index 1defeb8dbb5..54839cd43c5 100644 --- a/db/docs/deployment_approvals.yml +++ b/db/docs/deployment_approvals.yml @@ -7,3 +7,4 @@ feature_categories: description: https://docs.gitlab.com/ee/ci/environments/deployment_approvals.html introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/74932 milestone: '14.6' +gitlab_schema: gitlab_main diff --git a/db/docs/deployment_clusters.yml b/db/docs/deployment_clusters.yml index e23278d0e00..eea538a83d2 100644 --- a/db/docs/deployment_clusters.yml +++ b/db/docs/deployment_clusters.yml @@ -4,6 +4,7 @@ classes: - DeploymentCluster feature_categories: - kubernetes_management -description: (Deprecated) Join table between `deployments` and `clusters` +description: "(Deprecated) Join table between `deployments` and `clusters`" introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/24235 milestone: '12.8' +gitlab_schema: gitlab_main diff --git a/db/docs/deployment_merge_requests.yml b/db/docs/deployment_merge_requests.yml index 9af247a03d8..7f1017fe5b0 100644 --- a/db/docs/deployment_merge_requests.yml +++ b/db/docs/deployment_merge_requests.yml @@ -7,3 +7,4 @@ feature_categories: description: https://docs.gitlab.com/ee/ci/environments/index.html#track-newly-included-merge-requests-per-deployment introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/18755 milestone: '12.5' +gitlab_schema: gitlab_main diff --git a/db/docs/deployments.yml b/db/docs/deployments.yml index 960e2c67a1e..796dac0bea2 100644 --- a/db/docs/deployments.yml +++ b/db/docs/deployments.yml @@ -7,3 +7,4 @@ feature_categories: description: https://docs.gitlab.com/ee/ci/environments/ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/907c0e6796b69f9577c147dd489cf55748c749ac milestone: '8.9' +gitlab_schema: gitlab_main diff --git a/db/docs/description_versions.yml b/db/docs/description_versions.yml index 8fb2d481fe9..d254aa1fa3f 100644 --- a/db/docs/description_versions.yml +++ b/db/docs/description_versions.yml @@ -7,3 +7,4 @@ feature_categories: description: The diff of the change when an edit is made to an Issue, MR or Epic description introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/17147 milestone: '12.4' +gitlab_schema: gitlab_main diff --git a/db/docs/design_management_designs.yml b/db/docs/design_management_designs.yml index abdd01899da..ea284c8bee4 100644 --- a/db/docs/design_management_designs.yml +++ b/db/docs/design_management_designs.yml @@ -7,3 +7,4 @@ feature_categories: description: Information about Designs, image files under management by the Design Management tool introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/9801 milestone: '11.10' +gitlab_schema: gitlab_main diff --git a/db/docs/design_management_designs_versions.yml b/db/docs/design_management_designs_versions.yml index 2613cba55d9..3adff979ff5 100644 --- a/db/docs/design_management_designs_versions.yml +++ b/db/docs/design_management_designs_versions.yml @@ -7,3 +7,4 @@ feature_categories: description: The SHA referencing changes to a single design or multiple design files introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/10552 milestone: '11.10' +gitlab_schema: gitlab_main diff --git a/db/docs/design_management_versions.yml b/db/docs/design_management_versions.yml index 8f411df6e93..03adc2154f4 100644 --- a/db/docs/design_management_versions.yml +++ b/db/docs/design_management_versions.yml @@ -7,3 +7,4 @@ feature_categories: description: The SHA referencing changes to individual designs made using the Design Management tool introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/9801 milestone: '11.10' +gitlab_schema: gitlab_main diff --git a/db/docs/design_user_mentions.yml b/db/docs/design_user_mentions.yml index 74aa0d89c01..b13baa1bc5f 100644 --- a/db/docs/design_user_mentions.yml +++ b/db/docs/design_user_mentions.yml @@ -7,3 +7,4 @@ feature_categories: description: User mentions in content related to designs introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/19009 milestone: '12.6' +gitlab_schema: gitlab_main diff --git a/db/docs/detached_partitions.yml b/db/docs/detached_partitions.yml index 7563576c996..dbd77d472b3 100644 --- a/db/docs/detached_partitions.yml +++ b/db/docs/detached_partitions.yml @@ -15,3 +15,4 @@ description: > Rows in this table are processed by Database::DropDetachedPartitionsWorker, which runs once a day. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/67056 milestone: '14.2' +gitlab_schema: gitlab_shared diff --git a/db/docs/diff_note_positions.yml b/db/docs/diff_note_positions.yml index 0c4f688b4d4..9aa292c3825 100644 --- a/db/docs/diff_note_positions.yml +++ b/db/docs/diff_note_positions.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores diff notes positions introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/28113 milestone: '13.0' +gitlab_schema: gitlab_main diff --git a/db/docs/dingtalk_tracker_data.yml b/db/docs/dingtalk_tracker_data.yml index b7335584271..6994bd805a7 100644 --- a/db/docs/dingtalk_tracker_data.yml +++ b/db/docs/dingtalk_tracker_data.yml @@ -6,3 +6,4 @@ feature_categories: - integrations description: Data related to the Dingtalk integration (JiHu-specific, see https://jihulab.com/gitlab-cn/gitlab/-/merge_requests/417). milestone: '15.0' +gitlab_schema: gitlab_main diff --git a/db/docs/dora_configurations.yml b/db/docs/dora_configurations.yml index e13cf088670..63114ba6f80 100644 --- a/db/docs/dora_configurations.yml +++ b/db/docs/dora_configurations.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores project specific configurations for DORA4 calculations. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/96561 milestone: '15.4' +gitlab_schema: gitlab_main diff --git a/db/docs/dora_daily_metrics.yml b/db/docs/dora_daily_metrics.yml index 09f2ad02bfe..52ffdfc7f1b 100644 --- a/db/docs/dora_daily_metrics.yml +++ b/db/docs/dora_daily_metrics.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores daily snapshots of DORA4 metrics per environment. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/55473 milestone: '13.10' +gitlab_schema: gitlab_main diff --git a/db/docs/draft_notes.yml b/db/docs/draft_notes.yml index 9273fb5fa61..047241a7976 100644 --- a/db/docs/draft_notes.yml +++ b/db/docs/draft_notes.yml @@ -8,3 +8,4 @@ feature_categories: description: Notes created during the review of an MR that are not yet published introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/4213 milestone: '11.4' +gitlab_schema: gitlab_main diff --git a/db/docs/elastic_index_settings.yml b/db/docs/elastic_index_settings.yml index 61093803d35..213f66a46f2 100644 --- a/db/docs/elastic_index_settings.yml +++ b/db/docs/elastic_index_settings.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56344 milestone: '13.11' +gitlab_schema: gitlab_main diff --git a/db/docs/elastic_reindexing_slices.yml b/db/docs/elastic_reindexing_slices.yml index 0829431270d..b547c96a35d 100644 --- a/db/docs/elastic_reindexing_slices.yml +++ b/db/docs/elastic_reindexing_slices.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/55681 milestone: '13.12' +gitlab_schema: gitlab_main diff --git a/db/docs/elastic_reindexing_subtasks.yml b/db/docs/elastic_reindexing_subtasks.yml index 85f540cfb41..86e2c84b069 100644 --- a/db/docs/elastic_reindexing_subtasks.yml +++ b/db/docs/elastic_reindexing_subtasks.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/48334 milestone: '13.8' +gitlab_schema: gitlab_main diff --git a/db/docs/elastic_reindexing_tasks.yml b/db/docs/elastic_reindexing_tasks.yml index 049dae71d4c..f4e5fa92b46 100644 --- a/db/docs/elastic_reindexing_tasks.yml +++ b/db/docs/elastic_reindexing_tasks.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/34069 milestone: '13.2' +gitlab_schema: gitlab_main diff --git a/db/docs/elasticsearch_indexed_namespaces.yml b/db/docs/elasticsearch_indexed_namespaces.yml index ca854727c12..870918da54e 100644 --- a/db/docs/elasticsearch_indexed_namespaces.yml +++ b/db/docs/elasticsearch_indexed_namespaces.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/9861 milestone: '11.10' +gitlab_schema: gitlab_main diff --git a/db/docs/elasticsearch_indexed_projects.yml b/db/docs/elasticsearch_indexed_projects.yml index 3703f7a0c6b..78d8e2e58f7 100644 --- a/db/docs/elasticsearch_indexed_projects.yml +++ b/db/docs/elasticsearch_indexed_projects.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/9861 milestone: '11.10' +gitlab_schema: gitlab_main diff --git a/db/docs/emails.yml b/db/docs/emails.yml index 229861b1d91..8b107994d7d 100644 --- a/db/docs/emails.yml +++ b/db/docs/emails.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores users email records introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/29cfd33d949d21d67f3892473c24d4f0a127dfe6 milestone: '6.6' +gitlab_schema: gitlab_main diff --git a/db/docs/environments.yml b/db/docs/environments.yml index 08165712766..10409ebfea4 100644 --- a/db/docs/environments.yml +++ b/db/docs/environments.yml @@ -7,3 +7,4 @@ feature_categories: description: https://docs.gitlab.com/ee/ci/environments/ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/907c0e6796b69f9577c147dd489cf55748c749ac milestone: '8.9' +gitlab_schema: gitlab_main diff --git a/db/docs/epic_issues.yml b/db/docs/epic_issues.yml index 506005eee4c..5a79385e5f2 100644 --- a/db/docs/epic_issues.yml +++ b/db/docs/epic_issues.yml @@ -7,3 +7,4 @@ feature_categories: description: The relationships between Epics and Issues introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/3302 milestone: '10.2' +gitlab_schema: gitlab_main diff --git a/db/docs/epic_metrics.yml b/db/docs/epic_metrics.yml index 4cb6ea86ba2..700a33a4956 100644 --- a/db/docs/epic_metrics.yml +++ b/db/docs/epic_metrics.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/3126 milestone: '10.2' +gitlab_schema: gitlab_main diff --git a/db/docs/epic_user_mentions.yml b/db/docs/epic_user_mentions.yml index 8d2803b2526..b6998cb482a 100644 --- a/db/docs/epic_user_mentions.yml +++ b/db/docs/epic_user_mentions.yml @@ -7,3 +7,4 @@ feature_categories: description: User mentions in epic descriptions introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/19009 milestone: '12.6' +gitlab_schema: gitlab_main diff --git a/db/docs/epics.yml b/db/docs/epics.yml index a8a07c445d0..2cc82b178d6 100644 --- a/db/docs/epics.yml +++ b/db/docs/epics.yml @@ -7,3 +7,4 @@ feature_categories: description: Information directly related to Epics, used by epic management features and the roadmap introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/3126 milestone: '10.2' +gitlab_schema: gitlab_main diff --git a/db/docs/error_tracking_client_keys.yml b/db/docs/error_tracking_client_keys.yml index c07fc282839..81fc55a197c 100644 --- a/db/docs/error_tracking_client_keys.yml +++ b/db/docs/error_tracking_client_keys.yml @@ -7,3 +7,4 @@ feature_categories: description: Model to store public keys used by Sentry SDK for Error Tracking introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/66466 milestone: '14.2' +gitlab_schema: gitlab_main diff --git a/db/docs/error_tracking_error_events.yml b/db/docs/error_tracking_error_events.yml index 9d938e47e3c..4e0d6b5a268 100644 --- a/db/docs/error_tracking_error_events.yml +++ b/db/docs/error_tracking_error_events.yml @@ -7,3 +7,4 @@ feature_categories: description: Persists error event data for the Error Tracking's GitLab backend introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/64712 milestone: '14.1' +gitlab_schema: gitlab_main diff --git a/db/docs/error_tracking_errors.yml b/db/docs/error_tracking_errors.yml index a961d759da3..f42f248dad7 100644 --- a/db/docs/error_tracking_errors.yml +++ b/db/docs/error_tracking_errors.yml @@ -7,3 +7,4 @@ feature_categories: description: Persists error data for the Error Tracking's GitLab backend introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/64712 milestone: '14.1' +gitlab_schema: gitlab_main diff --git a/db/docs/events.yml b/db/docs/events.yml index d766bc7cae3..45e3d49fd94 100644 --- a/db/docs/events.yml +++ b/db/docs/events.yml @@ -8,3 +8,4 @@ feature_categories: description: Stores user generated events. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/a847501fd2ffc1c4becc7d0d352d80168d9b3568 milestone: "<6.0" +gitlab_schema: gitlab_main diff --git a/db/docs/evidences.yml b/db/docs/evidences.yml index ddfb42dd5a1..d7f36bc6e04 100644 --- a/db/docs/evidences.yml +++ b/db/docs/evidences.yml @@ -7,3 +7,4 @@ feature_categories: description: https://docs.gitlab.com/ee/user/project/releases/#release-evidence introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/17217 milestone: '12.4' +gitlab_schema: gitlab_main diff --git a/db/docs/experiment_subjects.yml b/db/docs/experiment_subjects.yml index 85546028cd1..7e3eabd6a83 100644 --- a/db/docs/experiment_subjects.yml +++ b/db/docs/experiment_subjects.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/47042 milestone: '13.7' +gitlab_schema: gitlab_main diff --git a/db/docs/experiments.yml b/db/docs/experiments.yml index ef2ccfa8d89..68aab38f8b6 100644 --- a/db/docs/experiments.yml +++ b/db/docs/experiments.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/38397 milestone: '13.3' +gitlab_schema: gitlab_main diff --git a/db/docs/external_approval_rules.yml b/db/docs/external_approval_rules.yml index ac44d0e6c48..73e77f653b4 100644 --- a/db/docs/external_approval_rules.yml +++ b/db/docs/external_approval_rules.yml @@ -6,3 +6,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/54002 milestone: '13.10' +gitlab_schema: gitlab_main diff --git a/db/docs/external_approval_rules_protected_branches.yml b/db/docs/external_approval_rules_protected_branches.yml index de4e1af7214..f1f85f4374b 100644 --- a/db/docs/external_approval_rules_protected_branches.yml +++ b/db/docs/external_approval_rules_protected_branches.yml @@ -6,3 +6,4 @@ feature_categories: description: Keeps relation between protected branches and external approval rules introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/54002 milestone: '13.10' +gitlab_schema: gitlab_main diff --git a/db/docs/external_pull_requests.yml b/db/docs/external_pull_requests.yml index c8864dabfdc..e3777ae67ba 100644 --- a/db/docs/external_pull_requests.yml +++ b/db/docs/external_pull_requests.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/ca6a1f33f91a8cceadebfb9c4e9ac6afa340f71d milestone: '12.3' +gitlab_schema: gitlab_ci diff --git a/db/docs/external_status_checks.yml b/db/docs/external_status_checks.yml index 1bb1bc03224..5f7ea9b5314 100644 --- a/db/docs/external_status_checks.yml +++ b/db/docs/external_status_checks.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores project's external status checks introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/62186 milestone: '14.0' +gitlab_schema: gitlab_main diff --git a/db/docs/external_status_checks_protected_branches.yml b/db/docs/external_status_checks_protected_branches.yml index bf26689bd0b..c8f33b2b13a 100644 --- a/db/docs/external_status_checks_protected_branches.yml +++ b/db/docs/external_status_checks_protected_branches.yml @@ -6,3 +6,4 @@ feature_categories: description: Keeps relation between protected branches and external status checks introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/62186 milestone: '14.0' +gitlab_schema: gitlab_main diff --git a/db/docs/feature_gates.yml b/db/docs/feature_gates.yml index 19d74975c6e..10060ad38ba 100644 --- a/db/docs/feature_gates.yml +++ b/db/docs/feature_gates.yml @@ -8,3 +8,4 @@ feature_categories: description: https://docs.gitlab.com/ee/development/feature_flags/ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/671284ba375109becbfa2a288032cdc7301b157b milestone: '9.3' +gitlab_schema: gitlab_main diff --git a/db/docs/features.yml b/db/docs/features.yml index f5628a17c19..9866eff2a3f 100644 --- a/db/docs/features.yml +++ b/db/docs/features.yml @@ -8,3 +8,4 @@ feature_categories: description: https://docs.gitlab.com/ee/development/feature_flags/ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/ee2d3de1a634611a1c660516c955be0d3000904b milestone: '8.12' +gitlab_schema: gitlab_main diff --git a/db/docs/fork_network_members.yml b/db/docs/fork_network_members.yml index 2077977f1b7..c3dd193b4aa 100644 --- a/db/docs/fork_network_members.yml +++ b/db/docs/fork_network_members.yml @@ -7,3 +7,4 @@ feature_categories: description: Keeps track of fork relations between projects. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/62186 milestone: '10.1' +gitlab_schema: gitlab_main diff --git a/db/docs/fork_networks.yml b/db/docs/fork_networks.yml index 51123405baf..ca0960dd93a 100644 --- a/db/docs/fork_networks.yml +++ b/db/docs/fork_networks.yml @@ -7,3 +7,4 @@ feature_categories: description: When a project is first forked, a row is created in this table. Also referenced by the fork_network_members table. This is used to know which projects can send merge reqeusts to each other. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/3098 milestone: '10.1' +gitlab_schema: gitlab_main diff --git a/db/docs/geo_cache_invalidation_events.yml b/db/docs/geo_cache_invalidation_events.yml index 5695cddfb7f..5fc2e0b5a7e 100644 --- a/db/docs/geo_cache_invalidation_events.yml +++ b/db/docs/geo_cache_invalidation_events.yml @@ -7,3 +7,4 @@ feature_categories: description: Geo event to process feature flag toggles instantly on a secondary by invalidating the cache, belongs to geo_event_log. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/7738 milestone: '11.4' +gitlab_schema: gitlab_main diff --git a/db/docs/geo_container_repository_updated_events.yml b/db/docs/geo_container_repository_updated_events.yml index 8d17ded97d4..a07758da54e 100644 --- a/db/docs/geo_container_repository_updated_events.yml +++ b/db/docs/geo_container_repository_updated_events.yml @@ -7,3 +7,4 @@ feature_categories: description: Geo event for when a container repository (image, tag, registry) gets updated, belongs to geo_event_log. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/1902d9cc74a1dc2c87fdbb39a6cdbb67092cbb5a milestone: '12.2' +gitlab_schema: gitlab_main diff --git a/db/docs/geo_event_log.yml b/db/docs/geo_event_log.yml index 905383664e5..8aee2b6858d 100644 --- a/db/docs/geo_event_log.yml +++ b/db/docs/geo_event_log.yml @@ -7,3 +7,4 @@ feature_categories: description: Log of all events that a Geo secondary can process. Parsed/watched through streaming replication on all secondaries. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/cb6c7cbe2a9ee05cea6926e3d8c18f6aa26f4c64 milestone: '9.3' +gitlab_schema: gitlab_main diff --git a/db/docs/geo_events.yml b/db/docs/geo_events.yml index 6e30da25f5a..0fc3db22dca 100644 --- a/db/docs/geo_events.yml +++ b/db/docs/geo_events.yml @@ -7,3 +7,4 @@ feature_categories: description: Geo events implemented generically, used by the SSF where all object types can generate an event to be processed by the secondary sites. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/23447 milestone: '12.8' +gitlab_schema: gitlab_main diff --git a/db/docs/geo_hashed_storage_attachments_events.yml b/db/docs/geo_hashed_storage_attachments_events.yml index 457b34af0f1..f025cc8f892 100644 --- a/db/docs/geo_hashed_storage_attachments_events.yml +++ b/db/docs/geo_hashed_storage_attachments_events.yml @@ -7,3 +7,4 @@ feature_categories: description: Used to replicate storage attachments migration paths on Geo secondaries from regular to hashed storage. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/3544 milestone: '10.3' +gitlab_schema: gitlab_main diff --git a/db/docs/geo_hashed_storage_migrated_events.yml b/db/docs/geo_hashed_storage_migrated_events.yml index 175015c487d..4d92998851e 100644 --- a/db/docs/geo_hashed_storage_migrated_events.yml +++ b/db/docs/geo_hashed_storage_migrated_events.yml @@ -7,3 +7,4 @@ feature_categories: description: Used to replicate repository migration paths on Geo secondaries from regular to hashed storage. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/3066 milestone: '10.2' +gitlab_schema: gitlab_main diff --git a/db/docs/geo_node_namespace_links.yml b/db/docs/geo_node_namespace_links.yml index cede321ed47..198b4ac0833 100644 --- a/db/docs/geo_node_namespace_links.yml +++ b/db/docs/geo_node_namespace_links.yml @@ -7,3 +7,4 @@ feature_categories: description: Passthrough table for geo_nodes many-to-many namespaces relation. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/14c6128530579ca92fa79342d4119d25bcff1f2d milestone: '9.5' +gitlab_schema: gitlab_main diff --git a/db/docs/geo_node_statuses.yml b/db/docs/geo_node_statuses.yml index ff955e79eb1..8b6dd28318e 100644 --- a/db/docs/geo_node_statuses.yml +++ b/db/docs/geo_node_statuses.yml @@ -7,3 +7,4 @@ feature_categories: description: Contains sites status and metadata for each Geo site, updated async through a scheduled worker. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/3230 milestone: '10.2' +gitlab_schema: gitlab_main diff --git a/db/docs/geo_nodes.yml b/db/docs/geo_nodes.yml index 956b79fe0a0..c1f0feb2deb 100644 --- a/db/docs/geo_nodes.yml +++ b/db/docs/geo_nodes.yml @@ -7,3 +7,4 @@ feature_categories: description: Contains Geo sites configuration data and settings. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/5ab12ad02ed753dd933485094ba45512890f0b50 milestone: '8.5' +gitlab_schema: gitlab_main diff --git a/db/docs/geo_repositories_changed_events.yml b/db/docs/geo_repositories_changed_events.yml index 348d8331fe7..f9da7c623f1 100644 --- a/db/docs/geo_repositories_changed_events.yml +++ b/db/docs/geo_repositories_changed_events.yml @@ -7,3 +7,4 @@ feature_categories: description: Geo event for when the repositories for selective sync of a specific Geo secondary change, belongs to geo_event_log. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/312bc703a4619b87ba2ac4e59623e7747a24502c milestone: '9.5' +gitlab_schema: gitlab_main diff --git a/db/docs/geo_repository_created_events.yml b/db/docs/geo_repository_created_events.yml index ea7b8558bdc..14825a70e12 100644 --- a/db/docs/geo_repository_created_events.yml +++ b/db/docs/geo_repository_created_events.yml @@ -7,3 +7,4 @@ feature_categories: description: Geo event for when a repository gets created, belongs to geo_event_log. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/f3eacf881659b7af97b7c7ba3289237ec6cdc1cb milestone: '10.0' +gitlab_schema: gitlab_main diff --git a/db/docs/geo_repository_deleted_events.yml b/db/docs/geo_repository_deleted_events.yml index 4814994181a..43dc2ac54c6 100644 --- a/db/docs/geo_repository_deleted_events.yml +++ b/db/docs/geo_repository_deleted_events.yml @@ -7,3 +7,4 @@ feature_categories: description: Geo event for when a repository gets deleted, belongs to geo_event_log. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/04c3da24ac5975b140cf2e6a7e33414543f148f5 milestone: '9.4' +gitlab_schema: gitlab_main diff --git a/db/docs/geo_repository_renamed_events.yml b/db/docs/geo_repository_renamed_events.yml index 2e6838f51e4..be54571864c 100644 --- a/db/docs/geo_repository_renamed_events.yml +++ b/db/docs/geo_repository_renamed_events.yml @@ -7,3 +7,4 @@ feature_categories: description: Geo event for when a repository gets renamed, belongs to geo_event_log. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/6e5fa040d1c689fad4e110dd10be8ddba61ea7ef milestone: '9.4' +gitlab_schema: gitlab_main diff --git a/db/docs/geo_repository_updated_events.yml b/db/docs/geo_repository_updated_events.yml index 51a0033d0a7..53186621519 100644 --- a/db/docs/geo_repository_updated_events.yml +++ b/db/docs/geo_repository_updated_events.yml @@ -7,3 +7,4 @@ feature_categories: description: Geo event for when a repository gets updated (content changed), belongs to geo_event_log. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/71cc57b1e4b7721c93107357517235a18f7ba8e2 milestone: '9.3' +gitlab_schema: gitlab_main diff --git a/db/docs/geo_reset_checksum_events.yml b/db/docs/geo_reset_checksum_events.yml index d4aad156687..c57dda44569 100644 --- a/db/docs/geo_reset_checksum_events.yml +++ b/db/docs/geo_reset_checksum_events.yml @@ -7,3 +7,4 @@ feature_categories: description: Geo event for when a project gets reverified on the primary, belongs to geo_event_log. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/7394 milestone: '11.4' +gitlab_schema: gitlab_main diff --git a/db/docs/ghost_user_migrations.yml b/db/docs/ghost_user_migrations.yml index f4e69e71baa..d90eca9f153 100644 --- a/db/docs/ghost_user_migrations.yml +++ b/db/docs/ghost_user_migrations.yml @@ -7,3 +7,4 @@ feature_categories: description: Users records awaiting for their associated records to be migrated to ghost user introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/95473 milestone: '15.4' +gitlab_schema: gitlab_main diff --git a/db/docs/gitlab_subscription_histories.yml b/db/docs/gitlab_subscription_histories.yml index 1b84c943a04..25cf11ff8bc 100644 --- a/db/docs/gitlab_subscription_histories.yml +++ b/db/docs/gitlab_subscription_histories.yml @@ -7,3 +7,4 @@ feature_categories: description: History log for the gitlab_subscriptions table introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/19694 milestone: '12.6' +gitlab_schema: gitlab_main diff --git a/db/docs/gitlab_subscriptions.yml b/db/docs/gitlab_subscriptions.yml index d4a15216aa6..9b0b718c394 100644 --- a/db/docs/gitlab_subscriptions.yml +++ b/db/docs/gitlab_subscriptions.yml @@ -7,3 +7,4 @@ feature_categories: description: Used to store information related to GitLab subscriptions introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/7885 milestone: '11.6' +gitlab_schema: gitlab_main diff --git a/db/docs/gpg_key_subkeys.yml b/db/docs/gpg_key_subkeys.yml index b3824c36e81..3c92c807566 100644 --- a/db/docs/gpg_key_subkeys.yml +++ b/db/docs/gpg_key_subkeys.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores GPG subkeys introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/14517 milestone: '10.1' +gitlab_schema: gitlab_main diff --git a/db/docs/gpg_keys.yml b/db/docs/gpg_keys.yml index 00b76959fe4..bb8fc7bc371 100644 --- a/db/docs/gpg_keys.yml +++ b/db/docs/gpg_keys.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores GPG keys introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/9546 milestone: '9.5' +gitlab_schema: gitlab_main diff --git a/db/docs/gpg_signatures.yml b/db/docs/gpg_signatures.yml index f49a0c03844..e5866ef6517 100644 --- a/db/docs/gpg_signatures.yml +++ b/db/docs/gpg_signatures.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores GPG signatures introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/9546 milestone: '9.5' +gitlab_schema: gitlab_main diff --git a/db/docs/grafana_integrations.yml b/db/docs/grafana_integrations.yml index c479b07ffb1..bcbc5b2b172 100644 --- a/db/docs/grafana_integrations.yml +++ b/db/docs/grafana_integrations.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/17234 milestone: '12.4' +gitlab_schema: gitlab_main diff --git a/db/docs/group_crm_settings.yml b/db/docs/group_crm_settings.yml index 3798512d05e..36ade1ba134 100644 --- a/db/docs/group_crm_settings.yml +++ b/db/docs/group_crm_settings.yml @@ -7,3 +7,4 @@ feature_categories: description: Group-level settings for CRM-related features introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/76983 milestone: '14.7' +gitlab_schema: gitlab_main diff --git a/db/docs/group_custom_attributes.yml b/db/docs/group_custom_attributes.yml index 3bf4f6a0f92..a6984004149 100644 --- a/db/docs/group_custom_attributes.yml +++ b/db/docs/group_custom_attributes.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores custom attributes per group introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/14593 milestone: '10.2' +gitlab_schema: gitlab_main diff --git a/db/docs/group_deletion_schedules.yml b/db/docs/group_deletion_schedules.yml index b3bc6665c4c..ff271e4b1f0 100644 --- a/db/docs/group_deletion_schedules.yml +++ b/db/docs/group_deletion_schedules.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/20276 milestone: '12.6' +gitlab_schema: gitlab_main diff --git a/db/docs/group_deploy_keys.yml b/db/docs/group_deploy_keys.yml index 0e85102dbb9..137d2774c90 100644 --- a/db/docs/group_deploy_keys.yml +++ b/db/docs/group_deploy_keys.yml @@ -7,3 +7,4 @@ feature_categories: description: https://docs.gitlab.com/ee/user/project/deploy_keys/ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/30886 milestone: '13.1' +gitlab_schema: gitlab_main diff --git a/db/docs/group_deploy_keys_groups.yml b/db/docs/group_deploy_keys_groups.yml index 3db288647f9..129be2af5df 100644 --- a/db/docs/group_deploy_keys_groups.yml +++ b/db/docs/group_deploy_keys_groups.yml @@ -7,3 +7,4 @@ feature_categories: description: https://docs.gitlab.com/ee/user/project/deploy_keys/ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/32901 milestone: '13.2' +gitlab_schema: gitlab_main diff --git a/db/docs/group_deploy_tokens.yml b/db/docs/group_deploy_tokens.yml index 6b497f59285..450f67c57b1 100644 --- a/db/docs/group_deploy_tokens.yml +++ b/db/docs/group_deploy_tokens.yml @@ -7,3 +7,4 @@ feature_categories: description: https://docs.gitlab.com/ee/user/project/deploy_tokens/ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/23460 milestone: '12.8' +gitlab_schema: gitlab_main diff --git a/db/docs/group_features.yml b/db/docs/group_features.yml index ca156be4117..68b84a2a08e 100644 --- a/db/docs/group_features.yml +++ b/db/docs/group_features.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores access levels for group features, like the wiki introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/82017 milestone: '14.10' +gitlab_schema: gitlab_main diff --git a/db/docs/group_group_links.yml b/db/docs/group_group_links.yml index e9671034330..f1541871795 100644 --- a/db/docs/group_group_links.yml +++ b/db/docs/group_group_links.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/17117 milestone: '12.5' +gitlab_schema: gitlab_main diff --git a/db/docs/group_import_states.yml b/db/docs/group_import_states.yml index fe51c414c25..6343895264b 100644 --- a/db/docs/group_import_states.yml +++ b/db/docs/group_import_states.yml @@ -7,3 +7,4 @@ feature_categories: description: Used to store and track the group import status when using the Import/Export feature introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/29588 milestone: '13.0' +gitlab_schema: gitlab_main diff --git a/db/docs/group_merge_request_approval_settings.yml b/db/docs/group_merge_request_approval_settings.yml index 33bb2370a86..c3b6bb8877c 100644 --- a/db/docs/group_merge_request_approval_settings.yml +++ b/db/docs/group_merge_request_approval_settings.yml @@ -7,3 +7,4 @@ feature_categories: description: Keeps merge request approval settings per group introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/50256 milestone: '13.8' +gitlab_schema: gitlab_main diff --git a/db/docs/group_repository_storage_moves.yml b/db/docs/group_repository_storage_moves.yml index 439dfa381cc..68df9b30b7c 100644 --- a/db/docs/group_repository_storage_moves.yml +++ b/db/docs/group_repository_storage_moves.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/51803 milestone: '13.9' +gitlab_schema: gitlab_main diff --git a/db/docs/group_wiki_repositories.yml b/db/docs/group_wiki_repositories.yml index 0c4ce444958..278c643c8e7 100644 --- a/db/docs/group_wiki_repositories.yml +++ b/db/docs/group_wiki_repositories.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores information about group wiki repositories. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/31121 milestone: '13.0' +gitlab_schema: gitlab_main diff --git a/db/docs/historical_data.yml b/db/docs/historical_data.yml index 75f3493cb6d..020cc33b25d 100644 --- a/db/docs/historical_data.yml +++ b/db/docs/historical_data.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/85c04a8aa654d1b7f898e55a113e50521bacaaf2 milestone: '7.11' +gitlab_schema: gitlab_main diff --git a/db/docs/identities.yml b/db/docs/identities.yml index 078fb1197d7..149907a419e 100644 --- a/db/docs/identities.yml +++ b/db/docs/identities.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/1a80d13a3990937580c97e2b0ba8fb98f69bc055 milestone: '7.6' +gitlab_schema: gitlab_main diff --git a/db/docs/import_export_uploads.yml b/db/docs/import_export_uploads.yml index 6cac47c8490..3c1bcf4f8fd 100644 --- a/db/docs/import_export_uploads.yml +++ b/db/docs/import_export_uploads.yml @@ -7,3 +7,4 @@ feature_categories: description: Used to store the location of the imported or exported archives files of groups or projects when using the feature Import/Export introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/a2bf1641546a1d3eeb3e9f44734854f655c0adef milestone: '11.1' +gitlab_schema: gitlab_main diff --git a/db/docs/import_failures.yml b/db/docs/import_failures.yml index 7fb01579573..ac30148ba7a 100644 --- a/db/docs/import_failures.yml +++ b/db/docs/import_failures.yml @@ -7,3 +7,4 @@ feature_categories: description: Used to store group or project import failures that occur when using the Import/Export feature introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/20727 milestone: '12.6' +gitlab_schema: gitlab_main diff --git a/db/docs/in_product_marketing_emails.yml b/db/docs/in_product_marketing_emails.yml index 443b67aaae5..be33ee824b6 100644 --- a/db/docs/in_product_marketing_emails.yml +++ b/db/docs/in_product_marketing_emails.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/55840 milestone: '13.10' +gitlab_schema: gitlab_main diff --git a/db/docs/incident_management_escalation_policies.yml b/db/docs/incident_management_escalation_policies.yml index 9584f65b14d..74f58525767 100644 --- a/db/docs/incident_management_escalation_policies.yml +++ b/db/docs/incident_management_escalation_policies.yml @@ -7,3 +7,4 @@ feature_categories: description: Persists information about escalation policies in a project introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/60685 milestone: '13.12' +gitlab_schema: gitlab_main diff --git a/db/docs/incident_management_escalation_rules.yml b/db/docs/incident_management_escalation_rules.yml index 40c1f9bdcc0..8081bdcb880 100644 --- a/db/docs/incident_management_escalation_rules.yml +++ b/db/docs/incident_management_escalation_rules.yml @@ -7,3 +7,4 @@ feature_categories: description: Persists information about escalation rules for incident management introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/60685 milestone: '13.12' +gitlab_schema: gitlab_main diff --git a/db/docs/incident_management_issuable_escalation_statuses.yml b/db/docs/incident_management_issuable_escalation_statuses.yml index 466bc0314b6..24e20245b41 100644 --- a/db/docs/incident_management_issuable_escalation_statuses.yml +++ b/db/docs/incident_management_issuable_escalation_statuses.yml @@ -7,3 +7,4 @@ feature_categories: description: Persists escalation status information for incidents introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/65206 milestone: '14.2' +gitlab_schema: gitlab_main diff --git a/db/docs/incident_management_oncall_participants.yml b/db/docs/incident_management_oncall_participants.yml index 9186be4824c..75e2651d234 100644 --- a/db/docs/incident_management_oncall_participants.yml +++ b/db/docs/incident_management_oncall_participants.yml @@ -8,3 +8,4 @@ feature_categories: description: Persists information about on-call rotation participants introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/49058 milestone: '13.7' +gitlab_schema: gitlab_main diff --git a/db/docs/incident_management_oncall_rotations.yml b/db/docs/incident_management_oncall_rotations.yml index bf9df2e2d2a..8d0a50ad4e1 100644 --- a/db/docs/incident_management_oncall_rotations.yml +++ b/db/docs/incident_management_oncall_rotations.yml @@ -8,3 +8,4 @@ feature_categories: description: Persists information about on-call rotation introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/49058 milestone: '13.7' +gitlab_schema: gitlab_main diff --git a/db/docs/incident_management_oncall_schedules.yml b/db/docs/incident_management_oncall_schedules.yml index 9fa0ed1bec5..b2ddd795b30 100644 --- a/db/docs/incident_management_oncall_schedules.yml +++ b/db/docs/incident_management_oncall_schedules.yml @@ -8,3 +8,4 @@ feature_categories: description: Persists on-call schedules for incident management in a project introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/47407 milestone: '13.7' +gitlab_schema: gitlab_main diff --git a/db/docs/incident_management_oncall_shifts.yml b/db/docs/incident_management_oncall_shifts.yml index 6ef7de5da50..2ae33b4430a 100644 --- a/db/docs/incident_management_oncall_shifts.yml +++ b/db/docs/incident_management_oncall_shifts.yml @@ -8,3 +8,4 @@ feature_categories: description: Tracks past and present on-call shifts introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/49423 milestone: '13.8' +gitlab_schema: gitlab_main diff --git a/db/docs/incident_management_pending_alert_escalations.yml b/db/docs/incident_management_pending_alert_escalations.yml index c39b8d74ce2..a866fbaab01 100644 --- a/db/docs/incident_management_pending_alert_escalations.yml +++ b/db/docs/incident_management_pending_alert_escalations.yml @@ -7,3 +7,4 @@ feature_categories: description: Persists information about pending alert escalations for incidents introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/64274 milestone: '14.1' +gitlab_schema: gitlab_main diff --git a/db/docs/incident_management_pending_issue_escalations.yml b/db/docs/incident_management_pending_issue_escalations.yml index eb8f11fc72f..945aff4b4cd 100644 --- a/db/docs/incident_management_pending_issue_escalations.yml +++ b/db/docs/incident_management_pending_issue_escalations.yml @@ -7,3 +7,4 @@ feature_categories: description: Represents when issues should be escalated according to a project's escalation policy introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/65209 milestone: '14.3' +gitlab_schema: gitlab_main diff --git a/db/docs/incident_management_timeline_event_tag_links.yml b/db/docs/incident_management_timeline_event_tag_links.yml index 429371aefb7..e3a2b31e093 100644 --- a/db/docs/incident_management_timeline_event_tag_links.yml +++ b/db/docs/incident_management_timeline_event_tag_links.yml @@ -7,3 +7,4 @@ feature_categories: description: Persists links between timeline event tags and timeline events. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/100271 milestone: '15.6' +gitlab_schema: gitlab_main diff --git a/db/docs/incident_management_timeline_event_tags.yml b/db/docs/incident_management_timeline_event_tags.yml index 47dedaf3de2..aba8f7db152 100644 --- a/db/docs/incident_management_timeline_event_tags.yml +++ b/db/docs/incident_management_timeline_event_tags.yml @@ -7,3 +7,4 @@ feature_categories: description: Persists tags for timeline events in a project. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/100271 milestone: '15.6' +gitlab_schema: gitlab_main diff --git a/db/docs/incident_management_timeline_events.yml b/db/docs/incident_management_timeline_events.yml index 6031f0d32e2..428d25d71cb 100644 --- a/db/docs/incident_management_timeline_events.yml +++ b/db/docs/incident_management_timeline_events.yml @@ -7,3 +7,4 @@ feature_categories: description: Persists timeline events for an incident introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/74530 milestone: '14.6' +gitlab_schema: gitlab_main diff --git a/db/docs/index_statuses.yml b/db/docs/index_statuses.yml index 933795a265a..5ff3b46d145 100644 --- a/db/docs/index_statuses.yml +++ b/db/docs/index_statuses.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/03370b017c7b120af7b53682714ffc325742fc98 milestone: '8.4' +gitlab_schema: gitlab_main diff --git a/db/docs/insights.yml b/db/docs/insights.yml index 2439f289340..3dce08e218d 100644 --- a/db/docs/insights.yml +++ b/db/docs/insights.yml @@ -7,3 +7,4 @@ feature_categories: description: The table is used to specify a project which contains the group level insights configuration. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/9665 milestone: '11.9' +gitlab_schema: gitlab_main diff --git a/db/docs/integrations.yml b/db/docs/integrations.yml index 5100ee77fa7..9c3d97492fb 100644 --- a/db/docs/integrations.yml +++ b/db/docs/integrations.yml @@ -56,3 +56,4 @@ description: | https://gitlab.com/gitlab-org/gitlab/-/commit/1dab19d0d7b25cb5af27b8d10c8b615b2d38c2cf introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/64562 milestone: '9.4' +gitlab_schema: gitlab_main diff --git a/db/docs/internal_ids.yml b/db/docs/internal_ids.yml index 100e58ad921..5109a51802c 100644 --- a/db/docs/internal_ids.yml +++ b/db/docs/internal_ids.yml @@ -7,3 +7,4 @@ feature_categories: description: Keeps track of counters scoped to a certain context, e.g. a project-wide counter for issues. introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/17580 milestone: '10.7' +gitlab_schema: gitlab_main diff --git a/db/docs/ip_restrictions.yml b/db/docs/ip_restrictions.yml index 6437cda47f2..93f0da0505a 100644 --- a/db/docs/ip_restrictions.yml +++ b/db/docs/ip_restrictions.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/12669 milestone: '12.0' +gitlab_schema: gitlab_main diff --git a/db/docs/issuable_metric_images.yml b/db/docs/issuable_metric_images.yml index d4460d5e31c..1cc39a8de12 100644 --- a/db/docs/issuable_metric_images.yml +++ b/db/docs/issuable_metric_images.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/46845 milestone: '13.7' +gitlab_schema: gitlab_main diff --git a/db/docs/issuable_resource_links.yml b/db/docs/issuable_resource_links.yml index e58355cadd6..b2ad7c0c301 100644 --- a/db/docs/issuable_resource_links.yml +++ b/db/docs/issuable_resource_links.yml @@ -7,3 +7,4 @@ feature_categories: description: Persists resources links for an issuable, particularly incident. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/88417 milestone: '15.1' +gitlab_schema: gitlab_main diff --git a/db/docs/issuable_severities.yml b/db/docs/issuable_severities.yml index 5f9a8f5ba43..724561ce460 100644 --- a/db/docs/issuable_severities.yml +++ b/db/docs/issuable_severities.yml @@ -7,3 +7,4 @@ feature_categories: description: Integer representing severity applied to issues, currently used for incidents introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/40272 milestone: '13.4' +gitlab_schema: gitlab_main diff --git a/db/docs/issuable_slas.yml b/db/docs/issuable_slas.yml index 14e94a3aed3..6668dc7c4d9 100644 --- a/db/docs/issuable_slas.yml +++ b/db/docs/issuable_slas.yml @@ -7,3 +7,4 @@ feature_categories: description: Persists information about incident SLAs for incidents introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/44253 milestone: '13.5' +gitlab_schema: gitlab_main diff --git a/db/docs/issue_assignees.yml b/db/docs/issue_assignees.yml index f6a06e7c51d..dbfd277213c 100644 --- a/db/docs/issue_assignees.yml +++ b/db/docs/issue_assignees.yml @@ -7,3 +7,4 @@ feature_categories: description: Users assigned to an issue introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/1541 milestone: '9.2' +gitlab_schema: gitlab_main diff --git a/db/docs/issue_customer_relations_contacts.yml b/db/docs/issue_customer_relations_contacts.yml index 1548835f6d3..ca7c3dcdc09 100644 --- a/db/docs/issue_customer_relations_contacts.yml +++ b/db/docs/issue_customer_relations_contacts.yml @@ -7,3 +7,4 @@ feature_categories: description: Holds Customer Relations (CRM) Contacts introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/71007 milestone: '14.4' +gitlab_schema: gitlab_main diff --git a/db/docs/issue_email_participants.yml b/db/docs/issue_email_participants.yml index 8cbed5f9d8f..38d40f535b6 100644 --- a/db/docs/issue_email_participants.yml +++ b/db/docs/issue_email_participants.yml @@ -7,3 +7,4 @@ feature_categories: description: Email addresses for non-GitLab users added to issues as participants introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/42943 milestone: '13.5' +gitlab_schema: gitlab_main diff --git a/db/docs/issue_emails.yml b/db/docs/issue_emails.yml index 3f6c3ee3d72..4ae4e309338 100644 --- a/db/docs/issue_emails.yml +++ b/db/docs/issue_emails.yml @@ -8,3 +8,4 @@ feature_categories: description: The Message-ID of the original email that resulted in the creation of an issue introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/71749 milestone: '14.6' +gitlab_schema: gitlab_main diff --git a/db/docs/issue_links.yml b/db/docs/issue_links.yml index 592a4b3873f..ed21e9c177b 100644 --- a/db/docs/issue_links.yml +++ b/db/docs/issue_links.yml @@ -7,3 +7,4 @@ feature_categories: description: Links two issues by relationship type, which can be related or blocking introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/1719 milestone: '9.4' +gitlab_schema: gitlab_main diff --git a/db/docs/issue_metrics.yml b/db/docs/issue_metrics.yml index 3d2055a155c..d886aede7d0 100644 --- a/db/docs/issue_metrics.yml +++ b/db/docs/issue_metrics.yml @@ -7,3 +7,4 @@ feature_categories: description: Store various metrics for issues. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/516c838a1846d049814765afa85c28a3c14a5b9f milestone: '8.12' +gitlab_schema: gitlab_main diff --git a/db/docs/issue_search_data.yml b/db/docs/issue_search_data.yml index cea9a385afb..f064c15af4a 100644 --- a/db/docs/issue_search_data.yml +++ b/db/docs/issue_search_data.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/71913 milestone: '14.9' +gitlab_schema: gitlab_main diff --git a/db/docs/issue_tracker_data.yml b/db/docs/issue_tracker_data.yml index 3af23de8633..ce62346c3d6 100644 --- a/db/docs/issue_tracker_data.yml +++ b/db/docs/issue_tracker_data.yml @@ -7,3 +7,4 @@ feature_categories: description: Data related to the issue tracker integrations. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/14187 milestone: '12.0' +gitlab_schema: gitlab_main diff --git a/db/docs/issue_user_mentions.yml b/db/docs/issue_user_mentions.yml index 72e0d483c64..4238441ea0b 100644 --- a/db/docs/issue_user_mentions.yml +++ b/db/docs/issue_user_mentions.yml @@ -7,3 +7,4 @@ feature_categories: description: User mentions in issue descriptions introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/19009 milestone: '12.6' +gitlab_schema: gitlab_main diff --git a/db/docs/issues.yml b/db/docs/issues.yml index db95aea01c3..369dc907d57 100644 --- a/db/docs/issues.yml +++ b/db/docs/issues.yml @@ -8,3 +8,4 @@ feature_categories: description: Information describing issues, which is also used by the WorkItem class introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/9ba1224867665844b117fa037e1465bb706b3685 milestone: "<6.0" +gitlab_schema: gitlab_main diff --git a/db/docs/issues_prometheus_alert_events.yml b/db/docs/issues_prometheus_alert_events.yml index 01ff7f9b6e4..75394e7b962 100644 --- a/db/docs/issues_prometheus_alert_events.yml +++ b/db/docs/issues_prometheus_alert_events.yml @@ -6,3 +6,4 @@ feature_categories: description: Adds relationship between PrometheusAlertEvent and issues created due to them introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/17477 milestone: '12.4' +gitlab_schema: gitlab_main diff --git a/db/docs/issues_self_managed_prometheus_alert_events.yml b/db/docs/issues_self_managed_prometheus_alert_events.yml index feb208d7c3a..7ac9433a2cb 100644 --- a/db/docs/issues_self_managed_prometheus_alert_events.yml +++ b/db/docs/issues_self_managed_prometheus_alert_events.yml @@ -6,3 +6,4 @@ feature_categories: description: Adds associations between Issues table and Prometheus alerts from self-managed Prometheus instances introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/18046 milestone: '12.4' +gitlab_schema: gitlab_main diff --git a/db/docs/iterations_cadences.yml b/db/docs/iterations_cadences.yml index 5c6ea38b10e..972e577a788 100644 --- a/db/docs/iterations_cadences.yml +++ b/db/docs/iterations_cadences.yml @@ -7,3 +7,4 @@ feature_categories: description: Defines an iteration cadence for a group, used to define how iterations should act introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/50707 milestone: '13.9' +gitlab_schema: gitlab_main diff --git a/db/docs/jira_connect_installations.yml b/db/docs/jira_connect_installations.yml index 8695e0294b6..e812fd748d5 100644 --- a/db/docs/jira_connect_installations.yml +++ b/db/docs/jira_connect_installations.yml @@ -7,3 +7,4 @@ feature_categories: description: GitLab.com for Jira Cloud app installation data, formerly Jira Connect App. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/9593 milestone: '11.9' +gitlab_schema: gitlab_main diff --git a/db/docs/jira_connect_subscriptions.yml b/db/docs/jira_connect_subscriptions.yml index 775ae3aa96c..6293ab3714d 100644 --- a/db/docs/jira_connect_subscriptions.yml +++ b/db/docs/jira_connect_subscriptions.yml @@ -7,3 +7,4 @@ feature_categories: description: GitLab.com for Jira Cloud app subscriptions data, formerly Jira Connect App. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/10453 milestone: '11.11' +gitlab_schema: gitlab_main diff --git a/db/docs/jira_imports.yml b/db/docs/jira_imports.yml index 38cdca874e2..63ee28358ae 100644 --- a/db/docs/jira_imports.yml +++ b/db/docs/jira_imports.yml @@ -7,3 +7,4 @@ feature_categories: description: Track Jira issue import progress into GitLab issues. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/28108 milestone: '12.10' +gitlab_schema: gitlab_main diff --git a/db/docs/jira_tracker_data.yml b/db/docs/jira_tracker_data.yml index 6e7d6236ffa..e41ce0b5d87 100644 --- a/db/docs/jira_tracker_data.yml +++ b/db/docs/jira_tracker_data.yml @@ -7,3 +7,4 @@ feature_categories: description: Data related to the Jira integration. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/1f332ae8da994509232c7601074b25514ad23c52 milestone: '12.0' +gitlab_schema: gitlab_main diff --git a/db/docs/keys.yml b/db/docs/keys.yml index d016b316c15..4e626b1465c 100644 --- a/db/docs/keys.yml +++ b/db/docs/keys.yml @@ -10,3 +10,4 @@ feature_categories: description: SSH keys used by users or for deployments. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/9ba1224867665844b117fa037e1465bb706b3685 milestone: "<6.0" +gitlab_schema: gitlab_main diff --git a/db/docs/label_links.yml b/db/docs/label_links.yml index 5eb10e5e968..2d5664ab431 100644 --- a/db/docs/label_links.yml +++ b/db/docs/label_links.yml @@ -7,3 +7,4 @@ feature_categories: description: Information linking labels with target objects that can be labelled; such as issues, MRs and epics introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/03654a6abf47c88b8b980a6707874ff78080d2fe milestone: '7.2' +gitlab_schema: gitlab_main diff --git a/db/docs/label_priorities.yml b/db/docs/label_priorities.yml index 608cda8590e..cdeb18d815b 100644 --- a/db/docs/label_priorities.yml +++ b/db/docs/label_priorities.yml @@ -7,3 +7,4 @@ feature_categories: description: The relative priority assigned to a label within a project, if any introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/297892011330ecdd2fa7cbe47fbc6fd4f3b62171 milestone: '8.14' +gitlab_schema: gitlab_main diff --git a/db/docs/labels.yml b/db/docs/labels.yml index efda4b65021..47a3bfb4417 100644 --- a/db/docs/labels.yml +++ b/db/docs/labels.yml @@ -9,3 +9,4 @@ feature_categories: description: Information related to labels, which can be associated with groups or projects introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/03654a6abf47c88b8b980a6707874ff78080d2fe milestone: '7.2' +gitlab_schema: gitlab_main diff --git a/db/docs/ldap_group_links.yml b/db/docs/ldap_group_links.yml index 49c4e560c34..d9a1b0acca5 100644 --- a/db/docs/ldap_group_links.yml +++ b/db/docs/ldap_group_links.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/b017947ac91655f8ae6593fb63c3423cd1b439f4 milestone: '7.3' +gitlab_schema: gitlab_main diff --git a/db/docs/lfs_file_locks.yml b/db/docs/lfs_file_locks.yml index 8cd1c2fd4f9..c366c43d6d7 100644 --- a/db/docs/lfs_file_locks.yml +++ b/db/docs/lfs_file_locks.yml @@ -7,3 +7,4 @@ feature_categories: description: File locks for LFS objects introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/4091 milestone: '10.5' +gitlab_schema: gitlab_main diff --git a/db/docs/lfs_object_states.yml b/db/docs/lfs_object_states.yml index a18699e3557..02334202bdc 100644 --- a/db/docs/lfs_object_states.yml +++ b/db/docs/lfs_object_states.yml @@ -7,3 +7,4 @@ feature_categories: description: Geo verification states for LFS objects introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/63981 milestone: '14.6' +gitlab_schema: gitlab_main diff --git a/db/docs/lfs_objects.yml b/db/docs/lfs_objects.yml index 0e26e3c7758..490bc1af0d9 100644 --- a/db/docs/lfs_objects.yml +++ b/db/docs/lfs_objects.yml @@ -7,3 +7,4 @@ feature_categories: description: LFS files introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/1727 milestone: '8.2' +gitlab_schema: gitlab_main diff --git a/db/docs/lfs_objects_projects.yml b/db/docs/lfs_objects_projects.yml index 85cc8f94022..7158e702312 100644 --- a/db/docs/lfs_objects_projects.yml +++ b/db/docs/lfs_objects_projects.yml @@ -5,6 +5,7 @@ classes: feature_categories: - git_lfs - source_code_management -description: Join table relating lfs_objects and projects +description: Join table relating lfs_objects and projects introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/1727 milestone: '8.2' +gitlab_schema: gitlab_main diff --git a/db/docs/licenses.yml b/db/docs/licenses.yml index 5e178996e3d..0957105695e 100644 --- a/db/docs/licenses.yml +++ b/db/docs/licenses.yml @@ -7,3 +7,4 @@ feature_categories: description: Used to store information related to the instance's license introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/d1f2b09fadcfba210c5121bd214b910b9f9809fd milestone: '7.11' +gitlab_schema: gitlab_main diff --git a/db/docs/list_user_preferences.yml b/db/docs/list_user_preferences.yml index cd2b53fd384..95f935d69bc 100644 --- a/db/docs/list_user_preferences.yml +++ b/db/docs/list_user_preferences.yml @@ -7,3 +7,4 @@ feature_categories: description: Issue board list preferences on a per-user basis, specifically whether the user has collapsed the list or not introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/15657 milestone: '12.3' +gitlab_schema: gitlab_main diff --git a/db/docs/lists.yml b/db/docs/lists.yml index 4633be6fb58..6ce93b887d7 100644 --- a/db/docs/lists.yml +++ b/db/docs/lists.yml @@ -7,3 +7,4 @@ feature_categories: description: Configuration of a single list on an issue board introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/611dab2e522e5e59cf09cd459a31686e65616863 milestone: '8.11' +gitlab_schema: gitlab_main diff --git a/db/docs/loose_foreign_keys_deleted_records.yml b/db/docs/loose_foreign_keys_deleted_records.yml index df26ffaefd1..aeaf241ef4a 100644 --- a/db/docs/loose_foreign_keys_deleted_records.yml +++ b/db/docs/loose_foreign_keys_deleted_records.yml @@ -7,3 +7,4 @@ feature_categories: description: Used by the loose foreign keys feature as a queue of parent records whose child records (via foreign keys) need to be deleted/nullified introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/70152 milestone: '14.3' +gitlab_schema: gitlab_shared diff --git a/db/docs/member_roles.yml b/db/docs/member_roles.yml index 314c65a1ef7..559a85823cc 100644 --- a/db/docs/member_roles.yml +++ b/db/docs/member_roles.yml @@ -8,3 +8,4 @@ feature_categories: description: Stores custom roles with composable permissions introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/92152 milestone: '15.2' +gitlab_schema: gitlab_main diff --git a/db/docs/member_tasks.yml b/db/docs/member_tasks.yml index 8802d50176b..0413011c005 100644 --- a/db/docs/member_tasks.yml +++ b/db/docs/member_tasks.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/69299 milestone: '14.5' +gitlab_schema: gitlab_main diff --git a/db/docs/members.yml b/db/docs/members.yml index b26d0edd6c9..94306dc5f87 100644 --- a/db/docs/members.yml +++ b/db/docs/members.yml @@ -11,3 +11,4 @@ feature_categories: description: Stores members per namespace introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/3503b504eabf95487fc3fb49df953a7d694da4fe milestone: '7.4' +gitlab_schema: gitlab_main diff --git a/db/docs/merge_request_assignees.yml b/db/docs/merge_request_assignees.yml index 6fd82ac003e..38f476ead90 100644 --- a/db/docs/merge_request_assignees.yml +++ b/db/docs/merge_request_assignees.yml @@ -7,3 +7,4 @@ feature_categories: description: Store allocated assignees for merge requests introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/26496 milestone: '11.10' +gitlab_schema: gitlab_main diff --git a/db/docs/merge_request_blocks.yml b/db/docs/merge_request_blocks.yml index 1a3452fc66c..3b7e18818c4 100644 --- a/db/docs/merge_request_blocks.yml +++ b/db/docs/merge_request_blocks.yml @@ -7,3 +7,4 @@ feature_categories: description: Keeps relation between blocked and blocking merge requests introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/27323 milestone: '11.11' +gitlab_schema: gitlab_main diff --git a/db/docs/merge_request_cleanup_schedules.yml b/db/docs/merge_request_cleanup_schedules.yml index 9a9338713a6..e25c88c99a7 100644 --- a/db/docs/merge_request_cleanup_schedules.yml +++ b/db/docs/merge_request_cleanup_schedules.yml @@ -7,3 +7,4 @@ feature_categories: description: Store refs cleanup schedules for merge requests introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/46758 milestone: '13.6' +gitlab_schema: gitlab_main diff --git a/db/docs/merge_request_context_commit_diff_files.yml b/db/docs/merge_request_context_commit_diff_files.yml index 08af5c387c4..6b64ea87555 100644 --- a/db/docs/merge_request_context_commit_diff_files.yml +++ b/db/docs/merge_request_context_commit_diff_files.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores diffs data for merge request context commits introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/23701 milestone: '12.8' +gitlab_schema: gitlab_main diff --git a/db/docs/merge_request_context_commits.yml b/db/docs/merge_request_context_commits.yml index 4c52a0a6c08..1c8fc45776f 100644 --- a/db/docs/merge_request_context_commits.yml +++ b/db/docs/merge_request_context_commits.yml @@ -7,3 +7,4 @@ feature_categories: description: Store context commit related data for merge requests introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/23701 milestone: '12.8' +gitlab_schema: gitlab_main diff --git a/db/docs/merge_request_diff_commit_users.yml b/db/docs/merge_request_diff_commit_users.yml index 4a07b37993e..1e6e78b37e3 100644 --- a/db/docs/merge_request_diff_commit_users.yml +++ b/db/docs/merge_request_diff_commit_users.yml @@ -7,3 +7,4 @@ feature_categories: description: Store commit user information for merge request diffs introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/63669 milestone: '14.1' +gitlab_schema: gitlab_main diff --git a/db/docs/merge_request_diff_commits.yml b/db/docs/merge_request_diff_commits.yml index 155b6f82612..1b2f910c88a 100644 --- a/db/docs/merge_request_diff_commits.yml +++ b/db/docs/merge_request_diff_commits.yml @@ -7,3 +7,4 @@ feature_categories: description: Store commit related information within a merge request diff introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/12527 milestone: '9.4' +gitlab_schema: gitlab_main diff --git a/db/docs/merge_request_diff_details.yml b/db/docs/merge_request_diff_details.yml index ff0770e97b6..7036c799df9 100644 --- a/db/docs/merge_request_diff_details.yml +++ b/db/docs/merge_request_diff_details.yml @@ -7,3 +7,4 @@ feature_categories: description: External MR diff replication detail introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/34248 milestone: '13.4' +gitlab_schema: gitlab_main diff --git a/db/docs/merge_request_diff_files.yml b/db/docs/merge_request_diff_files.yml index 56b7b0ec6ee..5bb625231f8 100644 --- a/db/docs/merge_request_diff_files.yml +++ b/db/docs/merge_request_diff_files.yml @@ -7,3 +7,4 @@ feature_categories: description: Store file related information within a merge request diff introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/12047 milestone: '9.4' +gitlab_schema: gitlab_main diff --git a/db/docs/merge_request_diffs.yml b/db/docs/merge_request_diffs.yml index 912f972e67d..d1044ebffe8 100644 --- a/db/docs/merge_request_diffs.yml +++ b/db/docs/merge_request_diffs.yml @@ -4,6 +4,7 @@ classes: - MergeRequestDiff feature_categories: - code_review -description: Store information about the changes made within a git push for a merge request +description: Store information about the changes made within a git push for a merge request introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/c983e8eb3d9cac01090b8657735544f71f891576 milestone: '6.6' +gitlab_schema: gitlab_main diff --git a/db/docs/merge_request_metrics.yml b/db/docs/merge_request_metrics.yml index 0b166eee455..31267b6bf97 100644 --- a/db/docs/merge_request_metrics.yml +++ b/db/docs/merge_request_metrics.yml @@ -8,3 +8,4 @@ feature_categories: description: Store various metrics for merge requests. introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/5986 milestone: '8.12' +gitlab_schema: gitlab_main diff --git a/db/docs/merge_request_predictions.yml b/db/docs/merge_request_predictions.yml index 7495f0934a4..60680a73583 100644 --- a/db/docs/merge_request_predictions.yml +++ b/db/docs/merge_request_predictions.yml @@ -7,3 +7,4 @@ feature_categories: description: Includes machine learning model predictions introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/97622 milestone: '15.4' +gitlab_schema: gitlab_main diff --git a/db/docs/merge_request_reviewers.yml b/db/docs/merge_request_reviewers.yml index 61810bd13c9..b8afea0d217 100644 --- a/db/docs/merge_request_reviewers.yml +++ b/db/docs/merge_request_reviewers.yml @@ -7,3 +7,4 @@ feature_categories: description: Store allocated reviewers for merge requests introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/40358 milestone: '13.4' +gitlab_schema: gitlab_main diff --git a/db/docs/merge_request_user_mentions.yml b/db/docs/merge_request_user_mentions.yml index 95d2117c12b..26d2b0b7a25 100644 --- a/db/docs/merge_request_user_mentions.yml +++ b/db/docs/merge_request_user_mentions.yml @@ -7,3 +7,4 @@ feature_categories: description: Store user mentions for merge requests introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/19009 milestone: '12.6' +gitlab_schema: gitlab_main diff --git a/db/docs/merge_requests.yml b/db/docs/merge_requests.yml index 6546d28a534..8e849a242b4 100644 --- a/db/docs/merge_requests.yml +++ b/db/docs/merge_requests.yml @@ -7,3 +7,4 @@ feature_categories: description: This is the main table that stores information about project merge requests. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/6d460aa2d6b3959593c168eed181516036525393 milestone: "<6.0" +gitlab_schema: gitlab_main diff --git a/db/docs/merge_requests_closing_issues.yml b/db/docs/merge_requests_closing_issues.yml index 210419bc75f..9ad45df375a 100644 --- a/db/docs/merge_requests_closing_issues.yml +++ b/db/docs/merge_requests_closing_issues.yml @@ -7,3 +7,4 @@ feature_categories: description: Store the events of merge request closing any issues introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/5986 milestone: '8.12' +gitlab_schema: gitlab_main diff --git a/db/docs/merge_requests_compliance_violations.yml b/db/docs/merge_requests_compliance_violations.yml index cfa7f78c13e..f23e734de8f 100644 --- a/db/docs/merge_requests_compliance_violations.yml +++ b/db/docs/merge_requests_compliance_violations.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/74290 milestone: '14.6' +gitlab_schema: gitlab_main diff --git a/db/docs/merge_trains.yml b/db/docs/merge_trains.yml index e0481d923c0..3b666322d3b 100644 --- a/db/docs/merge_trains.yml +++ b/db/docs/merge_trains.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/827fc3ccb9335aa29fba0fc532b70015ec4c5186 milestone: '11.11' +gitlab_schema: gitlab_main diff --git a/db/docs/metrics_dashboard_annotations.yml b/db/docs/metrics_dashboard_annotations.yml index a874ef0dfdc..6ecf5317794 100644 --- a/db/docs/metrics_dashboard_annotations.yml +++ b/db/docs/metrics_dashboard_annotations.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/27583 milestone: '13.0' +gitlab_schema: gitlab_main diff --git a/db/docs/metrics_users_starred_dashboards.yml b/db/docs/metrics_users_starred_dashboards.yml index 903b563d071..29a027de895 100644 --- a/db/docs/metrics_users_starred_dashboards.yml +++ b/db/docs/metrics_users_starred_dashboards.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/29912 milestone: '13.0' +gitlab_schema: gitlab_main diff --git a/db/docs/milestone_releases.yml b/db/docs/milestone_releases.yml index de2b6a9cfbc..e84c83891c3 100644 --- a/db/docs/milestone_releases.yml +++ b/db/docs/milestone_releases.yml @@ -7,3 +7,4 @@ feature_categories: description: https://docs.gitlab.com/ee/user/project/releases/#associate-milestones-with-a-release introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/a43ab8d6a430014e875deb3bff3fd8d8da256747 milestone: '12.3' +gitlab_schema: gitlab_main diff --git a/db/docs/milestones.yml b/db/docs/milestones.yml index c41bb289f37..8ba4f3a4de0 100644 --- a/db/docs/milestones.yml +++ b/db/docs/milestones.yml @@ -7,3 +7,4 @@ feature_categories: description: Information related to milestones, used by team planning features to timebox work introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/23d950855d6d2524d00b1f0618c008e2529f06a4 milestone: "<6.0" +gitlab_schema: gitlab_main diff --git a/db/docs/ml_candidate_metrics.yml b/db/docs/ml_candidate_metrics.yml index b0d9ed13489..24489973dd5 100644 --- a/db/docs/ml_candidate_metrics.yml +++ b/db/docs/ml_candidate_metrics.yml @@ -8,3 +8,4 @@ feature_categories: description: Metrics recorded for a Machine Learning model candidate introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/95168 milestone: '15.4' +gitlab_schema: gitlab_main diff --git a/db/docs/ml_candidate_params.yml b/db/docs/ml_candidate_params.yml index 01903b66108..25372de7c7f 100644 --- a/db/docs/ml_candidate_params.yml +++ b/db/docs/ml_candidate_params.yml @@ -8,3 +8,4 @@ feature_categories: description: Configuration parameters recorded for a Machine Learning model candidate introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/95168 milestone: '15.4' +gitlab_schema: gitlab_main diff --git a/db/docs/ml_candidates.yml b/db/docs/ml_candidates.yml index c1f7f622350..c057eb45675 100644 --- a/db/docs/ml_candidates.yml +++ b/db/docs/ml_candidates.yml @@ -8,3 +8,4 @@ feature_categories: description: A Model Candidate is a record of the results on training a model on some configuration introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/95168 milestone: '15.4' +gitlab_schema: gitlab_main diff --git a/db/docs/ml_experiments.yml b/db/docs/ml_experiments.yml index ea5edc9569c..bada30749d3 100644 --- a/db/docs/ml_experiments.yml +++ b/db/docs/ml_experiments.yml @@ -8,3 +8,4 @@ feature_categories: description: A Machine Learning Experiments groups many Model Candidates introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/95168 milestone: '15.4' +gitlab_schema: gitlab_main diff --git a/db/docs/namespace_admin_notes.yml b/db/docs/namespace_admin_notes.yml index f46d8f8846b..6d6710f7ee4 100644 --- a/db/docs/namespace_admin_notes.yml +++ b/db/docs/namespace_admin_notes.yml @@ -8,3 +8,4 @@ feature_categories: description: Contains notes about groups that are visible to server administrators. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/47825 milestone: '13.11' +gitlab_schema: gitlab_main diff --git a/db/docs/namespace_aggregation_schedules.yml b/db/docs/namespace_aggregation_schedules.yml index 07c80396302..c961c33f2ee 100644 --- a/db/docs/namespace_aggregation_schedules.yml +++ b/db/docs/namespace_aggregation_schedules.yml @@ -7,3 +7,4 @@ feature_categories: description: Keeps update schedules for namespace_root_storage_statistics introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/29570 milestone: '12.1' +gitlab_schema: gitlab_main diff --git a/db/docs/namespace_bans.yml b/db/docs/namespace_bans.yml index 7e11738ab81..af68cf0b48b 100644 --- a/db/docs/namespace_bans.yml +++ b/db/docs/namespace_bans.yml @@ -7,3 +7,4 @@ feature_categories: description: Contains users banned from namespaces introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/91271 milestone: "15.2" +gitlab_schema: gitlab_main diff --git a/db/docs/namespace_ci_cd_settings.yml b/db/docs/namespace_ci_cd_settings.yml index 8159f721c98..ddfa390694c 100644 --- a/db/docs/namespace_ci_cd_settings.yml +++ b/db/docs/namespace_ci_cd_settings.yml @@ -8,3 +8,4 @@ feature_categories: description: Namespace-scoped settings related to the CI/CD domain introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/86477 milestone: '15.0' +gitlab_schema: gitlab_main diff --git a/db/docs/namespace_commit_emails.yml b/db/docs/namespace_commit_emails.yml index d7e192f97f4..c19ff1c577b 100644 --- a/db/docs/namespace_commit_emails.yml +++ b/db/docs/namespace_commit_emails.yml @@ -7,3 +7,4 @@ feature_categories: description: User default email for commits from the GitLab UI introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/101832 milestone: '15.6' +gitlab_schema: gitlab_main diff --git a/db/docs/namespace_details.yml b/db/docs/namespace_details.yml index 00053d39396..d256085bf00 100644 --- a/db/docs/namespace_details.yml +++ b/db/docs/namespace_details.yml @@ -7,3 +7,4 @@ feature_categories: description: Used to store details for namespaces introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/82958 milestone: '15.3' +gitlab_schema: gitlab_main diff --git a/db/docs/namespace_limits.yml b/db/docs/namespace_limits.yml index 55b174f9e6f..8601d163d9d 100644 --- a/db/docs/namespace_limits.yml +++ b/db/docs/namespace_limits.yml @@ -7,3 +7,4 @@ feature_categories: description: Contains limits for namespace features like storage and ci introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/34746 milestone: '13.2' +gitlab_schema: gitlab_main diff --git a/db/docs/namespace_package_settings.yml b/db/docs/namespace_package_settings.yml index 518458dd02f..7247b1187f5 100644 --- a/db/docs/namespace_package_settings.yml +++ b/db/docs/namespace_package_settings.yml @@ -7,3 +7,4 @@ feature_categories: description: Namespace and group-level settings for the package registry introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/50104 milestone: '13.8' +gitlab_schema: gitlab_main diff --git a/db/docs/namespace_root_storage_statistics.yml b/db/docs/namespace_root_storage_statistics.yml index ce8620db1e5..2a3e19ab108 100644 --- a/db/docs/namespace_root_storage_statistics.yml +++ b/db/docs/namespace_root_storage_statistics.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/bde41ee866d0fe0b1bb5ece1130fb6e24d95ad17 milestone: '12.1' +gitlab_schema: gitlab_main diff --git a/db/docs/namespace_settings.yml b/db/docs/namespace_settings.yml index ef2f96eb46e..85df86074dc 100644 --- a/db/docs/namespace_settings.yml +++ b/db/docs/namespace_settings.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores settings per namespace introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/36321 milestone: '13.2' +gitlab_schema: gitlab_main diff --git a/db/docs/namespace_statistics.yml b/db/docs/namespace_statistics.yml index eb8d7f6a5ca..fd7dcb4b62e 100644 --- a/db/docs/namespace_statistics.yml +++ b/db/docs/namespace_statistics.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/48d8bdca0493056a717cd7d9fee2e8b51d6b0502 milestone: '9.0' +gitlab_schema: gitlab_main diff --git a/db/docs/namespaces.yml b/db/docs/namespaces.yml index 0518b055e52..e608e996d51 100644 --- a/db/docs/namespaces.yml +++ b/db/docs/namespaces.yml @@ -10,3 +10,4 @@ feature_categories: description: Storing namespaces records for groups, users and projects introduced_by_url: https://github.com/gitlabhq/gitlabhq/pull/2051 milestone: "<6.0" +gitlab_schema: gitlab_main diff --git a/db/docs/namespaces_sync_events.yml b/db/docs/namespaces_sync_events.yml index f674bfcf622..f143ac29804 100644 --- a/db/docs/namespaces_sync_events.yml +++ b/db/docs/namespaces_sync_events.yml @@ -7,3 +7,4 @@ feature_categories: description: Used as a queue of data that needs to be synchronized between the `ci` and `main` database introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/75517 milestone: '14.6' +gitlab_schema: gitlab_main diff --git a/db/docs/note_diff_files.yml b/db/docs/note_diff_files.yml index 33921af7f6d..5e78644fe52 100644 --- a/db/docs/note_diff_files.yml +++ b/db/docs/note_diff_files.yml @@ -7,3 +7,4 @@ feature_categories: description: Persisted truncated note diffs introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/18991 milestone: '11.0' +gitlab_schema: gitlab_main diff --git a/db/docs/notes.yml b/db/docs/notes.yml index f97bfc5bb5c..a6bc81f093f 100644 --- a/db/docs/notes.yml +++ b/db/docs/notes.yml @@ -20,3 +20,4 @@ feature_categories: description: The object at the core of comments, discussions and system notes shown on issues, MRs and epics introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/9ba1224867665844b117fa037e1465bb706b3685 milestone: "<6.0" +gitlab_schema: gitlab_main diff --git a/db/docs/notification_settings.yml b/db/docs/notification_settings.yml index 214db1ca14a..c048163a790 100644 --- a/db/docs/notification_settings.yml +++ b/db/docs/notification_settings.yml @@ -7,3 +7,4 @@ feature_categories: description: User preferences for receiving notifications related to various actions within the application introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/31b0e53015e38e51d9c02cca85c9279600b1bf85 milestone: '8.7' +gitlab_schema: gitlab_main diff --git a/db/docs/oauth_access_grants.yml b/db/docs/oauth_access_grants.yml index e36f1bcc36c..197d4fc59bd 100644 --- a/db/docs/oauth_access_grants.yml +++ b/db/docs/oauth_access_grants.yml @@ -8,3 +8,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/e41dadcb33fda44ee274daa673bd933e13aa90eb milestone: '7.7' +gitlab_schema: gitlab_main diff --git a/db/docs/oauth_access_tokens.yml b/db/docs/oauth_access_tokens.yml index 0f9165f1fca..f409762f483 100644 --- a/db/docs/oauth_access_tokens.yml +++ b/db/docs/oauth_access_tokens.yml @@ -8,3 +8,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/e41dadcb33fda44ee274daa673bd933e13aa90eb milestone: '7.7' +gitlab_schema: gitlab_main diff --git a/db/docs/oauth_applications.yml b/db/docs/oauth_applications.yml index 307a436373e..ac13ab3319a 100644 --- a/db/docs/oauth_applications.yml +++ b/db/docs/oauth_applications.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/e41dadcb33fda44ee274daa673bd933e13aa90eb milestone: '7.7' +gitlab_schema: gitlab_main diff --git a/db/docs/oauth_openid_requests.yml b/db/docs/oauth_openid_requests.yml index 321811e1722..011b91a758a 100644 --- a/db/docs/oauth_openid_requests.yml +++ b/db/docs/oauth_openid_requests.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/c4982890489d254da2fe998aab30bf257767ed5e milestone: '9.0' +gitlab_schema: gitlab_main diff --git a/db/docs/onboarding_progresses.yml b/db/docs/onboarding_progresses.yml index 80b70fe0b1f..805b674d44b 100644 --- a/db/docs/onboarding_progresses.yml +++ b/db/docs/onboarding_progresses.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/50711 milestone: '13.8' +gitlab_schema: gitlab_main diff --git a/db/docs/operations_feature_flag_scopes.yml b/db/docs/operations_feature_flag_scopes.yml index ac1665fb3a6..98c5c09982c 100644 --- a/db/docs/operations_feature_flag_scopes.yml +++ b/db/docs/operations_feature_flag_scopes.yml @@ -6,3 +6,4 @@ feature_categories: description: Deprecated in favor of `operations_scopes`. To be dropped. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/9110 milestone: '11.8' +gitlab_schema: gitlab_main diff --git a/db/docs/operations_feature_flags.yml b/db/docs/operations_feature_flags.yml index c84ed55d0fb..9207ab20b3a 100644 --- a/db/docs/operations_feature_flags.yml +++ b/db/docs/operations_feature_flags.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/7433 milestone: '11.4' +gitlab_schema: gitlab_main diff --git a/db/docs/operations_feature_flags_clients.yml b/db/docs/operations_feature_flags_clients.yml index f8f04cadbb7..d97309f0202 100644 --- a/db/docs/operations_feature_flags_clients.yml +++ b/db/docs/operations_feature_flags_clients.yml @@ -7,3 +7,4 @@ feature_categories: description: https://docs.gitlab.com/ee/operations/feature_flags.html introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/7433 milestone: '11.4' +gitlab_schema: gitlab_main diff --git a/db/docs/operations_feature_flags_issues.yml b/db/docs/operations_feature_flags_issues.yml index 6b62629a38d..ad361f2e659 100644 --- a/db/docs/operations_feature_flags_issues.yml +++ b/db/docs/operations_feature_flags_issues.yml @@ -7,3 +7,4 @@ feature_categories: description: https://docs.gitlab.com/ee/operations/feature_flags.html#feature-flag-related-issues introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/32876 milestone: '13.1' +gitlab_schema: gitlab_main diff --git a/db/docs/operations_scopes.yml b/db/docs/operations_scopes.yml index 781b0a459ab..0275bec0579 100644 --- a/db/docs/operations_scopes.yml +++ b/db/docs/operations_scopes.yml @@ -7,3 +7,4 @@ feature_categories: description: https://docs.gitlab.com/ee/operations/feature_flags.html#feature-flag-strategies introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/24819 milestone: '12.8' +gitlab_schema: gitlab_main diff --git a/db/docs/operations_strategies.yml b/db/docs/operations_strategies.yml index c21859e2de6..f92e6c5b057 100644 --- a/db/docs/operations_strategies.yml +++ b/db/docs/operations_strategies.yml @@ -7,3 +7,4 @@ feature_categories: description: https://docs.gitlab.com/ee/operations/feature_flags.html#feature-flag-strategies introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/24819 milestone: '12.8' +gitlab_schema: gitlab_main diff --git a/db/docs/operations_strategies_user_lists.yml b/db/docs/operations_strategies_user_lists.yml index ec8062ab57c..c4f0c42c5c5 100644 --- a/db/docs/operations_strategies_user_lists.yml +++ b/db/docs/operations_strategies_user_lists.yml @@ -7,3 +7,4 @@ feature_categories: description: https://docs.gitlab.com/ee/operations/feature_flags.html#user-list introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/30243 milestone: '13.0' +gitlab_schema: gitlab_main diff --git a/db/docs/operations_user_lists.yml b/db/docs/operations_user_lists.yml index af1e091ee45..37b6949ea15 100644 --- a/db/docs/operations_user_lists.yml +++ b/db/docs/operations_user_lists.yml @@ -7,3 +7,4 @@ feature_categories: description: https://docs.gitlab.com/ee/operations/feature_flags.html#user-list introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/28822 milestone: '13.0' +gitlab_schema: gitlab_main diff --git a/db/docs/p_ci_builds_metadata.yml b/db/docs/p_ci_builds_metadata.yml index 676cb3bfb1c..d984c68541d 100644 --- a/db/docs/p_ci_builds_metadata.yml +++ b/db/docs/p_ci_builds_metadata.yml @@ -7,3 +7,4 @@ feature_categories: description: Routing table that holds information for job execution introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/100115 milestone: '15.5' +gitlab_schema: gitlab_ci diff --git a/db/docs/packages_build_infos.yml b/db/docs/packages_build_infos.yml index 5eae65c0e0e..aafb24ad265 100644 --- a/db/docs/packages_build_infos.yml +++ b/db/docs/packages_build_infos.yml @@ -7,3 +7,4 @@ feature_categories: description: Join table relating packages_packages with ci_pipelines introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/19796 milestone: '12.6' +gitlab_schema: gitlab_main diff --git a/db/docs/packages_cleanup_policies.yml b/db/docs/packages_cleanup_policies.yml index 1221c7952a0..0353f08fc8e 100644 --- a/db/docs/packages_cleanup_policies.yml +++ b/db/docs/packages_cleanup_policies.yml @@ -7,3 +7,4 @@ feature_categories: description: Cleanup policy parameters for packages. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/85918 milestone: '15.0' +gitlab_schema: gitlab_main diff --git a/db/docs/packages_composer_cache_files.yml b/db/docs/packages_composer_cache_files.yml index e6e81eb149b..76dc9d75245 100644 --- a/db/docs/packages_composer_cache_files.yml +++ b/db/docs/packages_composer_cache_files.yml @@ -7,3 +7,4 @@ feature_categories: description: Composer packages cached SHA files (deprecated) introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/51509 milestone: '13.9' +gitlab_schema: gitlab_main diff --git a/db/docs/packages_composer_metadata.yml b/db/docs/packages_composer_metadata.yml index 19d51711d42..e6ab8fcb71e 100644 --- a/db/docs/packages_composer_metadata.yml +++ b/db/docs/packages_composer_metadata.yml @@ -7,3 +7,4 @@ feature_categories: description: Composer package metadata introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/30448 milestone: '13.1' +gitlab_schema: gitlab_main diff --git a/db/docs/packages_conan_file_metadata.yml b/db/docs/packages_conan_file_metadata.yml index 7d4d86ee4ed..9d8888d73eb 100644 --- a/db/docs/packages_conan_file_metadata.yml +++ b/db/docs/packages_conan_file_metadata.yml @@ -7,3 +7,4 @@ feature_categories: description: Conan package file metadata introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/16418 milestone: '12.5' +gitlab_schema: gitlab_main diff --git a/db/docs/packages_conan_metadata.yml b/db/docs/packages_conan_metadata.yml index 82b590af698..84bf02b9aeb 100644 --- a/db/docs/packages_conan_metadata.yml +++ b/db/docs/packages_conan_metadata.yml @@ -7,3 +7,4 @@ feature_categories: description: Conan package metadata introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/16418 milestone: '12.5' +gitlab_schema: gitlab_main diff --git a/db/docs/packages_debian_file_metadata.yml b/db/docs/packages_debian_file_metadata.yml index 6a86b7ec285..f24ddd0efbf 100644 --- a/db/docs/packages_debian_file_metadata.yml +++ b/db/docs/packages_debian_file_metadata.yml @@ -7,3 +7,4 @@ feature_categories: description: Debian package file metadata introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/49692 milestone: '13.8' +gitlab_schema: gitlab_main diff --git a/db/docs/packages_debian_group_architectures.yml b/db/docs/packages_debian_group_architectures.yml index 4ffee154fa3..d9d6ea4c714 100644 --- a/db/docs/packages_debian_group_architectures.yml +++ b/db/docs/packages_debian_group_architectures.yml @@ -7,3 +7,4 @@ feature_categories: description: Debian registry group-level architectures introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/51265 milestone: '13.8' +gitlab_schema: gitlab_main diff --git a/db/docs/packages_debian_group_component_files.yml b/db/docs/packages_debian_group_component_files.yml index dc68328e4b5..134400b42b4 100644 --- a/db/docs/packages_debian_group_component_files.yml +++ b/db/docs/packages_debian_group_component_files.yml @@ -7,3 +7,4 @@ feature_categories: description: Debian group-level component files introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/52885 milestone: '13.9' +gitlab_schema: gitlab_main diff --git a/db/docs/packages_debian_group_components.yml b/db/docs/packages_debian_group_components.yml index 316e46b90b7..d57fbf8d8b7 100644 --- a/db/docs/packages_debian_group_components.yml +++ b/db/docs/packages_debian_group_components.yml @@ -7,3 +7,4 @@ feature_categories: description: Debian package group-level distribution components introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/51732 milestone: '13.9' +gitlab_schema: gitlab_main diff --git a/db/docs/packages_debian_group_distribution_keys.yml b/db/docs/packages_debian_group_distribution_keys.yml index 19d55536e37..522eeb8afb1 100644 --- a/db/docs/packages_debian_group_distribution_keys.yml +++ b/db/docs/packages_debian_group_distribution_keys.yml @@ -7,3 +7,4 @@ feature_categories: description: Debian group-level distribution keys introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/60993 milestone: '14.0' +gitlab_schema: gitlab_main diff --git a/db/docs/packages_debian_group_distributions.yml b/db/docs/packages_debian_group_distributions.yml index cb4b3bcd469..e324e73a2bb 100644 --- a/db/docs/packages_debian_group_distributions.yml +++ b/db/docs/packages_debian_group_distributions.yml @@ -7,3 +7,4 @@ feature_categories: description: Debian registry group level distributions introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/49405 milestone: '13.8' +gitlab_schema: gitlab_main diff --git a/db/docs/packages_debian_project_architectures.yml b/db/docs/packages_debian_project_architectures.yml index becdee8cfa6..1aba40a3549 100644 --- a/db/docs/packages_debian_project_architectures.yml +++ b/db/docs/packages_debian_project_architectures.yml @@ -7,3 +7,4 @@ feature_categories: description: Debian registry group-level architectures introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/51265 milestone: '13.8' +gitlab_schema: gitlab_main diff --git a/db/docs/packages_debian_project_component_files.yml b/db/docs/packages_debian_project_component_files.yml index 5b6da936ebc..a90860ba8b9 100644 --- a/db/docs/packages_debian_project_component_files.yml +++ b/db/docs/packages_debian_project_component_files.yml @@ -7,3 +7,4 @@ feature_categories: description: Debian project-level component files introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/52885 milestone: '13.9' +gitlab_schema: gitlab_main diff --git a/db/docs/packages_debian_project_components.yml b/db/docs/packages_debian_project_components.yml index 44eb9a489a0..36d0caf29a0 100644 --- a/db/docs/packages_debian_project_components.yml +++ b/db/docs/packages_debian_project_components.yml @@ -7,3 +7,4 @@ feature_categories: description: Debian package project-level distribution components introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/51732 milestone: '13.9' +gitlab_schema: gitlab_main diff --git a/db/docs/packages_debian_project_distribution_keys.yml b/db/docs/packages_debian_project_distribution_keys.yml index 17863f45e88..947c487312e 100644 --- a/db/docs/packages_debian_project_distribution_keys.yml +++ b/db/docs/packages_debian_project_distribution_keys.yml @@ -7,3 +7,4 @@ feature_categories: description: Debian project-level distribution keys introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/60993 milestone: '14.0' +gitlab_schema: gitlab_main diff --git a/db/docs/packages_debian_project_distributions.yml b/db/docs/packages_debian_project_distributions.yml index 4689b0b7534..316849a6dd7 100644 --- a/db/docs/packages_debian_project_distributions.yml +++ b/db/docs/packages_debian_project_distributions.yml @@ -7,3 +7,4 @@ feature_categories: description: Debian package registry project level distributions introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/49405 milestone: '13.8' +gitlab_schema: gitlab_main diff --git a/db/docs/packages_debian_publications.yml b/db/docs/packages_debian_publications.yml index 181338308a3..1ba9e7b3736 100644 --- a/db/docs/packages_debian_publications.yml +++ b/db/docs/packages_debian_publications.yml @@ -7,3 +7,4 @@ feature_categories: description: Debian package publications relating distributions to packages introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/52916 milestone: '13.9' +gitlab_schema: gitlab_main diff --git a/db/docs/packages_dependencies.yml b/db/docs/packages_dependencies.yml index 27b0b2cbd9b..ef1be227ce3 100644 --- a/db/docs/packages_dependencies.yml +++ b/db/docs/packages_dependencies.yml @@ -7,3 +7,4 @@ feature_categories: description: Information about package dependencies for a set of supported package types introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/20549 milestone: '12.6' +gitlab_schema: gitlab_main diff --git a/db/docs/packages_dependency_links.yml b/db/docs/packages_dependency_links.yml index 5a6731a9e82..2c4548b5685 100644 --- a/db/docs/packages_dependency_links.yml +++ b/db/docs/packages_dependency_links.yml @@ -7,3 +7,4 @@ feature_categories: description: Join table between packages_packages and packages_dependencies introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/20549 milestone: '12.6' +gitlab_schema: gitlab_main diff --git a/db/docs/packages_events.yml b/db/docs/packages_events.yml index 1063e26a749..38c47c53721 100644 --- a/db/docs/packages_events.yml +++ b/db/docs/packages_events.yml @@ -7,3 +7,4 @@ feature_categories: description: Package tracking events (deprecated) introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/41846 milestone: '13.5' +gitlab_schema: gitlab_main diff --git a/db/docs/packages_helm_file_metadata.yml b/db/docs/packages_helm_file_metadata.yml index 13b23fd88cf..dbd39544482 100644 --- a/db/docs/packages_helm_file_metadata.yml +++ b/db/docs/packages_helm_file_metadata.yml @@ -7,3 +7,4 @@ feature_categories: description: Helm package file metadata introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/57017 milestone: '13.12' +gitlab_schema: gitlab_main diff --git a/db/docs/packages_maven_metadata.yml b/db/docs/packages_maven_metadata.yml index 6f99f79ffc2..01ebfb1c597 100644 --- a/db/docs/packages_maven_metadata.yml +++ b/db/docs/packages_maven_metadata.yml @@ -7,3 +7,4 @@ feature_categories: description: Maven package metadata introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/6607 milestone: '11.3' +gitlab_schema: gitlab_main diff --git a/db/docs/packages_npm_metadata.yml b/db/docs/packages_npm_metadata.yml index af8c20bf1c0..677e9b55b0d 100644 --- a/db/docs/packages_npm_metadata.yml +++ b/db/docs/packages_npm_metadata.yml @@ -7,3 +7,4 @@ feature_categories: description: Npm package metadata introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/73639 milestone: '14.5' +gitlab_schema: gitlab_main diff --git a/db/docs/packages_nuget_dependency_link_metadata.yml b/db/docs/packages_nuget_dependency_link_metadata.yml index 92c00306eb3..7d93e6aaf77 100644 --- a/db/docs/packages_nuget_dependency_link_metadata.yml +++ b/db/docs/packages_nuget_dependency_link_metadata.yml @@ -7,3 +7,4 @@ feature_categories: description: Join table between nuget target frameworks and packages_dependency_links introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/30618 milestone: '13.0' +gitlab_schema: gitlab_main diff --git a/db/docs/packages_nuget_metadata.yml b/db/docs/packages_nuget_metadata.yml index 8179666c148..83a43f24af0 100644 --- a/db/docs/packages_nuget_metadata.yml +++ b/db/docs/packages_nuget_metadata.yml @@ -7,3 +7,4 @@ feature_categories: description: Nuget package metadata introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/30994 milestone: '13.1' +gitlab_schema: gitlab_main diff --git a/db/docs/packages_package_file_build_infos.yml b/db/docs/packages_package_file_build_infos.yml index 16996a07def..2477117add9 100644 --- a/db/docs/packages_package_file_build_infos.yml +++ b/db/docs/packages_package_file_build_infos.yml @@ -7,3 +7,4 @@ feature_categories: description: Join table relating packages_package_files and ci_pipelines introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/44348 milestone: '13.6' +gitlab_schema: gitlab_main diff --git a/db/docs/packages_package_files.yml b/db/docs/packages_package_files.yml index c9e23f1003e..30f28f5e4ab 100644 --- a/db/docs/packages_package_files.yml +++ b/db/docs/packages_package_files.yml @@ -7,3 +7,4 @@ feature_categories: description: Package registry file links and file metadata for all package types introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/6607 milestone: '11.3' +gitlab_schema: gitlab_main diff --git a/db/docs/packages_packages.yml b/db/docs/packages_packages.yml index 6378aeaa565..d2e08350ab7 100644 --- a/db/docs/packages_packages.yml +++ b/db/docs/packages_packages.yml @@ -7,3 +7,4 @@ feature_categories: description: Information for individual packages in the package registry introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/6607 milestone: '11.3' +gitlab_schema: gitlab_main diff --git a/db/docs/packages_pypi_metadata.yml b/db/docs/packages_pypi_metadata.yml index 7d2d8d7be05..01dce318658 100644 --- a/db/docs/packages_pypi_metadata.yml +++ b/db/docs/packages_pypi_metadata.yml @@ -7,3 +7,4 @@ feature_categories: description: PyPI package metadata introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/27632 milestone: '13.0' +gitlab_schema: gitlab_main diff --git a/db/docs/packages_rpm_metadata.yml b/db/docs/packages_rpm_metadata.yml index cd34529ff0c..193dc46427e 100644 --- a/db/docs/packages_rpm_metadata.yml +++ b/db/docs/packages_rpm_metadata.yml @@ -7,3 +7,4 @@ feature_categories: description: Rpm package metadata introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/96019 milestone: '15.4' +gitlab_schema: gitlab_main diff --git a/db/docs/packages_rpm_repository_files.yml b/db/docs/packages_rpm_repository_files.yml index 3aac984265c..7044b58e22a 100644 --- a/db/docs/packages_rpm_repository_files.yml +++ b/db/docs/packages_rpm_repository_files.yml @@ -7,3 +7,4 @@ feature_categories: description: Package registry file links and file metadata for RPM packages introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/97484 milestone: '15.5' +gitlab_schema: gitlab_main diff --git a/db/docs/packages_rubygems_metadata.yml b/db/docs/packages_rubygems_metadata.yml index ba521f99d77..d4cb5cbbeb8 100644 --- a/db/docs/packages_rubygems_metadata.yml +++ b/db/docs/packages_rubygems_metadata.yml @@ -7,3 +7,4 @@ feature_categories: description: Ruby gems metadata introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/52639 milestone: '13.9' +gitlab_schema: gitlab_main diff --git a/db/docs/packages_tags.yml b/db/docs/packages_tags.yml index 41aad5590f5..dcd1eccd35c 100644 --- a/db/docs/packages_tags.yml +++ b/db/docs/packages_tags.yml @@ -7,3 +7,4 @@ feature_categories: description: Package identifier tags for supported package types. See https://docs.gitlab.com/ee/user/packages/npm_registry/#add-npm-distribution-tags for an example. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/20636 milestone: '12.7' +gitlab_schema: gitlab_main diff --git a/db/docs/pages_deployment_states.yml b/db/docs/pages_deployment_states.yml index dd0ff12abbe..f1907c93454 100644 --- a/db/docs/pages_deployment_states.yml +++ b/db/docs/pages_deployment_states.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores verification state for Geo replicated Pages deployments. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/74905 milestone: '14.6' +gitlab_schema: gitlab_main diff --git a/db/docs/pages_deployments.yml b/db/docs/pages_deployments.yml index 606147f9887..f8aae63c191 100644 --- a/db/docs/pages_deployments.yml +++ b/db/docs/pages_deployments.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores ZIP archives for GitLab Pages websites. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/41785 milestone: '13.4' +gitlab_schema: gitlab_main diff --git a/db/docs/pages_domain_acme_orders.yml b/db/docs/pages_domain_acme_orders.yml index 1bc97c3e47e..c285f638f3f 100644 --- a/db/docs/pages_domain_acme_orders.yml +++ b/db/docs/pages_domain_acme_orders.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores ACME order information used in obtaining Let's Encrypt certificates for GitLab Pages domains. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/14014 milestone: '12.0' +gitlab_schema: gitlab_main diff --git a/db/docs/pages_domains.yml b/db/docs/pages_domains.yml index e0fc084c4c2..ca4bde86f88 100644 --- a/db/docs/pages_domains.yml +++ b/db/docs/pages_domains.yml @@ -7,3 +7,4 @@ feature_categories: description: Store Pages domain, certificate and encryption meta data. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/173 milestone: '8.5' +gitlab_schema: gitlab_main diff --git a/db/docs/path_locks.yml b/db/docs/path_locks.yml index 27548f44c39..f27856d5dee 100644 --- a/db/docs/path_locks.yml +++ b/db/docs/path_locks.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores paths to repository blobs locked by users introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/684e9d1b5979e11d2edae11a3028a696bfcdedf8 milestone: '8.9' +gitlab_schema: gitlab_main diff --git a/db/docs/personal_access_tokens.yml b/db/docs/personal_access_tokens.yml index 70ad9a93247..8241f4234d8 100644 --- a/db/docs/personal_access_tokens.yml +++ b/db/docs/personal_access_tokens.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/3a609038748055a27c7e01cf4b55d8249709c9cc milestone: '8.9' +gitlab_schema: gitlab_main diff --git a/db/docs/plan_limits.yml b/db/docs/plan_limits.yml index f5ddcb11f3d..7baa9a5b447 100644 --- a/db/docs/plan_limits.yml +++ b/db/docs/plan_limits.yml @@ -7,3 +7,4 @@ feature_categories: description: Contains Plan specific limits (CI minute quantities for example) introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/19438 milestone: '12.5' +gitlab_schema: gitlab_main diff --git a/db/docs/plans.yml b/db/docs/plans.yml index df227bcb6e9..71053051cb8 100644 --- a/db/docs/plans.yml +++ b/db/docs/plans.yml @@ -7,3 +7,4 @@ feature_categories: description: Contains information about purchasable Plans for GitLab namespaces introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/39ca951a0f28d147d4689379bbe48a9c14d55d9f milestone: '9.5' +gitlab_schema: gitlab_main diff --git a/db/docs/pool_repositories.yml b/db/docs/pool_repositories.yml index 96ca1dcf7d9..190b2127f58 100644 --- a/db/docs/pool_repositories.yml +++ b/db/docs/pool_repositories.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/fff7754186202cfcdeaa0962c28e5d43ddd705b7 milestone: '11.6' +gitlab_schema: gitlab_main diff --git a/db/docs/postgres_async_indexes.yml b/db/docs/postgres_async_indexes.yml index b23b72de808..9e54fe11b89 100644 --- a/db/docs/postgres_async_indexes.yml +++ b/db/docs/postgres_async_indexes.yml @@ -9,3 +9,4 @@ description: >- See https://docs.gitlab.com/ee/development/adding_database_indexes.html#create-indexes-asynchronously for more details. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/66478 milestone: '14.2' +gitlab_schema: gitlab_shared diff --git a/db/docs/postgres_reindex_actions.yml b/db/docs/postgres_reindex_actions.yml index d7297454d6a..d36917bd707 100644 --- a/db/docs/postgres_reindex_actions.yml +++ b/db/docs/postgres_reindex_actions.yml @@ -10,3 +10,4 @@ description: >- for details about reindexing. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/43156 milestone: '13.5' +gitlab_schema: gitlab_shared diff --git a/db/docs/postgres_reindex_queued_actions.yml b/db/docs/postgres_reindex_queued_actions.yml index 7955d000f8c..d6eef0eb326 100644 --- a/db/docs/postgres_reindex_queued_actions.yml +++ b/db/docs/postgres_reindex_queued_actions.yml @@ -9,3 +9,4 @@ description: >- Actions in this queue will be prioritized over regular reindexing actions. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/73480 milestone: '14.5' +gitlab_schema: gitlab_shared diff --git a/db/docs/product_analytics_events_experimental.yml b/db/docs/product_analytics_events_experimental.yml index c295074b706..347a3ef88ac 100644 --- a/db/docs/product_analytics_events_experimental.yml +++ b/db/docs/product_analytics_events_experimental.yml @@ -7,3 +7,4 @@ feature_categories: description: Product analytic events, experimental feature. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/fc6c53e6f7b47dc22c8619a5a6fe491d29778d3f milestone: '13.2' +gitlab_schema: gitlab_main diff --git a/db/docs/programming_languages.yml b/db/docs/programming_languages.yml index 5da5720a116..176ab502c74 100644 --- a/db/docs/programming_languages.yml +++ b/db/docs/programming_languages.yml @@ -7,3 +7,4 @@ feature_categories: description: Contains known programming languages and their assigned colors introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/19480 milestone: '11.2' +gitlab_schema: gitlab_main diff --git a/db/docs/project_access_tokens.yml b/db/docs/project_access_tokens.yml index 8c53c854b64..ddaca744571 100644 --- a/db/docs/project_access_tokens.yml +++ b/db/docs/project_access_tokens.yml @@ -6,3 +6,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/33272 milestone: '13.1' +gitlab_schema: gitlab_main diff --git a/db/docs/project_alerting_settings.yml b/db/docs/project_alerting_settings.yml index 0737c65faaf..629ba0ba834 100644 --- a/db/docs/project_alerting_settings.yml +++ b/db/docs/project_alerting_settings.yml @@ -7,3 +7,4 @@ feature_categories: description: Persists project-level tokens for manual Prometheus installations introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/9334 milestone: '11.8' +gitlab_schema: gitlab_main diff --git a/db/docs/project_aliases.yml b/db/docs/project_aliases.yml index f79c81d2afe..799dff34e7e 100644 --- a/db/docs/project_aliases.yml +++ b/db/docs/project_aliases.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores aliases of projects introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/14108 milestone: '12.1' +gitlab_schema: gitlab_main diff --git a/db/docs/project_authorizations.yml b/db/docs/project_authorizations.yml index 890997d7d33..b37634047f0 100644 --- a/db/docs/project_authorizations.yml +++ b/db/docs/project_authorizations.yml @@ -8,3 +8,4 @@ feature_categories: description: Stores maximal access to the project per user introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/6839 milestone: '8.14' +gitlab_schema: gitlab_main diff --git a/db/docs/project_auto_devops.yml b/db/docs/project_auto_devops.yml index dd960ecc4eb..ff4e92c74f5 100644 --- a/db/docs/project_auto_devops.yml +++ b/db/docs/project_auto_devops.yml @@ -7,3 +7,4 @@ feature_categories: description: Auto DevOps settings for a project introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/6ed490401f49a8941dc7a9e3757ec4012f14ef0b milestone: '10.0' +gitlab_schema: gitlab_main diff --git a/db/docs/project_build_artifacts_size_refreshes.yml b/db/docs/project_build_artifacts_size_refreshes.yml index 56bad0e4df6..2e3a6a12b14 100644 --- a/db/docs/project_build_artifacts_size_refreshes.yml +++ b/db/docs/project_build_artifacts_size_refreshes.yml @@ -7,3 +7,4 @@ feature_categories: description: Temporary table to accurately recompute artifacts size. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/81306 milestone: '14.9' +gitlab_schema: gitlab_main diff --git a/db/docs/project_ci_cd_settings.yml b/db/docs/project_ci_cd_settings.yml index a736cf6a8dc..265ec896247 100644 --- a/db/docs/project_ci_cd_settings.yml +++ b/db/docs/project_ci_cd_settings.yml @@ -9,3 +9,4 @@ feature_categories: description: Project-scoped settings related to the CI/CD domain introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/392c411bdc16386ef42c86afaf8c4d8e4cddb955 milestone: '10.8' +gitlab_schema: gitlab_main diff --git a/db/docs/project_ci_feature_usages.yml b/db/docs/project_ci_feature_usages.yml index e7e354c6cc7..a3f7be26027 100644 --- a/db/docs/project_ci_feature_usages.yml +++ b/db/docs/project_ci_feature_usages.yml @@ -7,3 +7,4 @@ feature_categories: description: Project CI feature usage information used to access CI data from the main database. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/68186 milestone: '14.2' +gitlab_schema: gitlab_main diff --git a/db/docs/project_compliance_framework_settings.yml b/db/docs/project_compliance_framework_settings.yml index bc5555926c1..ab68259e87e 100644 --- a/db/docs/project_compliance_framework_settings.yml +++ b/db/docs/project_compliance_framework_settings.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/28182 milestone: '13.0' +gitlab_schema: gitlab_main diff --git a/db/docs/project_custom_attributes.yml b/db/docs/project_custom_attributes.yml index 90f13b4f593..3a4b76c5b02 100644 --- a/db/docs/project_custom_attributes.yml +++ b/db/docs/project_custom_attributes.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores custom attributes per project introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/14593 milestone: '10.2' +gitlab_schema: gitlab_main diff --git a/db/docs/project_daily_statistics.yml b/db/docs/project_daily_statistics.yml index 5de94c2845b..862a63b1909 100644 --- a/db/docs/project_daily_statistics.yml +++ b/db/docs/project_daily_statistics.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores repository fetch statistics per day introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/23596 milestone: '11.9' +gitlab_schema: gitlab_main diff --git a/db/docs/project_deploy_tokens.yml b/db/docs/project_deploy_tokens.yml index 12e565bf4de..80bca84bf4c 100644 --- a/db/docs/project_deploy_tokens.yml +++ b/db/docs/project_deploy_tokens.yml @@ -7,3 +7,4 @@ feature_categories: description: https://docs.gitlab.com/ee/user/project/deploy_tokens/ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/8315861c9a50675b4f4f4ca536f0da90f27994f3 milestone: '10.7' +gitlab_schema: gitlab_main diff --git a/db/docs/project_error_tracking_settings.yml b/db/docs/project_error_tracking_settings.yml index d10982fe712..5bfc278a206 100644 --- a/db/docs/project_error_tracking_settings.yml +++ b/db/docs/project_error_tracking_settings.yml @@ -7,3 +7,4 @@ feature_categories: description: Project settings related to Error Tracking introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/24047 milestone: '11.7' +gitlab_schema: gitlab_main diff --git a/db/docs/project_export_jobs.yml b/db/docs/project_export_jobs.yml index 991cdbeb12a..2eb6aa51202 100644 --- a/db/docs/project_export_jobs.yml +++ b/db/docs/project_export_jobs.yml @@ -7,3 +7,4 @@ feature_categories: description: Used to track and control project export status introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/23664 milestone: '12.9' +gitlab_schema: gitlab_main diff --git a/db/docs/project_feature_usages.yml b/db/docs/project_feature_usages.yml index b3182de243b..c209abf25eb 100644 --- a/db/docs/project_feature_usages.yml +++ b/db/docs/project_feature_usages.yml @@ -7,3 +7,4 @@ feature_categories: description: Track Jira DVCS usage introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/21db9a55e200b23a5a47251e9df46fd548c74559 milestone: '11.8' +gitlab_schema: gitlab_main diff --git a/db/docs/project_features.yml b/db/docs/project_features.yml index 7b94db88e70..a0a1cce3a7d 100644 --- a/db/docs/project_features.yml +++ b/db/docs/project_features.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores access levels for project features like wikis, issues, repositories, containers, ect. introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/5606 milestone: '8.12' +gitlab_schema: gitlab_main diff --git a/db/docs/project_group_links.yml b/db/docs/project_group_links.yml index ca1aedf25b8..c03141058b6 100644 --- a/db/docs/project_group_links.yml +++ b/db/docs/project_group_links.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/3ac5a759e93e632539438d4564582c645a9f6799 milestone: "<6.0" +gitlab_schema: gitlab_main diff --git a/db/docs/project_import_data.yml b/db/docs/project_import_data.yml index 22c0f036b63..283657a1dd3 100644 --- a/db/docs/project_import_data.yml +++ b/db/docs/project_import_data.yml @@ -7,3 +7,4 @@ feature_categories: description: Used to store credentials and configuration of external projects when using the Import/Export feature introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/7d98c8842d6bc9b14fb410f028db7ab651961b42 milestone: '7.10' +gitlab_schema: gitlab_main diff --git a/db/docs/project_incident_management_settings.yml b/db/docs/project_incident_management_settings.yml index b1ef6824fe2..2e9812e9bf0 100644 --- a/db/docs/project_incident_management_settings.yml +++ b/db/docs/project_incident_management_settings.yml @@ -7,3 +7,4 @@ feature_categories: description: Persists project settings for incident management introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/9744 milestone: '11.9' +gitlab_schema: gitlab_main diff --git a/db/docs/project_metrics_settings.yml b/db/docs/project_metrics_settings.yml index 9090f15278c..6ff8902b24e 100644 --- a/db/docs/project_metrics_settings.yml +++ b/db/docs/project_metrics_settings.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/bb13ae974c295718eb80c14a179b721ba192a089 milestone: '11.11' +gitlab_schema: gitlab_main diff --git a/db/docs/project_mirror_data.yml b/db/docs/project_mirror_data.yml index 3ea755c04a2..5ac43215b26 100644 --- a/db/docs/project_mirror_data.yml +++ b/db/docs/project_mirror_data.yml @@ -7,3 +7,4 @@ feature_categories: description: Used to store and track the project import status when using the Import/Export feature introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/0ca479d1ce0eadfcdc0e29d0e18136f5790d5b2f milestone: '9.3' +gitlab_schema: gitlab_main diff --git a/db/docs/project_pages_metadata.yml b/db/docs/project_pages_metadata.yml index aa792520bc3..d9b609d7784 100644 --- a/db/docs/project_pages_metadata.yml +++ b/db/docs/project_pages_metadata.yml @@ -7,3 +7,4 @@ feature_categories: description: Store GitLab Pages metadata for projects. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/17197 milestone: '12.4' +gitlab_schema: gitlab_main diff --git a/db/docs/project_relation_export_uploads.yml b/db/docs/project_relation_export_uploads.yml index 369f6d281ee..43c6d33f5a5 100644 --- a/db/docs/project_relation_export_uploads.yml +++ b/db/docs/project_relation_export_uploads.yml @@ -7,3 +7,4 @@ feature_categories: description: Used to store relation export files location introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/90624 milestone: '15.2' +gitlab_schema: gitlab_main diff --git a/db/docs/project_relation_exports.yml b/db/docs/project_relation_exports.yml index 7014d4cae0d..f25fe8280ae 100644 --- a/db/docs/project_relation_exports.yml +++ b/db/docs/project_relation_exports.yml @@ -7,3 +7,4 @@ feature_categories: description: Used to track the generation of relation export files for projects introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/90624 milestone: '15.2' +gitlab_schema: gitlab_main diff --git a/db/docs/project_repositories.yml b/db/docs/project_repositories.yml index ed90a0d1595..2a3e37098c7 100644 --- a/db/docs/project_repositories.yml +++ b/db/docs/project_repositories.yml @@ -7,3 +7,4 @@ feature_categories: description: Keeps disk path to repositories and link to the shard introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/8614 milestone: '11.6' +gitlab_schema: gitlab_main diff --git a/db/docs/project_repository_states.yml b/db/docs/project_repository_states.yml index fa762a646f4..6a8f33e7fa5 100644 --- a/db/docs/project_repository_states.yml +++ b/db/docs/project_repository_states.yml @@ -7,3 +7,4 @@ feature_categories: description: Keeps checksums of repositories introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/4428 milestone: '10.6' +gitlab_schema: gitlab_main diff --git a/db/docs/project_repository_storage_moves.yml b/db/docs/project_repository_storage_moves.yml index 4255a0d4a8a..d48dc700bae 100644 --- a/db/docs/project_repository_storage_moves.yml +++ b/db/docs/project_repository_storage_moves.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores status of project repository moves introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/29095 milestone: '13.0' +gitlab_schema: gitlab_main diff --git a/db/docs/project_security_settings.yml b/db/docs/project_security_settings.yml index 79ebdcae8c2..99a767978fb 100644 --- a/db/docs/project_security_settings.yml +++ b/db/docs/project_security_settings.yml @@ -8,3 +8,4 @@ feature_categories: description: Project settings related to security features. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/32577 milestone: '13.1' +gitlab_schema: gitlab_main diff --git a/db/docs/project_settings.yml b/db/docs/project_settings.yml index cc084590c89..7113aedf1f8 100644 --- a/db/docs/project_settings.yml +++ b/db/docs/project_settings.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores settings per project introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/a2a7ad291f64a5db74c1bc21fb556e6e8862d0f3 milestone: '10.8' +gitlab_schema: gitlab_main diff --git a/db/docs/project_statistics.yml b/db/docs/project_statistics.yml index 323ba1d60d4..a3afb678877 100644 --- a/db/docs/project_statistics.yml +++ b/db/docs/project_statistics.yml @@ -7,3 +7,4 @@ feature_categories: description: Records statistics about the usage of various product features introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/7754 milestone: '8.16' +gitlab_schema: gitlab_main diff --git a/db/docs/project_topics.yml b/db/docs/project_topics.yml index cbe0d482586..3d8ec0c342a 100644 --- a/db/docs/project_topics.yml +++ b/db/docs/project_topics.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores topics per project relationship introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/67574 milestone: '14.3' +gitlab_schema: gitlab_main diff --git a/db/docs/project_wiki_repositories.yml b/db/docs/project_wiki_repositories.yml index 9f01fd2db3f..7da09b7fffe 100644 --- a/db/docs/project_wiki_repositories.yml +++ b/db/docs/project_wiki_repositories.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores information about project wiki repositories. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/103399 milestone: '15.6' +gitlab_schema: gitlab_main diff --git a/db/docs/project_wiki_repository_states.yml b/db/docs/project_wiki_repository_states.yml index b074eca3c89..c12e904b339 100644 --- a/db/docs/project_wiki_repository_states.yml +++ b/db/docs/project_wiki_repository_states.yml @@ -7,3 +7,4 @@ feature_categories: description: Separate table for project wikis containing Geo verification metadata. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/99168 milestone: '15.5' +gitlab_schema: gitlab_main diff --git a/db/docs/projects.yml b/db/docs/projects.yml index 9a845a21751..0b7dbbe2127 100644 --- a/db/docs/projects.yml +++ b/db/docs/projects.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores project records introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/9ba1224867665844b117fa037e1465bb706b3685 milestone: "<6.0" +gitlab_schema: gitlab_main diff --git a/db/docs/projects_sync_events.yml b/db/docs/projects_sync_events.yml index cdc27423778..7e03e5abe63 100644 --- a/db/docs/projects_sync_events.yml +++ b/db/docs/projects_sync_events.yml @@ -7,3 +7,4 @@ feature_categories: description: Used as a queue of data that needs to be synchronized between the `ci` and `main` database introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/75517 milestone: '14.6' +gitlab_schema: gitlab_main diff --git a/db/docs/prometheus_alert_events.yml b/db/docs/prometheus_alert_events.yml index 9fed9d9d73b..91820cffa16 100644 --- a/db/docs/prometheus_alert_events.yml +++ b/db/docs/prometheus_alert_events.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/7493 milestone: '11.4' +gitlab_schema: gitlab_main diff --git a/db/docs/prometheus_alerts.yml b/db/docs/prometheus_alerts.yml index 3d3a2e45650..cfab6c1c094 100644 --- a/db/docs/prometheus_alerts.yml +++ b/db/docs/prometheus_alerts.yml @@ -7,3 +7,4 @@ feature_categories: description: Persists information about prometheus alerts from an environment introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/6590 milestone: '11.2' +gitlab_schema: gitlab_main diff --git a/db/docs/prometheus_metrics.yml b/db/docs/prometheus_metrics.yml index 315aaf7f9bd..69c74dd1629 100644 --- a/db/docs/prometheus_metrics.yml +++ b/db/docs/prometheus_metrics.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/3799 milestone: '9.3' +gitlab_schema: gitlab_main diff --git a/db/docs/protected_branch_merge_access_levels.yml b/db/docs/protected_branch_merge_access_levels.yml index a07303975ad..3a348825dce 100644 --- a/db/docs/protected_branch_merge_access_levels.yml +++ b/db/docs/protected_branch_merge_access_levels.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores merge access settings for protected branches introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/5081 milestone: '8.11' +gitlab_schema: gitlab_main diff --git a/db/docs/protected_branch_push_access_levels.yml b/db/docs/protected_branch_push_access_levels.yml index fff94bceace..24865372ad0 100644 --- a/db/docs/protected_branch_push_access_levels.yml +++ b/db/docs/protected_branch_push_access_levels.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores push access settings for protected branches introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/5081 milestone: '8.11' +gitlab_schema: gitlab_main diff --git a/db/docs/protected_branch_unprotect_access_levels.yml b/db/docs/protected_branch_unprotect_access_levels.yml index 8727d77e8ec..aafc7282a5e 100644 --- a/db/docs/protected_branch_unprotect_access_levels.yml +++ b/db/docs/protected_branch_unprotect_access_levels.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores access settings for protected branch unprotection introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/5103 milestone: '10.7' +gitlab_schema: gitlab_main diff --git a/db/docs/protected_branches.yml b/db/docs/protected_branches.yml index a94c7d7681c..7c3132336e2 100644 --- a/db/docs/protected_branches.yml +++ b/db/docs/protected_branches.yml @@ -8,3 +8,4 @@ feature_categories: description: Keeps a list of protected branches by project introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/37224dc9c1ee80ba9030b616e2bc87bd96919e09 milestone: "<6.0" +gitlab_schema: gitlab_main diff --git a/db/docs/protected_environment_approval_rules.yml b/db/docs/protected_environment_approval_rules.yml index fe3d9d7ad08..73c1bb6f0a9 100644 --- a/db/docs/protected_environment_approval_rules.yml +++ b/db/docs/protected_environment_approval_rules.yml @@ -7,3 +7,4 @@ feature_categories: description: https://docs.gitlab.com/ee/ci/environments/deployment_approvals.html#multiple-approval-rules introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/82800 milestone: '14.10' +gitlab_schema: gitlab_main diff --git a/db/docs/protected_environment_deploy_access_levels.yml b/db/docs/protected_environment_deploy_access_levels.yml index c25044dc7e2..9c0095349ea 100644 --- a/db/docs/protected_environment_deploy_access_levels.yml +++ b/db/docs/protected_environment_deploy_access_levels.yml @@ -7,3 +7,4 @@ feature_categories: description: https://docs.gitlab.com/ee/ci/environments/protected_environments.html introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/6672 milestone: '11.3' +gitlab_schema: gitlab_main diff --git a/db/docs/protected_environments.yml b/db/docs/protected_environments.yml index 6a0d18ee4b5..18d619ecea6 100644 --- a/db/docs/protected_environments.yml +++ b/db/docs/protected_environments.yml @@ -7,3 +7,4 @@ feature_categories: description: https://docs.gitlab.com/ee/ci/environments/protected_environments.html introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/6672 milestone: '11.3' +gitlab_schema: gitlab_main diff --git a/db/docs/protected_tag_create_access_levels.yml b/db/docs/protected_tag_create_access_levels.yml index 0c1ae808e67..2644868a76e 100644 --- a/db/docs/protected_tag_create_access_levels.yml +++ b/db/docs/protected_tag_create_access_levels.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores create access settings for protected tags introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/07d7d8e65905a39164b63f55eccdcea8f10f5d14 milestone: '9.1' +gitlab_schema: gitlab_main diff --git a/db/docs/protected_tags.yml b/db/docs/protected_tags.yml index 79b0b51de5f..4bd43f4a617 100644 --- a/db/docs/protected_tags.yml +++ b/db/docs/protected_tags.yml @@ -7,3 +7,4 @@ feature_categories: description: Keeps a list of protected tags by project introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/10356 milestone: '9.1' +gitlab_schema: gitlab_main diff --git a/db/docs/push_event_payloads.yml b/db/docs/push_event_payloads.yml index 68cd4ae4bb8..d0f1bdeb060 100644 --- a/db/docs/push_event_payloads.yml +++ b/db/docs/push_event_payloads.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores log of push events introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/12463 milestone: '9.5' +gitlab_schema: gitlab_main diff --git a/db/docs/push_rules.yml b/db/docs/push_rules.yml index 6a51fc79b33..85c609719b6 100644 --- a/db/docs/push_rules.yml +++ b/db/docs/push_rules.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/1b98b5ab97ce3e9997df542059cbf3c6ce0bf0e1 milestone: '8.10' +gitlab_schema: gitlab_main diff --git a/db/docs/raw_usage_data.yml b/db/docs/raw_usage_data.yml index c7e194d6417..5266b10e370 100644 --- a/db/docs/raw_usage_data.yml +++ b/db/docs/raw_usage_data.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/38457 milestone: '13.3' +gitlab_schema: gitlab_main diff --git a/db/docs/redirect_routes.yml b/db/docs/redirect_routes.yml index a9b93a9b8f9..7997aae2952 100644 --- a/db/docs/redirect_routes.yml +++ b/db/docs/redirect_routes.yml @@ -8,3 +8,4 @@ feature_categories: description: Stores routes for redirect after changing the path to group or project introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/11136 milestone: '9.2' +gitlab_schema: gitlab_main diff --git a/db/docs/related_epic_links.yml b/db/docs/related_epic_links.yml index f498353c04b..43799a99101 100644 --- a/db/docs/related_epic_links.yml +++ b/db/docs/related_epic_links.yml @@ -7,3 +7,4 @@ feature_categories: description: Information on the relationship between two epics introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/80499 milestone: '14.9' +gitlab_schema: gitlab_main diff --git a/db/docs/release_links.yml b/db/docs/release_links.yml index 03fa9e2bbbb..bc194c949a3 100644 --- a/db/docs/release_links.yml +++ b/db/docs/release_links.yml @@ -7,3 +7,4 @@ feature_categories: description: https://docs.gitlab.com/ee/user/project/releases/#links introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/66755c9ed506af9f51022a678ed26e5d31ee87ac milestone: '11.7' +gitlab_schema: gitlab_main diff --git a/db/docs/releases.yml b/db/docs/releases.yml index da4fbfe830f..99ec9a5bed7 100644 --- a/db/docs/releases.yml +++ b/db/docs/releases.yml @@ -7,3 +7,4 @@ feature_categories: description: https://docs.gitlab.com/ee/user/project/releases introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/1c4d1c3bd69a6f9ec43cce4ab59de4ba47f73229 milestone: '8.2' +gitlab_schema: gitlab_main diff --git a/db/docs/remote_mirrors.yml b/db/docs/remote_mirrors.yml index 5d38c9cc3ec..2ae633eb023 100644 --- a/db/docs/remote_mirrors.yml +++ b/db/docs/remote_mirrors.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores push mirrors and their update statuses introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/249 milestone: '8.7' +gitlab_schema: gitlab_main diff --git a/db/docs/repository_languages.yml b/db/docs/repository_languages.yml index ceee8670a68..506c607cf54 100644 --- a/db/docs/repository_languages.yml +++ b/db/docs/repository_languages.yml @@ -7,3 +7,4 @@ feature_categories: description: Keeps relation between projects and repository languages introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/19480 milestone: '11.2' +gitlab_schema: gitlab_main diff --git a/db/docs/required_code_owners_sections.yml b/db/docs/required_code_owners_sections.yml index 059078cce27..dbbc5e77af4 100644 --- a/db/docs/required_code_owners_sections.yml +++ b/db/docs/required_code_owners_sections.yml @@ -7,3 +7,4 @@ feature_categories: description: Keeps required code owners sections introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/43573 milestone: '13.5' +gitlab_schema: gitlab_main diff --git a/db/docs/requirements.yml b/db/docs/requirements.yml index 29340196b32..9fad8b634cf 100644 --- a/db/docs/requirements.yml +++ b/db/docs/requirements.yml @@ -7,3 +7,4 @@ feature_categories: description: Information relating to Requirements as implemented by the Requirements Management tool introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/26097 milestone: '12.9' +gitlab_schema: gitlab_main diff --git a/db/docs/requirements_management_test_reports.yml b/db/docs/requirements_management_test_reports.yml index b7fc5fa54f8..69f40f9592b 100644 --- a/db/docs/requirements_management_test_reports.yml +++ b/db/docs/requirements_management_test_reports.yml @@ -7,3 +7,4 @@ feature_categories: description: Information related to Test Reports, which relate historical test outcomes to Requirements introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/31643 milestone: '13.0' +gitlab_schema: gitlab_main diff --git a/db/docs/resource_iteration_events.yml b/db/docs/resource_iteration_events.yml index 8e61c68a6f6..46a9e88fd9a 100644 --- a/db/docs/resource_iteration_events.yml +++ b/db/docs/resource_iteration_events.yml @@ -7,3 +7,4 @@ feature_categories: description: Records the addition and removal of issues to iterations introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/37617 milestone: '13.3' +gitlab_schema: gitlab_main diff --git a/db/docs/resource_label_events.yml b/db/docs/resource_label_events.yml index b770b642452..9de636ea874 100644 --- a/db/docs/resource_label_events.yml +++ b/db/docs/resource_label_events.yml @@ -7,3 +7,4 @@ feature_categories: description: Records the addition and removal of labels from resources that can be labelled; such as issues, MRs and epics introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/6697 milestone: '11.2' +gitlab_schema: gitlab_main diff --git a/db/docs/resource_milestone_events.yml b/db/docs/resource_milestone_events.yml index 8792bb269b6..02962bc0056 100644 --- a/db/docs/resource_milestone_events.yml +++ b/db/docs/resource_milestone_events.yml @@ -7,3 +7,4 @@ feature_categories: description: Records the addition and removal of issues to milestones introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/23965 milestone: '12.8' +gitlab_schema: gitlab_main diff --git a/db/docs/resource_state_events.yml b/db/docs/resource_state_events.yml index 12887a5a6c4..2390cd26bac 100644 --- a/db/docs/resource_state_events.yml +++ b/db/docs/resource_state_events.yml @@ -7,3 +7,4 @@ feature_categories: description: Records the change of state of issues between opened and closed introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/28926 milestone: '13.0' +gitlab_schema: gitlab_main diff --git a/db/docs/resource_weight_events.yml b/db/docs/resource_weight_events.yml index 3f17b312fea..12cf9b27d19 100644 --- a/db/docs/resource_weight_events.yml +++ b/db/docs/resource_weight_events.yml @@ -7,3 +7,4 @@ feature_categories: description: Records the change of weight on issues along with timestamps introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/21515 milestone: '12.7' +gitlab_schema: gitlab_main diff --git a/db/docs/reviews.yml b/db/docs/reviews.yml index 5a9f4c03bfb..81253d0c3c1 100644 --- a/db/docs/reviews.yml +++ b/db/docs/reviews.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/8442 milestone: '11.6' +gitlab_schema: gitlab_main diff --git a/db/docs/routes.yml b/db/docs/routes.yml index 9184309dabf..c54f976d91a 100644 --- a/db/docs/routes.yml +++ b/db/docs/routes.yml @@ -10,3 +10,4 @@ feature_categories: description: Stores routes per namespaces and projects introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/7121 milestone: '9.0' +gitlab_schema: gitlab_main diff --git a/db/docs/saml_group_links.yml b/db/docs/saml_group_links.yml index 109fd62a16b..5fd2372a22d 100644 --- a/db/docs/saml_group_links.yml +++ b/db/docs/saml_group_links.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/45061 milestone: '13.5' +gitlab_schema: gitlab_main diff --git a/db/docs/saml_providers.yml b/db/docs/saml_providers.yml index 42f2fa956b6..6fcc0e0e370 100644 --- a/db/docs/saml_providers.yml +++ b/db/docs/saml_providers.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/4549 milestone: '10.7' +gitlab_schema: gitlab_main diff --git a/db/docs/saved_replies.yml b/db/docs/saved_replies.yml index bc667bddf4b..c1d4a51ce0d 100644 --- a/db/docs/saved_replies.yml +++ b/db/docs/saved_replies.yml @@ -7,3 +7,4 @@ feature_categories: description: Text templates used to populate comments using a quick action introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/80807 milestone: '14.9' +gitlab_schema: gitlab_main diff --git a/db/docs/sbom_component_versions.yml b/db/docs/sbom_component_versions.yml index 1bee0ddb3fb..25ef9e3fb9c 100644 --- a/db/docs/sbom_component_versions.yml +++ b/db/docs/sbom_component_versions.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores version information for software components produced by a Software Bill of Materials (SBoM) introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/90809 milestone: '15.2' +gitlab_schema: gitlab_main diff --git a/db/docs/sbom_components.yml b/db/docs/sbom_components.yml index 0bb1a4d7b30..b735d7f29c2 100644 --- a/db/docs/sbom_components.yml +++ b/db/docs/sbom_components.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores information about software components produced by a Software Bill of Materials (SBoM) introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/90809 milestone: '15.2' +gitlab_schema: gitlab_main diff --git a/db/docs/sbom_occurrences.yml b/db/docs/sbom_occurrences.yml index b30bac79698..094199225e0 100644 --- a/db/docs/sbom_occurrences.yml +++ b/db/docs/sbom_occurrences.yml @@ -7,3 +7,4 @@ feature_categories: description: Tracks each occurrence of an SBoM component introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/90814 milestone: '15.2' +gitlab_schema: gitlab_main diff --git a/db/docs/sbom_sources.yml b/db/docs/sbom_sources.yml index dd17b02a3dd..b9cc8611b45 100644 --- a/db/docs/sbom_sources.yml +++ b/db/docs/sbom_sources.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores information about where an SBoM component originated from introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/90812 milestone: '15.2' +gitlab_schema: gitlab_main diff --git a/db/docs/sbom_vulnerable_component_versions.yml b/db/docs/sbom_vulnerable_component_versions.yml index bb67c6e4f68..8747b6c6588 100644 --- a/db/docs/sbom_vulnerable_component_versions.yml +++ b/db/docs/sbom_vulnerable_component_versions.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores information about vulnerable SBoM components introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/95622 milestone: '15.4' +gitlab_schema: gitlab_main diff --git a/db/docs/schema_migrations.yml b/db/docs/schema_migrations.yml index a8df9b8a767..f5b52bc4db2 100644 --- a/db/docs/schema_migrations.yml +++ b/db/docs/schema_migrations.yml @@ -9,3 +9,4 @@ description: >- An internal table used by ActiveRecord to keep track of which migrations have been applied to the database. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/9ba1224867665844b117fa037e1465bb706b3685 milestone: '0.8' +gitlab_schema: gitlab_internal diff --git a/db/docs/scim_identities.yml b/db/docs/scim_identities.yml index 1aa56dc2740..6ad69d9b4cc 100644 --- a/db/docs/scim_identities.yml +++ b/db/docs/scim_identities.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/26124 milestone: '12.9' +gitlab_schema: gitlab_main diff --git a/db/docs/scim_oauth_access_tokens.yml b/db/docs/scim_oauth_access_tokens.yml index bc258eda41a..e26cd94f4cd 100644 --- a/db/docs/scim_oauth_access_tokens.yml +++ b/db/docs/scim_oauth_access_tokens.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/e9b2253fe3538234d1c4d173c4549a955233d836 milestone: '11.10' +gitlab_schema: gitlab_main diff --git a/db/docs/security_findings.yml b/db/docs/security_findings.yml index b4607d56dca..724881d4d17 100644 --- a/db/docs/security_findings.yml +++ b/db/docs/security_findings.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores a subset of the Finding data which is used to optimize the pipeline security tab introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/40368 milestone: '13.4' +gitlab_schema: gitlab_main diff --git a/db/docs/security_orchestration_policy_configurations.yml b/db/docs/security_orchestration_policy_configurations.yml index 0f91d180dc3..7d23d30de82 100644 --- a/db/docs/security_orchestration_policy_configurations.yml +++ b/db/docs/security_orchestration_policy_configurations.yml @@ -9,3 +9,4 @@ description: | Policies are stored in the repository as a YAML file. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/53743 milestone: '13.9' +gitlab_schema: gitlab_main diff --git a/db/docs/security_orchestration_policy_rule_schedules.yml b/db/docs/security_orchestration_policy_rule_schedules.yml index 160e8657f7c..8d1067d8f58 100644 --- a/db/docs/security_orchestration_policy_rule_schedules.yml +++ b/db/docs/security_orchestration_policy_rule_schedules.yml @@ -8,3 +8,4 @@ description: | Security policies scheduled to run based on cadence defined in the policy introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/59842 milestone: '13.12' +gitlab_schema: gitlab_main diff --git a/db/docs/security_scans.yml b/db/docs/security_scans.yml index fc6732bc80f..b89faf6584d 100644 --- a/db/docs/security_scans.yml +++ b/db/docs/security_scans.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores information about the security scans that are a part of Ci::Build introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/23669 milestone: '12.8' +gitlab_schema: gitlab_main diff --git a/db/docs/security_training_providers.yml b/db/docs/security_training_providers.yml index b8c6bc7e01f..69c42a39d1a 100644 --- a/db/docs/security_training_providers.yml +++ b/db/docs/security_training_providers.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores information about the available security training providers introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/78195 milestone: '14.7' +gitlab_schema: gitlab_main diff --git a/db/docs/security_trainings.yml b/db/docs/security_trainings.yml index 2e84f8a5f65..6c55b6912e8 100644 --- a/db/docs/security_trainings.yml +++ b/db/docs/security_trainings.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores information about the primary security training provider for a given project introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/78195 milestone: '14.7' +gitlab_schema: gitlab_main diff --git a/db/docs/self_managed_prometheus_alert_events.yml b/db/docs/self_managed_prometheus_alert_events.yml index 83eb24475c9..08cdc639518 100644 --- a/db/docs/self_managed_prometheus_alert_events.yml +++ b/db/docs/self_managed_prometheus_alert_events.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/18046 milestone: '12.4' +gitlab_schema: gitlab_main diff --git a/db/docs/sent_notifications.yml b/db/docs/sent_notifications.yml index 9bc7158b067..4e5b93804e9 100644 --- a/db/docs/sent_notifications.yml +++ b/db/docs/sent_notifications.yml @@ -7,3 +7,4 @@ feature_categories: description: Information related to sent email notifications that supports reply-by-email functionality introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/1173 milestone: '8.0' +gitlab_schema: gitlab_main diff --git a/db/docs/sentry_issues.yml b/db/docs/sentry_issues.yml index af96751fc7d..25ff1ff9b8f 100644 --- a/db/docs/sentry_issues.yml +++ b/db/docs/sentry_issues.yml @@ -7,3 +7,4 @@ feature_categories: description: Persists issue data for the Error Tracking's Sentry backend introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/20629 milestone: '12.6' +gitlab_schema: gitlab_main diff --git a/db/docs/serverless_domain_cluster.yml b/db/docs/serverless_domain_cluster.yml index 2692eb22096..23c77b2c043 100644 --- a/db/docs/serverless_domain_cluster.yml +++ b/db/docs/serverless_domain_cluster.yml @@ -4,6 +4,7 @@ classes: - Serverless::DomainCluster feature_categories: - kubernetes_management -description: (Deprecated) A custom domain for a GitLab managed Knative installation +description: "(Deprecated) A custom domain for a GitLab managed Knative installation" introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/19835 milestone: '12.6' +gitlab_schema: gitlab_main diff --git a/db/docs/service_desk_settings.yml b/db/docs/service_desk_settings.yml index 1e924ecd01b..90c304c480c 100644 --- a/db/docs/service_desk_settings.yml +++ b/db/docs/service_desk_settings.yml @@ -7,3 +7,4 @@ feature_categories: description: Settings related to Service Desk such as templates to use for email notifications introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/19515 milestone: '12.6' +gitlab_schema: gitlab_main diff --git a/db/docs/shards.yml b/db/docs/shards.yml index ffd4be0b12d..bf6c7dd3959 100644 --- a/db/docs/shards.yml +++ b/db/docs/shards.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/f760c1cd17881c8aef3a33a3b43db54673db8111 milestone: '10.5' +gitlab_schema: gitlab_main diff --git a/db/docs/slack_integrations.yml b/db/docs/slack_integrations.yml index 031bd77ada6..2c997cd1087 100644 --- a/db/docs/slack_integrations.yml +++ b/db/docs/slack_integrations.yml @@ -7,3 +7,4 @@ feature_categories: description: Data related to the Slack application integration. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/f50ef96b87d8c785662e82843c22a2ef6093132e milestone: '9.4' +gitlab_schema: gitlab_main diff --git a/db/docs/smartcard_identities.yml b/db/docs/smartcard_identities.yml index ad798c0728d..76b8d1a1368 100644 --- a/db/docs/smartcard_identities.yml +++ b/db/docs/smartcard_identities.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/b6316689fdc2d142af85b17d511d39e50712b420 milestone: '11.6' +gitlab_schema: gitlab_main diff --git a/db/docs/snippet_repositories.yml b/db/docs/snippet_repositories.yml index 52a6b96c42c..f33c3828c46 100644 --- a/db/docs/snippet_repositories.yml +++ b/db/docs/snippet_repositories.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores repository information used to version control snippets. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/23796 milestone: '12.8' +gitlab_schema: gitlab_main diff --git a/db/docs/snippet_repository_storage_moves.yml b/db/docs/snippet_repository_storage_moves.yml index e8fea9995c7..8d6b7cfc668 100644 --- a/db/docs/snippet_repository_storage_moves.yml +++ b/db/docs/snippet_repository_storage_moves.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/45990 milestone: '13.6' +gitlab_schema: gitlab_main diff --git a/db/docs/snippet_statistics.yml b/db/docs/snippet_statistics.yml index 390d096d1d3..74a0d29bedc 100644 --- a/db/docs/snippet_statistics.yml +++ b/db/docs/snippet_statistics.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores the repository size, commit count, and file count regarding the snippet repository. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/35026 milestone: '13.2' +gitlab_schema: gitlab_main diff --git a/db/docs/snippet_user_mentions.yml b/db/docs/snippet_user_mentions.yml index aee265b202a..8f141bd0263 100644 --- a/db/docs/snippet_user_mentions.yml +++ b/db/docs/snippet_user_mentions.yml @@ -7,3 +7,4 @@ feature_categories: description: For storing mentioned users, groups, projects referenced in a snippet description. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/19009 milestone: '12.6' +gitlab_schema: gitlab_main diff --git a/db/docs/snippets.yml b/db/docs/snippets.yml index 1d8f7ca6b15..4d92b59c924 100644 --- a/db/docs/snippets.yml +++ b/db/docs/snippets.yml @@ -9,3 +9,4 @@ feature_categories: description: GitLab snippets allow you to store and share bits of code and text with other users. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/9265de3d25715aeafd38a4ef41596dca058dc18c milestone: "1.0.1" +gitlab_schema: gitlab_main diff --git a/db/docs/software_license_policies.yml b/db/docs/software_license_policies.yml index 615ae644985..b533ecfee01 100644 --- a/db/docs/software_license_policies.yml +++ b/db/docs/software_license_policies.yml @@ -7,3 +7,4 @@ feature_categories: description: Allows user to approve or deny the use certain software licenses in their project. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/6246 milestone: '11.2' +gitlab_schema: gitlab_main diff --git a/db/docs/software_licenses.yml b/db/docs/software_licenses.yml index 67ebd697fa8..c3cf32cc288 100644 --- a/db/docs/software_licenses.yml +++ b/db/docs/software_licenses.yml @@ -7,3 +7,4 @@ feature_categories: description: Normalized software licenses to use in conjunction with License Compliance features (like software license policies) introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/6246 milestone: '11.2' +gitlab_schema: gitlab_main diff --git a/db/docs/spam_logs.yml b/db/docs/spam_logs.yml index 6e16b3600c8..299d4cf9b1b 100644 --- a/db/docs/spam_logs.yml +++ b/db/docs/spam_logs.yml @@ -7,3 +7,4 @@ feature_categories: description: Logs users flagged by the Akismet anti-spam integration. introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/2266 milestone: '8.5' +gitlab_schema: gitlab_main diff --git a/db/docs/sprints.yml b/db/docs/sprints.yml index 7193c225dae..cee20a3bcb5 100644 --- a/db/docs/sprints.yml +++ b/db/docs/sprints.yml @@ -7,3 +7,4 @@ feature_categories: description: Also called iterations, timeboxes to which issues can be assigned. Used to plan and track work. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/30125 milestone: '13.0' +gitlab_schema: gitlab_main diff --git a/db/docs/ssh_signatures.yml b/db/docs/ssh_signatures.yml index 7907f335585..583485d9bac 100644 --- a/db/docs/ssh_signatures.yml +++ b/db/docs/ssh_signatures.yml @@ -9,3 +9,4 @@ description: > is part of the commit body and is stored in Gitaly. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/87962 milestone: '15.1' +gitlab_schema: gitlab_main diff --git a/db/docs/status_check_responses.yml b/db/docs/status_check_responses.yml index 0959a44106b..bcb063400e1 100644 --- a/db/docs/status_check_responses.yml +++ b/db/docs/status_check_responses.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/61135 milestone: '13.12' +gitlab_schema: gitlab_main diff --git a/db/docs/status_page_published_incidents.yml b/db/docs/status_page_published_incidents.yml index 4a21ed156f2..92489209d1b 100644 --- a/db/docs/status_page_published_incidents.yml +++ b/db/docs/status_page_published_incidents.yml @@ -7,3 +7,4 @@ feature_categories: description: Corresponds to an issue which has been published to the Status Page introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/29994 milestone: '13.0' +gitlab_schema: gitlab_main diff --git a/db/docs/status_page_settings.yml b/db/docs/status_page_settings.yml index a5cefe70300..0e948b6da5c 100644 --- a/db/docs/status_page_settings.yml +++ b/db/docs/status_page_settings.yml @@ -7,3 +7,4 @@ feature_categories: description: Project settings related to Status Page introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/25863 milestone: '12.9' +gitlab_schema: gitlab_main diff --git a/db/docs/subscriptions.yml b/db/docs/subscriptions.yml index 0f20343bb5e..d129bc40401 100644 --- a/db/docs/subscriptions.yml +++ b/db/docs/subscriptions.yml @@ -7,3 +7,4 @@ feature_categories: description: Subscriptions between users and subscribable objects; such as issues, epics and MRs. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/410d25c8ca8afabb25e5f89b36e3cfd09ffe6f87 milestone: '7.9' +gitlab_schema: gitlab_main diff --git a/db/docs/suggestions.yml b/db/docs/suggestions.yml index 837fb58af04..7667a693b32 100644 --- a/db/docs/suggestions.yml +++ b/db/docs/suggestions.yml @@ -7,3 +7,4 @@ feature_categories: description: Storing code suggestions within notes introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/8656 milestone: '11.6' +gitlab_schema: gitlab_main diff --git a/db/docs/system_note_metadata.yml b/db/docs/system_note_metadata.yml index 40b193a4b91..371f90e2bc6 100644 --- a/db/docs/system_note_metadata.yml +++ b/db/docs/system_note_metadata.yml @@ -7,3 +7,4 @@ feature_categories: description: Used to store notes metadata introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/1c3c7fb25d972fc19d5b4bb371cb21094d81e478 milestone: '9.1' +gitlab_schema: gitlab_main diff --git a/db/docs/taggings.yml b/db/docs/taggings.yml index 71078ab9c19..a981907486f 100644 --- a/db/docs/taggings.yml +++ b/db/docs/taggings.yml @@ -7,4 +7,5 @@ feature_categories: - runner description: Taggings applied to arbitrary models based on entries in the 'tags' table introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/b946da44695c9c8fe8867bb87bcdf801c52177d3 -milestone: "1.2" +milestone: '1.2' +gitlab_schema: gitlab_ci diff --git a/db/docs/tags.yml b/db/docs/tags.yml index 9ae2a4361ff..28337af9291 100644 --- a/db/docs/tags.yml +++ b/db/docs/tags.yml @@ -8,3 +8,4 @@ feature_categories: description: Tags applied to arbitrary models through the 'taggings' table introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/b946da44695c9c8fe8867bb87bcdf801c52177d3 milestone: "<6.0" +gitlab_schema: gitlab_ci diff --git a/db/docs/term_agreements.yml b/db/docs/term_agreements.yml index dd0bd829b19..502adad8ac0 100644 --- a/db/docs/term_agreements.yml +++ b/db/docs/term_agreements.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/82eeb72c8c03727540b902d40e7e657d0a5ecb4c milestone: '10.8' +gitlab_schema: gitlab_main diff --git a/db/docs/terraform_state_versions.yml b/db/docs/terraform_state_versions.yml index 1d98b049f45..ba5578ebe9f 100644 --- a/db/docs/terraform_state_versions.yml +++ b/db/docs/terraform_state_versions.yml @@ -7,3 +7,4 @@ feature_categories: description: Represents a Terraform state file at a point in time, with a corresponding file stored in object storage introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/35211 milestone: '13.4' +gitlab_schema: gitlab_main diff --git a/db/docs/terraform_states.yml b/db/docs/terraform_states.yml index dc2bc799582..eca77b164a8 100644 --- a/db/docs/terraform_states.yml +++ b/db/docs/terraform_states.yml @@ -7,3 +7,4 @@ feature_categories: description: Represents a Terraform state backend introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/26619 milestone: '13.0' +gitlab_schema: gitlab_main diff --git a/db/docs/timelog_categories.yml b/db/docs/timelog_categories.yml index 7be6c588f0e..8448e3dd59f 100644 --- a/db/docs/timelog_categories.yml +++ b/db/docs/timelog_categories.yml @@ -7,3 +7,4 @@ feature_categories: description: Categories that can be associated to a timelog to categorize them introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/87529 milestone: '15.1' +gitlab_schema: gitlab_main diff --git a/db/docs/timelogs.yml b/db/docs/timelogs.yml index 0aebf8ec5db..3b2b5982897 100644 --- a/db/docs/timelogs.yml +++ b/db/docs/timelogs.yml @@ -7,3 +7,4 @@ feature_categories: description: Time spend data recorded by users on issues introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/870 milestone: '8.14' +gitlab_schema: gitlab_main diff --git a/db/docs/todos.yml b/db/docs/todos.yml index 1a146e29d2f..d7328af05b9 100644 --- a/db/docs/todos.yml +++ b/db/docs/todos.yml @@ -7,3 +7,4 @@ feature_categories: description: An action required or notification of action taken for a user on a target object, generated by various actions within the GitLab application introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/3d52e139b13ad077286f2f9f46b7e98f43ad9564 milestone: '8.5' +gitlab_schema: gitlab_main diff --git a/db/docs/token_with_ivs.yml b/db/docs/token_with_ivs.yml index 1df428afdaa..2acdff0dad1 100644 --- a/db/docs/token_with_ivs.yml +++ b/db/docs/token_with_ivs.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/37b80b4048190c2e1a35ec399e4aeb35d511090e milestone: '13.9' +gitlab_schema: gitlab_main diff --git a/db/docs/topics.yml b/db/docs/topics.yml index 25a448e3361..4411566e7ec 100644 --- a/db/docs/topics.yml +++ b/db/docs/topics.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores topics that can be assigned to projects introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/67574 milestone: '14.3' +gitlab_schema: gitlab_main diff --git a/db/docs/trending_projects.yml b/db/docs/trending_projects.yml index 1ee72f2d244..58a8421cbdf 100644 --- a/db/docs/trending_projects.yml +++ b/db/docs/trending_projects.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores the list of trending projects introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/6749 milestone: '8.13' +gitlab_schema: gitlab_main diff --git a/db/docs/u2f_registrations.yml b/db/docs/u2f_registrations.yml index c6e1b65eea4..27b0ca3f2f5 100644 --- a/db/docs/u2f_registrations.yml +++ b/db/docs/u2f_registrations.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/791cc9138be6ea1783e3c3853370cf0290f4d41e milestone: '8.9' +gitlab_schema: gitlab_main diff --git a/db/docs/upcoming_reconciliations.yml b/db/docs/upcoming_reconciliations.yml index 722fa2aee70..9e89bb1a57f 100644 --- a/db/docs/upcoming_reconciliations.yml +++ b/db/docs/upcoming_reconciliations.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores the data needed to notify a user of an upcoming reconciliation introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/63054 milestone: '14.0' +gitlab_schema: gitlab_main diff --git a/db/docs/upload_states.yml b/db/docs/upload_states.yml index 29df41c07dd..e6e86cb4bb1 100644 --- a/db/docs/upload_states.yml +++ b/db/docs/upload_states.yml @@ -7,3 +7,4 @@ feature_categories: description: Separate table for uploads containing Geo verification metadata. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/65921 milestone: '14.6' +gitlab_schema: gitlab_main diff --git a/db/docs/uploads.yml b/db/docs/uploads.yml index 53cfd49839a..b22f8b1d1ad 100644 --- a/db/docs/uploads.yml +++ b/db/docs/uploads.yml @@ -13,3 +13,4 @@ feature_categories: description: For tracking blob metadata. Single table inheritance is used to relate this table to many other tables. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/4c622b71fd284058deee483bf0009f8179b792bc milestone: '9.0' +gitlab_schema: gitlab_main diff --git a/db/docs/user_agent_details.yml b/db/docs/user_agent_details.yml index 53292bf93f1..08cd811b60b 100644 --- a/db/docs/user_agent_details.yml +++ b/db/docs/user_agent_details.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores user agent details for submission to Akismet spam detection. introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/5538 milestone: '8.11' +gitlab_schema: gitlab_main diff --git a/db/docs/user_callouts.yml b/db/docs/user_callouts.yml index 63ee837eb2c..b77f2e538e4 100644 --- a/db/docs/user_callouts.yml +++ b/db/docs/user_callouts.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/16735 milestone: '10.5' +gitlab_schema: gitlab_main diff --git a/db/docs/user_canonical_emails.yml b/db/docs/user_canonical_emails.yml index 4d9c3ba4797..aeb1c3d830f 100644 --- a/db/docs/user_canonical_emails.yml +++ b/db/docs/user_canonical_emails.yml @@ -7,3 +7,4 @@ feature_categories: description: stores the canonical version of user's primary email address introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/27722 milestone: '13.0' +gitlab_schema: gitlab_main diff --git a/db/docs/user_credit_card_validations.yml b/db/docs/user_credit_card_validations.yml index 1ba8bf40460..4c8a851ade7 100644 --- a/db/docs/user_credit_card_validations.yml +++ b/db/docs/user_credit_card_validations.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores whether the user has completed a first time validation to run CI pipelines introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/60626 milestone: '13.12' +gitlab_schema: gitlab_main diff --git a/db/docs/user_custom_attributes.yml b/db/docs/user_custom_attributes.yml index 956450acb68..992f790cf24 100644 --- a/db/docs/user_custom_attributes.yml +++ b/db/docs/user_custom_attributes.yml @@ -7,3 +7,4 @@ feature_categories: description: Storing custom attributes per user introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/13038 milestone: '10.1' +gitlab_schema: gitlab_main diff --git a/db/docs/user_details.yml b/db/docs/user_details.yml index 636074214b0..7001c22289d 100644 --- a/db/docs/user_details.yml +++ b/db/docs/user_details.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores user details introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/25483 milestone: '12.9' +gitlab_schema: gitlab_main diff --git a/db/docs/user_follow_users.yml b/db/docs/user_follow_users.yml index 56243b97546..12d64b01a1d 100644 --- a/db/docs/user_follow_users.yml +++ b/db/docs/user_follow_users.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores which users follow each other introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/45451 milestone: '13.9' +gitlab_schema: gitlab_main diff --git a/db/docs/user_group_callouts.yml b/db/docs/user_group_callouts.yml index 910752339ed..41028319708 100644 --- a/db/docs/user_group_callouts.yml +++ b/db/docs/user_group_callouts.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/68785 milestone: '14.3' +gitlab_schema: gitlab_main diff --git a/db/docs/user_highest_roles.yml b/db/docs/user_highest_roles.yml index 23754f7c8d3..8713aff5f3f 100644 --- a/db/docs/user_highest_roles.yml +++ b/db/docs/user_highest_roles.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/26987 milestone: '12.9' +gitlab_schema: gitlab_main diff --git a/db/docs/user_interacted_projects.yml b/db/docs/user_interacted_projects.yml index e62e863b0a9..206cb76c496 100644 --- a/db/docs/user_interacted_projects.yml +++ b/db/docs/user_interacted_projects.yml @@ -7,3 +7,4 @@ feature_categories: description: Tracks which projects a given user has actively interacted with introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/17327 milestone: '10.6' +gitlab_schema: gitlab_main diff --git a/db/docs/user_namespace_callouts.yml b/db/docs/user_namespace_callouts.yml index 5038ecce3bc..3f057e21aee 100644 --- a/db/docs/user_namespace_callouts.yml +++ b/db/docs/user_namespace_callouts.yml @@ -1,4 +1,3 @@ - --- table_name: user_namespace_callouts classes: @@ -8,3 +7,4 @@ feature_categories: description: Contains records of which users have dismissed a callout, grouped by namespace. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/91092 milestone: '15.2' +gitlab_schema: gitlab_main diff --git a/db/docs/user_permission_export_uploads.yml b/db/docs/user_permission_export_uploads.yml index 93f7e360ec2..217ede5bad2 100644 --- a/db/docs/user_permission_export_uploads.yml +++ b/db/docs/user_permission_export_uploads.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/47846 milestone: '13.7' +gitlab_schema: gitlab_main diff --git a/db/docs/user_phone_number_validations.yml b/db/docs/user_phone_number_validations.yml index 9feacd76c5a..5d0100cdb95 100644 --- a/db/docs/user_phone_number_validations.yml +++ b/db/docs/user_phone_number_validations.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores whether the user has verified their phone number introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/97762 milestone: '15.5' +gitlab_schema: gitlab_main diff --git a/db/docs/user_preferences.yml b/db/docs/user_preferences.yml index b9afb679503..7bc1ab27ccb 100644 --- a/db/docs/user_preferences.yml +++ b/db/docs/user_preferences.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores users' preferences introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/7816 milestone: '11.5' +gitlab_schema: gitlab_main diff --git a/db/docs/user_project_callouts.yml b/db/docs/user_project_callouts.yml index 308c3048aa7..40ccfa243ac 100644 --- a/db/docs/user_project_callouts.yml +++ b/db/docs/user_project_callouts.yml @@ -7,3 +7,4 @@ feature_categories: description: Adds the ability to track a user callout being dismissed by project introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/94144 milestone: '15.3' +gitlab_schema: gitlab_main diff --git a/db/docs/user_statuses.yml b/db/docs/user_statuses.yml index 94aaff70d85..e5f4d4ee72f 100644 --- a/db/docs/user_statuses.yml +++ b/db/docs/user_statuses.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores users' statuses introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/20614 milestone: '11.2' +gitlab_schema: gitlab_main diff --git a/db/docs/user_synced_attributes_metadata.yml b/db/docs/user_synced_attributes_metadata.yml index 73f3e6166ed..efc0ad1ec95 100644 --- a/db/docs/user_synced_attributes_metadata.yml +++ b/db/docs/user_synced_attributes_metadata.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/4df54f260751a832ebf0b8c18524020d6604994b milestone: '10.0' +gitlab_schema: gitlab_main diff --git a/db/docs/users.yml b/db/docs/users.yml index 7c6a7fbdcb8..324d81850a1 100644 --- a/db/docs/users.yml +++ b/db/docs/users.yml @@ -9,3 +9,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/9ba1224867665844b117fa037e1465bb706b3685 milestone: "<6.0" +gitlab_schema: gitlab_main diff --git a/db/docs/users_ops_dashboard_projects.yml b/db/docs/users_ops_dashboard_projects.yml index d8854d1db45..d09d3196e19 100644 --- a/db/docs/users_ops_dashboard_projects.yml +++ b/db/docs/users_ops_dashboard_projects.yml @@ -7,3 +7,4 @@ feature_categories: description: https://docs.gitlab.com/ee/user/operations_dashboard/ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/7341 milestone: '11.5' +gitlab_schema: gitlab_main diff --git a/db/docs/users_security_dashboard_projects.yml b/db/docs/users_security_dashboard_projects.yml index 4c379e5739d..9d5d8cfbe2b 100644 --- a/db/docs/users_security_dashboard_projects.yml +++ b/db/docs/users_security_dashboard_projects.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores projects which users select to appear in their Security Dashboard introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/18708 milestone: '12.5' +gitlab_schema: gitlab_main diff --git a/db/docs/users_star_projects.yml b/db/docs/users_star_projects.yml index 0199a0e3433..df03f721d57 100644 --- a/db/docs/users_star_projects.yml +++ b/db/docs/users_star_projects.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores conection between users and project through staring action introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/714f7201d3362793d11f33793e5ef6dc83bdd2f0 milestone: '7.1' +gitlab_schema: gitlab_main diff --git a/db/docs/users_statistics.yml b/db/docs/users_statistics.yml index f2c44cc456e..9110ee6063d 100644 --- a/db/docs/users_statistics.yml +++ b/db/docs/users_statistics.yml @@ -7,3 +7,4 @@ feature_categories: description: User statistics introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/26261 milestone: '12.9' +gitlab_schema: gitlab_main diff --git a/db/docs/verification_codes.yml b/db/docs/verification_codes.yml index 24c4d0991f9..9d0e3f53830 100644 --- a/db/docs/verification_codes.yml +++ b/db/docs/verification_codes.yml @@ -6,3 +6,4 @@ feature_categories: description: Used by the JiHu edition for user verification introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/71139 milestone: '14.4' +gitlab_schema: gitlab_main diff --git a/db/docs/vulnerabilities.yml b/db/docs/vulnerabilities.yml index 72f080a075f..11e7885f7cc 100644 --- a/db/docs/vulnerabilities.yml +++ b/db/docs/vulnerabilities.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores information about vulnerabilites present in the project's source code introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/16181 milestone: '12.4' +gitlab_schema: gitlab_main diff --git a/db/docs/vulnerability_advisories.yml b/db/docs/vulnerability_advisories.yml index 2c88be94a11..18029e784b5 100644 --- a/db/docs/vulnerability_advisories.yml +++ b/db/docs/vulnerability_advisories.yml @@ -9,3 +9,4 @@ feature_categories: description: Stores vulnerability advisories introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/95622 milestone: '15.4' +gitlab_schema: gitlab_main diff --git a/db/docs/vulnerability_exports.yml b/db/docs/vulnerability_exports.yml index 4254a4426d6..823ec9ac252 100644 --- a/db/docs/vulnerability_exports.yml +++ b/db/docs/vulnerability_exports.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores metadata about exported Vulnerabilities CSV files introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/27196 milestone: '13.0' +gitlab_schema: gitlab_main diff --git a/db/docs/vulnerability_external_issue_links.yml b/db/docs/vulnerability_external_issue_links.yml index 2adf90e6838..4c2dcd8d8d6 100644 --- a/db/docs/vulnerability_external_issue_links.yml +++ b/db/docs/vulnerability_external_issue_links.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores information about connections between external issue trackers and vulnerabilities introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/48465 milestone: '13.7' +gitlab_schema: gitlab_main diff --git a/db/docs/vulnerability_feedback.yml b/db/docs/vulnerability_feedback.yml index bcd8c3935e6..473ae398531 100644 --- a/db/docs/vulnerability_feedback.yml +++ b/db/docs/vulnerability_feedback.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores information about the confirm, dismiss, or create issue to investigate actions taken on vulnerabilities introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/5452 milestone: '10.8' +gitlab_schema: gitlab_main diff --git a/db/docs/vulnerability_finding_evidences.yml b/db/docs/vulnerability_finding_evidences.yml index 0c7fc7c7fdd..35ecfd57fe3 100644 --- a/db/docs/vulnerability_finding_evidences.yml +++ b/db/docs/vulnerability_finding_evidences.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores evidence used to identify presence of a vulnerability introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56790 milestone: '13.11' +gitlab_schema: gitlab_main diff --git a/db/docs/vulnerability_finding_links.yml b/db/docs/vulnerability_finding_links.yml index c259778cb09..267355dd873 100644 --- a/db/docs/vulnerability_finding_links.yml +++ b/db/docs/vulnerability_finding_links.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores URLs relevant to the vulnerability findings introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/46555 milestone: '13.6' +gitlab_schema: gitlab_main diff --git a/db/docs/vulnerability_finding_signatures.yml b/db/docs/vulnerability_finding_signatures.yml index a9faf1e8a1b..9a1e59697cf 100644 --- a/db/docs/vulnerability_finding_signatures.yml +++ b/db/docs/vulnerability_finding_signatures.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores signatures of vulnerability locations which are used to improve tracking introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/57840 milestone: '13.11' +gitlab_schema: gitlab_main diff --git a/db/docs/vulnerability_findings_remediations.yml b/db/docs/vulnerability_findings_remediations.yml index f59b2360f42..ffadb160b76 100644 --- a/db/docs/vulnerability_findings_remediations.yml +++ b/db/docs/vulnerability_findings_remediations.yml @@ -7,3 +7,4 @@ feature_categories: description: Join table between Remediations and Findings introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/47166 milestone: '13.7' +gitlab_schema: gitlab_main diff --git a/db/docs/vulnerability_flags.yml b/db/docs/vulnerability_flags.yml index 5d26faf66e0..fabc8a48200 100644 --- a/db/docs/vulnerability_flags.yml +++ b/db/docs/vulnerability_flags.yml @@ -4,6 +4,7 @@ classes: - Vulnerabilities::Flag feature_categories: - vulnerability_management -description: Stores additional information for vulnerabilities, for example if a vulnerability is identified as a false positive +description: Stores additional information for vulnerabilities, for example if a vulnerability is identified as a false positive introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/65573 milestone: '14.1' +gitlab_schema: gitlab_main diff --git a/db/docs/vulnerability_historical_statistics.yml b/db/docs/vulnerability_historical_statistics.yml index 22622f2494d..5efa7a51e0f 100644 --- a/db/docs/vulnerability_historical_statistics.yml +++ b/db/docs/vulnerability_historical_statistics.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores aggregate vulnerability statistics which are used in the Security Dashboard introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/36955 milestone: '13.3' +gitlab_schema: gitlab_main diff --git a/db/docs/vulnerability_identifiers.yml b/db/docs/vulnerability_identifiers.yml index 9be03505671..fa8f63507e1 100644 --- a/db/docs/vulnerability_identifiers.yml +++ b/db/docs/vulnerability_identifiers.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores identifiers (like CVE or CWE) for vulnerabilities that have been found introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/6896 milestone: '11.4' +gitlab_schema: gitlab_main diff --git a/db/docs/vulnerability_issue_links.yml b/db/docs/vulnerability_issue_links.yml index 8503af34831..4bbc587707e 100644 --- a/db/docs/vulnerability_issue_links.yml +++ b/db/docs/vulnerability_issue_links.yml @@ -7,3 +7,4 @@ feature_categories: description: Join table between Vulnerabilities and Issues introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/19852 milestone: '12.5' +gitlab_schema: gitlab_main diff --git a/db/docs/vulnerability_merge_request_links.yml b/db/docs/vulnerability_merge_request_links.yml index 7c9d958303f..8cc71b2a76a 100644 --- a/db/docs/vulnerability_merge_request_links.yml +++ b/db/docs/vulnerability_merge_request_links.yml @@ -7,3 +7,4 @@ feature_categories: description: Join table between Vulnerabilities and Merge Requests introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/92096 milestone: '15.2' +gitlab_schema: gitlab_main diff --git a/db/docs/vulnerability_occurrence_identifiers.yml b/db/docs/vulnerability_occurrence_identifiers.yml index 77b985e3e02..cd2236631aa 100644 --- a/db/docs/vulnerability_occurrence_identifiers.yml +++ b/db/docs/vulnerability_occurrence_identifiers.yml @@ -7,3 +7,4 @@ feature_categories: description: Join table between Findings and Identifiers introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/6896 milestone: '11.4' +gitlab_schema: gitlab_main diff --git a/db/docs/vulnerability_occurrence_pipelines.yml b/db/docs/vulnerability_occurrence_pipelines.yml index 5c798e7a2ac..542d4026824 100644 --- a/db/docs/vulnerability_occurrence_pipelines.yml +++ b/db/docs/vulnerability_occurrence_pipelines.yml @@ -7,3 +7,4 @@ feature_categories: description: Join table between Findings and Pipelines introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/7578 milestone: '11.5' +gitlab_schema: gitlab_main diff --git a/db/docs/vulnerability_occurrences.yml b/db/docs/vulnerability_occurrences.yml index 919a0ae19e7..90795b94c45 100644 --- a/db/docs/vulnerability_occurrences.yml +++ b/db/docs/vulnerability_occurrences.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores information about findings for a given vulnerability introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/6896 milestone: '11.4' +gitlab_schema: gitlab_main diff --git a/db/docs/vulnerability_reads.yml b/db/docs/vulnerability_reads.yml index 29727da2e69..a7f589bf74e 100644 --- a/db/docs/vulnerability_reads.yml +++ b/db/docs/vulnerability_reads.yml @@ -7,3 +7,4 @@ feature_categories: description: Denormalized version of the vulnerabilites table used for faster reads introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/74733 milestone: '14.6' +gitlab_schema: gitlab_main diff --git a/db/docs/vulnerability_remediations.yml b/db/docs/vulnerability_remediations.yml index 3f4e93ba0d8..d522a2147c0 100644 --- a/db/docs/vulnerability_remediations.yml +++ b/db/docs/vulnerability_remediations.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores remediation information, such as diffs, for a given vulnerability introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/47166 milestone: '13.7' +gitlab_schema: gitlab_main diff --git a/db/docs/vulnerability_scanners.yml b/db/docs/vulnerability_scanners.yml index 2ea7a3763d6..90e8808e929 100644 --- a/db/docs/vulnerability_scanners.yml +++ b/db/docs/vulnerability_scanners.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores information about the vulnerability scanners used by projects introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/6896 milestone: '11.4' +gitlab_schema: gitlab_main diff --git a/db/docs/vulnerability_state_transitions.yml b/db/docs/vulnerability_state_transitions.yml index 908b4120b47..0f168f7a0ee 100644 --- a/db/docs/vulnerability_state_transitions.yml +++ b/db/docs/vulnerability_state_transitions.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores state transitions of a Vulnerability introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/87957 milestone: '15.1' +gitlab_schema: gitlab_main diff --git a/db/docs/vulnerability_statistics.yml b/db/docs/vulnerability_statistics.yml index c94145e24f1..fbe1f07fbcc 100644 --- a/db/docs/vulnerability_statistics.yml +++ b/db/docs/vulnerability_statistics.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores pre-calculated vulnerability statistics for projects introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/34289 milestone: '13.2' +gitlab_schema: gitlab_main diff --git a/db/docs/vulnerability_user_mentions.yml b/db/docs/vulnerability_user_mentions.yml index 4e4a07e97ac..9a95c834726 100644 --- a/db/docs/vulnerability_user_mentions.yml +++ b/db/docs/vulnerability_user_mentions.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores notes for a given vulnerability introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/27515 milestone: '13.0' +gitlab_schema: gitlab_main diff --git a/db/docs/web_hook_logs.yml b/db/docs/web_hook_logs.yml index e7ed77112bb..d342c9a9ed0 100644 --- a/db/docs/web_hook_logs.yml +++ b/db/docs/web_hook_logs.yml @@ -7,3 +7,4 @@ feature_categories: description: Webhooks logs data. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/330789c23c777d8ca646eba7c25f39cb7342cdee milestone: '9.3' +gitlab_schema: gitlab_main diff --git a/db/docs/web_hooks.yml b/db/docs/web_hooks.yml index 3c43dd837b5..6300a2f7c32 100644 --- a/db/docs/web_hooks.yml +++ b/db/docs/web_hooks.yml @@ -11,3 +11,4 @@ feature_categories: description: Webhooks data with the custom HTTP callbacks that a user defines. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/edab46e9fa5f568b1423c0021e81d30453d7dc1e milestone: "<6.0" +gitlab_schema: gitlab_main diff --git a/db/docs/webauthn_registrations.yml b/db/docs/webauthn_registrations.yml index 13c4c28e24b..fc983ea60ca 100644 --- a/db/docs/webauthn_registrations.yml +++ b/db/docs/webauthn_registrations.yml @@ -7,3 +7,4 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/35797 milestone: '13.2' +gitlab_schema: gitlab_main diff --git a/db/docs/wiki_page_meta.yml b/db/docs/wiki_page_meta.yml index bed636eed08..2af6c3dc587 100644 --- a/db/docs/wiki_page_meta.yml +++ b/db/docs/wiki_page_meta.yml @@ -7,3 +7,4 @@ feature_categories: description: Used to record the metadata for wiki pages when we create events. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/26529 milestone: '13.0' +gitlab_schema: gitlab_main diff --git a/db/docs/wiki_page_slugs.yml b/db/docs/wiki_page_slugs.yml index a6997322f73..89c9da260d8 100644 --- a/db/docs/wiki_page_slugs.yml +++ b/db/docs/wiki_page_slugs.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores wiki page slug metadata for when we create events. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/26529 milestone: '13.0' +gitlab_schema: gitlab_main diff --git a/db/docs/work_item_parent_links.yml b/db/docs/work_item_parent_links.yml index f4b5cd20abb..3966154a17e 100644 --- a/db/docs/work_item_parent_links.yml +++ b/db/docs/work_item_parent_links.yml @@ -8,3 +8,4 @@ feature_categories: description: Persists link between work item and its parent. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/87283 milestone: '15.1' +gitlab_schema: gitlab_main diff --git a/db/docs/work_item_types.yml b/db/docs/work_item_types.yml index afb694bca79..21ec69da152 100644 --- a/db/docs/work_item_types.yml +++ b/db/docs/work_item_types.yml @@ -7,3 +7,4 @@ feature_categories: description: The work item type related to an issue. Currently one of a predefined set but in future will support custom types. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/55705 milestone: '14.2' +gitlab_schema: gitlab_main diff --git a/db/docs/x509_certificates.yml b/db/docs/x509_certificates.yml index bcf976155f4..364bd3615bb 100644 --- a/db/docs/x509_certificates.yml +++ b/db/docs/x509_certificates.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores data about X.509 certificate introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/17773 milestone: '12.8' +gitlab_schema: gitlab_main diff --git a/db/docs/x509_commit_signatures.yml b/db/docs/x509_commit_signatures.yml index 170294c8d56..2d95eaa609e 100644 --- a/db/docs/x509_commit_signatures.yml +++ b/db/docs/x509_commit_signatures.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores X.509 verification status of the commit introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/17773 milestone: '12.8' +gitlab_schema: gitlab_main diff --git a/db/docs/x509_issuers.yml b/db/docs/x509_issuers.yml index 30bbe8e4b12..04253f903be 100644 --- a/db/docs/x509_issuers.yml +++ b/db/docs/x509_issuers.yml @@ -7,3 +7,4 @@ feature_categories: description: Stores data about issuer of X.509 certificate introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/17773 milestone: '12.8' +gitlab_schema: gitlab_main diff --git a/db/docs/zentao_tracker_data.yml b/db/docs/zentao_tracker_data.yml index c99aebd70e2..c02e08bb5e8 100644 --- a/db/docs/zentao_tracker_data.yml +++ b/db/docs/zentao_tracker_data.yml @@ -7,3 +7,4 @@ feature_categories: description: Data related to the ZenTao integration. introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/67938 milestone: '14.2' +gitlab_schema: gitlab_main diff --git a/db/docs/zoom_meetings.yml b/db/docs/zoom_meetings.yml index 620df953ad5..95bb98bf896 100644 --- a/db/docs/zoom_meetings.yml +++ b/db/docs/zoom_meetings.yml @@ -7,3 +7,4 @@ feature_categories: description: Persists Zoom meetings, its associations and its metadata introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/17890 milestone: '12.5' +gitlab_schema: gitlab_main diff --git a/doc/api/graphql/index.md b/doc/api/graphql/index.md index 4cf296ac1f3..0ae6013df80 100644 --- a/doc/api/graphql/index.md +++ b/doc/api/graphql/index.md @@ -172,6 +172,7 @@ Limit | Default Max page size | 100 records (nodes) per page. Applies to most connections in the API. Particular connections may have different max page size limits that are higher or lower. [Max query complexity](#max-query-complexity) | `200` for unauthenticated requests and `250` for authenticated requests. Request timeout | 30 seconds. +Max query size | 10,000 characters per query. If this limit is reached, use [variables](https://graphql.org/learn/queries/#variables) and [fragments](https://graphql.org/learn/queries/#fragments) to reduce the query size. Remove white spaces as last resort. ### Max query complexity diff --git a/doc/api/group_import_export.md b/doc/api/group_import_export.md index 1efed80699b..989b7a66285 100644 --- a/doc/api/group_import_export.md +++ b/doc/api/group_import_export.md @@ -102,7 +102,7 @@ curl --request POST --header "PRIVATE-TOKEN: <your_access_token>" \ NOTE: The maximum import file size can be set by the Administrator, default is `0` (unlimited). -As an administrator, you can modify the maximum import file size. To do so, use the `max_import_size` option in the [Application settings API](settings.md#change-application-settings) or the [Admin Area](../user/admin_area/settings/account_and_limit_settings.md). Default [modified](https://gitlab.com/gitlab-org/gitlab/-/issues/251106) from 50MB to 0 in GitLab 13.8. +As an administrator, you can modify the maximum import file size. To do so, use the `max_import_size` option in the [Application settings API](settings.md#change-application-settings) or the [Admin Area](../user/admin_area/settings/account_and_limit_settings.md). Default [modified](https://gitlab.com/gitlab-org/gitlab/-/issues/251106) from 50 MB to 0 in GitLab 13.8. ## Important notes @@ -111,6 +111,6 @@ Note the following: - To preserve group-level relationships from imported projects, run Group Import/Export first, to allow project imports into the desired group structure. - Imported groups are given a `private` visibility level, unless imported into a parent group. -- If imported into a parent group, subgroups will inherit a similar level of visibility, unless otherwise restricted. +- If imported into a parent group, subgroups inherit a similar level of visibility, unless otherwise restricted. - To preserve the member list and their respective permissions on imported groups, review the users in these groups. Make sure these users exist before importing the desired groups. diff --git a/doc/api/issues.md b/doc/api/issues.md index dd5a1354a3a..94547d69064 100644 --- a/doc/api/issues.md +++ b/doc/api/issues.md @@ -2010,7 +2010,7 @@ POST /projects/:id/issues/:issue_iid/time_estimate | Attribute | Type | Required | Description | |-------------|---------|----------|------------------------------------------| -| `duration` | string | yes | The duration in human format. e.g: 3h30m | +| `duration` | string | yes | The duration in human format. e.g: `3h30m` | | `id` | integer/string | yes | The global ID or [URL-encoded path of the project](index.md#namespaced-path-encoding) owned by the authenticated user | | `issue_iid` | integer | yes | The internal ID of a project's issue | @@ -2067,7 +2067,7 @@ POST /projects/:id/issues/:issue_iid/add_spent_time | Attribute | Type | Required | Description | |-------------|---------|----------|------------------------------------------| -| `duration` | string | yes | The duration in human format. e.g: 3h30m | +| `duration` | string | yes | The duration in human format. e.g: `3h30m` | | `id` | integer/string | yes | The global ID or [URL-encoded path of the project](index.md#namespaced-path-encoding) owned by the authenticated user | | `issue_iid` | integer | yes | The internal ID of a project's issue | | `summary` | string | no | A summary of how the time was spent | diff --git a/doc/api/project_import_export.md b/doc/api/project_import_export.md index 83d8746e1d0..1106e306d4e 100644 --- a/doc/api/project_import_export.md +++ b/doc/api/project_import_export.md @@ -187,7 +187,7 @@ requests.post(url, headers=headers, data=data, files=files) NOTE: The maximum import file size can be set by the Administrator, default is `0` (unlimited).. -As an administrator, you can modify the maximum import file size. To do so, use the `max_import_size` option in the [Application settings API](settings.md#change-application-settings) or the [Admin Area](../user/admin_area/settings/account_and_limit_settings.md). Default [modified](https://gitlab.com/gitlab-org/gitlab/-/issues/251106) from 50MB to 0 in GitLab 13.8. +As an administrator, you can modify the maximum import file size. To do so, use the `max_import_size` option in the [Application settings API](settings.md#change-application-settings) or the [Admin Area](../user/admin_area/settings/account_and_limit_settings.md). Default [modified](https://gitlab.com/gitlab-org/gitlab/-/issues/251106) from 50 MB to 0 in GitLab 13.8. ## Import a file from a remote object storage diff --git a/doc/api/settings.md b/doc/api/settings.md index 3a3cd50911f..76bb6d1e665 100644 --- a/doc/api/settings.md +++ b/doc/api/settings.md @@ -449,7 +449,7 @@ listed in the descriptions of the relevant settings. | `shared_runners_minutes` **(PREMIUM)** | integer | required by: `shared_runners_enabled` | Set the maximum number of CI/CD minutes that a group can use on shared runners per month. | | `shared_runners_text` | string | required by: `shared_runners_enabled` | Shared runners text. | | `sidekiq_job_limiter_mode` | string | no | `track` or `compress`. Sets the behavior for [Sidekiq job size limits](../user/admin_area/settings/sidekiq_job_limits.md). Default: 'compress'. | -| `sidekiq_job_limiter_compression_threshold_bytes` | integer | no | The threshold in bytes at which Sidekiq jobs are compressed before being stored in Redis. Default: 100 000 bytes (100KB). | +| `sidekiq_job_limiter_compression_threshold_bytes` | integer | no | The threshold in bytes at which Sidekiq jobs are compressed before being stored in Redis. Default: 100,000 bytes (100 KB). | | `sidekiq_job_limiter_limit_bytes` | integer | no | The threshold in bytes at which Sidekiq jobs are rejected. Default: 0 bytes (doesn't reject any job). | | `sign_in_text` | string | no | Text on the login page. | | `signin_enabled` | string | no | (Deprecated: Use `password_authentication_enabled_for_web` instead) Flag indicating if password authentication is enabled for the web interface. | @@ -459,7 +459,7 @@ listed in the descriptions of the relevant settings. | `slack_app_secret` **(PREMIUM)** | string | required by: `slack_app_enabled` | The app secret of the Slack-app. | | `slack_app_signing_secret` **(PREMIUM)** | string | no | The signing secret of the Slack-app. | | `slack_app_verification_token` **(PREMIUM)** | string | required by: `slack_app_enabled` | The verification token of the Slack-app. | -| `snippet_size_limit` | integer | no | Max snippet content size in **bytes**. Default: 52428800 Bytes (50MB).| +| `snippet_size_limit` | integer | no | Max snippet content size in **bytes**. Default: 52428800 Bytes (50 MB).| | `snowplow_app_id` | string | no | The Snowplow site name / application ID. (for example, `gitlab`) | | `snowplow_collector_hostname` | string | required by: `snowplow_enabled` | The Snowplow collector hostname. (for example, `snowplow.trx.gitlab.net`) | | `snowplow_cookie_domain` | string | no | The Snowplow cookie domain. (for example, `.gitlab.com`) | diff --git a/doc/architecture/blueprints/ci_data_decay/index.md b/doc/architecture/blueprints/ci_data_decay/index.md index b7c3bdde2f8..6df37e28992 100644 --- a/doc/architecture/blueprints/ci_data_decay/index.md +++ b/doc/architecture/blueprints/ci_data_decay/index.md @@ -23,7 +23,7 @@ builds [continues to grow exponentially](../ci_scale/index.md). GitLab CI/CD has come a long way since the initial release, but the design of the data storage for pipeline builds remains almost the same since 2012. In 2021 we started working on database decomposition and extracting CI/CD data to -ia separate database. Now we want to improve the architecture of GitLab CI/CD +a separate database. Now we want to improve the architecture of GitLab CI/CD product to enable further scaling. ## Goals @@ -78,7 +78,7 @@ pipeline processing in such pipeline. It means that all the metadata, we store in PostgreSQL, that is needed to efficiently and reliably process builds can be safely moved to a different data store. -Currently, storing pipeline processing data is expensive as this kind of CI/CD +Storing pipeline processing data is expensive as this kind of CI/CD data represents a significant portion of data stored in CI/CD tables. Once we restrict access to processing archived pipelines, we can move this metadata to a different place - preferably object storage - and make it accessible on diff --git a/doc/architecture/blueprints/composable_codebase_using_rails_engines/index.md b/doc/architecture/blueprints/composable_codebase_using_rails_engines/index.md index 53f38fa85fd..5e091046b07 100644 --- a/doc/architecture/blueprints/composable_codebase_using_rails_engines/index.md +++ b/doc/architecture/blueprints/composable_codebase_using_rails_engines/index.md @@ -74,7 +74,7 @@ This blueprint explicitly talks about **horizontal** split and **Application Lay The Bounded Contexts is a topic that was discussed extensively number of times for a couple of years. Reflected in number of issues: -- [Create new models / classes within a module / namespace](https://gitlab.com/gitlab-org/gitlab/-/issues/212156) +- [Create new models / classes in a module / namespace](https://gitlab.com/gitlab-org/gitlab/-/issues/212156) - [Make teams to be maintainers of their code](https://gitlab.com/gitlab-org/gitlab/-/issues/25872) - [Use nested structure to organize CI classes](https://gitlab.com/gitlab-org/gitlab/-/issues/209745) - [WIP: Make it simple to build and use "Decoupled Services"](https://gitlab.com/gitlab-org/gitlab/-/issues/31121) @@ -86,7 +86,7 @@ We are partially executing a **Bounded Contexts** idea: - Since we use namespaces, individual contributor or reviewer can know who to reach from domain experts about help with the given context -The module namespaces are actively being used today to model codebase around team boundaries. Currently, the most +The module namespaces are actively being used today to model codebase around team boundaries. The most prominent namespaces being used today are `Ci::` and `Packages::`. They provide a good way to contain the code owned by a group in a well-defined structure. @@ -125,7 +125,7 @@ application layers. This list is not exhaustive, but shows a general list of the - Web Packages API: provide a REST API compatible with the packaging tools: Debian, Maven, Container Registry Proxy, etc. - Git nodes: all code required to authorize `git pull/push` over `SSH` or `HTTPS` - Sidekiq: run background jobs -- Services/Models/DB: all code required to maintain our database structure, data validation, business logic and policies models that needs to be shared with other components +- Services/Models/DB: all code required to maintain our database structure, data validation, business logic, and policies models that needs to be shared with other components The best way to likely describe how the actual GitLab Rails split would look like. It is a satellite model. Where we have a single core, that is shared across all satellite components. The design of that implies @@ -376,7 +376,7 @@ What was done? end ``` - Since the gem is inside :engines group, it will not be automatically required by default. + Since the gem is inside :engines group, it is not automatically required by default. 1. Configure GitLab when to load the engine. @@ -451,7 +451,7 @@ Savings on Sidekiq `start-up` event, for a single Sidekiq cluster without GraphQ - Boot-up time was reduced from 45.31 to 21.80 seconds. It was 23.51 seconds faster (51.89%) - We have 805,772 less live objects, 4,587,535 less allocated objects, 2,866 less allocated pages and 3.65 MB less allocated space for objects outside of the heap - We loaded 2,326 less code files (15.64%) -- We reduced the duration of a single full GC cycle from 0.80s to 0.70 (12.64%) +- We reduced the duration of a single full GC cycle from 0.80 seconds to 0.70 seconds (12.64%) Puma single, showed very little difference as expected. @@ -461,20 +461,20 @@ More details can be found in the [issue](https://gitlab.com/gitlab-org/gitlab/-/ Estimating the results for the scale of running GitLab.com, today we use: -- Currently individual GC cycle takes around [130ms for Web](https://thanos-query.ops.gitlab.net/graph?g0.range_input=1h&g0.max_source_resolution=0s&g0.expr=avg(rate(ruby_gc_duration_seconds_sum%7Bstage%3D%22main%22%2Ctype%3D%22web%22%7D%5B5m%5D)%2Frate(ruby_gc_duration_seconds_count%5B5m%5D))&g0.tab=0) - and [200ms for Sidekiq](https://thanos-query.ops.gitlab.net/graph?g0.range_input=1h&g0.max_source_resolution=0s&g0.expr=avg(rate(ruby_gc_duration_seconds_sum%7Bstage%3D%22main%22%2Ctype%3D%22sidekiq%22%7D%5B5m%5D)%2Frate(ruby_gc_duration_seconds_count%5B5m%5D))&g0.tab=0) on GitLab.com +- Individual GC cycle takes around [130 ms for Web](https://thanos-query.ops.gitlab.net/graph?g0.range_input=1h&g0.max_source_resolution=0s&g0.expr=avg(rate(ruby_gc_duration_seconds_sum%7Bstage%3D%22main%22%2Ctype%3D%22web%22%7D%5B5m%5D)%2Frate(ruby_gc_duration_seconds_count%5B5m%5D))&g0.tab=0) + and [200 ms for Sidekiq](https://thanos-query.ops.gitlab.net/graph?g0.range_input=1h&g0.max_source_resolution=0s&g0.expr=avg(rate(ruby_gc_duration_seconds_sum%7Bstage%3D%22main%22%2Ctype%3D%22sidekiq%22%7D%5B5m%5D)%2Frate(ruby_gc_duration_seconds_count%5B5m%5D))&g0.tab=0) on GitLab.com - On average we do around [2 GC cycles per-second](https://thanos-query.ops.gitlab.net/graph?g0.range_input=1h&g0.end_input=2021-02-17%2017%3A56&g0.max_source_resolution=0s&g0.expr=avg(rate(ruby_gc_duration_seconds_count%7Bstage%3D%22main%22%2Ctype%3D%22web%22%7D%5B5m%5D))&g0.tab=0) or [0.12 cycles per second for Sidekiq](https://thanos-query.ops.gitlab.net/graph?g0.range_input=1h&g0.end_input=2021-02-17%2017%3A56&g0.max_source_resolution=0s&g0.expr=avg(rate(ruby_gc_duration_seconds_count%7Bstage%3D%22main%22%2Ctype%3D%22sidekiq%22%7D%5B5m%5D))&g0.tab=0) - This translates to using [around 9.5 vCPUs per-second for Web](https://thanos-query.ops.gitlab.net/graph?g0.range_input=1h&g0.max_source_resolution=0s&g0.expr=sum(rate(ruby_gc_duration_seconds_sum%7Bstage%3D%22main%22%2Ctype%3D%22web%22%7D%5B5m%5D))&g0.tab=0) and [around 8 vCPUs per-second for Sidekiq](https://thanos-query.ops.gitlab.net/graph?g0.range_input=1h&g0.max_source_resolution=0s&g0.expr=sum(rate(ruby_gc_duration_seconds_sum%7Bstage%3D%22main%22%2Ctype%3D%22sidekiq%22%7D%5B5m%5D))&g0.tab=0) of spend on GC alone -- Sidekiq [uses 2.1GB on average](https://thanos-query.ops.gitlab.net/graph?g0.range_input=1h&g0.max_source_resolution=0s&g0.expr=max(ruby_process_unique_memory_bytes%7Btype%3D%22sidekiq%22%7D)%2F1024%2F1024%2F1024&g0.tab=1) - or [550GB in total](https://thanos-query.ops.gitlab.net/graph?g0.range_input=1h&g0.max_source_resolution=0s&g0.expr=sum(ruby_process_unique_memory_bytes%7Btype%3D%22sidekiq%22%7D)%2F1024%2F1024%2F1024&g0.tab=0) of memory on GitLab.com +- Sidekiq [uses 2.1 GB on average](https://thanos-query.ops.gitlab.net/graph?g0.range_input=1h&g0.max_source_resolution=0s&g0.expr=max(ruby_process_unique_memory_bytes%7Btype%3D%22sidekiq%22%7D)%2F1024%2F1024%2F1024&g0.tab=1) + or [550 GB in total](https://thanos-query.ops.gitlab.net/graph?g0.range_input=1h&g0.max_source_resolution=0s&g0.expr=sum(ruby_process_unique_memory_bytes%7Btype%3D%22sidekiq%22%7D)%2F1024%2F1024%2F1024&g0.tab=0) of memory on GitLab.com We estimate the possible maximum savings for introducing `web_engine`: -- Reduce a GC cycle time by 20%, from to 200ms to 160ms +- Reduce a GC cycle time by 20%, from to 200 ms to 160 ms - The amount of GC cycles per-second would stay the same, but due to GC cycle time reduction we would use around 6 vCPUs instead of 8 vCPUs -- In the best case we would be looking at Sidekiq alone we would be estimating to save up-to 137GB of memory on GitLab.com +- In the best case we would be looking at Sidekiq alone we would be estimating to save up-to 137 GB of memory on GitLab.com This model could be extended to introduce `sidekiq_engine` giving a similar benefits (even more important due to visible impact on users) for Web nodes. diff --git a/doc/ci/cloud_services/azure/index.md b/doc/ci/cloud_services/azure/index.md index b2f78648be9..b846ee4b792 100644 --- a/doc/ci/cloud_services/azure/index.md +++ b/doc/ci/cloud_services/azure/index.md @@ -17,7 +17,7 @@ Prerequisites: - Access to an existing Azure Subscription with `Owner` access level. - Access to the corresponding Azure Active Directory Tenant with at least the `Application Developer` access level. - A local installation of the [Azure CLI](https://learn.microsoft.com/en-us/cli/azure/install-azure-cli). - Alternatively, you can follow all the steps below with the [Azure Cloud Shell](https://shell.azure.com/). + Alternatively, you can follow all the steps below with the [Azure Cloud Shell](https://portal.azure.com/#cloudshell/). - A GitLab project. To complete this tutorial: diff --git a/doc/development/code_review.md b/doc/development/code_review.md index 90f33319365..25cd95a6f04 100644 --- a/doc/development/code_review.md +++ b/doc/development/code_review.md @@ -28,7 +28,7 @@ The reviewer can: - Give you a second opinion on the chosen solution and implementation. - Help look for bugs, logic problems, or uncovered edge cases. -If the merge request is trivial (for example, fixing a typo or a tiny refactor that doesn't change the behavior or any data), +If the merge request is trivial to review (for example, fixing a typo or a tiny refactor that doesn't change the behavior or any data), you can skip the reviewer step and directly ask a [maintainer](https://about.gitlab.com/handbook/engineering/workflow/code-review/#maintainer). Otherwise, a merge request should always be first reviewed by a reviewer in each [category (e.g. backend, database)](#approval-guidelines) @@ -125,7 +125,7 @@ page, with these behaviors: removes leading `ce-` and `ee-`, and trailing `-ce` and `-ee`, so that it can be stable for backport branches. -The [Roulette dashboard](https://gitlab-org.gitlab.io/gitlab-roulette) contains: +The [Roulette dashboard](https://gitlab-org.gitlab.io/gitlab-roulette/) contains: - Assignment events in the last 7 and 30 days. - Currently assigned merge requests per person. diff --git a/doc/development/contributing/index.md b/doc/development/contributing/index.md index 8c0d18f877b..de60f32b149 100644 --- a/doc/development/contributing/index.md +++ b/doc/development/contributing/index.md @@ -100,7 +100,7 @@ If you have any questions or need help, visit [Getting Help](https://about.gitla communicate with the GitLab community. GitLab prefers [asynchronous communication](https://about.gitlab.com/handbook/communication/#internal-communication) over real-time communication. We do encourage you to connect and hang out with us. GitLab has a Gitter room dedicated for [contributors](https://gitter.im/gitlab/contributors), which is bridged with our -internal Slack. We actively monitor this channel. There is also a community-run [Discord server](http://discord.gg/gitlab) where you can +internal Slack. We actively monitor this channel. There is also a community-run [Discord server](https://discord.gg/gitlab) where you can find other contributors in the `#contributors` channel. Thanks for your contribution! diff --git a/doc/development/database/avoiding_downtime_in_migrations.md b/doc/development/database/avoiding_downtime_in_migrations.md index 57f5a66a9ee..0b4897507de 100644 --- a/doc/development/database/avoiding_downtime_in_migrations.md +++ b/doc/development/database/avoiding_downtime_in_migrations.md @@ -319,6 +319,11 @@ This operation is safe as there's no code using the table just yet. Dropping tables can be done safely using a post-deployment migration, but only if the application no longer uses the table. +Add the table to `DELETED_TABLES` in +[gitlab_schema.rb](https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/database/gitlab_schema.rb), +along with its `gitlab_schema`. Even though the table is deleted, it is still +referenced in database migrations. + ## Renaming Tables Renaming tables requires downtime as an application may continue diff --git a/doc/development/testing_guide/best_practices.md b/doc/development/testing_guide/best_practices.md index b6bf3c7805a..05751b94313 100644 --- a/doc/development/testing_guide/best_practices.md +++ b/doc/development/testing_guide/best_practices.md @@ -425,11 +425,25 @@ results are available, and not just the first failure. when you need an ID/IID/access level that doesn't actually exists. Using 123, 1234, or even 999 is brittle as these IDs could actually exist in the database in the context of a CI run. -- All top-level `RSpec.describe` blocks should have [`feature_category`](https://about.gitlab.com/categories.json) metadata set. - Consider splitting the file in the case there are identified multiple feature categories in same file. - If no `feature_category` is identified then use `not_owned`. This information is used in flaky test - issues created in order to identify the group owning the feature. - Eg: `RSpec.describe Admin::Geo::SettingsController, :geo, feature_category: :geo_replication do`. + +### Feature category metadata + +You must set feature category metadata for each RSpec example. This information is used for flaky test +issues to identify the group that owns the feature. + +The `feature_category` metadata can be set: + +- [In the top-level `RSpec.describe` blocks](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/104274/diffs#6bd01173381e873f3e1b6c55d33cdaa3d897156b_5_5). +- [In `describe` blocks](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/104274/diffs#a520db2677a30e7f1f5593584f69c49031b894b9_12_12). + +Consider splitting the file in the case there are multiple feature categories identified in the same file. +If no `feature_category` is identified, then use `not_owned`. + +Example: + + ```ruby + RSpec.describe Admin::Geo::SettingsController, :geo, feature_category: :geo_replication do + ``` ### Coverage diff --git a/doc/install/aws/eks_clusters_aws.md b/doc/install/aws/eks_clusters_aws.md index 03f7cd19ed5..191d0f93382 100644 --- a/doc/install/aws/eks_clusters_aws.md +++ b/doc/install/aws/eks_clusters_aws.md @@ -33,7 +33,7 @@ Using `eksctl` enables the following when building an EKS Cluster: Read more about Amazon EKS architecture quick start guide: -- [Landing page](https://aws.amazon.com/quickstart/architecture/amazon-eks/) +- [Landing page](https://aws.amazon.com/solutions/implementations/amazon-eks/) - [Reference guide](https://aws-quickstart.github.io/quickstart-amazon-eks/) - [Reference guide deployment steps](https://aws-quickstart.github.io/quickstart-amazon-eks/#_deployment_steps) - [Reference guide parameter reference](https://aws-quickstart.github.io/quickstart-amazon-eks/#_parameter_reference) diff --git a/doc/install/aws/gitlab_hybrid_on_aws.md b/doc/install/aws/gitlab_hybrid_on_aws.md index 7ae4391dde0..1a7e02edb5d 100644 --- a/doc/install/aws/gitlab_hybrid_on_aws.md +++ b/doc/install/aws/gitlab_hybrid_on_aws.md @@ -46,7 +46,7 @@ The Beta version deploys Aurora PostgreSQL, but the release version will deploy | | [AWS Quick Start for GitLab Cloud Native Hybrid on EKS](https://aws-quickstart.github.io/quickstart-eks-gitlab/) | [GitLab Environment Toolkit (GET)](https://gitlab.com/gitlab-org/gitlab-environment-toolkit) | | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| Overview and Vision | [AWS Quick Start](https://aws.amazon.com/quickstart/architecture/amazon-eks/) | [GitLab Environment Toolkit](https://gitlab.com/gitlab-org/gitlab-environment-toolkit/-/blob/main/README.md) | +| Overview and Vision | [AWS Quick Start](https://aws.amazon.com/solutions/implementations/amazon-eks/) | [GitLab Environment Toolkit](https://gitlab.com/gitlab-org/gitlab-environment-toolkit/-/blob/main/README.md) | | Licensing | [Open Source (Apache 2.0)](https://github.com/aws-quickstart/quickstart-eks-gitlab/blob/main/LICENSE.txt) | [GitLab Enterprise Edition license](https://gitlab.com/gitlab-org/gitlab-environment-toolkit/-/blob/main/LICENSE) ([GitLab Premium tier](https://gitlab.com/gitlab-org/gitlab-environment-toolkit/-/blob/main/README.md)) | | GitLab Support | [GitLab Beta Support](../../policy/alpha-beta-support.md#beta-features) | [GitLab GA Support](../../policy/alpha-beta-support.md#generally-available-ga) | | GitLab Reference Architecture Compliant | Yes | Yes | diff --git a/doc/operations/incident_management/alerts.md b/doc/operations/incident_management/alerts.md index d6293cf1479..41dacd327a7 100644 --- a/doc/operations/incident_management/alerts.md +++ b/doc/operations/incident_management/alerts.md @@ -39,7 +39,7 @@ The alert list displays the following information: NOTE: Check out a live example available from the -[`tanuki-inc` project page](https://gitlab-examples-ops-incident-setup-everyone-tanuki-inc.34.69.64.147.nip.io/) +[`tanuki-inc` project page](https://gitlab.com/gitlab-examples/ops/incident-setup/everyone/tanuki-inc) in GitLab to examine alerts in action. ## Alert severity diff --git a/doc/user/discussions/index.md b/doc/user/discussions/index.md index d9cacb6395d..1e791662a45 100644 --- a/doc/user/discussions/index.md +++ b/doc/user/discussions/index.md @@ -173,7 +173,7 @@ If you don't see this action on the right sidebar, your project or instance migh > - [Renamed](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/87403) from "confidential comments" to "internal notes" in GitLab 15.0. > - [Enabled on GitLab.com and self-managed](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/87383) in GitLab 15.0. > - [Feature flag `confidential_notes`](https://gitlab.com/gitlab-org/gitlab/-/issues/362712) removed in GitLab 15.2. -> - [Changed](https://gitlab.com/gitlab-org/gitlab/-/issues/363045) permissions in GitLab 15.5 to at least the Reporter role. In GitLab 15.4 and earlier, issue or epic authors and assignees could also read and create internal notes. +> - [Changed](https://gitlab.com/gitlab-org/gitlab/-/issues/363045) permissions in GitLab 15.6 to at least the Reporter role. In GitLab 15.5 and earlier, issue or epic authors and assignees could also read and create internal notes. You can add an internal note **to an issue or an epic**. It's then visible only to project members who have at least the Reporter role. diff --git a/doc/user/project/pages/custom_domains_ssl_tls_certification/dns_concepts.md b/doc/user/project/pages/custom_domains_ssl_tls_certification/dns_concepts.md index 1d32091b294..197524f2fc5 100644 --- a/doc/user/project/pages/custom_domains_ssl_tls_certification/dns_concepts.md +++ b/doc/user/project/pages/custom_domains_ssl_tls_certification/dns_concepts.md @@ -35,7 +35,7 @@ for the most popular hosting services: - [123-reg](https://www.123-reg.co.uk/support/domains/domain-name-server-dns-management-guide/) - [Amazon](https://docs.aws.amazon.com/AmazonS3/latest/dev/website-hosting-custom-domain-walkthrough.html) - [Bluehost](https://www.bluehost.com/help/article/dns-management-add-edit-or-delete-dns-entries) -- [Cloudflare](https://support.cloudflare.com/hc/en-us/articles/201720164-Creating-a-Cloudflare-account-and-adding-a-website) +- [Cloudflare](https://developers.cloudflare.com/fundamentals/get-started/setup/) - [cPanel](https://documentation.cpanel.net/display/84Docs/Edit+DNS+Zone) - [DigitalOcean](https://docs.digitalocean.com/products/networking/dns/how-to/manage-records/) - [DreamHost](https://help.dreamhost.com/hc/en-us/articles/360035516812) diff --git a/lib/api/api.rb b/lib/api/api.rb index 3c88d2483d2..c62a0a60eab 100644 --- a/lib/api/api.rb +++ b/lib/api/api.rb @@ -186,6 +186,7 @@ module API mount ::API::Ci::ResourceGroups mount ::API::Ci::Runner mount ::API::Ci::Runners + mount ::API::Ci::SecureFiles mount ::API::Ci::Pipelines mount ::API::Ci::PipelineSchedules mount ::API::Ci::Triggers @@ -276,6 +277,8 @@ module API mount ::API::AwardEmoji mount ::API::Boards mount ::API::Ci::JobArtifacts + mount ::API::Ci::Pipelines + mount ::API::Ci::PipelineSchedules mount ::API::Ci::SecureFiles mount ::API::ComposerPackages mount ::API::ConanInstancePackages diff --git a/lib/api/ci/secure_files.rb b/lib/api/ci/secure_files.rb index dd628a3413f..0cc20c967db 100644 --- a/lib/api/ci/secure_files.rb +++ b/lib/api/ci/secure_files.rb @@ -16,11 +16,15 @@ module API default_format :json params do - requires :id, types: [String, Integer], desc: 'The ID or URL-encoded path of the project' + requires :id, types: [String, Integer], desc: 'The ID or URL-encoded path of the project owned by the + authenticated user' end resource :projects, requirements: API::NAMESPACE_OR_PROJECT_REQUIREMENTS do - desc 'List all Secure Files for a Project' + desc 'Get list of secure files in a project' do + success Entities::Ci::SecureFile + tags %w[secure_files] + end params do use :pagination end @@ -30,9 +34,13 @@ module API present paginate(secure_files), with: Entities::Ci::SecureFile end - desc 'Get an individual Secure File' + desc 'Get the details of a specific secure file in a project' do + success Entities::Ci::SecureFile + tags %w[secure_files] + failure [{ code: 404, message: '404 Not found' }] + end params do - requires :id, type: Integer, desc: 'The Secure File ID' + requires :id, type: Integer, desc: 'The ID of a secure file' end route_setting :authentication, basic_auth_personal_access_token: true, job_token_allowed: true @@ -41,7 +49,10 @@ module API present secure_file, with: Entities::Ci::SecureFile end - desc 'Download a Secure File' + desc 'Download secure file' do + failure [{ code: 404, message: '404 Not found' }] + tags %w[secure_files] + end route_setting :authentication, basic_auth_personal_access_token: true, job_token_allowed: true get ':id/secure_files/:secure_file_id/download' do secure_file = user_project.secure_files.find(params[:secure_file_id]) @@ -58,10 +69,15 @@ module API authorize! :admin_secure_files, user_project end - desc 'Upload a Secure File' + desc 'Create a secure file' do + success Entities::Ci::SecureFile + tags %w[secure_files] + failure [{ code: 400, message: '400 Bad Request' }] + end params do - requires :name, type: String, desc: 'The name of the file' - requires :file, types: [Rack::Multipart::UploadedFile, ::API::Validations::Types::WorkhorseFile], desc: 'The secure file to be uploaded', documentation: { type: 'file' } + requires :name, type: String, desc: 'The name of the file being uploaded. The filename must be unique within + the project' + requires :file, types: [Rack::Multipart::UploadedFile, ::API::Validations::Types::WorkhorseFile], desc: 'The secure file being uploaded', documentation: { type: 'file' } end route_setting :authentication, basic_auth_personal_access_token: true, job_token_allowed: true post ':id/secure_files' do @@ -84,7 +100,10 @@ module API end end - desc 'Delete an individual Secure File' + desc 'Remove a secure file' do + tags %w[secure_files] + failure [{ code: 404, message: '404 Not found' }] + end route_setting :authentication, basic_auth_personal_access_token: true, job_token_allowed: true delete ':id/secure_files/:secure_file_id' do secure_file = user_project.secure_files.find(params[:secure_file_id]) diff --git a/lib/api/entities/ci/secure_file.rb b/lib/api/entities/ci/secure_file.rb index d957e4488fd..a234ada6f82 100644 --- a/lib/api/entities/ci/secure_file.rb +++ b/lib/api/entities/ci/secure_file.rb @@ -4,13 +4,14 @@ module API module Entities module Ci class SecureFile < Grape::Entity - expose :id - expose :name - expose :checksum - expose :checksum_algorithm - expose :created_at - expose :expires_at - expose :metadata + expose :id, documentation: { type: 'integer', example: 123 } + expose :name, documentation: { type: 'string', example: 'upload-keystore.jks' } + expose :checksum, +documentation: { type: 'string', example: '16630b189ab34b2e3504f4758e1054d2e478deda510b2b08cc0ef38d12e80aac' } + expose :checksum_algorithm, documentation: { type: 'string', example: 'sha256' } + expose :created_at, documentation: { type: 'dateTime', example: '2022-02-22T22:22:22.222Z' } + expose :expires_at, documentation: { type: 'dateTime', example: '2022-09-21T14:56:00.000Z' } + expose :metadata, documentation: { type: 'Hash', example: { "id" => "75949910542696343243264405377658443914" } } end end end diff --git a/lib/extracts_ref.rb b/lib/extracts_ref.rb index 9799116038e..f22996df0a5 100644 --- a/lib/extracts_ref.rb +++ b/lib/extracts_ref.rb @@ -64,10 +64,16 @@ module ExtractsRef def assign_ref_vars @id, @ref, @path = extract_ref_path @repo = repository_container.repository - raise InvalidPathError if @ref.match?(/\s/) - @commit = @repo.commit(@ref) if @ref.present? + return unless @ref.present? + + @commit = if ref_type && Feature.enabled?(:use_ref_type_parameter, @repo.project) + @fully_qualified_ref = %(refs/#{ref_type}/#{@ref}) + @repo.commit(@fully_qualified_ref) + else + @repo.commit(@ref) + end end # rubocop:enable Gitlab/ModuleWithInstanceVariables @@ -82,6 +88,12 @@ module ExtractsRef [id, ref, path] end + def ref_type + return unless params[:ref_type].present? + + params[:ref_type] == 'tags' ? 'tags' : 'heads' + end + private def extract_raw_ref(id) diff --git a/lib/gitlab/ci/parsers/security/common.rb b/lib/gitlab/ci/parsers/security/common.rb index 0ac012b9fd1..67817c9f832 100644 --- a/lib/gitlab/ci/parsers/security/common.rb +++ b/lib/gitlab/ci/parsers/security/common.rb @@ -65,8 +65,14 @@ module Gitlab ) end + # New Oj parsers are not thread safe, therefore, + # we need to initialize them for each thread. + def introspect_parser + Thread.current[:introspect_parser] ||= Oj::Introspect.new(filter: "remediations") + end + def report_data - @report_data ||= Gitlab::Json.parse!(json_data) + @report_data ||= introspect_parser.parse(json_data) end def report_version diff --git a/lib/sidebars/projects/menus/repository_menu.rb b/lib/sidebars/projects/menus/repository_menu.rb index 1b46323089c..c5245cd944d 100644 --- a/lib/sidebars/projects/menus/repository_menu.rb +++ b/lib/sidebars/projects/menus/repository_menu.rb @@ -56,9 +56,15 @@ module Sidebars end def commits_menu_item + link = if Feature.enabled?(:use_ref_type_parameter, context.project) + project_commits_path(context.project, context.current_ref, ref_type: context.try(:ref_type) || 'heads') + else + project_commits_path(context.project, context.current_ref) + end + ::Sidebars::MenuItem.new( title: _('Commits'), - link: project_commits_path(context.project, context.current_ref), + link: link, active_routes: { controller: %w(commit commits) }, item_id: :commits, container_html_options: { id: 'js-onboarding-commits-link' } diff --git a/locale/gitlab.pot b/locale/gitlab.pot index 4e76c16d295..c96477f64f8 100644 --- a/locale/gitlab.pot +++ b/locale/gitlab.pot @@ -17406,6 +17406,18 @@ msgstr "" msgid "Forks" msgstr "" +msgid "ForksDivergence|%{ahead} %{commit_word} ahead of" +msgstr "" + +msgid "ForksDivergence|%{behind} %{commit_word} behind" +msgstr "" + +msgid "ForksDivergence|%{messages} upstream repository" +msgstr "" + +msgid "ForksDivergence|Up to date with upstream repository" +msgstr "" + msgid "Format: %{dateFormat}" msgstr "" @@ -33043,9 +33055,6 @@ msgstr "" msgid "Protected Branches" msgstr "" -msgid "Protected Environment" -msgstr "" - msgid "Protected Paths: requests" msgstr "" @@ -48321,6 +48330,11 @@ msgstr "" msgid "commented on %{link_to_project}" msgstr "" +msgid "commit" +msgid_plural "commits" +msgstr[0] "" +msgstr[1] "" + msgid "commit %{commit_id}" msgstr "" diff --git a/qa/qa/page/project/show.rb b/qa/qa/page/project/show.rb index a82fa7f5cf3..168bfd6aa0a 100644 --- a/qa/qa/page/project/show.rb +++ b/qa/qa/page/project/show.rb @@ -36,7 +36,6 @@ module QA end view 'app/views/projects/_home_panel.html.haml' do - element :forked_from_link element :project_name_content element :project_id_content element :project_badges_content @@ -48,6 +47,10 @@ module QA element :tree_holder, '.tree-holder' # rubocop:disable QA/ElementWithPattern end + view 'app/views/projects/_fork_info.html.haml' do + element :forked_from_link + end + view 'app/views/projects/buttons/_fork.html.haml' do element :fork_label, "%span= s_('ProjectOverview|Fork')" # rubocop:disable QA/ElementWithPattern element :fork_link, "link_to new_project_fork_path(@project)" # rubocop:disable QA/ElementWithPattern diff --git a/spec/controllers/projects/refs_controller_spec.rb b/spec/controllers/projects/refs_controller_spec.rb index 56415663109..065d2999fa2 100644 --- a/spec/controllers/projects/refs_controller_spec.rb +++ b/spec/controllers/projects/refs_controller_spec.rb @@ -3,14 +3,89 @@ require 'spec_helper' RSpec.describe Projects::RefsController do - let(:project) { create(:project, :repository) } - let(:user) { create(:user) } + let_it_be(:project) { create(:project, :repository) } + let(:user) { create(:user) } before do sign_in(user) project.add_developer(user) end + describe 'GET #switch' do + using RSpec::Parameterized::TableSyntax + + let(:id) { 'master' } + + let(:params) do + { destination: destination, namespace_id: project.namespace.to_param, project_id: project, id: id, + ref_type: ref_type } + end + + subject { get :switch, params: params } + + context 'when the use_ref_type_parameter feature flag is not enabled' do + before do + stub_feature_flags(use_ref_type_parameter: false) + end + + where(:destination, :ref_type, :redirected_to) do + 'tree' | nil | lazy { project_tree_path(project, id) } + 'tree' | 'heads' | lazy { project_tree_path(project, id) } + 'blob' | nil | lazy { project_blob_path(project, id) } + 'blob' | 'heads' | lazy { project_blob_path(project, id) } + 'graph' | nil | lazy { project_network_path(project, id) } + 'graph' | 'heads' | lazy { project_network_path(project, id) } + 'graphs' | nil | lazy { project_graph_path(project, id) } + 'graphs' | 'heads' | lazy { project_graph_path(project, id) } + 'find_file' | nil | lazy { project_find_file_path(project, id) } + 'find_file' | 'heads' | lazy { project_find_file_path(project, id) } + 'graphs_commits' | nil | lazy { commits_project_graph_path(project, id) } + 'graphs_commits' | 'heads' | lazy { commits_project_graph_path(project, id) } + 'badges' | nil | lazy { project_settings_ci_cd_path(project, ref: id) } + 'badges' | 'heads' | lazy { project_settings_ci_cd_path(project, ref: id) } + 'commits' | nil | lazy { project_commits_path(project, id) } + 'commits' | 'heads' | lazy { project_commits_path(project, id) } + 'somethingelse' | nil | lazy { project_commits_path(project, id) } + 'somethingelse' | 'heads' | lazy { project_commits_path(project, id) } + end + + with_them do + it 'redirects to commits' do + expect(subject).to redirect_to(redirected_to) + end + end + end + + context 'when the use_ref_type_parameter feature flag is enabled' do + where(:destination, :ref_type, :redirected_to) do + 'tree' | nil | lazy { project_tree_path(project, id) } + 'tree' | 'heads' | lazy { project_tree_path(project, id) } + 'blob' | nil | lazy { project_blob_path(project, id) } + 'blob' | 'heads' | lazy { project_blob_path(project, id) } + 'graph' | nil | lazy { project_network_path(project, id) } + 'graph' | 'heads' | lazy { project_network_path(project, id) } + 'graphs' | nil | lazy { project_graph_path(project, id) } + 'graphs' | 'heads' | lazy { project_graph_path(project, id) } + 'find_file' | nil | lazy { project_find_file_path(project, id) } + 'find_file' | 'heads' | lazy { project_find_file_path(project, id) } + 'graphs_commits' | nil | lazy { commits_project_graph_path(project, id) } + 'graphs_commits' | 'heads' | lazy { commits_project_graph_path(project, id) } + 'badges' | nil | lazy { project_settings_ci_cd_path(project, ref: id) } + 'badges' | 'heads' | lazy { project_settings_ci_cd_path(project, ref: id) } + 'commits' | nil | lazy { project_commits_path(project, id) } + 'commits' | 'heads' | lazy { project_commits_path(project, id, ref_type: 'heads') } + nil | nil | lazy { project_commits_path(project, id) } + nil | 'heads' | lazy { project_commits_path(project, id, ref_type: 'heads') } + end + + with_them do + it 'redirects to commits' do + expect(subject).to redirect_to(redirected_to) + end + end + end + end + describe 'GET #logs_tree' do let(:path) { 'foo/bar/baz.html' } diff --git a/spec/controllers/projects/settings/integrations_controller_spec.rb b/spec/controllers/projects/settings/integrations_controller_spec.rb index 2b23f177a9d..69574b81382 100644 --- a/spec/controllers/projects/settings/integrations_controller_spec.rb +++ b/spec/controllers/projects/settings/integrations_controller_spec.rb @@ -67,9 +67,7 @@ RSpec.describe Projects::Settings::IntegrationsController do let_it_be(:project) { create(:project) } context 'with chat notification integration' do - let_it_be(:teams_integration) { project.create_microsoft_teams_integration(webhook: 'http://webhook.com') } - - let(:integration) { teams_integration } + let_it_be(:integration) { project.create_microsoft_teams_integration(webhook: 'http://webhook.com') } it 'returns success' do allow_next(::MicrosoftTeams::Notifier).to receive(:ping).and_return(true) @@ -78,6 +76,19 @@ RSpec.describe Projects::Settings::IntegrationsController do expect(response).to be_successful end + + context 'with masked token' do + let(:integration_params) { { active: 'true', webhook: '************' } } + + it 'returns success' do + allow_next(::MicrosoftTeams::Notifier).to receive(:ping).and_return(true) + + put :test, params: project_params(service: integration_params) + + expect(response).to be_successful + expect(integration.reload.webhook).to eq('http://webhook.com') + end + end end it 'returns success' do diff --git a/spec/db/docs_spec.rb b/spec/db/docs_spec.rb index ad3705c3dbe..18a07a20fd0 100644 --- a/spec/db/docs_spec.rb +++ b/spec/db/docs_spec.rb @@ -24,6 +24,7 @@ RSpec.describe 'Database Documentation' do description introduced_by_url milestone + gitlab_schema ) end diff --git a/spec/frontend/vue_shared/components/filtered_search_bar/filtered_search_bar_root_spec.js b/spec/frontend/vue_shared/components/filtered_search_bar/filtered_search_bar_root_spec.js index 6a03d1aec2d..b0e393bbf5e 100644 --- a/spec/frontend/vue_shared/components/filtered_search_bar/filtered_search_bar_root_spec.js +++ b/spec/frontend/vue_shared/components/filtered_search_bar/filtered_search_bar_root_spec.js @@ -14,6 +14,9 @@ import RecentSearchesStore from '~/filtered_search/stores/recent_searches_store' import { FILTERED_SEARCH_TERM, SORT_DIRECTION, + TOKEN_TYPE_AUTHOR, + TOKEN_TYPE_LABEL, + TOKEN_TYPE_MILESTONE, } from '~/vue_shared/components/filtered_search_bar/constants'; import FilteredSearchBarRoot from '~/vue_shared/components/filtered_search_bar/filtered_search_bar_root.vue'; import { uniqueTokens } from '~/vue_shared/components/filtered_search_bar/filtered_search_utils'; @@ -110,9 +113,9 @@ describe('FilteredSearchBarRoot', () => { describe('tokenSymbols', () => { it('returns a map containing type and symbols from `tokens` prop', () => { expect(wrapper.vm.tokenSymbols).toEqual({ - author_username: '@', - label_name: '~', - milestone_title: '%', + [TOKEN_TYPE_AUTHOR]: '@', + [TOKEN_TYPE_LABEL]: '~', + [TOKEN_TYPE_MILESTONE]: '%', }); }); }); @@ -120,9 +123,9 @@ describe('FilteredSearchBarRoot', () => { describe('tokenTitles', () => { it('returns a map containing type and title from `tokens` prop', () => { expect(wrapper.vm.tokenTitles).toEqual({ - author_username: 'Author', - label_name: 'Label', - milestone_title: 'Milestone', + [TOKEN_TYPE_AUTHOR]: 'Author', + [TOKEN_TYPE_LABEL]: 'Label', + [TOKEN_TYPE_MILESTONE]: 'Milestone', }); }); }); diff --git a/spec/frontend/vue_shared/components/filtered_search_bar/mock_data.js b/spec/frontend/vue_shared/components/filtered_search_bar/mock_data.js index f9cc884f221..fdfc33ac97c 100644 --- a/spec/frontend/vue_shared/components/filtered_search_bar/mock_data.js +++ b/spec/frontend/vue_shared/components/filtered_search_bar/mock_data.js @@ -1,7 +1,27 @@ import { GlFilteredSearchToken } from '@gitlab/ui'; import { mockLabels } from 'jest/vue_shared/components/sidebar/labels_select_vue/mock_data'; import Api from '~/api'; -import { OPERATORS_IS } from '~/vue_shared/components/filtered_search_bar/constants'; +import { + FILTERED_SEARCH_TERM, + OPERATORS_IS, + TOKEN_TITLE_AUTHOR, + TOKEN_TITLE_CONTACT, + TOKEN_TITLE_LABEL, + TOKEN_TITLE_MILESTONE, + TOKEN_TITLE_MY_REACTION, + TOKEN_TITLE_ORGANIZATION, + TOKEN_TITLE_RELEASE, + TOKEN_TITLE_SOURCE_BRANCH, + TOKEN_TYPE_AUTHOR, + TOKEN_TYPE_CONFIDENTIAL, + TOKEN_TYPE_CONTACT, + TOKEN_TYPE_LABEL, + TOKEN_TYPE_MILESTONE, + TOKEN_TYPE_MY_REACTION, + TOKEN_TYPE_ORGANIZATION, + TOKEN_TYPE_RELEASE, + TOKEN_TYPE_SOURCE_BRANCH, +} from '~/vue_shared/components/filtered_search_bar/constants'; import AuthorToken from '~/vue_shared/components/filtered_search_bar/tokens/author_token.vue'; import BranchToken from '~/vue_shared/components/filtered_search_bar/tokens/branch_token.vue'; import EmojiToken from '~/vue_shared/components/filtered_search_bar/tokens/emoji_token.vue'; @@ -197,9 +217,9 @@ export const mockEmoji2 = { export const mockEmojis = [mockEmoji1, mockEmoji2]; export const mockBranchToken = { - type: 'source_branch', + type: TOKEN_TYPE_SOURCE_BRANCH, icon: 'branch', - title: 'Source Branch', + title: TOKEN_TITLE_SOURCE_BRANCH, unique: true, token: BranchToken, operators: OPERATORS_IS, @@ -207,9 +227,9 @@ export const mockBranchToken = { }; export const mockAuthorToken = { - type: 'author_username', + type: TOKEN_TYPE_AUTHOR, icon: 'user', - title: 'Author', + title: TOKEN_TITLE_AUTHOR, unique: false, symbol: '@', token: AuthorToken, @@ -219,9 +239,9 @@ export const mockAuthorToken = { }; export const mockLabelToken = { - type: 'label_name', + type: TOKEN_TYPE_LABEL, icon: 'labels', - title: 'Label', + title: TOKEN_TITLE_LABEL, unique: false, symbol: '~', token: LabelToken, @@ -230,9 +250,9 @@ export const mockLabelToken = { }; export const mockMilestoneToken = { - type: 'milestone_title', + type: TOKEN_TYPE_MILESTONE, icon: 'clock', - title: 'Milestone', + title: TOKEN_TITLE_MILESTONE, unique: true, symbol: '%', token: MilestoneToken, @@ -241,17 +261,17 @@ export const mockMilestoneToken = { }; export const mockReleaseToken = { - type: 'release', + type: TOKEN_TYPE_RELEASE, icon: 'rocket', - title: 'Release', + title: TOKEN_TITLE_RELEASE, token: ReleaseToken, fetchReleases: () => Promise.resolve(), }; export const mockReactionEmojiToken = { - type: 'my_reaction_emoji', + type: TOKEN_TYPE_MY_REACTION, icon: 'thumb-up', - title: 'My-Reaction', + title: TOKEN_TITLE_MY_REACTION, unique: true, token: EmojiToken, operators: OPERATORS_IS, @@ -259,8 +279,8 @@ export const mockReactionEmojiToken = { }; export const mockCrmContactToken = { - type: 'crm_contact', - title: 'Contact', + type: TOKEN_TYPE_CONTACT, + title: TOKEN_TITLE_CONTACT, icon: 'user', token: CrmContactToken, isProject: false, @@ -270,8 +290,8 @@ export const mockCrmContactToken = { }; export const mockCrmOrganizationToken = { - type: 'crm_contact', - title: 'Organization', + type: TOKEN_TYPE_ORGANIZATION, + title: TOKEN_TITLE_ORGANIZATION, icon: 'user', token: CrmOrganizationToken, isProject: false, @@ -301,7 +321,7 @@ export const mockMembershipTokenOptionsWithoutTitles = { export const mockAvailableTokens = [mockAuthorToken, mockLabelToken, mockMilestoneToken]; export const tokenValueAuthor = { - type: 'author_username', + type: TOKEN_TYPE_AUTHOR, value: { data: 'root', operator: '=', @@ -309,7 +329,7 @@ export const tokenValueAuthor = { }; export const tokenValueLabel = { - type: 'label_name', + type: TOKEN_TYPE_LABEL, value: { operator: '=', data: 'bug', @@ -317,7 +337,7 @@ export const tokenValueLabel = { }; export const tokenValueMilestone = { - type: 'milestone_title', + type: TOKEN_TYPE_MILESTONE, value: { operator: '=', data: 'v1.0', @@ -333,7 +353,7 @@ export const tokenValueMembership = { }; export const tokenValueConfidential = { - type: 'confidential', + type: TOKEN_TYPE_CONFIDENTIAL, value: { operator: '=', data: true, @@ -341,23 +361,10 @@ export const tokenValueConfidential = { }; export const tokenValuePlain = { - type: 'filtered-search-term', + type: FILTERED_SEARCH_TERM, value: { data: 'foo' }, }; -export const tokenValueEmpty = { - type: 'filtered-search-term', - value: { data: '' }, -}; - -export const tokenValueEpic = { - type: 'epic_iid', - value: { - operator: '=', - data: '"foo"::&42', - }, -}; - export const mockHistoryItems = [ [tokenValueAuthor, tokenValueLabel, tokenValueMilestone, 'duo'], [tokenValueAuthor, 'si'], diff --git a/spec/helpers/projects_helper_spec.rb b/spec/helpers/projects_helper_spec.rb index 39b8b552672..6b189bcb66c 100644 --- a/spec/helpers/projects_helper_spec.rb +++ b/spec/helpers/projects_helper_spec.rb @@ -1338,6 +1338,25 @@ RSpec.describe ProjectsHelper do end end + describe '#fork_divergence_message' do + using RSpec::Parameterized::TableSyntax + + where(:behind, :ahead, :message) do + 0 | 0 | 'Up to date with upstream repository' + 1 | 0 | '1 commit behind upstream repository' + 2 | 0 | '2 commits behind upstream repository' + 0 | 1 | '1 commit ahead of upstream repository' + 0 | 2 | '2 commits ahead of upstream repository' + 5 | 7 | '5 commits behind, 7 commits ahead of upstream repository' + end + + with_them do + it 'returns message based on behind/ahead values' do + expect(helper.fork_divergence_message({ behind: behind, ahead: ahead })).to eq(message) + end + end + end + describe '#localized_project_human_access' do using RSpec::Parameterized::TableSyntax diff --git a/spec/lib/extracts_ref_spec.rb b/spec/lib/extracts_ref_spec.rb index 3e9a7499fdd..ca8af9413f3 100644 --- a/spec/lib/extracts_ref_spec.rb +++ b/spec/lib/extracts_ref_spec.rb @@ -44,6 +44,19 @@ RSpec.describe ExtractsRef do expect { assign_ref_vars }.not_to raise_error end end + + context 'when a ref_type parameter is provided' do + let(:params) { ActionController::Parameters.new(path: path, ref: ref, ref_type: 'tags') } + + context 'and the use_ref_type_parameter feature flag is enabled' do + it 'sets a fully_qualified_ref variable' do + fully_qualified_ref = "refs/tags/#{ref}" + expect(container.repository).to receive(:commit).with(fully_qualified_ref) + assign_ref_vars + expect(@fully_qualified_ref).to eq(fully_qualified_ref) + end + end + end end it_behaves_like 'extracts refs' diff --git a/spec/lib/sidebars/projects/menus/repository_menu_spec.rb b/spec/lib/sidebars/projects/menus/repository_menu_spec.rb index f26433306b6..3d87e57824b 100644 --- a/spec/lib/sidebars/projects/menus/repository_menu_spec.rb +++ b/spec/lib/sidebars/projects/menus/repository_menu_spec.rb @@ -36,9 +36,49 @@ RSpec.describe Sidebars::Projects::Menus::RepositoryMenu do end context 'for menu items' do - subject { described_class.new(context).renderable_items.index { |e| e.item_id == item_id } } + describe 'Commits' do + let_it_be(:item_id) { :contributors } + let(:ref) { 'master' } + + subject { described_class.new(context).renderable_items.find { |e| e.item_id == :commits }.link } + + context 'when there is a ref_type' do + let(:context) do + Sidebars::Projects::Context.new(current_user: user, container: project, current_ref: ref, + ref_type: ref_type) + end + + let(:ref_type) { 'tags' } + + it 'has a links to commits with ref_type' do + expect(subject).to eq("/#{project.full_path}/-/commits/#{ref}?ref_type=#{ref_type}") + end + end + + context 'when there is no ref_type' do + let(:context) { Sidebars::Projects::Context.new(current_user: user, container: project, current_ref: ref) } + + context 'and the use_ref_type_parameter is disabled' do + before do + stub_feature_flags(use_ref_type_parameter: false) + end + + it 'has a links to commits' do + expect(subject).to eq("/#{project.full_path}/-/commits/#{ref}") + end + end + + context 'and the use_ref_type_parameter flag is enabled' do + it 'has a links to commits ref_type' do + expect(subject).to eq("/#{project.full_path}/-/commits/#{ref}?ref_type=heads") + end + end + end + end describe 'Contributors' do + subject { described_class.new(context).renderable_items.index { |e| e.item_id == item_id } } + let_it_be(:item_id) { :contributors } context 'when analytics is disabled' do diff --git a/spec/models/projects/forks/divergence_counts_spec.rb b/spec/models/projects/forks/divergence_counts_spec.rb new file mode 100644 index 00000000000..1f03e37e231 --- /dev/null +++ b/spec/models/projects/forks/divergence_counts_spec.rb @@ -0,0 +1,54 @@ +# frozen_string_literal: true + +require 'spec_helper' + +RSpec.describe Projects::Forks::DivergenceCounts do + include ProjectForksHelper + + let_it_be(:user) { create(:user) } + + describe '#counts' do + let(:source_repo) { create(:project, :repository, :public).repository } + let(:fork_repo) { fork_project(source_repo.project, user, { repository: true }).repository } + let(:fork_branch) { 'fork-branch' } + let(:cache_key) { ['project_forks', fork_repo.project.id, fork_branch, 'divergence_counts'] } + + def expect_cached_counts(value) + counts = described_class.new(fork_repo.project, fork_branch).counts + + ahead, behind = value + expect(counts).to eq({ ahead: ahead, behind: behind }) + + cached_value = [source_repo.commit.sha, fork_repo.commit(fork_branch).sha, value] + expect(Rails.cache.read(cache_key)).to eq(cached_value) + end + + it 'shows how far behind/ahead a fork is from the upstream', :use_clean_rails_redis_caching do + fork_repo.create_branch(fork_branch) + + expect_cached_counts([0, 0]) + + fork_repo.commit_files( + user, + branch_name: fork_branch, message: 'Committing something', + actions: [{ action: :create, file_path: 'encoding/CHANGELOG', content: 'New file' }] + ) + + expect_cached_counts([1, 0]) + + source_repo.commit_files( + user, + branch_name: source_repo.root_ref, message: 'Commit to root ref', + actions: [{ action: :create, file_path: 'encoding/CHANGELOG', content: 'One more' }] + ) + + source_repo.commit_files( + user, + branch_name: source_repo.root_ref, message: 'Another commit to root ref', + actions: [{ action: :create, file_path: 'encoding/NEW-CHANGELOG', content: 'One more time' }] + ) + + expect_cached_counts([1, 2]) + end + end +end diff --git a/spec/views/layouts/nav/sidebar/_project.html.haml_spec.rb b/spec/views/layouts/nav/sidebar/_project.html.haml_spec.rb index d0d220fed66..d2f4c180574 100644 --- a/spec/views/layouts/nav/sidebar/_project.html.haml_spec.rb +++ b/spec/views/layouts/nav/sidebar/_project.html.haml_spec.rb @@ -96,10 +96,24 @@ RSpec.describe 'layouts/nav/sidebar/_project' do end describe 'Commits' do - it 'has a link to the project commits path' do - render + context 'when the use_ref_type_parameter flag is not enabled' do + before do + stub_feature_flags(use_ref_type_parameter: false) + end - expect(rendered).to have_link('Commits', href: project_commits_path(project, current_ref), id: 'js-onboarding-commits-link') + it 'has a link to the project commits path' do + render + + expect(rendered).to have_link('Commits', href: project_commits_path(project, current_ref), id: 'js-onboarding-commits-link') + end + end + + context 'when the use_ref_type_parameter flag is enabled' do + it 'has a link to the fully qualified project commits path' do + render + + expect(rendered).to have_link('Commits', href: project_commits_path(project, current_ref, ref_type: 'heads'), id: 'js-onboarding-commits-link') + end end end diff --git a/spec/views/projects/_files.html.haml_spec.rb b/spec/views/projects/_files.html.haml_spec.rb new file mode 100644 index 00000000000..b6a8b4735b0 --- /dev/null +++ b/spec/views/projects/_files.html.haml_spec.rb @@ -0,0 +1,73 @@ +# frozen_string_literal: true + +require 'spec_helper' + +RSpec.describe 'projects/_files' do + include ProjectForksHelper + + let_it_be(:user) { create(:user) } + let_it_be(:source_project) { create(:project, :repository, :public) } + + context 'when the project is a fork' do + let_it_be(:project) { fork_project(source_project, user, { repository: true }) } + + before do + assign(:project, project) + assign(:ref, project.default_branch) + assign(:path, '/') + assign(:id, project.commit.id) + + allow(view).to receive(:current_user).and_return(user) + end + + context 'when user can read fork source' do + before do + allow(view).to receive(:can?).with(user, :read_project, source_project).and_return(true) + end + + it 'shows the forked-from project' do + render + + expect(rendered).to have_content("Forked from #{source_project.full_name}") + expect(rendered).to have_content("Up to date with upstream repository") + end + + context 'when fork_divergence_counts is disabled' do + before do + stub_feature_flags(fork_divergence_counts: false) + end + + it 'does not show fork info' do + render + + expect(rendered).not_to have_content("Forked from #{source_project.full_name}") + expect(rendered).not_to have_content("Up to date with upstream repository") + end + end + end + + context 'when user cannot read fork source' do + before do + allow(view).to receive(:can?).with(user, :read_project, source_project).and_return(false) + end + + it 'does not show the forked-from project' do + render + + expect(rendered).to have_content("Forked from an inaccessible project") + end + + context 'when fork_divergence_counts is disabled' do + before do + stub_feature_flags(fork_divergence_counts: false) + end + + it 'does not show fork info' do + render + + expect(rendered).not_to have_content("Forked from an inaccessible project") + end + end + end + end +end diff --git a/spec/views/projects/_home_panel.html.haml_spec.rb b/spec/views/projects/_home_panel.html.haml_spec.rb index 78131937d3c..6f6a2d9a04d 100644 --- a/spec/views/projects/_home_panel.html.haml_spec.rb +++ b/spec/views/projects/_home_panel.html.haml_spec.rb @@ -190,22 +190,50 @@ RSpec.describe 'projects/_home_panel' do end context 'user can read fork source' do - it 'shows the forked-from project' do + before do allow(view).to receive(:can?).with(user, :read_project, source_project).and_return(true) + end + it 'does not show the forked-from project' do render - expect(rendered).to have_content("Forked from #{source_project.full_name}") + expect(rendered).not_to have_content("Forked from #{source_project.full_name}") + end + + context 'when fork_divergence_counts is disabled' do + before do + stub_feature_flags(fork_divergence_counts: false) + end + + it 'shows the forked-from project' do + render + + expect(rendered).to have_content("Forked from #{source_project.full_name}") + end end end context 'user cannot read fork source' do - it 'does not show the forked-from project' do + before do allow(view).to receive(:can?).with(user, :read_project, source_project).and_return(false) + end + it 'shows the message that forked project is inaccessible' do render - expect(rendered).to have_content("Forked from an inaccessible project") + expect(rendered).not_to have_content("Forked from an inaccessible project") + end + + context 'when fork_divergence_counts is disabled' do + before do + stub_feature_flags(fork_divergence_counts: false) + end + + it 'shows the message that forked project is inaccessible' do + render + + expect(rendered).to have_content("Forked from an inaccessible project") + end end end end diff --git a/tests.yml b/tests.yml index 76ebb05eddb..09cb4432927 100644 --- a/tests.yml +++ b/tests.yml @@ -61,6 +61,10 @@ mapping: - source: data/whats_new/\w*.yml test: spec/lib/release_highlights/validator_spec.rb + # The documentation index page is used in this haml_lint spec + - source: doc/index.md + test: spec/haml_lint/linter/documentation_links_spec.rb + - source: (ee/)?app/workers/.+\.rb test: spec/workers/every_sidekiq_worker_spec.rb |