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
c56a1403
Commit
c56a1403
authored
Oct 06, 2020
by
Corinna Wiesner
Committed by
Tyler Amos
Oct 08, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply renamed method to NamespaceType
After changes in the base branch, a method had to be renamed.
parent
0a7dc675
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
50 additions
and
50 deletions
+50
-50
doc/api/graphql/reference/gitlab_schema.graphql
doc/api/graphql/reference/gitlab_schema.graphql
+10
-10
doc/api/graphql/reference/gitlab_schema.json
doc/api/graphql/reference/gitlab_schema.json
+36
-36
doc/api/graphql/reference/index.md
doc/api/graphql/reference/index.md
+2
-2
ee/app/graphql/ee/types/namespace_type.rb
ee/app/graphql/ee/types/namespace_type.rb
+1
-1
ee/spec/graphql/ee/types/namespace_type_spec.rb
ee/spec/graphql/ee/types/namespace_type_spec.rb
+1
-1
No files found.
doc/api/graphql/reference/gitlab_schema.graphql
View file @
c56a1403
...
...
@@ -7706,11 +7706,6 @@ type Group {
"""
lfsEnabled
:
Boolean
"""
Number
of
projects
in
the
root
namespace
where
the
repository
size
exceeds
the
limit
"""
lockedProjectCount
:
Int
!
"""
Indicates
if
a
group
is
disabled
from
getting
mentioned
"""
...
...
@@ -7918,6 +7913,11 @@ type Group {
sort
:
NamespaceProjectSort
=
null
):
ProjectConnection
!
"""
Number
of
projects
in
the
root
namespace
where
the
repository
size
exceeds
the
limit
"""
repositorySizeExcessProjectCount
:
Int
!
"""
Indicates
if
users
can
request
access
to
namespace
"""
...
...
@@ -11958,11 +11958,6 @@ type Namespace {
"""
lfsEnabled
:
Boolean
"""
Number
of
projects
in
the
root
namespace
where
the
repository
size
exceeds
the
limit
"""
lockedProjectCount
:
Int
!
"""
Name
of
the
namespace
"""
...
...
@@ -12018,6 +12013,11 @@ type Namespace {
sort
:
NamespaceProjectSort
=
null
):
ProjectConnection
!
"""
Number
of
projects
in
the
root
namespace
where
the
repository
size
exceeds
the
limit
"""
repositorySizeExcessProjectCount
:
Int
!
"""
Indicates
if
users
can
request
access
to
namespace
"""
...
...
doc/api/graphql/reference/gitlab_schema.json
View file @
c56a1403
...
...
@@ -21095,24 +21095,6 @@
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "lockedProjectCount",
"description": "Number of projects in the root namespace where the repository size exceeds the limit",
"args": [
],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "mentionsDisabled",
"description": "Indicates if a group is disabled from getting mentioned",
...
...
@@ -21604,6 +21586,24 @@
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "repositorySizeExcessProjectCount",
"description": "Number of projects in the root namespace where the repository size exceeds the limit",
"args": [
],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "requestAccessEnabled",
"description": "Indicates if users can request access to namespace",
...
...
@@ -35246,24 +35246,6 @@
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "lockedProjectCount",
"description": "Number of projects in the root namespace where the repository size exceeds the limit",
"args": [
],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "name",
"description": "Name of the namespace",
...
...
@@ -35397,6 +35379,24 @@
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "repositorySizeExcessProjectCount",
"description": "Number of projects in the root namespace where the repository size exceeds the limit",
"args": [
],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "requestAccessEnabled",
"description": "Indicates if users can request access to namespace",
doc/api/graphql/reference/index.md
View file @
c56a1403
...
...
@@ -1153,12 +1153,12 @@ Autogenerated return type of EpicTreeReorder.
|
`isTemporaryStorageIncreaseEnabled`
| Boolean! | Status of the temporary storage increase |
|
`label`
| Label | A label available on this group |
|
`lfsEnabled`
| Boolean | Indicates if Large File Storage (LFS) is enabled for namespace |
|
`lockedProjectCount`
| Int! | Number of projects in the root namespace where the repository size exceeds the limit |
|
`mentionsDisabled`
| Boolean | Indicates if a group is disabled from getting mentioned |
|
`name`
| String! | Name of the namespace |
|
`parent`
| Group | Parent group |
|
`path`
| String! | Path of the namespace |
|
`projectCreationLevel`
| String | The permission level required to create projects in the group |
|
`repositorySizeExcessProjectCount`
| Int! | Number of projects in the root namespace where the repository size exceeds the limit |
|
`requestAccessEnabled`
| Boolean | Indicates if users can request access to namespace |
|
`requireTwoFactorAuthentication`
| Boolean | Indicates if all users in this group are required to set up two-factor authentication |
|
`rootStorageStatistics`
| RootStorageStatistics | Aggregated storage statistics of the namespace. Only available for root namespaces |
...
...
@@ -1726,9 +1726,9 @@ Contains statistics about a milestone.
|
`id`
| ID! | ID of the namespace |
|
`isTemporaryStorageIncreaseEnabled`
| Boolean! | Status of the temporary storage increase |
|
`lfsEnabled`
| Boolean | Indicates if Large File Storage (LFS) is enabled for namespace |
|
`lockedProjectCount`
| Int! | Number of projects in the root namespace where the repository size exceeds the limit |
|
`name`
| String! | Name of the namespace |
|
`path`
| String! | Path of the namespace |
|
`repositorySizeExcessProjectCount`
| Int! | Number of projects in the root namespace where the repository size exceeds the limit |
|
`requestAccessEnabled`
| Boolean | Indicates if users can request access to namespace |
|
`rootStorageStatistics`
| RootStorageStatistics | Aggregated storage statistics of the namespace. Only available for root namespaces |
|
`storageSizeLimit`
| Float | Total storage limit of the root namespace in bytes |
...
...
ee/app/graphql/ee/types/namespace_type.rb
View file @
c56a1403
...
...
@@ -27,7 +27,7 @@ module EE
description:
'Includes at least one project where the repository size exceeds the limit'
,
resolve:
->
(
obj
,
_args
,
_ctx
)
{
obj
.
contains_locked_projects?
}
field
:
locked
_project_count
,
field
:
repository_size_excess
_project_count
,
GraphQL
::
INT_TYPE
,
null:
false
,
description:
'Number of projects in the root namespace where the repository size exceeds the limit'
...
...
ee/spec/graphql/ee/types/namespace_type_spec.rb
View file @
c56a1403
...
...
@@ -9,7 +9,7 @@ RSpec.describe GitlabSchema.types['Namespace'] do
total_repository_size_excess
total_repository_size
contains_locked_projects
locked
_project_count
repository_size_excess
_project_count
storage_size_limit
is_temporary_storage_increase_enabled
temporary_storage_increase_ends_on
...
...
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