Packaging goose to Fedora
Please explain the motivation behind the feature request. Fedora does not have a terminal AI assistant at the moment package in the main repositories, and I would like to package it for you guys.
For now, this would be mainly for tackling the CLI portion of Goose, and perhaps, later, we could figure out how to get Goose Desktop UI in it as well.
Describe the solution you'd like Having a rpm to package this to Fedora in upstream
Describe alternatives you've considered None
Additional context I have already a build going through COPR here https://github.com/rhel-lightspeed/goose. Would love some reviews and opinions on it.
Package review for fedora being tracked at: https://bugzilla.redhat.com/show_bug.cgi?id=2415364
- [x] I have verified this does not duplicate an existing feature request
Sounds great! How can we best help?
Sounds great! How can we best help?
Hey, @DOsinga!
So, I think for now, the packaging worked out very well (at least in COPR). My next steps are getting to Fedora repos. Getting your ack in here is a huge help, as I believe this is one of the criteria for pushing to Fedora (IIRC).
One think I would like to ask for support here is to understand if the generated artifacts goose and goosed is really the only thing that needs to existing in the user system. I know that when we do a cargo build --release, other binaries are generated as well. Do I need to include those too?
Okay, so, I have been looking at building goose without vendoring the dependencies, and right now, it seems that I have around 75 errors, but, some of them I can fix by updating dependencies or patching them downstream.
I will open a PR to get the following deps updated in goose:
Problem 60: nothing provides requested (crate(tree-sitter-go/default) >= 0.21.0 with crate(tree-sitter-go/default) < 0.22.0~)
Problem 61: nothing provides requested (crate(tree-sitter-java/default) >= 0.21.0 with crate(tree-sitter-java/default) < 0.22.0~)
Problem 62: nothing provides requested (crate(tree-sitter-javascript/default) >= 0.21.0 with crate(tree-sitter-javascript/default) < 0.22.0~)
Problem 63: nothing provides requested (crate(tree-sitter-kotlin/default) >= 0.3.8 with crate(tree-sitter-kotlin/default) < 0.4.0~)
Problem 64: nothing provides requested (crate(tree-sitter-python/default) >= 0.21.0 with crate(tree-sitter-python/default) < 0.22.0~)
Problem 65: nothing provides requested (crate(tree-sitter-ruby/default) >= 0.21.0 with crate(tree-sitter-ruby/default) < 0.22.0~)
Problem 66: nothing provides requested (crate(tree-sitter-rust/default) >= 0.21.0 with crate(tree-sitter-rust/default) < 0.22.0~)
Problem 67: nothing provides requested (crate(tree-sitter/default) >= 0.21.0 with crate(tree-sitter/default) < 0.22.0~)