- 01 Jul, 2026 1 commit
-
-
Vitaly Lipatov authored
The overloaded reset_release() only echoed the new value, which was discarded in the -n and -v case branches, so the release was never written to the spec (e.g. 11.11.5-eter2 -> rpmlog -n 11.12.1 kept eter2 instead of eter1). Drop the broken override and call the library set_release with an empty release, which resets to <prefix>1. Add a test for it.
-
- 29 Jun, 2026 1 commit
-
-
Vitaly Lipatov authored
The -s ours strategy discarded the merged tag content, so packages with vendored sources were not actually merged into master. Use a regular merge for all packages. Reverts d223e6ca.
-
- 18 May, 2026 1 commit
-
-
Vitaly Lipatov authored
Same hack as for ' +' separator, fixes wine-style cumulative commit messages where multiple patches are glued together with ' - '.
-
- 05 May, 2026 4 commits
-
-
Vitaly Lipatov authored
- rpmgs: vendor Go deps from submodule go.mod into top-level vendor (Closes #4) - rpmgs: add zig vendoring (Closes #6) - rpmgs: use Cargo.toml for detect rust vendor - rpmcs: avoid partial Req replacement - po/Makefile: fix xgettext to extract only translatable strings - po: update Russian translation - rpmgs: add pnpm support for vendoring node_modules - rpmgs: search for yarn.lock/package.json in source subdir and subdirectories - rpmgs: use only first root go.mod for Go vendoring, disable workspace - gitask: disable API for get_last, use ssh task ls directly - rpmgs: preserve parent directory when KEEP_DIRS contains subdir paths - gitask: fix subtask replacement for repo.git=tag format - gitask: fix get_subtask fallback to avoid substring matches - gitask: show srpm/copy subtask names in gita show - gitask: show srpm version in gita ls for copy/rebuild subtasks - gitask: accept package name in 'approve' subcommand - rpmgs: download_any_tarball: use cached tarball with return, not continue - rpmgs: git_to_tarball: checkout tag matching spec Version - rpmgs: capture cargo vendor source override config to .gear/config.toml
-
Vitaly Lipatov authored
cargo vendor outputs a TOML config block to stdout with [source.*] overrides matching the actual git revisions / source IDs of vendored deps (including ?rev=... keys for git-pinned dependencies). This output was previously discarded, leaving package authors to maintain .gear/config.toml manually — which silently goes stale when upstream updates a git rev pin and breaks offline builds. Now rpmgs redirects the stdout to $RGD/.gear/config.toml during update_predownloaded() and stages it alongside the vendor commit, so the source override always matches the vendored crates.
-
Vitaly Lipatov authored
When Source-url points to a .git URL without /tree/<ref> or /commit/<sha>, git_to_tarball just cloned and packed HEAD. If upstream HEAD had moved past the spec Version, the resulting tarball contained sources from a different release than the spec claimed (observed in hddfancontrol 2.1.0-alt1, which shipped 2.1.1 sources because HEAD was already at 2.1.1 when packaged). Now if no explicit checkout is given via URL, try to checkout 'v$VERSION' or '$VERSION' tag and fail loudly if neither exists. To get a HEAD snapshot intentionally, pass HEAD as the version (rpmgs already supports this) or use # Source-url: ...git/tree/<ref>. Also init submodules after checkout so the packed tree reflects the tag.
-
Vitaly Lipatov authored
If the target tarball already exists in RPMSOURCEDIR and FORCEDOWNLOAD is not set, the previous code did 'continue' inside the FORMATS loop, which just iterated through extensions (always finding the same cached file) and ultimately fell through to 'fatal'. Move the cache check out of the loop and 'return' when a valid cached copy exists.
-
- 01 May, 2026 1 commit
-
-
Vitaly Lipatov authored
Same logic as in 'delsub': if SUBTASK is not a number, resolve it to a subtask number via get_subtask. Updates help text accordingly.
-
- 10 Apr, 2026 9 commits
-
-
Vitaly Lipatov authored
-
Vitaly Lipatov authored
_format_task_subtasks did not handle type=srpm, falling through to the repo handler which uses dir/tag_name (empty for srpm). Now shows srpm name and rebuild_from repository.
-
Vitaly Lipatov authored
libopenshot-audio was incorrectly matched when searching for libopenshot. Use -[0-9] pattern to ensure version number follows package name.
-
Vitaly Lipatov authored
get_subtask was receiving the full 'repo.git=tag' string instead of just the package name, so it could never find an existing subtask to replace. Extract package name before lookup.
-
Vitaly Lipatov authored
When KEEP_DIRS contains 'web/node_modules', the cleanup was deleting the 'web' parent directory because grep only matched '^web/node_modules$' not '^web$'. Now also add parent dir to grep pattern.
-
Vitaly Lipatov authored
API may return cached/stale results, causing gita add to target wrong task after gita new.
-
Vitaly Lipatov authored
Find the first go.mod that is not in e2e/test/tests/docs subdirectory. Check ./go.mod first (flat tarball extraction puts go.mod at predownloaded root). Use GOWORK=off to prevent Go from discovering secondary go.mod files. Handle vendor output path correctly for root vs subdirectory go.mod.
-
Vitaly Lipatov authored
yarn: search in predownloaded dir and source subdir (like pnpm) npm: search in predownloaded dir, source root, and source subdirectories (up to depth 2) via find. Preserves subdir path in predownloaded (e.g. frontend/node_modules stays as frontend/node_modules).
-
Vitaly Lipatov authored
Detect pnpm-lock.yaml before yarn.lock/package.json. Search for lockfile both in predownloaded dir and source subdir. Remove packageManager field from package.json to prevent pnpm self-update. Run 'pnpm install --frozen-lockfile --ignore-scripts' to populate node_modules for offline builds.
-
- 01 Apr, 2026 7 commits
-
-
Vitaly Lipatov authored
Regenerate .pot with correct keywords and translate all 189 strings. Previously only 35 were translated with 1520 false positives from shell keywords extracted by xgettext -a.
-
Vitaly Lipatov authored
Replace -a flag (extract all strings) with proper --keyword options for echog and eval_gettext. This fixes extraction of shell keywords (if, then, fi, etc.) as translatable strings. Also fix encoding from koi8-r to utf-8 and expand SCRIPTLIST to all function modules.
-
Boris Yumankulov authored
libudev -> libudev1 also matched libudev-devel. (Closes #5) Signed-off-by:Boris Yumankulov <boria138@altlinux.org>
-
Boris Yumankulov authored
Signed-off-by:Boris Yumankulov <boria138@altlinux.org>
-
Boris Yumankulov authored
Signed-off-by:Boris Yumankulov <boria138@altlinux.org>
-
Boris Yumankulov authored
Signed-off-by:Boris Yumankulov <boria138@altlinux.org>
-
Vitaly Lipatov authored
- gita: add test as alias for run --test-only, always use run with --test-only by default - gitask: add -m support for approve command - add ETERBUILD_SIGN_CHANGELOG option to sign changelog with tool name - rpmbs, rpmpub: add -B option for batch sign mode (without tty) - rpmbs: add -G option to cache GPG passphrase for batch mode (-B) - rpmreqs: fix symbol version stripping to preserve () for apt - rpmrb, rpmbsh: add -a TASK, -A, -f options - rpmbs: use gita show instead of girar-show - common: add faketty() and stripcolors(), remove colorify() - rpmbb: use faketty and rpmeterbuild for colored compiler output - myhsh: use faketty/stripcolors, switch to --rpmbuild-args - gitask show: add -v option for full task metadata - rpmgp: big rewrite - rpmgs: use 'ours' merge strategy for .gear/tags-based packages - myhsh: use native hasher --faketty instead of faketty wrapper - jmake, rpmbp, rpmck, rpmcs: add docmd for command logging - rpmlog: add docmd, use --no-pager, add reset_release(), improve changelog formatting - gita approve: make subtask optional, approve all subtasks when omitted - rpmgs: fix vendoring for Source-git packages with separate packaging branch - rpmgs: search Cargo.lock at any depth for vendoring - gita add: support 'before' keyword for subtask positioning - rpmgs: add yarn support for predownloaded vendoring - rpmgs: add dotnet vendoring support for predownloaded - loginhsh: skip interactive shell when no tty available - rpmbs: fix pinentry via ssh - git: add version_to_tag/tag_to_version for ~ and + in versions - rpmbs/rpmlog/rpmgs: use version_to_tag for git tag names - rpmgs: fatal on failed git merge in update_master_branch_to - rpmgs: fail if sources were not actually updated - rpmgs: add src.rpm download support - gitask: strip ANSI colors, add_changelog: skip editor without tty - gitask: extract task viewing into do_task_list/do_task_show/do_task_log functions - gitask: use git.altlinux.org tasks API for viewing, SSH as fallback - gitask ls: match girar-show output format - gitask ls: add --help, --state/-s and --repo/-r filters - gitask ls: extract package name from dir path when pkgname is missing - gitask ls: make task IDs clickable links to packages.altlinux.org - gitask ls/show: display approval status for TESTED/EPERM tasks
-
- 27 Mar, 2026 16 commits
-
-
Vitaly Lipatov authored
-
Vitaly Lipatov authored
-
Vitaly Lipatov authored
-
Vitaly Lipatov authored
-
Vitaly Lipatov authored
-
Vitaly Lipatov authored
-
Vitaly Lipatov authored
-
Vitaly Lipatov authored
-
Vitaly Lipatov authored
-
Vitaly Lipatov authored
-
Vitaly Lipatov authored
-
Vitaly Lipatov authored
-
Vitaly Lipatov authored
-
Vitaly Lipatov authored
-
Vitaly Lipatov authored
-
Vitaly Lipatov authored
-