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
054afda3
Commit
054afda3
authored
Aug 12, 2021
by
Illya Klymov
Committed by
Jacques Erasmus
Sep 13, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Introduce last_import_target field for bulk imports
* Save last target of import to this field
parent
518de54a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
app/assets/javascripts/import_entities/import_groups/graphql/typedefs.graphql
...ts/import_entities/import_groups/graphql/typedefs.graphql
+12
-1
No files found.
app/assets/javascripts/import_entities/import_groups/graphql/typedefs.graphql
View file @
054afda3
...
@@ -30,6 +30,7 @@ type ClientBulkImportSourceGroup {
...
@@ -30,6 +30,7 @@ type ClientBulkImportSourceGroup {
full_name
:
String
!
full_name
:
String
!
progress
:
ClientBulkImportProgress
!
progress
:
ClientBulkImportProgress
!
import_target
:
ClientBulkImportTarget
!
import_target
:
ClientBulkImportTarget
!
last_import_target
:
ClientBulkImportTarget
validation_errors
:
[
ClientBulkImportValidationError
!]!
validation_errors
:
[
ClientBulkImportValidationError
!]!
}
}
...
@@ -50,11 +51,21 @@ extend type Query {
...
@@ -50,11 +51,21 @@ extend type Query {
availableNamespaces
:
[
ClientBulkImportAvailableNamespace
!]!
availableNamespaces
:
[
ClientBulkImportAvailableNamespace
!]!
}
}
input
InputTargetInput
{
target_namespace
:
String
!
new_name
:
String
!
}
extend
type
Mutation
{
extend
type
Mutation
{
setNewName
(
newName
:
String
,
sourceGroupId
:
ID
!):
ClientBulkImportSourceGroup
!
setNewName
(
newName
:
String
,
sourceGroupId
:
ID
!):
ClientBulkImportSourceGroup
!
setTargetNamespace
(
targetNamespace
:
String
,
sourceGroupId
:
ID
!):
ClientBulkImportSourceGroup
!
setTargetNamespace
(
targetNamespace
:
String
,
sourceGroupId
:
ID
!):
ClientBulkImportSourceGroup
!
importGroups
(
sourceGroupIds
:
[
ID
!]!):
[
ClientBulkImportSourceGroup
!]!
importGroups
(
sourceGroupIds
:
[
ID
!]!):
[
ClientBulkImportSourceGroup
!]!
setImportProgress
(
id
:
ID
,
status
:
String
!):
ClientBulkImportSourceGroup
!
setImportProgress
(
id
:
ID
status
:
String
!
jobId
:
String
importTarget
:
ImportTargetInput
!
):
ClientBulkImportSourceGroup
!
updateImportProgress
(
id
:
ID
,
status
:
String
!):
ClientBulkImportProgress
updateImportProgress
(
id
:
ID
,
status
:
String
!):
ClientBulkImportProgress
addValidationError
(
addValidationError
(
sourceGroupId
:
ID
!
sourceGroupId
:
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