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.

.buckconfig project ignore not working

See original GitHub issue

To repo, add a random BUCK file to a directory and add to your .buckconfig:

[project]
  ignore = your_test_directory/**

The newly added BUCK file is not actually being ignored. This can be observed by running buck targets and seeing the newly added BUCK file.

According to the documentation, the parameter should cause the directory to be “ignored in the following contexts” which includes “Filesystem traversal when searching for tests and BUCK files” which isn’t happening here.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
yidingcommented, Jun 28, 2017

Looks like okbuck creates a .buckconfig.local which overwrites project.ignore with:

[project]
	ignore = .git, **/.svn

This is an issue with okbuck, not buck itself.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Buck: .buckconfig
This speeds up builds for large projects over using regular directory header search paths, but breaks some Xcode features, like header file name...
Read more >
What does // refer to when you have nested Buck projects?
In BUCK file C, I have a path like this: //:library . When not used as a submodule, // will be resolved to...
Read more >
Building With Buck + Travis CI
In this weeks tutorial I'll be showing you how to integrate Buck into your Travis CI builds. Buck up and let's get building....
Read more >
Gerrit Code Review - Building with Buck
Generating the Eclipse Project; Refreshing the Classpath ... Rerun unit tests; Upgrading Buck; Known issues and bugs ... buck test --exclude flaky slow....
Read more >
.buckconfig - plugins/project-group-structure - Git at Google
plugin = //:project-group-structure. src = //:project-group-structure-sources. [java]. src_roots = java, resources. [project]. ignore = .git. [cache].
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