[csw-maintainers] Catalog checks via REST
Peter Bonivart
bonivart at opencsw.org
Thu Dec 29 21:49:51 CET 2011
2011/12/29 Maciej (Matchek) Bliziński <maciej at opencsw.org>:
> What about sending emails? chkcat doesn't know anything about emails,
> so it needs either a wrapper, or an extension. You might also want to
> send only one email from a series from runs. For example, when you
> check the unstable catalog, you run it {sparc,x86}×{5.8,5.9,5.10,5.11}
> = 8 times. If there's a problem, the same problem will be present in
> most of the catalogs. In such case, you don't want to send 8 emails,
> but only 1 email (with a summary). Someone has to sit down and solve
> this before we can have meaningful reports on the mailing list.
To me, the unix way is to combine multiple simple tools to do the job
you need at the moment. It would be easy to have a shell wrapper
running chkcat against each catalog outputting the errors to a file
and only mailing if the file/files actually contain something.
/peter
More information about the maintainers
mailing list