Code Monkey home page Code Monkey logo

homebrew-timeplus's People

Contributors

jovezhong avatar yokofly avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

homebrew-timeplus's Issues

`brew install proton` should do similar things as `proton install`

Today the brew install proton only grabs the binary file and put in a path.
then I run proton server start in any folder, it will generate config files and data/log files in current folders.

I may want to run proton install to install proton with system folders. Just like when I homebrew Grafana, MySQL or PostgreSQL. No matter where I start the command, the folders are fixed and I can reuse/tune the config file.

But it's odd to run brew install proton first then sudo proton install.
The key goal of homebrew is to handle such case, not just binary file, but also config/data/logs

You may want to do something similar as https://github.com/timeplus-io/proton/blob/develop/programs/install/Install.cpp in the homebrew way.

Having issue to `brew upgrade proton` but `brew reinstall proton` works with manual `brew unlink ..`

On one of my test server, I installed 1.3.22 proton via homebrew before. I failed to upgrade it to 1.3.25

brew update
Already up-to-date.

which proton
/opt/homebrew/bin/proton

proton client --version
proton client version 1.3.22.

brew upgrade proton --verbose
Error: timeplus-io/timeplus/[email protected] not installed

brew upgrade proton -d -f
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/timeplus-io/homebrew-timeplus/Formula/[email protected]
Error: timeplus-io/timeplus/[email protected] not installed

brew reinstall proton
==> Fetching timeplus-io/timeplus/[email protected]
==> Downloading https://github.com/timeplus-io/proton/releases/download/v1.3.25/proton-v1.3.25-Darwin-arm64
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/678214856/8a5290a6-280a-4
#################################################################################################################### 100.0%
==> Reinstalling timeplus-io/timeplus/[email protected]
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /opt/homebrew
Could not symlink bin/proton
Target /opt/homebrew/bin/proton
is a symlink belonging to [email protected]. You can unlink it:
  brew unlink [email protected]

To force the link and overwrite all conflicting files:
  brew link --overwrite [email protected]

To list all files that would be deleted:
  brew link --overwrite --dry-run [email protected]

Possible conflicting files are:
/opt/homebrew/bin/proton -> /opt/homebrew/Cellar/[email protected]/1.3.22/bin/proton

brew unlink [email protected]
Unlinking /opt/homebrew/Cellar/[email protected]/1.3.22... 1 symlinks removed.

brew reinstall proton
==> Fetching timeplus-io/timeplus/[email protected]
==> Downloading https://github.com/timeplus-io/proton/releases/download/v1.3.25/proton-v1.3.25-Darwin-arm64
Already downloaded: /Users/jove/Library/Caches/Homebrew/downloads/230f3f9e8cd5a5562884be4d067d12dae996559ae6c4626f09db64a75bf9afd4--proton-v1.3.25-Darwin-arm64
==> Reinstalling timeplus-io/timeplus/[email protected]

proton client --version
proton client version 1.3.25.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.