question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

buck-out should be ignored by buck filesystem traversal but didn't

See original GitHub issue

According 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:

  1. git clone git@github.com:zayhero/BugSample.git
brian_zhang ~/projects/BugSample (master) $ buck targets
//:Ignored.BUCK
  1. 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:closed
  • Created 6 years ago
  • Comments:10 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
jiangty-addeparcommented, Nov 13, 2017

@ttsugriy ah yeah, that’s what I meant. Thanks!

1reaction
yidingcommented, Nov 11, 2017

I think we do use watchman on CI.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found