On Tue, Mar 29, 2022 at 08:05:25PM BST, Theo Buehler wrote:
> On Tue, Mar 29, 2022 at 08:51:25PM +0200, Jeremie Courreges-Anglas wrote:
> > On Tue, Mar 29 2022, Raf Czlonka <[email protected]> wrote:
> > > Hello,
> > >
> > > sparc and vax ports have been retired a while back; add riscv64
> > > while there.
> > 
> > Committed, thanks.
> > 
> > There are more missing entries I think.  If I follow the existing
> > pattern, naming the cpu architectures and not the platforms:
> > - aarch64 is missing
> > - powerpc64 is missing
> > - mips64el is missing
> 
> Perhaps we can ditch the architectures list that seems to have been out
> of sync more often than not and reduce categories to something like
> these?
> 
>       documentation userland kernel
> 
> If somebody is smart enough to narrow a bug down to something
> arch-specific, they're hopefully smart enough to mention that in their
> bug report.

Hi Theo,

My initial thought was to simply remove the whole second line leaving only:

        const char *categories = "system user library documentation kernel"

Regards,

Raf

Index: usr.bin/sendbug/sendbug.c
===================================================================
RCS file: /cvs/src/usr.bin/sendbug/sendbug.c,v
retrieving revision 1.78
diff -u -p -r1.78 sendbug.c
--- usr.bin/sendbug/sendbug.c   21 Aug 2017 21:41:13 -0000      1.78
+++ usr.bin/sendbug/sendbug.c   29 Mar 2022 21:21:28 -0000
@@ -43,8 +43,7 @@ int   sendmail(const char *);
 void   template(FILE *);
 void   usbdevs(FILE *);
 
-const char *categories = "system user library documentation kernel "
-    "alpha amd64 arm hppa i386 m88k mips64 powerpc sh sparc sparc64 vax";
+const char *categories = "system user library documentation kernel"
 const char *comment[] = {
        "<synopsis of the problem (one line)>",
        "<PR category (one line)>",

> 
> > and after folding the line because of line wrapping:
> > 
> > ok?
> > 
> > 
> > Index: sendbug.c
> > ===================================================================
> > RCS file: /cvs/src/usr.bin/sendbug/sendbug.c,v
> > retrieving revision 1.79
> > diff -u -p -r1.79 sendbug.c
> > --- sendbug.c       29 Mar 2022 18:44:12 -0000      1.79
> > +++ sendbug.c       29 Mar 2022 18:49:41 -0000
> > @@ -44,7 +44,8 @@ void      template(FILE *);
> >  void       usbdevs(FILE *);
> >  
> >  const char *categories = "system user library documentation kernel "
> > -    "alpha amd64 arm hppa i386 m88k mips64 powerpc riscv64 sh sparc64";
> > +    "alpha aarch64 amd64 arm hppa i386 m88k mips64 mips64el powerpc 
> > powerpc64 "
> > +    "riscv64 sh sparc64";
> >  const char *comment[] = {
> >     "<synopsis of the problem (one line)>",
> >     "<PR category (one line)>",
> > 
> > -- 
> > jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE
> > 

Reply via email to