nspcc-dev / gh-push-to-neofs

GitHub action to push things into NeoFS
MIT License
7 stars 2 forks source link

Old objects with the same path/name are not deleted #15

Closed roman-khimov closed 6 months ago

roman-khimov commented 8 months ago

Current Behavior

Uploading file the same name as already existing one doesn't replace the object.

Expected Behavior

Object with the same path to be replaced.

Possible Solution

Check for existing objects with the same path, drop them after upload.

Steps to Reproduce

Upload neofs-spec-latest.pdf via https://github.com/nspcc-dev/neofs-spec/blob/968f6864e6207667ea2284c9066f4cc8993f494c/.github/workflows/neofs.yml, get it via the gateway.

Context

Related to #2.

roman-khimov commented 6 months ago

Fixed in #16.