[Bug 1769843] Review Request: low-memory-monitor - Monitors low-memory conditions

2020-02-03 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1769843

Fedora Update System  changed:

   What|Removed |Added

 Resolution|RAWHIDE |ERRATA



--- Comment #22 from Fedora Update System  ---
low-memory-monitor-2.0-3.fc31 has been pushed to the Fedora 31 stable
repository. If problems still persist, please make note of it in this bug
report.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/package-review@lists.fedoraproject.org


[Bug 1769843] Review Request: low-memory-monitor - Monitors low-memory conditions

2019-12-18 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1769843



--- Comment #21 from Fedora Update System  ---
low-memory-monitor-2.0-3.fc31 has been pushed to the Fedora 31 testing
repository. If problems still persist, please make note of it in this bug
report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here:
https://bodhi.fedoraproject.org/updates/FEDORA-2019-5b12d346b1

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/package-review@lists.fedoraproject.org


[Bug 1769843] Review Request: low-memory-monitor - Monitors low-memory conditions

2019-12-18 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1769843



--- Comment #20 from Fedora Update System  ---
FEDORA-2019-5b12d346b1 has been submitted as an update to Fedora 31.
https://bodhi.fedoraproject.org/updates/FEDORA-2019-5b12d346b1

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/package-review@lists.fedoraproject.org


[Bug 1769843] Review Request: low-memory-monitor - Monitors low-memory conditions

2019-11-20 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1769843

Bastien Nocera  changed:

   What|Removed |Added

 Status|NEW |CLOSED
 Resolution|--- |RAWHIDE
Last Closed||2019-11-20 09:41:43



--- Comment #19 from Bastien Nocera  ---
low-memory-monitor-2.0-3.fc32 has been built in rawhide:
https://koji.fedoraproject.org/koji/buildinfo?buildID=1414568

Thanks for the reviews!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/package-review@lists.fedoraproject.org


[Bug 1769843] Review Request: low-memory-monitor - Monitors low-memory conditions

2019-11-19 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1769843



--- Comment #18 from Gwyn Ciesla  ---
(fedscm-admin):  The Pagure repository was created at
https://src.fedoraproject.org/rpms/low-memory-monitor

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/package-review@lists.fedoraproject.org


[Bug 1769843] Review Request: low-memory-monitor - Monitors low-memory conditions

2019-11-18 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1769843



--- Comment #17 from Michael Catanzaro  ---
Thanks Artem, good catch!

BTW Bastien, you already have fedora-review+ here so you can proceed when
desired.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/package-review@lists.fedoraproject.org


[Bug 1769843] Review Request: low-memory-monitor - Monitors low-memory conditions

2019-11-18 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1769843



