[Bug 1947685] Review Request: ocaml-atd - Static Types for Json APIs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1947685



--- Comment #2 from Jerry James <loganjerry@xxxxxxxxx> ---
Package Review
==============

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

Issues:
=======
- Do you know why the atdj and atds META files are both empty?

- The comment on line 51, "No Scala compiler in Fedora", is incorrect.  The
  Scala compiler is available in the scala package.

- Would it be worthwhile to split atdgen-codec-runtime and atdgen-runtime out
  as separate packages, so that consumers don't need to drag everything in to
  run?

- The opam and dune-package files are in the main package.  They are small
  enough that that doesn't overly concern me, but they probably fit better in
  the -devel subpackage.

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

C/C++:
[x]: Package does not contain kernel modules.
[x]: Package contains no static executables.
[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.
[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.
[x]: 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]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 20480 bytes in 3 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]: 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 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 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]: File names are valid UTF-8.
[x]: Packages must not store files under /srv, /opt or /usr/local

Ocaml:
[x]: This should never happen

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

Generic:
[-]: 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).
[x]: 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.
[x]: %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]: Rpmlint is run on debuginfo package(s).
     Note: No rpmlint messages.
[x]: Rpmlint is run on all installed packages.
     Note: There are rpmlint messages (see attachment).
[x]: Large data in /usr/share should live in a noarch subpackage if package
     is arched.
[x]: Spec file according to URL is the same as in SRPM.


Rpmlint
-------
Checking: ocaml-atd-2.2.1-1.fc35.x86_64.rpm
          ocaml-atd-devel-2.2.1-1.fc35.x86_64.rpm
          ocaml-atd-debuginfo-2.2.1-1.fc35.x86_64.rpm
          ocaml-atd-debugsource-2.2.1-1.fc35.x86_64.rpm
          ocaml-atd-2.2.1-1.fc35.src.rpm
ocaml-atd.x86_64: W: spelling-error %description -l en_US serializers ->
serializes, serialize rs, serialize-rs
ocaml-atd.x86_64: W: spelling-error %description -l en_US deserializers ->
serializes, depersonalizes, materializes
ocaml-atd.x86_64: W: spelling-error %description -l en_US validators ->
liquidators
ocaml-atd.x86_64: W: spelling-error %description -l en_US json -> son, j son,
soon
ocaml-atd.x86_64: W: spelling-error %description -l en_US biniou -> bilious
ocaml-atd.x86_64: E: missing-call-to-chdir-with-chroot /usr/bin/atdcat
ocaml-atd.x86_64: E: missing-call-to-chdir-with-chroot /usr/bin/atdgen
ocaml-atd.x86_64: E: missing-call-to-chdir-with-chroot /usr/bin/atdj
ocaml-atd.x86_64: E: zero-length /usr/lib64/ocaml/atdj/META
ocaml-atd.x86_64: E: zero-length /usr/lib64/ocaml/atds/META
ocaml-atd.x86_64: W: no-manual-page-for-binary atdcat
ocaml-atd.x86_64: W: no-manual-page-for-binary atdgen
ocaml-atd.x86_64: W: no-manual-page-for-binary atdgen-cppo
ocaml-atd.x86_64: W: no-manual-page-for-binary atdj
ocaml-atd.x86_64: W: no-manual-page-for-binary cppo-json
ocaml-atd.src: W: spelling-error %description -l en_US serializers ->
serializes, serialize rs, serialize-rs
ocaml-atd.src: W: spelling-error %description -l en_US deserializers ->
serializes, depersonalizes, materializes
ocaml-atd.src: W: spelling-error %description -l en_US validators ->
liquidators
ocaml-atd.src: W: spelling-error %description -l en_US opam -> spam, opal, Spam
ocaml-atd.src: W: spelling-error %description -l en_US atdgen -> attend
ocaml-atd.src: W: spelling-error %description -l en_US json -> son, j son, soon
ocaml-atd.src: W: spelling-error %description -l en_US biniou -> bilious
ocaml-atd.src: W: spelling-error %description -l en_US atdj -> adj
5 packages and 0 specfiles checked; 5 errors, 18 warnings.




Rpmlint (debuginfo)
-------------------
Checking: ocaml-atd-debuginfo-2.2.1-1.fc35.x86_64.rpm
1 packages and 0 specfiles checked; 0 errors, 0 warnings.





Rpmlint (installed packages)
----------------------------
ocaml-atd.x86_64: W: spelling-error %description -l en_US serializers ->
serializes, serialize rs, serialize-rs
ocaml-atd.x86_64: W: spelling-error %description -l en_US deserializers ->
serializes, depersonalizes, materializes
ocaml-atd.x86_64: W: spelling-error %description -l en_US validators ->
liquidators
ocaml-atd.x86_64: W: spelling-error %description -l en_US json -> son, j son,
soon
ocaml-atd.x86_64: W: spelling-error %description -l en_US biniou -> bilious
ocaml-atd.x86_64: E: missing-call-to-chdir-with-chroot /usr/bin/atdcat
ocaml-atd.x86_64: E: missing-call-to-chdir-with-chroot /usr/bin/atdgen
ocaml-atd.x86_64: E: missing-call-to-chdir-with-chroot /usr/bin/atdj
ocaml-atd.x86_64: E: zero-length /usr/lib64/ocaml/atdj/META
ocaml-atd.x86_64: E: zero-length /usr/lib64/ocaml/atds/META
ocaml-atd.x86_64: W: no-manual-page-for-binary atdcat
ocaml-atd.x86_64: W: no-manual-page-for-binary atdgen
ocaml-atd.x86_64: W: no-manual-page-for-binary atdgen-cppo
ocaml-atd.x86_64: W: no-manual-page-for-binary atdj
ocaml-atd.x86_64: W: no-manual-page-for-binary cppo-json
4 packages and 0 specfiles checked; 5 errors, 10 warnings.



Source checksums
----------------
https://github.com/ahrefs/atd/archive/2.2.1/atd-2.2.1.tar.gz :
  CHECKSUM(SHA256) this package     :
071d3fb51d81445b147856a776f97e5e2b9e5b9e8d75260b8987feb5078e1bf4
  CHECKSUM(SHA256) upstream package :
071d3fb51d81445b147856a776f97e5e2b9e5b9e8d75260b8987feb5078e1bf4


Requires
--------
ocaml-atd (rpmlib, GLIBC filtered):
    /usr/bin/sh
    libc.so.6()(64bit)
    libdl.so.2()(64bit)
    libm.so.6()(64bit)
    ocaml(Atd)
    ocaml(Atd__Annot)
    ocaml(Atd__Ast)
    ocaml(Atd__Check)
    ocaml(Atd__Doc_lexer)
    ocaml(Atd__Doc_types)
    ocaml(Atd__Expand)
    ocaml(Atd__Import)
    ocaml(Atd__Inherit)
    ocaml(Atd__Lexer)
    ocaml(Atd__Parser)
    ocaml(Atd__Predef)
    ocaml(Atd__Print)
    ocaml(Atd__Sort)
    ocaml(Atdgen__)
    ocaml(Atdgen_codec_runtime)
    ocaml(Atdgen_codec_runtime__Json)
    ocaml(Atdgen_runtime)
    ocaml(Bi_inbuf)
    ocaml(Bi_io)
    ocaml(Bi_outbuf)
    ocaml(Bi_share)
    ocaml(Bi_vint)
    ocaml(CamlinternalFormatBasics)
    ocaml(Easy_format)
    ocaml(Stdlib)
    ocaml(Stdlib__array)
    ocaml(Stdlib__buffer)
    ocaml(Stdlib__char)
    ocaml(Stdlib__either)
    ocaml(Stdlib__format)
    ocaml(Stdlib__hashtbl)
    ocaml(Stdlib__int32)
    ocaml(Stdlib__int64)
    ocaml(Stdlib__lexing)
    ocaml(Stdlib__list)
    ocaml(Stdlib__map)
    ocaml(Stdlib__obj)
    ocaml(Stdlib__printexc)
    ocaml(Stdlib__printf)
    ocaml(Stdlib__seq)
    ocaml(Stdlib__set)
    ocaml(Stdlib__stream)
    ocaml(Stdlib__string)
    ocaml(Stdlib__stringLabels)
    ocaml(Stdlib__sys)
    ocaml(Stdlib__uchar)
    ocaml(Yojson)
    ocamlx(Stdlib)
    ocamlx(Stdlib__array)
    ocamlx(Stdlib__buffer)
    ocamlx(Stdlib__char)
    ocamlx(Stdlib__hashtbl)
    ocamlx(Stdlib__int32)
    ocamlx(Stdlib__int64)
    ocamlx(Stdlib__lexing)
    ocamlx(Stdlib__list)
    ocamlx(Stdlib__map)
    ocamlx(Stdlib__obj)
    ocamlx(Stdlib__printexc)
    ocamlx(Stdlib__printf)
    ocamlx(Stdlib__set)
    ocamlx(Stdlib__stream)
    ocamlx(Stdlib__string)
    ocamlx(Stdlib__stringLabels)
    ocamlx(Stdlib__sys)
    rtld(GNU_HASH)

ocaml-atd-devel (rpmlib, GLIBC filtered):
    ocaml(Atd)
    ocaml(Atd__Annot)
    ocaml(Atd__Ast)
    ocaml(Atd__Check)
    ocaml(Atd__Doc_lexer)
    ocaml(Atd__Doc_types)
    ocaml(Atd__Expand)
    ocaml(Atd__Import)
    ocaml(Atd__Inherit)
    ocaml(Atd__Lexer)
    ocaml(Atd__Parser)
    ocaml(Atd__Predef)
    ocaml(Atd__Print)
    ocaml(Atd__Sort)
    ocaml(Atdgen__)
    ocaml(Atdgen_codec_runtime)
    ocaml(Atdgen_codec_runtime__Json)
    ocaml(Atdgen_runtime)
    ocaml(Bi_inbuf)
    ocaml(Bi_io)
    ocaml(Bi_outbuf)
    ocaml(Bi_share)
    ocaml(Bi_vint)
    ocaml(CamlinternalFormatBasics)
    ocaml(Easy_format)
    ocaml(Stdlib)
    ocaml(Stdlib__array)
    ocaml(Stdlib__buffer)
    ocaml(Stdlib__char)
    ocaml(Stdlib__either)
    ocaml(Stdlib__format)
    ocaml(Stdlib__hashtbl)
    ocaml(Stdlib__int32)
    ocaml(Stdlib__int64)
    ocaml(Stdlib__lexing)
    ocaml(Stdlib__list)
    ocaml(Stdlib__map)
    ocaml(Stdlib__obj)
    ocaml(Stdlib__printexc)
    ocaml(Stdlib__printf)
    ocaml(Stdlib__seq)
    ocaml(Stdlib__set)
    ocaml(Stdlib__stream)
    ocaml(Stdlib__string)
    ocaml(Stdlib__stringLabels)
    ocaml(Stdlib__sys)
    ocaml(Stdlib__uchar)
    ocaml(Yojson)
    ocaml-atd(x86-64)
    ocamlx(Stdlib)
    ocamlx(Stdlib__array)
    ocamlx(Stdlib__buffer)
    ocamlx(Stdlib__char)
    ocamlx(Stdlib__hashtbl)
    ocamlx(Stdlib__int32)
    ocamlx(Stdlib__int64)
    ocamlx(Stdlib__lexing)
    ocamlx(Stdlib__list)
    ocamlx(Stdlib__map)
    ocamlx(Stdlib__obj)
    ocamlx(Stdlib__printexc)
    ocamlx(Stdlib__printf)
    ocamlx(Stdlib__set)
    ocamlx(Stdlib__stream)
    ocamlx(Stdlib__string)
    ocamlx(Stdlib__stringLabels)
    ocamlx(Stdlib__sys)

ocaml-atd-debuginfo (rpmlib, GLIBC filtered):

ocaml-atd-debugsource (rpmlib, GLIBC filtered):



Provides
--------
ocaml-atd:
    ocaml(Atd)
    ocaml(Atd__Annot)
    ocaml(Atd__Ast)
    ocaml(Atd__Check)
    ocaml(Atd__Doc)
    ocaml(Atd__Doc_lexer)
    ocaml(Atd__Doc_types)
    ocaml(Atd__Expand)
    ocaml(Atd__Import)
    ocaml(Atd__Inherit)
    ocaml(Atd__Lexer)
    ocaml(Atd__Parser)
    ocaml(Atd__Predef)
    ocaml(Atd__Print)
    ocaml(Atd__Reflect)
    ocaml(Atd__Sort)
    ocaml(Atd__Util)
    ocaml(Atd__Version)
    ocaml(Atdgen)
    ocaml(Atdgen__)
    ocaml(Atdgen__Version)
    ocaml(Atdgen_codec_runtime)
    ocaml(Atdgen_codec_runtime__Decode)
    ocaml(Atdgen_codec_runtime__Encode)
    ocaml(Atdgen_codec_runtime__Json)
    ocaml(Atdgen_codec_runtime__Json_adapter)
    ocaml(Atdgen_runtime)
    ocaml(Atdgen_runtime__Json_adapter)
    ocaml(Atdgen_runtime__Ob_run)
    ocaml(Atdgen_runtime__Oj_run)
    ocaml(Atdgen_runtime__Ov_run)
    ocaml(Atdgen_runtime__Util)
    ocaml(Atdgen_runtime__Version)
    ocaml-atd
    ocaml-atd(x86-64)
    ocamlx(Atd)
    ocamlx(Atd__Annot)
    ocamlx(Atd__Ast)
    ocamlx(Atd__Check)
    ocamlx(Atd__Doc)
    ocamlx(Atd__Doc_lexer)
    ocamlx(Atd__Doc_types)
    ocamlx(Atd__Expand)
    ocamlx(Atd__Import)
    ocamlx(Atd__Inherit)
    ocamlx(Atd__Lexer)
    ocamlx(Atd__Parser)
    ocamlx(Atd__Predef)
    ocamlx(Atd__Print)
    ocamlx(Atd__Reflect)
    ocamlx(Atd__Sort)
    ocamlx(Atd__Util)
    ocamlx(Atd__Version)
    ocamlx(Atdgen)
    ocamlx(Atdgen__)
    ocamlx(Atdgen__Version)
    ocamlx(Atdgen_codec_runtime)
    ocamlx(Atdgen_codec_runtime__Decode)
    ocamlx(Atdgen_codec_runtime__Encode)
    ocamlx(Atdgen_codec_runtime__Json)
    ocamlx(Atdgen_codec_runtime__Json_adapter)
    ocamlx(Atdgen_runtime)
    ocamlx(Atdgen_runtime__Json_adapter)
    ocamlx(Atdgen_runtime__Ob_run)
    ocamlx(Atdgen_runtime__Oj_run)
    ocamlx(Atdgen_runtime__Ov_run)
    ocamlx(Atdgen_runtime__Util)
    ocamlx(Atdgen_runtime__Version)

