Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
3b6a68b2
Commit
3b6a68b2
authored
Nov 08, 2021
by
Alper Akgun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove including_project & with_prometheus_integration scopes
parent
bff6c914
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
ee/app/models/ee/project.rb
ee/app/models/ee/project.rb
+0
-2
No files found.
ee/app/models/ee/project.rb
View file @
3b6a68b2
...
...
@@ -134,7 +134,6 @@ module EE
joins
(
:ci_feature_usages
).
where
(
ci_feature_usages:
join_conditions
).
group
(
:id
)
end
scope
:including_project
,
->
(
project
)
{
where
(
id:
project
)
}
scope
:with_wiki_enabled
,
->
{
with_feature_enabled
(
:wiki
)
}
scope
:within_shards
,
->
(
shard_names
)
{
where
(
repository_storage:
Array
(
shard_names
))
}
scope
:verification_failed_repos
,
->
{
joins
(
:repository_state
).
merge
(
ProjectRepositoryState
.
verification_failed_repos
)
}
...
...
@@ -157,7 +156,6 @@ module EE
end
scope
:with_slack_integration
,
->
{
joins
(
:slack_integration
)
}
scope
:with_slack_slash_commands_integration
,
->
{
joins
(
:slack_slash_commands_integration
)
}
scope
:with_prometheus_integration
,
->
{
joins
(
:prometheus_integration
)
}
scope
:aimed_for_deletion
,
->
(
date
)
{
where
(
'marked_for_deletion_at <= ?'
,
date
).
without_deleted
}
scope
:not_aimed_for_deletion
,
->
{
where
(
marked_for_deletion_at:
nil
)
}
scope
:with_repos_templates
,
->
{
where
(
namespace_id:
::
Gitlab
::
CurrentSettings
.
current_application_settings
.
custom_project_templates_group_id
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment