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
a7eace71
Commit
a7eace71
authored
Apr 09, 2021
by
Steve Abrams
Committed by
Nick Gaskill
Apr 09, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add supported CLI commands to package docs
parent
2a730576
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
48 additions
and
1 deletion
+48
-1
doc/user/packages/composer_repository/index.md
doc/user/packages/composer_repository/index.md
+7
-0
doc/user/packages/maven_repository/index.md
doc/user/packages/maven_repository/index.md
+8
-0
doc/user/packages/npm_registry/index.md
doc/user/packages/npm_registry/index.md
+16
-1
doc/user/packages/nuget_repository/index.md
doc/user/packages/nuget_repository/index.md
+10
-0
doc/user/packages/pypi_repository/index.md
doc/user/packages/pypi_repository/index.md
+7
-0
No files found.
doc/user/packages/composer_repository/index.md
View file @
a7eace71
...
...
@@ -295,3 +295,10 @@ Never commit the `auth.json` file to your repository. To install packages from a
consider using the
[
`composer config`
](
https://getcomposer.org/doc/articles/handling-private-packages.md#satis
)
tool with your personal access token
stored in a
[
GitLab CI/CD variable
](
../../../ci/variables/README.md
)
or in
[
HashiCorp Vault
](
../../../ci/secrets/index.md
)
.
## Supported CLI commands
The GitLab Composer repository supports the following Composer CLI commands:
-
`composer install`
: Install Composer dependencies.
-
`composer update`
: Install the latest version of Composer dependencies.
doc/user/packages/maven_repository/index.md
View file @
a7eace71
...
...
@@ -871,3 +871,11 @@ package:
-
'mvn help:system'
-
'mvn package'
```
## Supported CLI commands
The GitLab Maven repository supports the following Maven CLI commands:
- `mvn deploy`: Publish your package to the Package Registry.
- `mvn install`: Install packages specified in your Maven project.
- `mvn dependency:get`: Install a specific package.
doc/user/packages/npm_registry/index.md
View file @
a7eace71
...
...
@@ -515,4 +515,19 @@ This is usually a permissions issue with either:
-
The remote bucket if
[
object storage
](
../../../administration/packages/#using-object-storage
)
is used.
In the latter case, ensure the bucket exists and the GitLab has write access to it.
In the latter case, ensure the bucket exists and GitLab has write access to it.
## Supported CLI commands
The GitLab npm repository supports the following commands for the npm CLI (
`npm`
) and yarn CLI
(
`yarn`
):
-
`npm install`
: Install npm packages.
-
`npm publish`
: Publish an npm package to the registry.
-
`npm dist-tag add`
: Add a dist-tag to an npm package.
-
`npm dist-tag ls`
: List dist-tags for a package.
-
`npm dist-tag rm`
: Delete a dist-tag.
-
`npm ci`
: Install npm packages directly from your
`package-lock.json`
file.
-
`npm view`
: Show package metadata.
-
`yarn add`
: Install an npm package.
-
`yarn update`
: Update your dependencies.
doc/user/packages/nuget_repository/index.md
View file @
a7eace71
...
...
@@ -393,3 +393,13 @@ dotnet add package <package_id> \
-
`<package_id>`
is the package ID.
-
`<package_version>`
is the package version. Optional.
## Supported CLI commands
The GitLab NuGet repository supports the following commands for the NuGet CLI (
`nuget`
) and the .NET
CLI (
`dotnet`
):
-
`nuget push`
: Upload a package to the registry.
-
`dotnet nuget push`
: Upload a package to the registry.
-
`nuget install`
: Install a package from the registry.
-
`dotnet add`
: Install a package from the registry.
doc/user/packages/pypi_repository/index.md
View file @
a7eace71
...
...
@@ -359,3 +359,10 @@ characters are removed.
A
`pip install`
request for
`my.package`
looks for packages that match any of
the three characters, such as
`my-package`
,
`my_package`
, and
`my....package`
.
## Supported CLI commands
The GitLab PyPI repository supports the following CLI commands:
-
`twine upload`
: Upload a package to the registry.
-
`pip install`
: Install a PyPI package from the registry.
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