Skip to content

Interpret environment entries as path parts#1483

Merged
mosteo merged 2 commits into
masterfrom
fix/slashes-simple
Feb 26, 2024
Merged

Interpret environment entries as path parts#1483
mosteo merged 2 commits into
masterfrom
fix/slashes-simple

Conversation

@mosteo

@mosteo mosteo commented Oct 24, 2023

Copy link
Copy Markdown
Member

Addresses part of #1178, by mandating '/' path separators in environment values for dir separation.

I expect user intent is always (99.9%?) to have slashes be interpreted as path separators in environment entries. We had some conditional expressions in our test indexes, but none in our current community releases, so we were already operating under the above assumption. We could provide a way down the road to avoid this path interpretation, but it seems a pretty marginal use case.

This is a breaking reinterpretation, so in time for 2.0.

@mosteo mosteo force-pushed the fix/slashes-simple branch 2 times, most recently from c17f2a8 to df1c436 Compare December 15, 2023 16:24
@mosteo mosteo force-pushed the fix/slashes-simple branch 2 times, most recently from 29e9e16 to 0fcf892 Compare January 22, 2024 10:38
@mosteo mosteo force-pushed the fix/slashes-simple branch from 0fcf892 to e13741b Compare February 16, 2024 13:31
This is the likely intended behavior. Down the road we can have a way to have
literal values in these strings.
@mosteo mosteo force-pushed the fix/slashes-simple branch from e13741b to 058e787 Compare February 22, 2024 12:49
@mosteo mosteo force-pushed the fix/slashes-simple branch from 52b96b3 to 7218070 Compare February 22, 2024 17:02
@mosteo mosteo marked this pull request as ready for review February 22, 2024 17:28
@mosteo mosteo linked an issue Feb 23, 2024 that may be closed by this pull request
@mosteo mosteo added this to the 2.0 milestone Feb 26, 2024
@mosteo mosteo merged commit 2f53db7 into master Feb 26, 2024
@mosteo mosteo deleted the fix/slashes-simple branch February 26, 2024 19:38
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.

Path on windows with slashes and backslashes

2 participants