Mailinglist Archive: opensuse-buildservice (116 mails)

< Previous Next >
[opensuse-buildservice] counting of suggessfully built packages for the month in obs.
With obs, can a count of suggessfully built packages for the month be
shown on the 'Scheduler Status' page.

With each successful built package, log a entry like so:

echo 1 >> /tmp/built-packages-count.log

A sample log may look like this:
# cat /tmp/built-packages-count.log

So in this case:
echo "Built packages for month:" `cat /tmp/built-packages-count.log | wc

The result based on the example is:
Built packages for month: 5

To reset the value at the beginning of the next month just remove the
and the count would start at 1 again after the first successful build of
the next package.

If you see the number is increasing you know packages are being built.
Be interesting to know how many packages are built in a month.

Cheers Glenn
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
Follow Ups