ocaml-atd-devel:
    ocaml(Atd)
    ocaml(Atd__Annot)
    ocaml(Atd__Ast)
    ocaml(Atd__Check)
    ocaml(Atd__Doc)
    ocaml(Atd__Doc_lexer)
    ocaml(Atd__Doc_types)
    ocaml(Atd__Expand)
    ocaml(Atd__Import)
    ocaml(Atd__Inherit)
    ocaml(Atd__Lexer)
    ocaml(Atd__Parser)
    ocaml(Atd__Predef)
    ocaml(Atd__Print)
    ocaml(Atd__Reflect)
    ocaml(Atd__Sort)
    ocaml(Atd__Util)
    ocaml(Atd__Version)
    ocaml(Atdgen)
    ocaml(Atdgen__)
    ocaml(Atdgen__Version)
    ocaml(Atdgen_codec_runtime)
    ocaml(Atdgen_codec_runtime__Decode)
    ocaml(Atdgen_codec_runtime__Encode)
    ocaml(Atdgen_codec_runtime__Json)
    ocaml(Atdgen_codec_runtime__Json_adapter)
    ocaml(Atdgen_runtime)
    ocaml(Atdgen_runtime__Json_adapter)
    ocaml(Atdgen_runtime__Ob_run)
    ocaml(Atdgen_runtime__Oj_run)
    ocaml(Atdgen_runtime__Ov_run)
    ocaml(Atdgen_runtime__Util)
    ocaml(Atdgen_runtime__Version)
    ocaml-atd-devel
    ocaml-atd-devel(x86-64)
    ocamlx(Atd)
    ocamlx(Atd__Annot)
    ocamlx(Atd__Ast)
    ocamlx(Atd__Check)
    ocamlx(Atd__Doc)
    ocamlx(Atd__Doc_lexer)
    ocamlx(Atd__Doc_types)
    ocamlx(Atd__Expand)
    ocamlx(Atd__Import)
    ocamlx(Atd__Inherit)
    ocamlx(Atd__Lexer)
    ocamlx(Atd__Parser)
    ocamlx(Atd__Predef)
    ocamlx(Atd__Print)
    ocamlx(Atd__Reflect)
    ocamlx(Atd__Sort)
    ocamlx(Atd__Util)
    ocamlx(Atd__Version)
    ocamlx(Atdgen)
    ocamlx(Atdgen__)
    ocamlx(Atdgen__Version)
    ocamlx(Atdgen_codec_runtime)
    ocamlx(Atdgen_codec_runtime__Decode)
    ocamlx(Atdgen_codec_runtime__Encode)
    ocamlx(Atdgen_codec_runtime__Json)
    ocamlx(Atdgen_codec_runtime__Json_adapter)
    ocamlx(Atdgen_runtime)
    ocamlx(Atdgen_runtime__Json_adapter)
    ocamlx(Atdgen_runtime__Ob_run)
    ocamlx(Atdgen_runtime__Oj_run)
    ocamlx(Atdgen_runtime__Ov_run)
    ocamlx(Atdgen_runtime__Util)
    ocamlx(Atdgen_runtime__Version)

ocaml-atd-debuginfo:
    debuginfo(build-id)
    ocaml-atd-debuginfo
    ocaml-atd-debuginfo(x86-64)

ocaml-atd-debugsource:
    ocaml-atd-debugsource
    ocaml-atd-debugsource(x86-64)



Generated by fedora-review 0.7.6 (b083f91) last change: 2020-11-10
Command line :/usr/bin/fedora-review -b 1947685 -m fedora-rawhide-x86_64
Buildroot used: fedora-rawhide-x86_64
Active plugins: Shell-api, C/C++, Ocaml, Generic
Disabled plugins: Perl, Python, fonts, Haskell, SugarActivity, R, PHP, Java,
Ruby
Disabled flags: EPEL6, EPEL7, DISTTAG, BATCH, EXARCH


-- 
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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux