Hook for automatically generated .buckconfig?
See original GitHub issueIn Buckaroo we are overwritting .buckconfig.local
with automatically generated values for [repositories]
. This is less than ideal, because if the user has important configuration there it is lost.
It would be possible for us to parse and merge the existing .buckconfig.local
(discussion), but this would be a brittle solution.
Instead, perhaps Buck could provide a hook for this? For example, we could introduce a new .buckconfig
designed for generated values. For example (in order or precedence):
.buckconfig
.buckconfig.generated
.buckconfig.local
Would this fit with the overall design direction of Buck?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:20 (19 by maintainers)
Top Results From Across the Web
Buck: .buckconfig
Xcode projects generated by Buck by default use header maps for header search paths ... e.g. buck build buck , this will be...
Read more >/ - gitiles - Git at Google
Gitiles is a simple repository browser for Git repositories, built on JGit. Its guiding principle is simplicity: it has no formal access controls,...
Read more >react-native-lib-test - npm
Sample of context-api with `react-hook` (`useContext`). 2. ... runs at http://localhost:8080 , but should be automatically opened for you.
Read more >.buckconfig · master · parity / Mirrored projects / parity-signer · GitLab
fix: update metadata * docs: created issue for stock metadata updates * docs: lint * feat: add generalized metadata storage mwp * feat:...
Read more >How to Create a Buck-based C/C++ Project | HackerNoon
Organizing Your Files · A .buckconfig is required before you can run any Buck commands. · The BUCK file is where we will...
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
.buckconfig
supports including other files, see “Configuration files can include other files” here: https://buckbuild.com/files-and-dirs/buckconfig.html.You can create
.buckconfig.generated
file and include it from.buckconfig
:The question mark instructs buck not to fail when that file doesn’t exist.
Unfortunately then we would need to call the script using a relative path… One nice feature of Buck is that you can invoke any buck command from any sub directory and it just works.