Code Monkey home page Code Monkey logo

Comments (9)

bacongobbler avatar bacongobbler commented on August 12, 2024

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

  1. set a "default" rig, such that gofish install go would lookup under your fork
  2. use the only rig available as the default if no other rigs are installed

Either option should solve your use case.

from gofish.

bacongobbler avatar bacongobbler commented on August 12, 2024

Updated the title to reflect the ask.

from gofish.

shakefu avatar shakefu commented on August 12, 2024

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.

shakefu avatar shakefu commented on August 12, 2024

Looks like the default rig is required to be present otherwise it breaks:
image

Searching does return the custom food if a partial prefix is supplied:
image

from gofish.

bacongobbler avatar bacongobbler commented on August 12, 2024

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.

bacongobbler avatar bacongobbler commented on August 12, 2024

Check and make sure you're using the latest version of gofish?

from gofish.

bacongobbler avatar bacongobbler commented on August 12, 2024

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.

shakefu avatar shakefu commented on August 12, 2024

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.

image

Also I just noticed that go is listed twice in the output from search, but with the same repo:
image

I'll try purging.

from gofish.

shakefu avatar shakefu commented on August 12, 2024

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)

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.