Bug 2245348 - Review Request: janet - A dynamic language and bytecode vm
Summary: Review Request: janet - A dynamic language and bytecode vm
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Zbigniew Jędrzejewski-Szmek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-10-20 21:58 UTC by Benson Muite
Modified: 2023-11-16 03:22 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-11-16 02:29:33 UTC
Type: ---
Embargoed:
zbyszek: fedora-review+


Attachments (Terms of Use)

Description Benson Muite 2023-10-20 21:58:00 UTC
spec: https://download.copr.fedorainfracloud.org/results/fed500/janet/fedora-rawhide-x86_64/06552104-janet/janet.spec
srpm: https://download.copr.fedorainfracloud.org/results/fed500/janet/fedora-rawhide-x86_64/06552104-janet/janet-1.32.1-1.fc40.src.rpm

description:
Janet makes a good system scripting language, or a language
to embed in other programs. It's like Lua and GNU Guile in
that regard. It has more built-in functionality and a richer
core language than Lua, but smaller than GNU Guile or Python.
However, it is much easier to embed and port than Python or
Guile.

There is a REPL for trying out the language, as well as the
ability to run script files. This client program is separate
from the core runtime, so Janet can be embedded in other
programs. Try Janet in your browser at https://janet-lang.org.

fas:
fed500

koji build:
https://koji.fedoraproject.org/koji/taskinfo?taskID=107844846

Reproducible: Always

Comment 1 Fedora Review Service 2023-10-20 21:58:54 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/6552107
(failed)

Build log:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2245348-janet/srpm-builds/06552107/builder-live.log.gz

Please make sure the package builds successfully at least for Fedora Rawhide.

- If the build failed for unrelated reasons (e.g. temporary network
  unavailability), please ignore it.
- If the build failed because of missing BuildRequires, please make sure they
  are listed in the "Depends On" field


---
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 Benson Muite 2023-10-21 04:26:01 UTC
[fedora-review-service-build]

Comment 3 Tim Semeijn 2023-10-24 14:30:54 UTC
This is an unofficial review as I am not accepted into the packager group yet.

> janet.x86_64: E: version-control-internal-file /usr/share/doc/janet/examples/numarray/.gitignore

This file should be removed.

> janet-static.x86_64: E: static-library-without-debuginfo /usr/lib64/libjanet.a

Static library does not contain debug information so please use --disable-static configure option or remove the file manually.

Comment 5 Zbigniew Jędrzejewski-Szmek 2023-11-05 13:07:53 UTC
Everything looks pretty nice and clean… Some questions and suggestions below.

It's nicer when %description is wrapped to <=80 columns (currently it's rather narrower).

> %package static
> Requires:  %{name}-devel%{?_isa} = %{version}-%{release}
I don't think the Requires is necessary. Nothing in the static library
uses files from -devel.

> %description static
The description should end in a dot.

> %{_libdir}/janet/janet.c
> %{_libdir}/libjanet.so.1.*
> %{_libdir}/libjanet.a
So the library part is delivered as a shared libary, a static library,
and an embeddable source file… Is anything except a shared library
really needed? How do you plan to use this? If it's as a dependency for
other fedora packages, then I think the effort should go into everybody
using the shared library.

$ ls -l /usr/bin/janet /usr/lib64/libjanet.so.1.32.1 
-rwxr-xr-x 1 root root 788360 Oct 20 02:00 /usr/bin/janet
-rwxr-xr-x 1 root root 811744 Oct 20 02:00 /usr/lib64/libjanet.so.1.32.1
Please link /usr/bin/janet to the shared library. This will shave off ~50% percent
of the package size.

Comment 6 Benson Muite 2023-11-06 20:10:36 UTC
Thanks.
Wrapped description.
Removed the static package.
Used dynamic linking to the library for the executable.

Have left the amalgamated C file, use case is different than
static library.  Can place it in a separate subpackage, though
it is a development file. Documentation on embedding:
https://janet-lang.org/capi/embedding.html

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

spec: https://download.copr.fedorainfracloud.org/results/fed500/janet/fedora-rawhide-x86_64/06604151-janet/janet.spec
srpm: https://download.copr.fedorainfracloud.org/results/fed500/janet/fedora-rawhide-x86_64/06604151-janet/janet-1.32.1-1.fc40.src.rpm

Comment 7 Zbigniew Jędrzejewski-Szmek 2023-11-07 12:29:12 UTC
$ ls -lL /usr/bin/janet /lib64/libjanet.so.1.32
-rwxr-xr-x 1 root root  32720 Nov  6 01:00 /usr/bin/janet
-rwxr-xr-x 1 root root 810696 Nov  6 01:00 /lib64/libjanet.so.1.32

That is a nice saving.

> Have left the amalgamated C file, use case is different than static library.
Sounds reasonable.

+ package name is OK
+ latest version
+ license is acceptable for Fedora (MIT)
+ license is specified correctly
+ builds and installs OK
+ P/R/BR are reasonable

Package is APPROVED.

Are the plans to package the whole ecosystem? https://janet-lang.org/ lists a bunch
of modules…

Comment 8 Fedora Admin user for bugzilla script actions 2023-11-07 15:40:25 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/janet

Comment 9 Benson Muite 2023-11-07 15:48:51 UTC
Thanks. Do not currently plan to package the whole ecosystem. There are
other packages would like to finish first. Can then come back to add
additional packages.

Comment 10 Fedora Update System 2023-11-07 16:32:04 UTC
FEDORA-2023-fcae98bae2 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-fcae98bae2

Comment 11 Fedora Update System 2023-11-07 16:52:08 UTC
FEDORA-2023-45d80bb730 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-45d80bb730

Comment 12 Fedora Update System 2023-11-07 17:19:38 UTC
FEDORA-2023-2e50c0d37e has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-2e50c0d37e

Comment 13 Fedora Update System 2023-11-08 02:53:40 UTC
FEDORA-2023-45d80bb730 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-45d80bb730 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-45d80bb730

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

Comment 14 Fedora Update System 2023-11-08 02:58:27 UTC
FEDORA-2023-fcae98bae2 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-fcae98bae2 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-fcae98bae2

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

Comment 15 Fedora Update System 2023-11-08 03:03:43 UTC
FEDORA-2023-2e50c0d37e has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-2e50c0d37e \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-2e50c0d37e

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

Comment 16 Fedora Update System 2023-11-16 02:29:33 UTC
FEDORA-2023-2e50c0d37e has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 17 Fedora Update System 2023-11-16 02:35:52 UTC
FEDORA-2023-fcae98bae2 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 18 Fedora Update System 2023-11-16 03:22:44 UTC
FEDORA-2023-45d80bb730 has been pushed to the Fedora 38 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.