Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disallow symlinks #17315

Merged
merged 4 commits into from Jun 13, 2019
Merged

Disallow symlinks #17315

merged 4 commits into from Jun 13, 2019

Conversation

jgraham
Copy link
Contributor

@jgraham jgraham commented Jun 13, 2019

Symlinks don't work well cross-platform and are forbidden from the Gecko tree, so we should forbid them here also.

Would be good to disallow whitelisting this one somehow, but that's a
larger change.
@jgraham
Copy link
Contributor Author

jgraham commented Jun 13, 2019

Pretty sure the failing tests are unrelated to this change.

Copy link
Member

@Hexcles Hexcles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM % a nit

tools/lint/lint.py Outdated Show resolved Hide resolved
jgraham and others added 2 commits June 13, 2019 21:16
@jugglinmike
Copy link
Contributor

Works on my end. We just need to copy @Hexcles' suggestion to the test expectation. I'll squash and merge once the build passes.

@jugglinmike jugglinmike merged commit 8d6992d into master Jun 13, 2019
@jugglinmike jugglinmike deleted the disallow_symlinks branch June 13, 2019 20:51
marcoscaceres pushed a commit that referenced this pull request Jul 23, 2019
* Lint to ensure there are no symlinks in the tree.

Would be good to disallow whitelisting this one somehow, but that's a
larger change.

* Remove symlink

* Update tools/lint/lint.py

Co-Authored-By: Robert Ma <bob1211@gmail.com>

* Update tools/lint/tests/test_path_lints.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants