-
Notifications
You must be signed in to change notification settings - Fork 9.8k
[path_provider_linux] Using TMPDIR env as a primary temporary path #4218
Conversation
TMPDIR is a standard variable on UNIX/Linux systems, and is often used in containers such as Flatpak to redirect to a temporary folder inside a sandbox. This allows not to make hard bindings to the /tmp directory
Thanks for the submission! This will need the remaining items in the checklist (other than doc comments) addressed before it moves forward with review. If you have any questions about completing those steps that aren’t addressed in the linked documentation, please let me know. |
@stuartmorgan
Do I have to make a version bump in this case? |
@stuartmorgan |
The section you are quoting links to an explanation of the versioning policy for flutter/plugins. Could you elaborate on what your are seeing there that suggests you would not need to so that I can clarify it?
Since all you need is the |
@stuartmorgan |
packages/path_provider/path_provider_linux/lib/path_provider_linux.dart
Outdated
Show resolved
Hide resolved
packages/path_provider/path_provider_linux/lib/path_provider_linux.dart
Outdated
Show resolved
Hide resolved
packages/path_provider/path_provider_linux/lib/path_provider_linux.dart
Outdated
Show resolved
Hide resolved
packages/path_provider/path_provider_linux/test/path_provider_linux_test.dart
Outdated
Show resolved
Hide resolved
packages/path_provider/path_provider_linux/test/path_provider_linux_test.dart
Outdated
Show resolved
Hide resolved
packages/path_provider/path_provider_linux/test/path_provider_linux_test.dart
Outdated
Show resolved
Hide resolved
@stuartmorgan |
@stuartmorgan |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay. Looking again, the tests would be much clearer as three distinct tests rather than one test that alternates between changing the environment and then making new assertions. Rather than do another round of review, I just made those change in the PR.
LGTM with that. Thanks!
Oops, this got caught by the Windows bot change so it was never auto-landed. Landing manually, since this can't affect Windows. |
…lutter#4218) TMPDIR is a standard variable on UNIX/Linux systems, and is often used in containers such as Flatpak to redirect to a temporary folder inside a sandbox. This allows not to make hard bindings to the /tmp directory Fixes flutter/flutter#87742
…lutter#4218) TMPDIR is a standard variable on UNIX/Linux systems, and is often used in containers such as Flatpak to redirect to a temporary folder inside a sandbox. This allows not to make hard bindings to the /tmp directory Fixes flutter/flutter#87742
TMPDIR is a standard variable on UNIX/Linux systems, and is often used in containers such as Flatpak to redirect to a temporary folder inside a sandbox. This allows not to make hard bindings to the /tmp directory
Fixes flutter/flutter#87742
Pre-launch Checklist
dart format
.)[shared_preferences]
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.