Re: Upgrade path w/ new compat package

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 03 Apr 2017 19:35:24 +0000, Christopher wrote:

> There seem to be a lot of possible guidance on the Wiki for what I'm trying
> to do, but no clear, unambiguous step-by-step path to follow. So, I'm
> seeking advice here.
> 
> js-jquery provides jquery 2.x and js-jquery 2.x
> js-jquery1 provides jquery 1.x and js-jquery1 1.x
> 
> I want to upgrade js-jquery to 3.x and provide js-jquery2.
> I want to do this efficiently with a minimum amount of time spent in
> reviews.
> 
> I *think* the process is:
> 
> 1. Create package review for new package js-jquery2
>     a. Create js-jquery2 from current js-jquery packaging (with rename)
>     b. js-jquery2 should provide jquery 2.x and js-jquery2 2.x
>     c. js-jquery2 should obsolete 'js-jquery < 3'
> 2. Work with depending packages to either upgrade or switch to js-jquery2
> 3. Update js-jquery to version 3.x
>     a. wait until after js-jquery2 is stable, and push a normal update to
> version 3
> 
> Are there any details I'm missing? Any corrections to my understanding of
> the process?
> 
> I'd only be targeting F26+ for this change, and hope to get it done quickly.

Step 1 may cause problems already.

You can only safely replace js-query < 3 with a different package, if all
existing packages, which explicitly depend on js-query, either do it with
a specific version or continue to work also with js-query >= 3.
The reason for that is that renaming/replacing packages only works
flawlessly, if there is a strict dependency somewhere (such as with shared
libs and SONAME deps or a dependency on some API/ABI Provides)
or if the code is compatible enough to also work with the new js-query
package. Some Requires on js-jquery are non-versioned. Others use ">=".

They would all need to be examined before replacing any package. Step 1.c
would work for already installed packages, but new installs would pull in
the upgraded js-query to satisfy a weak or non-versioned Requires, OR
solve the dep via the js-jquery Provides from the new js-jquery2 package.

Step 2 sounds strange, because it would come too late, if anyone needed
to adjust explicit Requires from js-jquery something to js-jquery2.
Either the renaming of the package in step 1 has worked already, or the
replacement package has broken deps. If some deps strictly need v2,
their Requires ought to be fixed before upgrading/replacing anything.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux