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

Bug#566820: lintian: Warn about missing debian/source/format, advise switch to new 3.0 source formats



Raphael Hertzog <hertzog@debian.org> writes:
> On Mon, 25 Jan 2010, Raphaël Hertzog wrote:

>> As part of the plan to have the new source formats as the default
>> formats in Debian I would like lintian to give a warning when
>> debian/source/format doesn't exist, it could be named
>> "missing-debian-source-format".

>> We could also add a tag "using-old-source-format" that warns of
>> specifying 1.0 in that file.  Obviously this one should start among the
>> "pedantic" tags but its importance might be increased over time once we
>> decide to really deprecate the old format.

> Do you want a patch for this? If yes, should it be a new check file or
> do you want it integrated in one of the existing check file?

At first glance, asking people to declare the source format explicitly
seems like a good idea.  I'm more reluctant to have Lintian recommend
switching to 3.0.  Based on the debian-devel discussion, I'm not sure the
idea has aged enough to make people comfortable with it.  But if they
don't have any declared source format at present, I'm certainly fine with
Lintian suggesting they consider it.

I think having a new check script that checks files in debian/source would
be a good idea.  I'm not sure what to call it.  source-control, maybe?
That could be confused with something that tests VCS usage, though.

>> It might also be a good idea to have "unknown-source-format" when
>> debian/source/format contains something else than "1.0", "2.0", "3.0
>> (quilt)", "3.0 (native)", "3.0 (git)", "3.0 (bzr)". This one should
>> result in an error.

Yes, please.

If you feel energetic, there's also #528001, and it would be nice to warn
about unrecognized files in debian/source to catch people who have
misspelled the control file name.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>



Reply to: