Bug 2301862 - Review Request: ttyd - Share your terminal over HTTP
Summary: Review Request: ttyd - Share your terminal over HTTP
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Suchý
QA Contact: Fedora Extras Quality Assurance
URL: https://github.com/tsl0922/ttyd
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-07-30 23:07 UTC by Neel Chauhan
Modified: 2024-08-24 19:36 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-08-24 19:36:40 UTC
Type: ---
Embargoed:
msuchy: fedora-review+


Attachments (Terms of Use)

Description Neel Chauhan 2024-07-30 23:07:19 UTC
Spec URL: https://www.neelc.org/fedora/ttyd.spec
SRPM URL: https://www.neelc.org/fedora/ttyd-1.7.7-1.fc40.src.rpm
Patch URL: https://www.neelc.org/fedora/CMakeLists.txt.patch
Description: Share your terminal over HTTP
Fedora Account System Username: neelc

Comment 1 Fedora Review Service 2024-07-30 23:13:59 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/7806761
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2301862-ttyd/fedora-rawhide-x86_64/07806761-ttyd/fedora-review/review.txt

Found issues:

- A package with this name already exists. Please check https://src.fedoraproject.org/rpms/ttyd
  Read more: https://docs.fedoraproject.org/en-US/packaging-guidelines/Naming/#_conflicting_package_names

Please know that there can be false-positives.

---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 2 Neel Chauhan 2024-07-30 23:19:53 UTC
Keep in mind that this is my first package and I need a sponsor. I don't know how to do koji builds, sorry.

Comment 3 Miroslav Suchý 2024-08-04 08:41:58 UTC
> - Package does not use a name that already exists.
>  Note: A package with this name already exists. Please check
>  https://src.fedoraproject.org/rpms/ttyd
>  See: https://docs.fedoraproject.org/en-US/packaging-
>  guidelines/Naming/#_conflicting_package_names

Can be ignored as this package has been orphaned 3 years ago and package review has to be done.

> Patch0:         ttyd-CMakeLists.txt.patch

You should add a comment above this. With either upstream issue reporting this. Or explaining why it is needed.

Comment 4 Miroslav Suchý 2024-08-04 08:49:32 UTC
> Source:         https://github.com/tsl0922/ttyd/archive/refs/tags/%{version}.tar.gz

Note that guidelines prefers slightly different format:
https://docs.fedoraproject.org/en-US/packaging-guidelines/SourceURL/#_git_tags
But yours works too. I will leave up to you what you will use.


Otherwise it looks good.

Comment 6 Miroslav Suchý 2024-08-04 21:12:14 UTC
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/ttyd
  See: https://docs.fedoraproject.org/en-US/packaging-
  guidelines/Naming/#_conflicting_package_names

This is false positive - because it is re-review of retired package.

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

C/C++:
[x]: Package does not contain kernel modules.
[x]: If your application is a C or C++ application you must list a
     BuildRequires against gcc, gcc-c++ or clang.
[x]: Header files in -devel subpackage, if present.
[x]: Package does not contain any libtool archives (.la)
[x]: Package contains no static executables.
[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.
     Note: Checking patched sources after %prep for licenses. Licenses
     found: "Unknown or generated", "MIT License", "*No copyright* MIT
     License". 54 files have unknown license. Detailed output of
     licensecheck in /tmp/2301862-ttyd/licensecheck.txt
[x]: License file installed when any subpackage combination is installed.
[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.
[-]: 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]: 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: No rpmlint messages.
[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]: The License field must be a valid SPDX expression.
[x]: Package requires other packages for directories it uses.
[x]: Package must own all directories that it creates.
[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]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 0 bytes in 0 files.
[x]: Packages must not store files under /srv, /opt or /usr/local

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

Generic:
[x]: 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.
[x]: Patches link to upstream bugs/comments/lists or are otherwise
     justified.
[-]: Sources are verified with gpgverify first in %prep if upstream
     publishes signatures.
     Note: gpgverify is not used.
[?]: 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]: Reviewer should test that the package builds in mock.
[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]: Fully versioned dependency in subpackages if applicable.
[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]: Spec file according to URL is the same as in SRPM.
[x]: Rpmlint is run on debuginfo package(s).
     Note: No rpmlint messages.
[x]: Rpmlint is run on all installed packages.
     Note: No rpmlint messages.
[x]: Large data in /usr/share should live in a noarch subpackage if package
     is arched.

APPROVED

We had with Neel a session where I explained Fedora processes.
I will grant you access to packager group when you sent me the link to non-formal package review. After that you can ask for unretirement of the package.

Comment 7 Neel Chauhan 2024-08-04 21:52:01 UTC
Based on our session, I believe the non-formal review was for another package which hasn't been approved.

For another package, I have this comment: https://bugzilla.redhat.com/show_bug.cgi?id=2302731#c1

If it has to be some else reviewing the ttyd spec file, please let me know.

Comment 8 Miroslav Suchý 2024-08-06 07:39:18 UTC
> Unable to add user neelc: missing user agreement: Fedora Project Contributor Agreement

You have to go to https://accounts.fedoraproject.org 
Edit profile, Agreements, and Sign the agreement.

Comment 9 Neel Chauhan 2024-08-06 11:50:20 UTC
Sorry for that, didn't realize it existed. Try now.

Comment 10 Miroslav Suchý 2024-08-06 11:54:31 UTC
> You got it! neelc has been added to packager. 

Use your power wisely.

Comment 11 Neel Chauhan 2024-08-24 19:36:40 UTC
This package is already in, so closing.


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