Re: Dependency loops considered harmful? | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
On Wed, 3 Sep 2008 14:10:47 -0500 (CDT), Jon Ciesla wrote:
> > game-0.8 Requires game-data = 0.8
> > game-data-0.8 Requires game (which version? and why?)
> >
> > Case 1)
> > game-data-0.8 Requires game = 0.8
> > What happens if game-1.0 is released with unchanged game-data?
> > Then you need to update game-data for nothing else than the broken dep.
>
> I've yet to see this happen.
>
> > Case 2)
> > game-data-0.8 Requires game
> > No version. Hence no dep breakage in all cases where you may update game
> > without updating game-data. Instead, a strict dependency is installed
> > in pkg game: game-%{version} Requires game-data = %{SOME_version}
> > Here you can control the game-data version within pkg "game".
>
> But then if I somehow manage to update the game data but not the binary
> rpm, and there's an incompatibility, Bad Things happen to the user.
No, because you still have the strict dependency in pkg "game":
game Requires game-data = %{some_specific_version}
You cannot bump game-data to another major version without breaking
this dep.
--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list
[Fedora Announce] [Fedora Kernel] [Fedora Testing] [Fedora Legacy Announce] [Home] [Fedora Tools] [Fedora PHP Devel] [Kernel List] [Fedora Legacy] [Fedora Maintainers] [Fedora Maintainers] [Fedora Desktop] [PAM] [Red Hat Development] [Big List of Linux Books] [Gimp] [Yosemite News]
![]() |
![]() |