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

Re: Breaks: instead of Conflicts: for transitional packages



Hi, 

I think we should implement in gem2deb also. Yes lintian can take care
later but if i am using gem2deb with new package it should let me know
that where and what i need to fix. 

I will help new user to contribute more effectively and efficiently.

Please note that i am okay with either one. 

Antonio Terceiro <terceiro@softwarelivre.org> writes:

> Lucas Nussbaum escreveu isso aí:
>> On 19/06/11 at 19:59 -0700, Antonio Terceiro wrote:
>> > Hello all,
>> > 
>> > These days I noticed that we are using Conflicts: instead of
> Breaks: in our transitional packages, and we should change that. Among
>> > other reasons, using Breaks: instead of Conflicts: makes it easier
>> > for
> the package manager determinate a valid upgrade path. Using Breaks
> instead of Conflicts for transitional packages is also mandated by the
> newest version of the Debian policy, so that's the way to go.
>> > 
>> > I've just updated gen-ruby-trans-pkgs in gem2deb to do The Right
> Thing, and will upload a new version of gem2deb soon.
>> > 
>> > Please double check your packages and make sure your new ruby-foo
>> > Breaks: libfoo-ruby, libfoo-ruby1.8` instead of Conflicts: (and
> make sure that's a versioned Breaks: in the same way we have done
>> > until
> now with versioned Conflicts:)
>>  Hi,
>> 
>> Thanks for the change.
>> 
>> I'm wondering if we should implement a check for common mistakes (or
> old practices now considered bad practices) directly in gem2deb.  This
>> one is a candidate, and another one is the ruby1.8 |
>> ruby-interpreter dependency.
>
> lintian already catches both of them.
>
>> We could display a warning for now, which I would use to find all
>> affected packages by scanning the build logs, and then turn this
> into an error later.
>> 
>> What do you think?
>
> My intuition is that this type of thing should be implemented in
> lintian so that even packages that are not using gem2deb can be
> checked.
>
> (for example, it's probable that ruby-gnome2 will *not* use gem2deb)

-- 
,----
| Life's Too Short, Write Fast Code, Use emacs :) 
| Deepak Tripathi(gnumonk)
| irc: irc.debian.org | nick: deepak, gnumonk
| irc: irc.freenode.com | nick: gnumonk
| web: http://www.gnumonk.com 
`----

Attachment: pgp_V5jo5f9ao.pgp
Description: PGP signature


Reply to: