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

Bug#973637: flag debian/watch files that use older versions of the format



On Mon, Nov 02, 2020 at 10:54:11PM +0100, Xavier wrote:
> But version 2 is really deprecated and it's
> not easy to maintain uscan with 4 versions (It took me a lot of hours to
> rewrite old uscan to modern Perl-OO).
> That's why I'd like to see a "error" tag for version ≤ 2.

Right, but currently version=2 is not explicitly marked as "deprecated"
anywhere.

Could you please send a MR updating the docs doing so?
I also think ds_warn() its usage would be good (then tracker.d.o and
others would rely the warning, etc).

> 3. After bullseye release, I'd like to propose to remove version=2
> support from uscan.

+1


For context of d-devel@, version=2 is currently used by a total of 350
packages in the whole archive, I reckon dropping support for it is
totally doable.

I think we can easily:
 1) mark the thing as deprecated in the manpage and warning at runtime
 2) add a note for the next DevNews
 3) wait a few months after the bullseye release
 4) MBF the remaining version=2 packages
 5) wait a few more months
 6) drop the support ~1/~1.5 years from now

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
More about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature


Reply to: