nspcc-dev / gh-push-to-neofs

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

STRIP_PREFIX should be the default behavior #25

Open roman-khimov opened 4 months ago

roman-khimov commented 4 months ago

Is your feature request related to a problem? Please describe.

I'm always frustrated when I look at how non-STRIP_PREFIX operates. It's has dangerous assumption of PATH_TO_FILES_DIR being a simple directory, but it can be a/b/c and things will break in this case. Non-STRIP_PREFIX behavior is easy to get by creating a/i_want_this_prefix/.

Describe the solution you'd like

Make STRIP_PREFIX the default, drop this mode. Problem: it's an incompatible change.