Bug 1728378 - Review Request: rust-fedora-coreos-pinger - Telemetry service for Fedora CoreOS
Summary: Review Request: rust-fedora-coreos-pinger - Telemetry service for Fedora CoreOS
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Robert-André Mauchin 🐧
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-09 19:57 UTC by Robert Fairley
Modified: 2019-07-28 11:26 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-07-28 11:26:04 UTC
Type: ---
Embargoed:
zebob.m: fedora-review+


Attachments (Terms of Use)

Description Robert Fairley 2019-07-09 19:57:30 UTC
Spec URL: https://rfairley.fedorapeople.org/package-review/rust-fedora-coreos-pinger/rust-fedora-coreos-pinger.spec
SRPM URL: https://rfairley.fedorapeople.org/package-review/rust-fedora-coreos-pinger/rust-fedora-coreos-pinger-0.0.4-1.fc31.src.rpm
Description: Telemetry service for Fedora CoreOS.
Fedora Account System Username: rfairley

Koji scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=36155259

This can be tested after installing the package, by:

1. `systemctl start fedora-coreos-pinger.service`
2. `journalctl -u fedora-coreos-pinger.service`
3. Observe journal output. With the default config file (contained in this package) messages `Reporting enabled.` and `Collection set at level 'minimal'.` will show.

See the README: (https://github.com/coreos/fedora-coreos-pinger#configuration) for details on the configuration format.

Note this service is only a stub which parses a config file; support for transmitting the actual data will be implemented in the future. The actual data to be transmitted at each metrics collection level are under discussion at https://github.com/coreos/fedora-coreos-tracker/issues/86.

Comment 1 Robert Fairley 2019-07-10 06:10:24 UTC
In the specfile, the `0.0.3-1` entry in the changelog should be `0.0.4-1`. Will update the specfile and SRPM with the fix.

Comment 3 Robert-André Mauchin 🐧 2019-07-13 19:35:18 UTC
 - You also need to include the systemD scriptlets for your unit fale. See https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#_systemd

BuildRequires: systemd-rpm-macros

[…]

%post
%systemd_post fedora-coreos-pinger.service

%preun
%systemd_preun fedora-coreos-pinger.service

%postun
%systemd_postun_with_restart fedora-coreos-pinger.service


 - License ok
 - Latest version packaged
 - Builds in mock
 - No rpmlint errors

Comment 5 Robert-André Mauchin 🐧 2019-07-16 17:08:44 UTC
Package approved.

Comment 6 Mohan Boddu 2019-07-18 20:48:10 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-fedora-coreos-pinger


Note You need to log in before you can comment on or make changes to this bug.