Bug 2276020 - Documentation sub-package is missing
Summary: Documentation sub-package is missing
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: valkey
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jonathan Wright
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-04-19 02:01 UTC by Nathan Scott
Modified: 2024-09-24 21:26 UTC (History)
2 users (show)

Fixed In Version: valkey-8.0.0-2.fc42
Clone Of:
Environment:
Last Closed: 2024-09-24 21:26:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Nathan Scott 2024-04-19 02:01:48 UTC
When valkey.spec was created from redis.spec, the documentation sub-package was removed.  I guess the assumption was its just docs, has a separate git repo and should be a separate valkey-doc package.  It turns out it is used in the source build, however.  Code is generated from the contents now in the valkey-doc git repo upstream, so it actually does need to remain here according to both Fedora guidelines and the practical concerns of having up-to-date documentation from the command line tools.

Historically, the sync-up process was at times very delayed in upstream redis, causing dated docs.  Please add it back as valkey-doc, thanks!

Reproducible: Always

Comment 1 Jonathan Wright 2024-04-19 16:53:07 UTC
Upstream Valkey has suggested not packaging it as they are meant to be consumed by static site generators and aren't very useful just packed in which is why I dropped it to begin with when packing up Valkey.

They are already working on detailed man pages built from the docs according to Kyle Davis.

Comment 2 Kyle Davis 2024-04-19 17:27:53 UTC
Kyle from Valkey here. 

Two things: 1. As Jonathan mentions, there is active work going on to reshape valkey-doc as something more usable and to have man pages. As it stands it's really just a source today for a static site generator, so not very useful today independently. 2. The valkey-doc repo doesn't contain the command reference which is probably the most useful part of the documentation - that is generated from code and so packaging valkey-doc is only part of the picture. As far as I know the man page effort will also include the command documentation. 

Finally, I'm open to understanding other ways which Fedora would like to package the docs and what ways Valkey can make it easier/more accessible/etc.

Comment 3 Nathan Scott 2024-04-20 08:50:39 UTC
Thanks for the updates.  It's all sounding alot more promising than
the lack of interest from Redis upstream for many years, thanks.

To be clear, the contents of the valkey-doc repo are not suited to
man pages - this is why the man page patch exists separately; this
needs to document command line options and such which is not (yet)
covered in [redis,valkey]-doc at all.

| 2. The valkey-doc repo doesn't contain the command reference

Bizarrely, it does ... its sync'd through a manual process using a
python script or two below [redis,valkey]/utils

https://github.com/valkey-io/valkey-doc/blob/main/commands.json

But anyway, no matter, its all quite convoluted.  :P

Our needs in the Fedora, EPEL, CentOS and RHEL -doc packages are to
provide as much detailed information as possible to people who are
using some specific version of redis (typically ancient, and often
not matching online docs) - doc packages essentially become frozen
time capsules matching the equally frozen redis/valkey version they
originally shipped with).

The markdown format from {valkey,redis}-doc is well-suited to this.

Comment 4 Fedora Update System 2024-09-24 21:22:36 UTC
FEDORA-2024-797e0aff84 (valkey-8.0.0-2.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-797e0aff84

Comment 5 Fedora Update System 2024-09-24 21:26:41 UTC
FEDORA-2024-797e0aff84 (valkey-8.0.0-2.fc42) has been pushed to the Fedora 42 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.