Bug 1885699 - Review Request: profile-sync-daemon - Symlinks and syncs browser profile dirs to RAM thus reducing HDD/SDD calls
Summary: Review Request: profile-sync-daemon - Symlinks and syncs browser profile dirs...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Andy Mender
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-06 19:05 UTC by Artem
Modified: 2020-10-23 22:06 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-10-16 15:18:59 UTC
Type: ---
Embargoed:
andymenderunix: fedora-review+


Attachments (Terms of Use)

Description Artem 2020-10-06 19:05:02 UTC
Spec URL: https://atim.fedorapeople.org//profile-sync-daemon.spec
SRPM URL: https://atim.fedorapeople.org//profile-sync-daemon-6.42-1.fc33.src.rpm

Description:
Profile-sync-daemon (psd) is a tiny pseudo-daemon designed to manage your
browser's profile in tmpfs and to periodically sync it back to your physical
disc (HDD/SSD). This is accomplished via a symlinking step and an innovative
use of rsync to maintain back-up and synchronization between the two. One of
the major design goals of psd is a completely transparent user experience.

Comment 1 Artem 2020-10-06 19:05:05 UTC
This package built on koji:  https://koji.fedoraproject.org/koji/taskinfo?taskID=52883354

Comment 2 Artem 2020-10-06 19:06:38 UTC
This is the re-review procedure. profile-sync-daemon could be very useful for BTRFS since this is default FS now for Fedora 33.

Comment 3 Andy Mender 2020-10-06 19:52:23 UTC
Looks really good. fedora-review picked up 1 thing about the /usr/share/zsh dir:
> [ ]: Package must own all directories that it creates.
>      Note: Directories without known owners: /usr/lib/systemd/user,
>      /usr/share/zsh, /usr/lib/systemd
>      Review: Should there not be a Requires on "zsh"?

You can do it on package import, of course. The rest is fine. Package approved. Full review below:

Package Review
==============

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


Issues:
=======
- Package does not use a name that already exists.
  Note: A package with this name already exists. Please check
  https://src.fedoraproject.org/rpms/profile-sync-daemon
  See: https://docs.fedoraproject.org/en-US/packaging-
  guidelines/Naming/#_conflicting_package_names
- systemd_user_post is invoked in %post and systemd_user_preun in %preun
  for Systemd user units service files.
  Note: Systemd user unit service file(s) in profile-sync-daemon
  See: https://docs.fedoraproject.org/en-US/packaging-
  guidelines/Scriptlets/#_user_units
  Review: Per guidelines. Everything in order.


===== MUST items =====

Generic:
[x]: Package successfully compiles and builds into binary rpms on at least
     one supported primary architecture.
     Note: Using prebuilt packages
