Skip to content

Releases: thiagofigueiro/nexus3-cli

3.0.3

22 Feb 07:38
33fb005
Compare
Choose a tag to compare

3.0.2 (2020-02-22)

Fix

  • cleanup-policy commands for Nexus 3.19.x

Change

  • update Nexus 3 versions tested against.

    • Add: 3.19.1
    • Remove: 3.20.0

3.0.2

22 Feb 06:55
a93bf45
Compare
Choose a tag to compare

3.0.2 (2020-02-22)

Fix

  • `repository create`` command on Nexus 3.21.0

Change

  • update Nexus 3 versions tested against.

    Add:

    • 3.21.1

3.0.1

22 Feb 04:09
3f336aa
Compare
Choose a tag to compare

3.0.1 (2020-02-22)

Fix

  • cleanup-policy commands.

    Sonatype made a breaking change to the groovy API in 3.20.0;
    org.sonatype.nexus.cleanup.storage.CleanupPolicy no longer exists.

Change

  • update Nexus 3 versions tested against.

    Add:

    • 3.20.0
    • 3.20.1

    Remove:

    • 3.17.0
    • 3.18.1
    • 3.19.1

3.0.0

17 Feb 01:28
d74a9cf
Compare
Choose a tag to compare

3.0.0 (2020-02-17)

Breaking changes

  • Some CLI options have changed
  • Some API parameters have changed
  • Dropped support for Nexus 3 versions <3.20.0

Changes

  • Replace docopt with click for building the CLI
  • Bumped development status from 4 - Beta to 5 - Production/Stable

Add

  • allow use of options and environment variables on nexus3 login command.
  • CLI parser now understands any shortened, non-conflicting option (e.g.: nexus3 r l is the same as nexus3 repository list).

Fix

  • #68 CLI options added to documentation
  • get_by_name for apt repositories. [Thiago Figueiro]

2.3.1

10 Feb 02:39
69508b3
Compare
Choose a tag to compare

2.3.1 (2020-02-10)

Add

  • Support for apt repositories (thanks @verhyppo)

Fix

  • Circular dependency error on NexusClient

2.2.0

08 Feb 22:43
d8b90ee
Compare
Choose a tag to compare

2.2.0 (2020-02-08)

Add

  • Support docker repository (thanks @verhyppo)
  • Support authenticated remotes (thanks @verhyppo)

Change

  • New CLI error codes for:
    • DOWNLOAD_ERROR = 4
    • INVALID_CREDENTIALS = 5
    • SUBCOMMAND_ERROR = 11
  • Upload error will have more info printed (thanks @slackwar)

Fix

  • Take Nexus context into account in REST calls (thanks @manics)

API/dev changes

  • Use custom exception with built-in exit code

2.1.3

12 Dec 07:13
260be06
Compare
Choose a tag to compare

2.1.3 (2019-12-12)

Fix

  • CLI exits with status code 3 on connection errors.
  • Raise exception instead of sys.exit(1) in nexus_client. (thanks @samuelrohr)
  • CleanupPolicy API doc: days not seconds. (thanks @manics)

2.1.2

07 Dec 08:46
cbd370e
Compare
Choose a tag to compare

2.1.2 (2019-12-07)

Fix

  • CLI options for root commands not working

2.1.1

07 Dec 05:56
1efc571
Compare
Choose a tag to compare

2.1.1 (2019-12-07)

Fix

  • Error creating repository with cleanup policy in Nexus 3.19.0+

Other

  • Test using the last 3 minor versions of Nexus: 3.19.1, 3.18.1, 3.17.0.
  • Show detailed error for repositories with more than 10k objects. This is a known Nexus 3 problem and I might write a work-around for it.

2.1.0

10 Nov 06:03
Compare
Choose a tag to compare

2.1.0 (2019-11-10)

Add

  • CLI --version option (thanks @f18m)
  • CLI repository show command; prints a repository's full configuration, as stored in Nexus, to the console in JSON format.
  • Extra message on basic CLI instructions to help expose commands/subcommands (based on @f18m's feedback)

API/dev changes

  • Enable test to check yum repo depth.
  • Fix flakey/duplicate repo names in tests.
  • The get_repo_by_name and get_by_name methods in RepositoryCollection will now parse and incorporate the repository attributes stored in Nexus
  • Refactor the create_if_missing method in ScriptCollection to read script code from distribution if not given as an argument.