--- Comment #16 from Bastien Nocera  ---
(In reply to Bastien Nocera from comment #15)
> URL:
> https://hadess.fedorapeople.org/low-memory-monitor/low-memory-monitor.spec
> SRPM URL:
> https://hadess.fedorapeople.org/low-memory-monitor/low-memory-monitor-2.0-2.
> fc30.src.rpm

Make that:
https://hadess.fedorapeople.org/low-memory-monitor/low-memory-monitor-2.0-2.fc31.src.rpm

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/package-review@lists.fedoraproject.org


[Bug 1769843] Review Request: low-memory-monitor - Monitors low-memory conditions

2019-11-18 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1769843



--- Comment #15 from Bastien Nocera  ---
URL: https://hadess.fedorapeople.org/low-memory-monitor/low-memory-monitor.spec
SRPM URL:
https://hadess.fedorapeople.org/low-memory-monitor/low-memory-monitor-2.0-2.fc30.src.rpm

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/package-review@lists.fedoraproject.org


[Bug 1769843] Review Request: low-memory-monitor - Monitors low-memory conditions

2019-11-18 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1769843



--- Comment #14 from Artem  ---
(In reply to Bastien Nocera from comment #13)

> > %package docs
> > →
> > %package doc
> 
> I can make that change, but where's the guideline that recommends that?

https://docs.fedoraproject.org/en-US/packaging-guidelines/#_documentation

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/package-review@lists.fedoraproject.org


[Bug 1769843] Review Request: low-memory-monitor - Monitors low-memory conditions

2019-11-18 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1769843



--- Comment #13 from Bastien Nocera  ---
(In reply to Artem from comment #12)
> Source0:   
> https://gitlab.freedesktop.org/hadess/low-memory-monitor/uploads/
> 18351c4a6587ba7121594f9dfec05d71/low-memory-monitor-2.0.tar.xz
> →
> Source0:%{url}/-/archive/%{version}/%{name}-%{version}.tar.gz

They're not the same files. So no.

> 
> %package docs
> →
> %package doc

I can make that change, but where's the guideline that recommends that?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/package-review@lists.fedoraproject.org


[Bug 1769843] Review Request: low-memory-monitor - Monitors low-memory conditions

2019-11-17 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1769843

Artem  changed:

   What|Removed |Added

 CC||ego.corda...@gmail.com



--- Comment #12 from Artem  ---
Source0:   
https://gitlab.freedesktop.org/hadess/low-memory-monitor/uploads/18351c4a6587ba7121594f9dfec05d71/low-memory-monitor-2.0.tar.xz
→
Source0:%{url}/-/archive/%{version}/%{name}-%{version}.tar.gz


%package docs
→
%package doc

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/package-review@lists.fedoraproject.org


[Bug 1769843] Review Request: low-memory-monitor - Monitors low-memory conditions

2019-11-15 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1769843



--- Comment #11 from Bastien Nocera  ---
(In reply to Michael Catanzaro from comment #10)
> Everything else looks fine, just check that BR once more before uploading.
> The packaging guidelines indicate systemd-rpm-macros should be used.

I built with "systemd-rpm-macros" here:
https://koji.fedoraproject.org/koji/taskinfo?taskID=39019014

and without it here:
https://koji.fedoraproject.org/koji/taskinfo?taskID=39019120

In both cases the systemd-rpm-macros are correctly expanded. I don't think a
dependency on systemd for systemctl is needed as the macros already account
for systemd not being installed yet, and will pick up the .service file
we install when it, itself, gets installed.

If I read correctly, the BR isn't needed, and scratch builds work as expected.

In the worst case, I'll get a bug about it, but it won't make the package any
less
functional in the short term.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/package-review@lists.fedoraproject.org


[Bug 1769843] Review Request: low-memory-monitor - Monitors low-memory conditions

2019-11-15 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1769843

Michael Catanzaro  changed:

   What|Removed |Added

  Flags||fedora-review+



--- Comment #10 from Michael Catanzaro  ---
Everything else looks fine, just check that BR once more before uploading. The
packaging guidelines indicate systemd-rpm-macros should be used.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/package-review@lists.fedoraproject.org


[Bug 1769843] Review Request: low-memory-monitor - Monitors low-memory conditions

2019-11-15 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1769843



--- Comment #9 from Michael Catanzaro  ---
Did you try, as requested:

BuildRequires:  systemd-rpm-macros

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/package-review@lists.fedoraproject.org


[Bug 1769843] Review Request: low-memory-monitor - Monitors low-memory conditions

2019-11-15 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1769843



--- Comment #8 from Bastien Nocera  ---
Updated packages:
URL: https://hadess.fedorapeople.org/low-memory-monitor/low-memory-monitor.spec
SRPM URL:
https://hadess.fedorapeople.org/low-memory-monitor/low-memory-monitor-2.0-1.fc30.src.rpm

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/package-review@lists.fedoraproject.org


[Bug 1769843] Review Request: low-memory-monitor - Monitors low-memory conditions

2019-11-14 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1769843



--- Comment #7 from Bastien Nocera  ---
(In reply to Michael Catanzaro from comment #6)
> (In reply to Bastien Nocera from comment #5)
> > It's not really a configuration file, and shouldn't be modified by users, or
> > even
> > administrators.
> 
> I notice there is also %{_datadir}/dbus-1/system.d/. Not sure about the
> history behind these two locations, but how about we put it there instead?
> Seems like a better place?

Indeed, done upstream.

> > I would actually want the file to be replaced to automatically use the new
> > defaults
> > set in the package, rather than keep the old ones. So the current tag is
> > correct for
> > this file.
> 
> That is allowed if you add a comment to the spec file, but it's discouraged:
> 
> """
> As a rule of thumb, use %config(noreplace) instead of plain %config unless
> your best, educated guess is that doing so will break things. In other
> words, think hard before overwriting local changes in configuration files on
> package upgrades. An example case when /not/ to use noreplace is when a
> package’s configuration file changes so that the new package revision
> wouldn’t work with the config file from the previous package revision.
> Whenever plain %config is used, add a brief comment to the specfile
> explaining why.
> """
> 
> Basically users won't ever be able to safely edit this file if you replace
> their changes on package upgrade. Seems better for low-memory-monitor to
> assume default values for anything it doesn't find in its configuration
> file, which you probably do already anyway.
> 
> But if you really want to replace it despite that guidance, you can add a
> comment.

I've nuked the config file from the package. Now admins can create their own
config files if they want to override the default, but the default is in the
binary itself, controlled by the distributor.

> > That expands to:
> > %systemd_requires \
> > Requires(post): systemd \
> > Requires(preun): systemd \
> > Requires(postun): systemd \
> > %{nil}
> >
> > Which I think is what we want. Or am I missing something?
> 
> Final sentence here:
> 
> """
> If package scriptlets call other systemd tools, for example
> systemd-tmpfiles, the package SHOULD declare appropriate dependencies. The
> %systemd_requires macro is a shortcut to require systemd for the %pre,
> %post, and %postun scriptlets. Note that those dependencies are not required
> for the %systemd_{post,preun,postun_with_restart,user_post,user_preun}
> macros listed above.
> """

OK, will remove this.

I'll update the package soon.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/package-review@lists.fedoraproject.org


[Bug 1769843] Review Request: low-memory-monitor - Monitors low-memory conditions

2019-11-08 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1769843



--- Comment #6 from Michael Catanzaro  ---
(In reply to Bastien Nocera from comment #5)
> It's not really a configuration file, and shouldn't be modified by users, or
> even
> administrators.

I notice there is also %{_datadir}/dbus-1/system.d/. Not sure about the history
behind these two locations, but how about we put it there instead? Seems like a
better place?

> I would actually want the file to be replaced to automatically use the new
> defaults
> set in the package, rather than keep the old ones. So the current tag is
> correct for
> this file.

That is allowed if you add a comment to the spec file, but it's discouraged:

"""
As a rule of thumb, use %config(noreplace) instead of plain %config unless your
best, educated guess is that doing so will break things. In other words, think
hard before overwriting local changes in configuration files on package
upgrades. An example case when /not/ to use noreplace is when a package’s
configuration file changes so that the new package revision wouldn’t work with
the config file from the previous package revision. Whenever plain %config is
used, add a brief comment to the specfile explaining why.
"""

Basically users won't ever be able to safely edit this file if you replace
their changes on package upgrade. Seems better for low-memory-monitor to assume
default values for anything it doesn't find in its configuration file, which
you probably do already anyway.

But if you really want to replace it despite that guidance, you can add a
comment.

> That expands to:
> %systemd_requires \
> Requires(post): systemd \
> Requires(preun): systemd \
> Requires(postun): systemd \
> %{nil}
>
> Which I think is what we want. Or am I missing something?

Final sentence here:

"""
If package scriptlets call other systemd tools, for example systemd-tmpfiles,
the package SHOULD declare appropriate dependencies. The %systemd_requires
macro is a shortcut to require systemd for the %pre, %post, and %postun
scriptlets. Note that those dependencies are not required for the
%systemd_{post,preun,postun_with_restart,user_post,user_preun} macros listed
above.
"""

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/package-review@lists.fedoraproject.org


[Bug 1769843] Review Request: low-memory-monitor - Monitors low-memory conditions

2019-11-08 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1769843



--- Comment #5 from Bastien Nocera  ---
(In reply to Michael Catanzaro from comment #4)
> %{_sysconfdir}/dbus-1/system.d/org.freedesktop.LowMemoryMonitor.conf should
> also use %config

It's not really a configuration file, and shouldn't be modified by users, or
even
administrators.

> I see you added %config for %{_sysconfdir}/low-memory-monitor.conf, but I
> would use %config(noreplace) in case the user chooses to modify it.

I would actually want the file to be replaced to automatically use the new
defaults
set in the package, rather than keep the old ones. So the current tag is
correct for
this file.

> Finally, you still have %{?systemd_requires} where systemd-rpm-macros should
> suffice.

That expands to:
%systemd_requires \
Requires(post): systemd \
Requires(preun): systemd \
Requires(postun): systemd \
%{nil}

Which I think is what we want. Or am I missing something?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/package-review@lists.fedoraproject.org


[Bug 1769843] Review Request: low-memory-monitor - Monitors low-memory conditions

2019-11-07 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1769843



--- Comment #4 from Michael Catanzaro  ---
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.LowMemoryMonitor.conf should
also use %config

I see you added %config for %{_sysconfdir}/low-memory-monitor.conf, but I would
use %config(noreplace) in case the user chooses to modify it.

Finally, you still have %{?systemd_requires} where systemd-rpm-macros should
suffice.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/package-review@lists.fedoraproject.org


[Bug 1769843] Review Request: low-memory-monitor - Monitors low-memory conditions

2019-11-07 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1769843

Bastien Nocera  changed:

   What|Removed |Added

  Flags|needinfo?(bnoc...@redhat.co |
   |m)  |



--- Comment #2 from Bastien Nocera  ---
Updated spec:
https://hadess.fedorapeople.org/low-memory-monitor/low-memory-monitor.spec

Updated package:
https://hadess.fedorapeople.org/low-memory-monitor/low-memory-monitor-1.1-2.fc30.src.rpm

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/package-review@lists.fedoraproject.org


[Bug 1769843] Review Request: low-memory-monitor - Monitors low-memory conditions

2019-11-07 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1769843



--- Comment #3 from Michael Catanzaro  ---
(In reply to Michael Catanzaro from comment #1)
> [x]: Rpmlint is run on all installed packages.
>  Note: There are rpmlint messages (see attachment).
>  But they are all strange false positives.

As discussed on IRC, they're not false-positives, you need %config(noreplace)
or %config for the files under /etc.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/package-review@lists.fedoraproject.org


[Bug 1769843] Review Request: low-memory-monitor - Monitors low-memory conditions

2019-11-07 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1769843

Michael Catanzaro  changed:

   What|Removed |Added

 CC||mcatanz...@gnome.org
   Assignee|nob...@fedoraproject.org|mcatanz...@gnome.org
  Flags||needinfo?(bnoc...@redhat.co
   ||m)



--- Comment #1 from Michael Catanzaro  ---
Package Review
==

Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated
[ ] = Manual review needed


Issues:
===
- License file should be installed when any subpackage combination is
installed.
- Fully versioned dependency in subpackages if applicable.
  The -docs subpackage should require the main package:
  Requires: %{name} = %{version}-%{release}
- Should require systemd-rpm-macros rather than %{?systemd_requires}, per:
 
https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#_dependencies_on_the_systemd_package


= MUST items =

C/C++:
[-]: Provides: bundled(gnulib) in place as required.
[x]: Package does not contain kernel modules.
[x]: Package contains no static executables.
[x]: If your application is a C or C++ application you must list a
 BuildRequires against gcc, gcc-c++ or clang.
[-]: Header files in -devel subpackage, if present.
[x]: Package does not contain any libtool archives (.la)
[x]: Rpath absent or only used for internal libs.

Generic:
[x]: Package is licensed with an open-source compatible license and meets
 other legal requirements as defined in the legal section of Packaging
 Guidelines.
[x]: License field in the package spec file matches the actual license.
[!]: License file installed when any subpackage combination is installed.
[x]: Package must own all directories that it creates.
 Note: %{_sysconfdir}/dbus-1/system.d/ is OK because systemd and D-Bus are
 both required for low-memory-monitor to function
[x]: Package does not own files or directories owned by other packages.
 Note: %{_datadir}/gtk-doc/html/ OK because gtk-doc is not required for
 low-memory-monitor to function
[x]: %build honors applicable compiler flags or justifies otherwise.
[x]: Package contains no bundled libraries without FPC exception.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[-]: Package contains desktop file if it is a GUI application.
[-]: Development files must be in a -devel package
[x]: Package uses nothing in %doc for runtime.
[x]: Package consistently uses macros (instead of hard-coded directory
 names).
[x]: Package is named according to the Package Naming Guidelines.
[x]: Package does not generate any conflict.
[x]: Package obeys FHS, except libexecdir and /usr/target.
[-]: If the package is a rename of another package, proper Obsoletes and
 Provides are present.
[x]: Requires correct, justified where necessary.
[x]: Spec file is legible and written in American English.
[x]: Package contains systemd file(s) if in need.
[x]: Useful -debuginfo package or justification otherwise.
[x]: Package is not known to require an ExcludeArch tag.
[x]: Large documentation must go in a -doc subpackage. Large could be size
 (~1MB) or number of files.
 Note: Documentation size is 10240 bytes in 2 files.
[x]: Package complies to the Packaging Guidelines
[x]: Package successfully compiles and builds into binary rpms on at least
 one supported primary architecture.
[x]: Package installs properly.
[x]: Rpmlint is run on all rpms the build produces.
 Note: There are rpmlint messages (see attachment).
[x]: Package requires other packages for directories it uses.
[x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
 beginning of %install.
[x]: Macros in Summary, %description expandable at SRPM build time.
[x]: Dist tag is present.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Package must not depend on deprecated() packages.
[-]: Package use %makeinstall only when make install DESTDIR=... doesn't
 work.
[x]: Package is named using only allowed ASCII characters.
[x]: Package does not use a name that already exists.
[x]: Package is not relocatable.
[x]: Sources used to build the package match the upstream source, as
 provided in the spec URL.
[x]: Spec file name must match the spec package %{name}, in the format
 %{name}.spec.
[x]: systemd_post is invoked in %post, systemd_preun in %preun, and
 systemd_postun in %postun for Systemd service files.
 Note: Systemd service file(s) in low-memory-monitor
[x]: File names are valid UTF-8.
[x]: Packages must not store files under /srv, /opt or /usr/local

= SHOULD items =

Generic:
[-]: If the source package does not include license text(s