forked from gitlabhq/gitlabhq
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add latest changes from gitlab-org/gitlab@master
- Loading branch information
GitLab Bot
committed
Dec 4, 2023
1 parent
6974fff
commit 1570618
Showing
40 changed files
with
345 additions
and
247 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
...nt/contributions_calendar_refactoring.yml → ...lopment/self_managed_code_suggestions.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
--- | ||
name: contributions_calendar_refactoring | ||
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/134991 | ||
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/429648 | ||
milestone: '16.6' | ||
name: self_managed_code_suggestions | ||
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/138490 | ||
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/432983 | ||
milestone: '16.7' | ||
type: development | ||
group: group::tenant scale | ||
group: group::purchase | ||
default_enabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
db/post_migrate/20231127171903_remove_application_settings_columns.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# frozen_string_literal: true | ||
|
||
class RemoveApplicationSettingsColumns < Gitlab::Database::Migration[2.2] | ||
milestone '16.7' | ||
|
||
disable_ddl_transaction! | ||
|
||
def up | ||
remove_column :application_settings, :elasticsearch_shards, if_exists: true | ||
remove_column :application_settings, :elasticsearch_replicas, if_exists: true | ||
remove_column :application_settings, :static_objects_external_storage_auth_token, if_exists: true | ||
remove_column :application_settings, :web_ide_clientside_preview_enabled, if_exists: true | ||
end | ||
|
||
def down | ||
add_column :application_settings, :elasticsearch_shards, :integer, default: 5, null: false, if_not_exists: true | ||
add_column :application_settings, :elasticsearch_replicas, :integer, default: 1, null: false, if_not_exists: true | ||
add_column :application_settings, :static_objects_external_storage_auth_token, :string, limit: 255, | ||
if_not_exists: true | ||
add_column :application_settings, :web_ide_clientside_preview_enabled, :boolean, default: false, null: false, | ||
if_not_exists: true | ||
end | ||
end |
19 changes: 19 additions & 0 deletions
19
db/post_migrate/20231202175941_index_projects_on_organization_id_and_id.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# frozen_string_literal: true | ||
|
||
class IndexProjectsOnOrganizationIdAndId < Gitlab::Database::Migration[2.2] | ||
milestone '16.7' | ||
disable_ddl_transaction! | ||
|
||
INDEX_NAME = "index_projects_on_organization_id_and_id" | ||
|
||
def up | ||
# rubocop:disable Migration/PreventIndexCreation -- Replacing existing index | ||
# on organization_id with an index on (organization_id, id) | ||
add_concurrent_index :projects, [:organization_id, :id], name: INDEX_NAME | ||
# rubocop:enable Migration/PreventIndexCreation | ||
end | ||
|
||
def down | ||
remove_concurrent_index :projects, [:organization_id, :id], name: INDEX_NAME | ||
end | ||
end |
16 changes: 16 additions & 0 deletions
16
db/post_migrate/20231202180101_remove_index_on_organization_id_projects_table.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# frozen_string_literal: true | ||
|
||
class RemoveIndexOnOrganizationIdProjectsTable < Gitlab::Database::Migration[2.2] | ||
milestone '16.7' | ||
disable_ddl_transaction! | ||
|
||
INDEX_NAME = 'index_projects_on_organization_id' | ||
|
||
def up | ||
remove_concurrent_index_by_name :projects, INDEX_NAME | ||
end | ||
|
||
def down | ||
add_concurrent_index :projects, :organization_id, name: INDEX_NAME | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
af73341ffb326a6e9d4f6b6aa836f5888182278626f51cc193f5ca906c4ccf4e |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
8d752179a1544a0dad7c1df99ed332002b8ebd0191d3ae7434366267e227987f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
432843177f4e67613b94bd24de3ab6903d4295a591545247ca7c264c18720ad6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.