timeplus-io / homebrew-timeplus Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
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.
The best part of homebrew is to easily upgrade to newer version. Currently the brew install proton
doesn't work. I have to run brew install [email protected]
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.