Bug 406115

Summary: Wish: Zypper combined with webpin
Product: [openSUSE] openSUSE 11.1 Reporter: Bart Otten <bart.otten85>
Component: libzyppAssignee: E-mail List <zypp-maintainers>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Enhancement    
Priority: P3 - Medium CC: dmacvicar, jsrain, locilka, matthias.sweertvaegher, sebix+novell.com, simonf.lees
Version: Factory   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Bart Otten 2008-07-03 10:46:05 UTC
Goodday all,

I have a major wish for openSUSE 11.1 and I guess it's a very simple one:

Combine zypper with webpin.

It would be nice that if zypper can't find a package in it's repositories that it checks webpin if there is a repository that does deliver the package.

command: zypper in cinerella
output: cinerella can't be found in your selected repositories
output: zypper found cinerella on http://download.opensuse.org/community/packman/bla
output:
output: Would you like to install cinerella from this repository? Y/n
command: enter
output: Would you like to register to Packman-repository? Y/n
command: enter
output: cinerella installed

Same with: zypper se cinerella


Why this wish: Cause there are 1000 repositories and it would be idiot to check them all if they have usefull packages for you. In this combination you would not have to and you would not have to switch each time between zypper, webpin, zypper.

Thanks for openSUSE 11.0!
Comment 1 Bart Otten 2008-07-03 22:04:13 UTC
This seems like it. Too bad it is another module instead of integrated....

http://kobliha-suse.blogspot.com/2008/07/package-search-and-one-click-install-in.html
Comment 2 Lukas Ocilka 2008-07-04 09:06:10 UTC
I'm not sure whether we can have it built-in the libzypp library but it might work as a plug-in.
Comment 3 Jan Kupec 2008-07-16 12:47:42 UTC
Integrating webpin into libzypp would not be easy (a plugin is good idea, but even more harder to desing/implement), but it may be desirable. Doing this in zypper would be easier, but has the apparent disadvantage that other zypp-apps won't benefit from the code.
Comment 6 Lukas Ocilka 2008-07-16 13:07:56 UTC
(In reply to comment #1 from Bart Otten)
> This seems like it. Too bad it is another module instead of integrated....
> 
> http://kobliha-suse.blogspot.com/2008/07/package-search-and-one-click-install-in.html

It's actually "integrated" into YaST :) YaST Package managers /Qt/ncurses/ will support it soon.
Comment 9 Simon Lees 2017-08-11 07:21:26 UTC
I'm guessing there was limited interest in this as webpin is no longer part of the standard tumbleweed repo's
Comment 10 matthias sweertvaegher 2017-08-11 09:54:57 UTC
how do you currently install a package from software.opensuse.org/search without needing a browser?
Comment 11 Simon Lees 2017-08-11 10:25:42 UTC
(In reply to matthias sweertvaegher from comment #10)
> how do you currently install a package from software.opensuse.org/search
> without needing a browser?

Personally I either use yast to add the repo then install it or branch the package into my home repo if I don't want to add an extra repo. 


Given this bug hasn't been touched for 9 years I closed it, if you still think the feature has merit the first step would be getting webpin into the main repository so its officially supported. Then it would be upto whoever wants it to implement it. 

Your more then welcome to open this bug again against openSUSE Tumbleweed but unless someone commits to the work it probably won't be done.
Comment 12 matthias sweertvaegher 2017-08-11 10:58:24 UTC
Hi Simon,

I understand why you want to close this issue. I was just wondering whether I am missing something. I believe installing something using CLI only is still a valid use case (especially on servers). IIRC webpin seemed to more or less provide a solution for that. If webpin is not supported anymore, I was wondering whether there is currently an alternative. So my comments are actually off-topic, but still webpin related :) I apologize for that
Comment 13 Simon Lees 2017-08-11 11:03:49 UTC
I don't have much experience with it, I was just closing openSUSE 11.1 bugs, I went with the its not supported based off the fact its not in the default repo's someone may still be working on it.
Comment 14 Michael Andres 2017-08-11 11:43:26 UTC
(In reply to matthias sweertvaegher from comment #12)
> I believe installing something using CLI only is still a valid use case
> (especially on servers). IIRC webpin seemed to more or less provide a
> solution for that.

JFYI: There are pending requests for the next major release to provide a 'package not found' hook in zypp, so plugin scripts can be created, searching for packages at locations unknown to zypper (like webpin does).

Details are not yet done, but as long as an indexer is able to return either the URL of a rpm package or the repo containing it, it should be possible to create a plugin for it.