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

Bug#970744: ben: please provide machine-parseable version of transition status



Hi Stéphane

On 2020-09-23 09:42:27 +0200, Stéphane Glondu wrote:
> Le 22/09/2020 à 22:12, Sebastian Ramacher a écrit :
> > thanks for maintaining ben. In additiona to the HTML output, it would be
> > great to have the same information as machine-parseable file. With such
> > a file one could feed other tools to further process the info produced
> > by ben, e.g., to produce a list of binNMUs.
> 
> Did you know that there were a text output? Probably not what you mean
> by "machine-parseable", but maybe easier to parse than the HTML output.

No, I didn't. I work with the HTML output on release.debian.org most of
the time.

> I'm willing to implement another output format. What would you like?
> Could you provide an example?

A YAML file with a list of the packages including versions, their
dependency lievel, and the state on the architectures would suffice.
Additionally, info on whether they are only in sid and if they produce
MA: same binaries would be helpful.

It could look like the following:

packages:
- dependency_level: 3
  ma_same: true
  package: vlc
  sid_only: false
  state:
    amd64: good
    arm64: partial
    i386: bad
  version: 3.0.11.1-2
- dependency_level: 2
  ma_same: false
  package: ffmpeg
  sid_only: true
  state:
    amd64: good
    arm64: good
    armel: good
    armhf: good
    i386: good
    mips64el: bad
    mipsel: partial
    ppc64el: good
    s390x: good
  version: 7:4.3.1-3
transition: auto-test

Architectures were the sate is unknown could be skipped. Thanks for
considering.

Cheers
-- 
Sebastian Ramacher

Attachment: signature.asc
Description: PGP signature


Reply to: