Buck
pure-sh-bible
Buck | pure-sh-bible | |
---|---|---|
14 | 29 | |
8,564 | 6,281 | |
- | - | |
3.9 | 0.0 | |
6 months ago | 4 months ago | |
Java | Shell | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Buck
-
Go Dependency management in large company projects - How do you do it?
Hyper-large tech companies managing hyper-large monorepos using Bazel (google), buck (Facebook), please (thought machine), pants (Twitter, Foursquare & Square) enjoy them but also have a lot of resources devoted to running and maintaining it.
-
Compiling a single-file app with csc.dll
We use Buck company wide. Our packaging / deployment system, for example, expects to be given a Buck target to build, not a pre-built binary - I can’t just build my app with dotnet and upload it. While it is possible for a Buck target to be a simple bash command (i.e dotnet publish), doing so makes the target “opaque” - Buck wouldn’t have any knowledge of my app’s build graph so I’d lose many of the benefits it gives us (incremental cached builds etc.)
-
Just: A Command Runner
Oh excellent, then better (and more portable!) tools are available:
http://pants.build
https://ninja-build.org
https://buck.build
and, if you hate yourself: https://bazel.build
-
Meta lays off 11,000 people
I’m feeling sorry for everyone affected.
Let’s hope that this isn’t going to impact Buck [0] too much. It’s one of the best things Facebook has ever made.
[0]: https://github.com/facebook/buck/tree/dev
-
Dev Discussions: Everything You Need to Know about Monorepos with Juri Strumpflohner of Nrwl
Pioneered by tech giants like Google and Meta with tools like Bazel and Buck, monorepos are seeing widespread adoption across companies of all sizes and industries.
-
Using URLs for dependency management
Buck has a http_file() that you can use this way, and it has first-class support for Java.
-
Is it possible to be an android developer ONLY with the documentation?
That's a good bridge into saying that we don't use pretty much any standard tooling. Our build system is Buck, we use Mercurial instead of Git, and the IDE of choice seems to be Visual Studio (although Android Studio is supported, with some custom plugins required).
-
Best/Worst C++ IDE you have ever used?
Didn't know it was python based. Their github repo shows 90% of the code is java, only 2% is python. Regardless, C++ build systems should be written by people who are familiar with C++ and the specific problems they need to solve. That means the build system should be written in C++ or C and not in java, lua, or python. I certainly do not want to install python just to build my C++ programs in a CI environment, it just increases my build complexity and attack surface
- Are there any java build tools which have not been written in Java?, If not, what could be the reason?
-
Is anyone using TDD on a significant Android app? Any tips?
The landing page of https://buck.build/ explains some of the most basic stuff. This Meta Engineering blog post summarizes some of the deeper optimizations possible through buck: https://engineering.fb.com/2017/11/09/android/rethinking-android-app-compilation-with-buck/
pure-sh-bible
-
Kiss Package Manager
The guy who wrote it, also wrote a POSIX Shell bible: https://github.com/dylanaraps/pure-sh-bible
-
Pure Bash Bible
Do you have any specific examples to cite? The snippets are meant to be run in POSIX-compliant shells like dash/yash/ash/etc, not just Bash in compatibility mode.
In fact, there used to be a section which listed workarounds[1] for bugs in dash, but they have since been fixed[2]. If you are still using an old version of dash, you may need to use them.
[1] https://github.com/dylanaraps/pure-sh-bible/commit/70f410ebb...
[2] https://github.com/dylanaraps/pure-sh-bible/issues/13
- Pure Sh Bible
-
"Immortal" Bash scripts, using inline Nix and a special header block
Personally, I would steer clear of a script that installs dependencies on it's own. Us sysadmins prefer to manage our own dependencies, generally speaking. Instead consider a README that outlines how to meet/install dependencies for the script, or try to find ways to write your script in pure Shell or Bash without using tools like awk, jq, etc. Consider having a look at the Pure Sh Bible for examples of how to do many useful things in pure Sh.
- r/posixshell Lounge
-
Shell in a nutshell
POSIX Shell Tutorial POSIX shell cheat sheet GitHub - dylanaraps/pure-sh-bible: 📖 A collection of pure POSIX sh alternatives to external… Shell Scripting Tutorial
-
Just: A Command Runner
There is the "pure bash bible" but it seems less than maintained these days: https://github.com/dylanaraps/pure-sh-bible
Otherwise you're stuck reading the POSIX standard: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V...
- Unix shell script tactics - a style guide
-
Posix shell compliant
Look at this: https://github.com/dylanaraps/pure-sh-bible
What are some alternatives?
Bazel - a fast, scalable, multi-language and extensible build system
pure-bash-bible - đź“– A collection of pure bash alternatives to external processes.
Gradle - Adaptable, fast automation for all
awesome-bash-commands - A curated list of awesome Bash useful commands. Inspired by awesome-shell and bash-handbook.
Apache Maven - Apache Maven core
bfetch - đź“ Dynamic fetch displayer that SuperB
pants - The Pants Build System
scripts-to-rule-them-all - Set of boilerplate scripts describing the normalized script pattern that GitHub uses in its projects.
git-lfs - Git extension for versioning large files
snake-bash - Command Line Snake Game written in BASH
nvim-lspconfig - Quickstart configs for Nvim LSP
clh-bash - Arcade game to show your Command Line Hero skills! The game challenges you to enter as many valid commands as you can in 60 seconds!