STRIP_PREFIX should be the default behavior #15

Open
opened 2025-12-28 18:15:44 +00:00 by sami · 0 comments
Owner

Originally created by @roman-khimov on GitHub (May 15, 2024).

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.

Originally created by @roman-khimov on GitHub (May 15, 2024). ## 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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/gh-push-to-neofs#15
No description provided.