Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
佳 邓
Gitlab4j Api
Commits
264884af
Commit
264884af
authored
Apr 12, 2024
by
Jeremie Bresson
Browse files
Merge remote-tracking branch 'origin/main' into 6.x
parents
13533a41
ed0ebb6d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/gitlab4j/api/ImportExportApi.java
View file @
264884af
...
...
@@ -239,7 +239,8 @@ public class ImportExportApi extends AbstractApi {
.
withParam
(
"packages_enabled"
,
overrideParams
.
getPackagesEnabled
())
.
withParam
(
"build_git_strategy"
,
overrideParams
.
getBuildGitStrategy
())
.
withParam
(
"build_coverage_regex"
,
overrideParams
.
getBuildCoverageRegex
())
.
withParam
(
"squash_option"
,
overrideParams
.
getSquashOption
());
.
withParam
(
"squash_option"
,
overrideParams
.
getSquashOption
())
.
withParam
(
"name"
,
overrideParams
.
getName
());
}
Response
response
=
upload
(
Response
.
Status
.
CREATED
,
"file"
,
exportFile
,
null
,
formData
,
url
);
...
...
@@ -251,7 +252,7 @@ public class ImportExportApi extends AbstractApi {
*
* <pre><code>GitLab Endpoint: GET /projects/:id/import</code></pre>
*
* @param projectIdOrPath the new (imported) project identifier in the form of an Long(ID), String(path), or Project instance
* @param projectIdOrPath the new (imported) project identifier in the form of an Long(ID), String(path), or Project instance
* @return an ImportStatus instance holding information on the import status
* @throws GitLabApiException if any exception occurs
*/
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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