В пакетах gitoskop 1.5.0-alt1 из Sisyphus и Branch p11 в Web UI и endpoint /_/version поле commit отображается как unknown. Воспроизведение: 1. Установить gitoskop 1.5.0-alt1. 2. Выполнить: curl -fsS http://<IP_сервера>:1449/_/version либо открыть Web UI. 3. Наблюдать значение commit: unknown. Фактический результат: В Web UI отображается «gitoskop v1.5.0 (unknown, <дата сборки>)», endpoint /_/version также возвращает commit: "unknown". Ожидаемый результат: В build metadata отображается идентификатор исходного commit, из которого собран пакет. Причина подтверждена исходниками и журналом сборки: - build.rs пытается получить commit через git rev-parse; если .git отсутствует, использует SRC_VER; при отсутствии обоих значений записывает unknown. - spec-файл в %build запускает только «cargo build --release --locked --offline», не передавая SRC_VER. - в журнале сборки задания 431303 распаковывается gitoskop-1.5.0.tar, затем выполняется тот же cargo build; .git в дереве сборки отсутствует: https://git.altlinux.org/tasks/archive/done/_421/431303/build/100/x86_64/log Предлагаемое исправление: При RPM-сборке передавать идентификатор исходного commit через SRC_VER либо иным способом сохранять его в build metadata.
спасибо, поправим
gitoskop-1.6.0-alt1 -> sisyphus: Sat Sep 05 2026 Anton Farygin <rider@altlinux> 1.6.0-alt1 - 1.5.0 -> 1.6.0 - webui: light theme with a topbar toggle, follows the OS by default - webui: diff folding per file and fold-all to a diffstat, big patches open folded; commit page lists its parents, tree and log links on the commit - webui: refs on a commit shown as pills after the breadcrumb, the ref is a crumb in tree/blob/log views; branches newest-first, release tag at the tip - webui: spec outline as a sticky column, Source/Patch lines link to what gear extracts; gear rules highlighting with paths linked into the tree - submodules: gitlink diffs as a Subproject commit line, gitlink blob is a page linked to the upstream commit - log: expand-all with full commit bodies, q filter matches the whole message - config: alias roots (one label served as another root's subtree), ui_title - raw serves text inline as text/plain, binaries as download - gitweb compat: <dir>/?p=<repo>, p= fallback to the parent dir, old ?o=age bookmarks land in the UI - fixed: roots tree scroll/focus on expand, flicker on cold load, git clone of the UI url got an empty repo, version omits commit on tarball builds (Closes: #60379)