Re: Use-Cases for "Obsoletes"

2016-07-27 Thread Kevin Kofler
Igor Gnatenko wrote:
> So far I found only:
> * https://bugzilla.redhat.com/show_bug.cgi?id=1261034
> * 
> https://fedoraproject.org/wiki/Upgrade_paths_%E2%80%94_renaming_or_splitting_packages#Binary_package_naming_changes
> 
> Is there something else to consider?

https://bugzilla.redhat.com/show_bug.cgi?id=1096506

Kevin Kofler
--
devel mailing list
devel@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org


Re: Use-Cases for "Obsoletes"

2016-07-27 Thread Dominik 'Rathann' Mierzejewski
On Wednesday, 27 July 2016 at 15:03, Igor Gnatenko wrote:
> Hi everyone,
> 
> where can I get all currently recommended/guidelined usecases for
> "Obsoletes" tag?
> 
> Currently I'm working on ensuring that all usecases are working with DNF.
> 
> So far I found only:
> * https://bugzilla.redhat.com/show_bug.cgi?id=1261034
> * 
> https://fedoraproject.org/wiki/Upgrade_paths_%E2%80%94_renaming_or_splitting_packages#Binary_package_naming_changes
> 
> Is there something else to consider?

We also have:
https://fedoraproject.org/wiki/Packaging:Guidelines#Renaming.2FReplacing_Existing_Packages

Regards,
Dominik
-- 
Fedora http://fedoraproject.org/wiki/User:Rathann
RPMFusion http://rpmfusion.org
"Faith manages."
-- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"
--
devel mailing list
devel@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org


Re: Use-Cases for "Obsoletes"

2016-07-27 Thread Neal Gompa
On Wed, Jul 27, 2016 at 9:03 AM, Igor Gnatenko  wrote:
> Hi everyone,
>
> where can I get all currently recommended/guidelined usecases for
> "Obsoletes" tag?
>
> Currently I'm working on ensuring that all usecases are working with DNF.
>
> So far I found only:
> * https://bugzilla.redhat.com/show_bug.cgi?id=1261034
> * 
> https://fedoraproject.org/wiki/Upgrade_paths_%E2%80%94_renaming_or_splitting_packages#Binary_package_naming_changes
>
> Is there something else to consider?

When things are renamed intra-release, we use Obsoletes with Provides
to create the proper upgrade path while ensuring that new
installations use the new package. This is currently broken in DNF,
but this is a common practice. It's done a lot when python packages
are reorganized (python- -> python2- and so on), for example.



-- 
真実はいつも一つ!/ Always, there's only one truth!
--
devel mailing list
devel@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org