Comments (3)
Hi!
Thanks for raising.
Indeed, there is room for improvement on how we can customize the various configuration options of whalebrew.
I doubt though that it is judicious to install whalebrew things in a homebrew folder. By default, we should keep the semantics.
What would be interesting is to understand what are the mechanisms brew bundle
supports so we can find a long-term solution.
If you have more insights about how brew bundle
works, or if you can investigate it, it would be a great help and starting point.
from whalebrew.
Hi @tjamet
I did investigate thoroughly at the time and at the time, brew bundle
really didn't offer much...
Note, I'm not suggesting whalebrew installs to a homebrew folder. I'm suggesting whalebrew adopts the same "pattern" but installs to its own folder /opt/whalebrew/bin
. All that's necessary for this is to detect the architecture and switch the hard-coded path for Apple Silicon. I hope this makes sense!
// pseudo-code
if (architecture == Apple Silicon) {
path = /opt/whalebrew/bin
} else {
path = /usr/local/bin
}
The other solution is to add an install_path option to whalebrew's config file, allowing individual users to override the path as necessary.
// pseudo-code
if (config[install_path]) {
path = config[install_path]
} else {
path = /usr/local/bin
}
Or, better yet, add both!
I'm afraid I don't have time to write a PR until at least 2024...
from whalebrew.
Hi @jmlnik!
The feature should have been implemented and available in this build.
It would be great to have your feedback about it.
What works and what not.
On MacOS, you will need to run xattr -d com.apple.quarantine whalebrew-Darwin-$(uname -m)
to be able to remove the macOS download warnings and use it.
from whalebrew.
Related Issues (20)
- Labels not working as expected HOT 3
- Immediate failure for `whalebrew search` on macOS Mojave with whalebrew 0.2.5 HOT 3
- Validate `io.whalebrew.*` labels HOT 1
- Make it work as non-admin HOT 3
- Ensure plain support of OCI images
- Add search support for Harbour docker registry
- Add search support for AWS docker registry
- Add search support for GCP docker registry
- whalebrew search does not list packages HOT 2
- Option to run a package without `-it` HOT 3
- terraform outdated HOT 5
- [Ideas] Apple Silicon (ARM64) Docker bitfmt support in Whalebrew HOT 5
- Broken uninstall (on brew version) HOT 3
- Warning for most packages on m1 macs HOT 1
- Was 0.4.0 re-tagged? HOT 4
- Is the docker daemon running? (Oh yes it is!) HOT 11
- podman support HOT 12
- Homebrew version of whalebrew is incorrect HOT 4
- open /usr/local/bin/whalesay: permission denied
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whalebrew.