Skip to main content

A python-based CLI for Sonatype Nexus OSS 3

Project description

nexus3-cli

A python-based CLI for Sonatype's Nexus OSS 3

Build Status CodeFactor codecov Documentation Status

Usage

$ pip install nexus3-cli
$ docker run -d --rm -p 8081:8081 sonatype/nexus3
# (wait for nexus to start-up)

$ nexus3 repo list
Name                                     Format  Type    URL
----                                     ------  ----    ---
maven-snapshots                          maven2  hosted  http://localhost:8081/repository/maven-snapshots
maven-central                            maven2  proxy   http://localhost:8081/repository/maven-central
nuget-group                              nuget   group   http://localhost:8081/repository/nuget-group
nuget.org-proxy                          nuget   proxy   http://localhost:8081/repository/nuget.org-proxy
maven-releases                           maven2  hosted  http://localhost:8081/repository/maven-releases
nuget-hosted                             nuget   hosted  http://localhost:8081/repository/nuget-hosted
maven-public                             maven2  group   http://localhost:8081/repository/maven-public

$ nexus3 repo create hosted yum my-yum-repository --write=deny
Created repository: my-yum-repository

$ nexus3 repo list | grep my-yum-repository
Name                                     Format  Type    URL
----                                     ------  ----    ---
my-yum-repository                        yum     hosted  http://localhost:8081/repository/my-yum-repository

Logging level can be configured by setting an environment variable named LOG_LEVEL. Valid values for LOG_LEVEL are DEBUG, INFO, WARNING, ERROR, CRITICAL. By default logging level is set to WARNING.

For all commands and options, run nexus3 -h.

To do

  1. Support for upload to repositories other than raw, yum.
  2. Blobstore management

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nexus3-cli-0.7.0.tar.gz (17.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nexus3_cli-0.7.0-py2.py3-none-any.whl (20.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file nexus3-cli-0.7.0.tar.gz.

File metadata

  • Download URL: nexus3-cli-0.7.0.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.3.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.14

File hashes

Hashes for nexus3-cli-0.7.0.tar.gz
Algorithm Hash digest
SHA256 e671d16107a8b875e7cef31d6ecedc1425b4aef1f384d01bcf5fb9231ee3d209
MD5 96694a81b432a02c1892497877cc45ca
BLAKE2b-256 e6971694f4c5206cd0a464234c68eb6e3145f458ca01fba90344e74d3313c67c

See more details on using hashes here.

File details

Details for the file nexus3_cli-0.7.0-py2.py3-none-any.whl.

File metadata

  • Download URL: nexus3_cli-0.7.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 20.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.3.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.14

File hashes

Hashes for nexus3_cli-0.7.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 09d67750abd668776acc4a621221303762864803a9a01b103d2df1e79d47da9a
MD5 305c87fe9c1c36a5df6085d076119844
BLAKE2b-256 ab3e9ef58875d17a88a9a459e1f72903e2ccc9fcb5e49a96c4aadac02052b994

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page