Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix zip file splitting #19

Merged
merged 2 commits into from
Aug 16, 2019
Merged

Conversation

lubomir
Copy link
Contributor

@lubomir lubomir commented Aug 16, 2019

Fix the logic according to provided specs: if toplevel directory contains maven-repository as subdir, only its contents should be packed (and moved to toplevel). Anything other is ancillary and should be skipped.

If the maven-repository directory is not found, no filtering is done. When a directory is given as input, that full directory is zipped and uploaded.

When directory is given as input, simply pack it all and publish.

When zip file is specified, it is repacked to create smaller archives.
The tool tries to find the actual maven-repository files. If that
succeeds, only those files are pushed (meaning any ancillary files are
removed, e.g. licences, examples).

Fixes: NEXUS-237
Increase line length at which warnings are generated, and make
test-runner capture output. It will be printed on error, and it tends to
drown important messages in lots of noise.
@lubomir lubomir merged commit d7c1bca into release-engineering:master Aug 16, 2019
@lubomir lubomir deleted the zip-split branch August 16, 2019 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant