-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No way to remove package from a repo? #40
Comments
Personally I just add all my packages in a directory called incoming.
Not perfect but does the job |
@pagodajosh There is no Should there be a |
I did figure that out once I sat down and investigated. I even implemented the file delete in my project. I think that the cache has to be rebuilt after the file is deleted. Is that correct? If I have to run freight-cache after I delete the file, I think you should add the remove command so the life cycle is: Instead of freight, freight, freight, rm, freight. Thanks for the reply On Sep 16, 2013, at 5:32 PM, Richard Crowley [email protected] wrote:
|
I think it would be nice to have fright remove for completeness. Right now I've managed a couple of times to corrupt a package.. |
I have only barely started something like this at eiginn/freight@106a126 |
@eiginn's WIP shows a couple of the challenges to the design of If the interface is to mirror Otherwise, if the interface mirrors I have never wanted to remove a package from an archive so I am open to the best interface as determined by the people who actually feel the pain. Do either of these directions sound good? Am I missing something better? |
I also would like a freight-remove. In response to your comment: "If the interface is to mirror freight-add then I'd expect to give a pathname as the first argument but that requires either special autocomplete trickery or that the invocation actually specify a pathname inside $VARLIB. If the latter's the case then there's no reason for any of the $MANAGER/$DISTRO arguments afterward and the command reduces to rm "$@"." I don't understand the "special autocomplete trickery" part. I would like to be able to: freight list $MANAGER # Show me my repos freight remove $MANAGER/$REPO $PACKAGE |
+1 for that feature! |
+1 for that feature ! Would be much more easier to manage a repo with a tool using CRUD capabilities. |
+1 |
Is there any way to remove a package from a repo?
I realize that I could just put in a package with a higher version and use that one, but sometimes it would be simpler to replace a buggy package than to alter multiple references to it.
Also, I'm working on a project to serve multiple package types, and it would be really annoying to have .deb packages be the only ones that don't delete.
The text was updated successfully, but these errors were encountered: