teodorlu / bbup.teod.eu

https://bbup.teod.eu/
1 stars 0 forks source link

List of small problems #1

Open teodorlu opened 1 year ago

teodorlu commented 1 year ago
  1. [x] Errors on Ubuntu related to bash and sh differences
    • Proposed solution: just pipe into bash, don't aim for posix sh compatibility
  2. [ ] Not having installed java first makes weird things happen
    • Proposed solution: terminate early if java is not installed, print a link to where java can be installed
  3. [ ] Homebrew can be the preferred installation solution on Mac and Linux
    • Proposed solution: let the user choose homebrew on frontend
  4. [ ] Scoop is a nice solution on Windows
    • Proposed solution: let the user choose scoop on frontend
  5. [ ] When I try to run this on a normal Linux installation (not Docker), it fails with permission errors.
    • Proposed action: Need to test, figure out what goes wrong and fix. I suspect we need to fiddle with sudo
borkdude commented 1 year ago

Proposed solution: just pipe into bash, don't aim for posix sh compatibility

One way to solve this could also be to make the babashka and bbin install script posix compatible

Not having installed java first makes weird things happen

Maybe it's too risky to detect if java is installed, e.g. it's fine if Java is not on the path if JAVA_HOME is set, check deps.clj if you want to know the exact logic

let the user choose x on frontend

Seems good to me