Releases: thiagofigueiro/nexus3-cli
Releases · thiagofigueiro/nexus3-cli
3.0.3
3.0.2
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
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
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
withclick
for building the CLI - Bumped development status from
4 - Beta
to5 - 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 asnexus3 repository list
).
Fix
- #68 CLI options added to documentation
get_by_name
forapt
repositories. [Thiago Figueiro]
2.3.1
2.2.0
2.2.0 (2020-02-08)
Add
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
2.1.3 (2019-12-12)
Fix
- CLI exits with status code 3 on connection errors.
- Raise exception instead of
sys.exit(1)
innexus_client
. (thanks @samuelrohr) CleanupPolicy
API doc: days not seconds. (thanks @manics)
2.1.2
2.1.1
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
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
andget_by_name
methods inRepositoryCollection
will now parse and incorporate the repository attributes stored in Nexus - Refactor the
create_if_missing
method inScriptCollection
to read script code from distribution if not given as an argument.