Comments (9)
Hmm... You should be able specify the rig name as part of the package. This was put in place to ensure that the right package is chosen when two rigs with conflicting packages are added.
In other words: gofish install github.com/shakefu/fish-food/go
.
However I think the default rig is hard-coded at this time.
I'd be happy to accept a PR that can either
- set a "default" rig, such that
gofish install go
would lookup under your fork - use the only rig available as the default if no other rigs are installed
Either option should solve your use case.
from gofish.
Updated the title to reflect the ask.
from gofish.
Even with the default rig enabled gofish search go
doesn't show the food in the added rig. Is this the expected behavior without the prefix?
from gofish.
Looks like the default rig is required to be present otherwise it breaks:
Searching does return the custom food if a partial prefix is supplied:
from gofish.
Worked for me just fine. Here's how I tested:
><> gofish rig remove github.com/fishworks/fish-food
🐠 rigs uninstalled in 1.764489ms
><> gofish rig add https://github.com/bacongobbler/fish-food
🐠 rig constructed in 1.097866964s
><> gofish rig list
NAME
github.com/bacongobbler/fish-food
><> gofish install wasmtime
==> Installing github.com/bacongobbler/fish-food/wasmtime...
🐠 wasmtime 0.29.0: installed in 1.130998062s
><> gofish search go | head -n 5
NAME RIG VERSION
act github.com/bacongobbler/fish-food 0.2.24
aks-engine github.com/bacongobbler/fish-food 0.66.0
anycable-go github.com/bacongobbler/fish-food 1.1.2
argocd github.com/bacongobbler/fish-food 2.0.5
from gofish.
Check and make sure you're using the latest version of gofish?
from gofish.
It is possible that Gofish may not be purging all of its cached data on a gofish unlink
. Try purging any directories that are listed out with gofish tank
and try again.
from gofish.
Check and make sure you're using the latest version of gofish?
Just installed following the install script instructions in the documentation a few hours ago.
Also I just noticed that go
is listed twice in the output from search, but with the same repo:
I'll try purging.
from gofish.
Just closing this cause I never got it working but also never went far into debugging why my setup was broken.
from gofish.
Related Issues (20)
- fix zip failure on windows
- Will this work with Linux/ARM? HOT 4
- Command aliases? HOT 2
- Support for uninstalling multiple packages at a time
- gofish pin <food> Hint failed HOT 3
- `gofish lint` should catch semver-invalid packages
- `gofish upgrade` should display which package is being installed
- Linux installation failed HOT 2
- Can't install 0.13.0 on Mac HOT 5
- gofish update and gofish upgrade fails to update repository HOT 3
- Update Old/Current Release Documentation to reflect new branch name. HOT 1
- Feature request: Creating symlinks under $GOFISH_BINPATH HOT 7
- Usage advice within a github workflow HOT 1
- SSL cert verification error trying to download helm HOT 6
- request: consider releasing binaries in github releases - goreleaser HOT 1
- proposal: ability to provide credentials to download releases HOT 2
- install completions HOT 4
- "gofish cleanup xyz" does not do anything! HOT 2
- darwin-arm64 build HOT 5
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 gofish.