bt-thiago
bt-thiago
@vaab it's been a while since this is open, so I'd like to check with you before starting. Do you still have interest in a PR for this? We use...
We fixed this in 7ace4b43661a7abb4d392362edb1e7176effe1c1 for downloads. It's the same fix for uploads (should be anyway).
Looking at this again, the same fix is not enough for uploads because of this: https://github.com/thiagofigueiro/nexus3-cli/blob/9360a84796033b35f498be28cf5af64f8480e018/src/nexuscli/api/repository/upload.py#L25 which loads the entire contents of the file to be uploaded in memory
> 1. is the "tests/cli/test_delete" (which is failing right now) an integration test or not? Integration tests have a `@pytest.mark.integration` decorator. > in that test is the Nexus response mocked...
Thanks for the bug report @pbsladek. I'm looking to reproduce this locally - how big is too big? I'm assuming 10,001 files. I have a feeling that the directory iteration...
Nexus issue: https://issues.sonatype.org/browse/NEXUS-16917
To reproduce: ```bash nexus3 repository create raw raw ``` ```python from nexuscli import nexus_client, nexus_config config = nexus_config.NexusConfig() config.load() c = nexus_client.NexusClient(config) for i in range(10001): c.upload('/dev/null', f'raw/a{i}') ``` ```bash...
@pbsladek the error can happen on a single directory with more than 10k files, so the strategy of breaking-up downloads per directory won't always work, although it would probably cover...