[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.
     Note: Checking patched sources after %prep for licenses. Licenses
     found: "Unknown or generated", "*No copyright* Expat License", "Expat
     License". 47 files have unknown license. Detailed output of
     licensecheck in /home/amender/rpmbuild/SPECS/profile-sync-
     daemon/profile-sync-daemon/licensecheck.txt
[ ]: Package must own all directories that it creates.
     Note: Directories without known owners: /usr/lib/systemd/user,
     /usr/share/zsh, /usr/lib/systemd
     Review: Should there not be a Requires on "zsh"?
[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
[?]: 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]: Package is not known to require an ExcludeArch tag.
[-]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 10240 bytes in 1 files.
[x]: Package complies to the Packaging Guidelines
[x]: Package installs properly.
[x]: Rpmlint is run on all rpms the build produces.
     Note: There are rpmlint messages (see attachment).
[x]: If (and only if) the source package includes the text of the
     license(s) in its own file, then that file, containing the text of the
     license(s) for the package is included in %license.
[x]: Package requires other packages for directories it uses.
[x]: Package does not own files or directories owned by other packages.
[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.
[x]: Package use %makeinstall only when make install DESTDIR=... doesn't
     work.
[x]: Package is named using only allowed ASCII characters.
[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]: File names are valid UTF-8.
[x]: Packages must not store files under /srv, /opt or /usr/local

===== SHOULD items =====

Generic:
[x]: Reviewer should test that the package builds in mock.
[-]: If the source package does not include license text(s) as a separate
     file from upstream, the packager SHOULD query upstream to include it.
[x]: Final provides and requires are sane (see attachments).
[?]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[-]: Sources are verified with gpgverify first in %prep if upstream
     publishes signatures.
     Note: gpgverify is not used.
[-]: Description and summary sections in the package spec file contains
     translations for supported Non-English languages, if available.
[x]: Package should compile and build into binary rpms on all supported
     architectures.
[-]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed
     files.
[x]: Buildroot is not present
[x]: Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: Sources can be downloaded from URI in Source: tag
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.

===== EXTRA items =====

Generic:
[x]: Rpmlint is run on all installed packages.
     Note: No rpmlint messages.


Rpmlint
-------
Checking: profile-sync-daemon-6.42-1.fc34.noarch.rpm
          profile-sync-daemon-6.42-1.fc34.src.rpm
profile-sync-daemon.noarch: W: spelling-error Summary(en_US) Symlinks -> Slinks
profile-sync-daemon.noarch: W: spelling-error Summary(en_US) dirs -> rids, sirs, firs
profile-sync-daemon.noarch: W: spelling-error %description -l en_US tmpfs -> temps
profile-sync-daemon.noarch: W: spelling-error %description -l en_US symlinking -> unblinking
profile-sync-daemon.noarch: W: no-manual-page-for-binary psd-suspend-sync
profile-sync-daemon.noarch: W: empty-%postun
profile-sync-daemon.src: W: spelling-error Summary(en_US) Symlinks -> Slinks
profile-sync-daemon.src: W: spelling-error Summary(en_US) dirs -> rids, sirs, firs
profile-sync-daemon.src: W: spelling-error %description -l en_US psd -> pad, pd, psi
profile-sync-daemon.src: W: spelling-error %description -l en_US tmpfs -> temps
profile-sync-daemon.src: W: spelling-error %description -l en_US symlinking -> unblinking
2 packages and 0 specfiles checked; 0 errors, 11 warnings.




Rpmlint (installed packages)
----------------------------
(none): E: no installed packages by name profile-sync-daemon
0 packages and 0 specfiles checked; 0 errors, 0 warnings.



Source checksums
----------------
https://github.com/graysky2/profile-sync-daemon/archive/v6.42/profile-sync-daemon-6.42.tar.gz :
  CHECKSUM(SHA256) this package     : d73625b81fa16e30cc4f982a25d8bf0b8697529b11dcff58617172c573f387f4
  CHECKSUM(SHA256) upstream package : d73625b81fa16e30cc4f982a25d8bf0b8697529b11dcff58617172c573f387f4


Requires
--------
profile-sync-daemon (rpmlib, GLIBC filtered):
    /bin/sh
    /usr/bin/bash
    rsync



Provides
--------
profile-sync-daemon:
    profile-sync-daemon

Comment 4 Artem 2020-10-06 20:12:21 UTC
(In reply to Andy Mender from comment #3)
> Looks really good. fedora-review picked up 1 thing about the /usr/share/zsh
> dir:
> > [ ]: Package must own all directories that it creates.
> >      Note: Directories without known owners: /usr/lib/systemd/user,
> >      /usr/share/zsh, /usr/lib/systemd
> >      Review: Should there not be a Requires on "zsh"?
> 
> You can do it on package import, of course. The rest is fine. Package
> approved. Full review below:

Thanks! Ill fix this before import. As for '/usr/share/zsh' we can own it or we can skip this according to this discussion https://bugzilla.redhat.com/show_bug.cgi?id=1739807#c10
But we should add explicitly 'Requires: systemd' here.

Comment 5 Fedora Update System 2020-10-07 14:38:41 UTC
FEDORA-2020-f1e89e4baf has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-f1e89e4baf

Comment 6 Fedora Update System 2020-10-07 14:38:50 UTC
FEDORA-2020-cb8a4349e2 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-cb8a4349e2

Comment 7 Andy Mender 2020-10-07 20:19:57 UTC
> Thanks! Ill fix this before import. As for '/usr/share/zsh' we can own it or we can skip this according to this discussion https://bugzilla.redhat.com/show_bug.cgi?id=1739807#c10
But we should add explicitly 'Requires: systemd' here.

Regarding 'Requires: systemd', I heard different versions and was at some point told that it's not necessary (it's a part of the system itself, right?). The docs on packaging systemd unit files don't mention anything: https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#_systemd

Comment 8 Artem 2020-10-07 20:36:49 UTC
(In reply to Andy Mender from comment #7)

> https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#_systemd

Fix is coming, thanks again.

Comment 9 Fedora Update System 2020-10-07 20:45:15 UTC
FEDORA-2020-cb8a4349e2 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-cb8a4349e2`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-cb8a4349e2

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2020-10-08 22:19:02 UTC
FEDORA-2020-2cdc9e938e has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-2cdc9e938e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-2cdc9e938e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2020-10-16 15:18:59 UTC
FEDORA-2020-de70d60d4e has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Fedora Update System 2020-10-23 22:06:09 UTC
FEDORA-2020-2cdc9e938e has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.


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