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

Re: apt 2.0 release notes


在 2020-03-07六的 21:41 +0100,Julian Andres Klode写道:
> # APT 2.0
> ### Incompatibilities
> * The apt(8) command no longer accepts regular expressions or wildcards as
>   package arguments, use patterns (see New Features).

A little comment on this: I am okay with apt(8) no longer accepting regex or
wildcards (which is still unfortunately a feature that I use every day) since
the CLI interface volatility is well announced. I also understand the reason
behind this move.

However, I saw that there's plan to let apt-* stop accepting them as well
after Bullseye release, according to the NEWS file (v1.9.6 NEWS). Please avoid
this, or at least implement in a backward-compatible way (e.g., letting the
user explicitly specify that they are using regex, apt-patterns or string with
wildcard in the input via cmdline options; the default format is considered to
be the fallback format/behavior). I saw countless scripts using this feature
and the outcome of feature removal would be catastrophic.

Boyuan Yang

Attachment: signature.asc
Description: This is a digitally signed message part

Reply to: