On 10/05/18 15:56, Sven Joachim wrote: > On 2018-03-25 21:51 +0200, Sven Joachim wrote: > >> Package: release.debian.org >> Severity: normal >> User: release.debian....@packages.debian.org >> Usertags: transition >> >> I would like to start a transition for ncurses, changing the soname of >> the libraries from 5 to 6. > > The results thus far look quite good, although a few bugs still need to > ironed out, e.g. #898131. > >> Suggested ben file (please check if it is correct): >> >> title = "ncurses"; >> is_affected = .depends ~ >> /\b(lib32ncurses6|lib32ncursesw6|lib32tinfo6|lib64ncurses6|lib64ncursesw6|lib64tinfo6|libncurses6|libncursesw6|libtinfo6|libtinfo6\-udeb|lib32ncurses5|lib32ncursesw5|lib32tinfo5|lib64ncurses5|lib64tinfo5|libncurses5|libncursesw5|libtinfo5|libtinfo5\-udeb)\b/; >> is_good = .depends ~ >> /\b(lib32ncurses6|lib32ncursesw6|lib32tinfo6|lib64ncurses6|lib64ncursesw6|lib64tinfo6|libncurses6|libncursesw6|libtinfo6|libtinfo6\-udeb)\b/; >> is_bad = .depends ~ >> /\b(lib32ncurses5|lib32ncursesw5|lib32tinfo5|lib64ncurses5|lib64tinfo5|libncurses5|libncursesw5|libtinfo5|libtinfo5\-udeb)\b/ >> & ! .package ~ /\b(libncursesw5|libncurses5)\b/; > > This has turned out to be rather suboptimal, because the regexes match > on libncurses5-dev etc, and so some packages are listed as partial or > bad in the tracker[1] which should be good or unaffected. The ones > below seem to be better, filtering out the -dev packages while still > catching hardcoded dependencies such as #804579. > > title = "libncurses6"; > is_affected = .depends ~ > /\b(lib32ncurses6|lib32ncursesw6|lib32tinfo6|lib64ncurses6|lib64ncursesw6|lib64tinfo6|libncurses6|libncursesw6|libtinfo6|libtinfo6\-udeb|lib32ncurses5|lib32ncursesw5|lib32tinfo5|lib64ncurses5|lib64tinfo5|libncurses5|libncursesw5|libtinfo5|libtinfo5\-udeb)([^-]|$)/; > is_good = .depends ~ > /\b(lib32ncurses6|lib32ncursesw6|lib32tinfo6|lib64ncurses6|lib64ncursesw6|lib64tinfo6|libncurses6|libncursesw6|libtinfo6|libtinfo6\-udeb)\b/; > is_bad = .depends ~ > /\b(lib32ncurses5|lib32ncursesw5|lib32tinfo5|lib64ncurses5|lib64tinfo5|libncurses5|libncursesw5|libtinfo5|libtinfo5\-udeb)\b/ > & ! .package ~ /\b(libncursesw5|libncurses5)([^-]|$)/;
What do you want to achieve with this? & ! .package ~ /\b(libncursesw5|libncurses5)([^-]|$)/; I don't think that's doing what you want. Cheers, Emilio