fix(docs): stable documentation remains on the removed 5.38.0 tag

オープン
#9,135 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 3 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
30/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
活発
技術スタック
github, sql
領域
documentation

調査の方向性

The stable wiki link is in docs/README.md around line 3, and the YARA page to compare is docs/wiki/deployment/yara.md at the latest release tag. Start by checking the README link and the stable-version API the issue lists, then confirm which Read the Docs version the stable alias selects. Done means the stable alias resolves to the latest published release, its YARA page includes yara_file and yara_process, and the version is active and built. Most of the fix needs Read the Docs admin access, so a newcomer should confirm with maintainers before starting.

索引モデルが issue の本文から書いたものです。

説明

bug documentation maintainer task

Bug report

What operating system and version are you using?

Checked on 2026-10-08 with curl and GitHub CLI on macOS 27.0 arm64. This report concerns hosted documentation; no osquery binary was run.

What version of osquery are you using?
  • Current default branch: master at 9a7a144c9183634dd50af32e7b080c37613e6708.
  • Latest published release: 5.23.1, published 2026-06-24, with tag commit b7538338fa5bf3baeb11d660e0053b5919ed86e2.
  • RTD stable identifier: df1f69e4531f59b53a13b9fb24de21d82c02cd8c, dated 2025-07-17, with commit subject Update build instructions for workaround for XCode SDK > 16.3 (#8650).
What steps did you take to reproduce the issue?

The advertised Read the Docs stable wiki still resolves to an old revision through the now-missing 5.38.0 tag instead of the latest published release. Readers following that link miss current release documentation. For example, its YARA page documents the old yara table and contains no yara_file references, while the latest release source documents yara_file and yara_process. The live latest page contains that newer content and provides a practical workaround.

  1. On the baselines above, inspect the public stable-version API and both pages of the version listing. The listing reports 168 entries, and the second page has next: null.
curl -fsSL https://readthedocs.org/api/v3/projects/osquery/versions/stable/ | jq '{slug,ref,identifier,active,built}'
curl -fsSL 'https://readthedocs.org/api/v3/projects/osquery/versions/?limit=100' | jq '{count,next,results:[.results[] | {slug,identifier,active,built}]}'
curl -fsSL 'https://readthedocs.org/api/v3/projects/osquery/versions/?limit=100&offset=100' | jq '{count,next,results:[.results[] | {slug,identifier,active,built}]}'
  1. Check the current tag refs. Both commands returned HTTP 404.
gh api repos/osquery/osquery/git/ref/tags/5.37.0
gh api repos/osquery/osquery/git/ref/tags/5.38.0
  1. Compare the hosted YARA pages with the release source. All four commands below were executed. The HTML counts use the literal yara_file string; the source counts use the same string after decoding the GitHub API response.
curl -fsSL https://osquery.readthedocs.io/en/stable/deployment/yara/ | python3 -c 'import sys; print(sys.stdin.read().count("yara_file"))'
curl -fsSL https://osquery.readthedocs.io/en/latest/deployment/yara/ | python3 -c 'import sys; print(sys.stdin.read().count("yara_file"))'
gh api 'repos/osquery/osquery/contents/docs/wiki/deployment/yara.md?ref=b7538338fa5bf3baeb11d660e0053b5919ed86e2' --jq .content | python3 -c 'import base64,sys; print(base64.b64decode(sys.stdin.read()).decode().count("yara_file"))'
gh api 'repos/osquery/osquery/contents/docs/wiki/deployment/yara.md?ref=9a7a144c9183634dd50af32e7b080c37613e6708' --jq .content | python3 -c 'import base64,sys; print(base64.b64decode(sys.stdin.read()).decode().count("yara_file"))'
What did you expect to see?

The repository's advertised stable wiki should describe the latest published stable release. The docs README explicitly says the most recent tag is called stable. For the checked release, the hosted YARA page should include its yara_file and yara_process guidance.

What did you see instead?

The stable API returns the following selection:

{"slug":"stable","ref":"5.38.0","identifier":"df1f69e4531f59b53a13b9fb24de21d82c02cd8c","active":true,"built":true}

The complete RTD listing shows these states:

Version Active Built
5.37.0 true true
5.38.0 true true
5.19.0 false false
5.20.0 false false
5.21.0 false false
5.22.0 false false
5.22.1 false false
5.23.0 false false
5.23.1 false false

Both hosted YARA pages returned HTTP 200. The literal counts were 0 for stable, 14 for latest, 14 for release source and 14 for current default-branch source. More concretely, the stable page's introductory paragraph says there are two YARA tables and identifies yara as the on-demand table; the release source describes three tables and names yara_file and yara_process for on-demand scanning.

This is about the explicitly linked stable wiki. RTD's project default version is latest.

Evidence
  • Expected source: docs/README.md, line 3, which links the stable wiki and defines its tag-based behavior.
  • Failure source: The executed public API and hosted-page requests above, compared with the release's YARA source.
  • Evidence provenance: observed
  • Local verification: reproduced
  • Reproduction completeness: complete

Both tags existed historically. The saved RTD build log records a successful fetch of refs/tags/5.38.0 from the official repository on 2025-07-17. A comment on issue #8637 describes 5.37.0 as a test tag to be deleted later. The current 404s do not establish when the tags were removed.

Restoration check

Follow the stable wiki link from the docs README and compare the hosted page with the latest published stable release's source. The stable alias should resolve to that release and its YARA page should contain the same current table guidance. Confirm the selected release is active and built; changing only the README link to latest would leave the stable-version mismatch unresolved.

Additional context

A possible maintainer-side remedy is to deactivate or remove retained RTD versions for the removed tags, activate and build the actual release versions, and confirm that the stable alias selects the latest published stable release. This is a suggestion based on the public state; the administrative settings and reason the release versions are inactive were not inspected.

Triage assessment
  • Impact level: P2
  • Assessment status: supported
  • Impact basis: Readers following the repository's advertised stable wiki receive an older revision that omits current-release YARA table guidance. The observed consequence is a documentation mismatch, not an osquery execution failure.
  • Workaround status: available
  • Workaround basis: The live latest YARA page returned HTTP 200 and contains the newer table guidance found in the checked release source; readers can also consult the pinned release source.
主要言語
C++
スター
23.8k
フォーク
2.7k
平均マージ
6日 11時間
マージ済み PR(30日)
69

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

osquery/osquery のほかの issue

osquery/osquery の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。