Hi, On Tue, Jul 14, 2015 at 11:14:48PM -0500, Jimmy Berry wrote:
It would seem part of the suggestion could be solved by allowing the priority to be set in a .repo file and make that the suggested path for adding packman (in wiki and elsewhere). [ 8< ] Perhaps it is already supported?
The repository definition already knows priority as parameter since quite some years.
If so then simply suggesting on packman list to provide such a file with configured priority. The docs could also be updated to include the highly recommended zypper dup --from packman once step.
And that's the wrong (some might even count it as a dangerous) suggestion! Don't use dup in this case as you would replace any package of your system with the version available at the packman side. While the majority only needs a quite small subset to get full multimedia support for example flying. Plus YaST has a module to enable popular additional software repositories. Please check if the wiki points to them too. If not feel free to enhance the documentation.
Also would be nifty if that priority could be altered on any OBS repository so project maintainers can set a priority that makes sense as described in the other thread. (perhaps already available?)
And then the race starts who has the lowest? I doubt if that approach will lead to a good result.
Another slick addition would be to add a --priority option to `zypper ar` so it could be documented with priority instead of requiring an `mr` step to change it after adding. I would actually be interested in seeing if I could tackle adding such a feature. Note my packman setup instructions on https://github.com/jp9000/obs-studio/wiki/Install-Instructions which include this longer set of steps (screenshot for lazy: http://i.imgur.com/3L5lPE8.png).
Due to the huge amount of mailing lists we have for openSUSE I fear the YaST/ libzypp/ zypper developers will will miss this thread. Therefore please file a bug report or a feature request. As you're already at github you might even file an issue there. The YaST/ libzypp/ zypper is there too. Cheers, Lars -- Lars Müller [ˈlaː(r)z ˈmʏlɐ] Samba Team + SUSE Labs SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany