buck-out should be ignored by buck filesystem traversal but didn't
See original GitHub issueAccording to Buck documentation, buck-out
should be ignored by buck filesystem traversal
https://buckbuild.com/concept/buckconfig.html#project.ignore
However, seems the logic is changed and files under buck-out
is being parsed by Buck.
A sample to repo the issue:
git clone git@github.com:zayhero/BugSample.git
brian_zhang ~/projects/BugSample (master) $ buck targets
//:Ignored.BUCK
buck build //:Ignored.BUCK
brian_zhang ~/projects/BugSample (master) $ buck targets
Buck wasn't able to parse /Users/brian_zhang/projects/BugSample/buck-out/gen/BUCK:
Syntax error on line 1, column 11:
this should show error error
^
This shows the BUCK
file under buck-out
is being parsed which is not align with Buck documentation.
This introduce problems to us when we using react-native
. We need to git clone
or npm install
react native code which contains some sample BUCK
files which cause buck build fail.
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (8 by maintainers)
Top Results From Across the Web
Buck: .buckconfig
Changes to Buck's configuration can—temporarily—degrade Buck's performance because of how they affect Buck's parsing and caching behavior. If you change the ...
Read more >The Programmer's Guide to bcache
The Programmer's Guide to bcache: This document is intended to cover the design and core concepts of bcache, and serve as a guide...
Read more >Path Traversal | OWASP Foundation
A path traversal attack (also known as directory traversal) aims to access files and directories that are stored outside the web root folder....
Read more >Allen SDK Documentation
for other Allen Brain Atlas data resources will come in future updates. ... Read in a URL and return the name of the...
Read more >Preventing path traversal in Golang - Matouš Dzivjak
... path traversal from the outside to traverse to a different bucket, ... b since the parent directory could be anything and we...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ttsugriy ah yeah, that’s what I meant. Thanks!
I think we do use watchman on CI.