1. 01 Jul, 2026 1 commit
    • Vitaly Lipatov's avatar
      rpmlog: fix -n/-v not resetting release to <prefix>1 · 4abd4c77
      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.
      4abd4c77
  2. 29 Jun, 2026 1 commit
  3. 18 May, 2026 1 commit
  4. 05 May, 2026 4 commits
    • Vitaly Lipatov's avatar
      3.3.2-alt1 · b2569ec4
      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
      b2569ec4
    • Vitaly Lipatov's avatar
      rpmgs: capture cargo vendor source override config to .gear/config.toml · ee24ccf1
      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.
      ee24ccf1
    • Vitaly Lipatov's avatar
      rpmgs: git_to_tarball: checkout tag matching spec Version · fbb45e7f
      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.
      fbb45e7f
    • Vitaly Lipatov's avatar
      rpmgs: download_any_tarball: use cached tarball with return, not continue · 100bfe8d
      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.
      100bfe8d
  5. 01 May, 2026 1 commit
  6. 10 Apr, 2026 9 commits
  7. 01 Apr, 2026 7 commits
    • Vitaly Lipatov's avatar
      po: update Russian translation to 100% · 1b6b510f
      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.
      1b6b510f
    • Vitaly Lipatov's avatar
      po/Makefile: fix xgettext to extract only translatable strings · 0524d2a0
      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.
      0524d2a0
    • Boris Yumankulov's avatar
      rpmcs: avoid partial Req replacement · 5eeabb5f
      Boris Yumankulov authored
      libudev -> libudev1 also matched libudev-devel. (Closes #5)
      Signed-off-by: 's avatarBoris Yumankulov <boria138@altlinux.org>
      5eeabb5f
    • Boris Yumankulov's avatar
      b5e0612d
    • Boris Yumankulov's avatar
      rpmgs: add zig vendoring (Closes #6) · afca0560
      Boris Yumankulov authored
      Signed-off-by: 's avatarBoris Yumankulov <boria138@altlinux.org>
      afca0560
    • Boris Yumankulov's avatar
    • Vitaly Lipatov's avatar
      3.3.1-alt1 · 8b0fe04c
      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
      8b0fe04c
  8. 27 Mar, 2026 16 commits