Не создается директория .gear/tags при вызове команды rpmgs -f версия В скрипте rpmgs есть функция: update_master_branch_to() { local GSSETVERSION="$1" if [ -z "$GSSETVERSION" ] ; then warning "Empty new version variable" return fi local tag="$(get_tag_by_version "$GSSETVERSION")" [ -n "$tag" ] || fatal "Can't find tag for $GSSETVERSION version" docmd git merge $tag # TODO: it is more clean detect that dir if [ -d "$(get_root_git_dir)/.gear/tags" ] ; then docmd gear-update-tag -a cd $(get_root_git_dir)/.gear || fatal docmd git add tags/* -f docmd git commit -m "update .gear/tags" cd - >/dev/null fi } Правильно ли, что она проверяет существование директории? Как может существовать директория когда ты собираешь пакет первый раз. При отсутствии директории команда docmd gear-update-tag -a вроде как сама создает директорию, а если она есть то обновляет ее.
Скорее всего, задумка в том, чтобы gear-update-tag применялся только при наличии .gear/tags, который указывает на определённую схему сборки. Возможно, есть или нужно ввести другой признак того, что пакет будет использовать схему сборки через tags.
etersoft-build-utils-3.3.10-alt1 -> sisyphus: Sun Nov 08 2026 Vitaly Lipatov <lav@altlinux.ru> 3.3.10-alt1 - rpmgs: resolve watch sources for explicit versions - rpmgs: recognize archive URLs in VCS metadata - download_url: retry without browser User-Agent if an archive URL is HTML - gita: disapprove with the same arguments as approve - rpmgs: no npm install for a package-lock.json in a subdir of a Go project - download_url: retry without the browser User-Agent on download failure (SourceForge answers it with 403) - rpmbs: -S uploads the src.rpm built from the gear repo instead of pushing the repo (packages maintained from src.rpm) - hasher: separate directories for concurrent builds (HASHER_AUTO_SLOTS, -S SLOT) - hasher: per-build temporary apt.conf and sources.list - rpmgs: commit the stored upstream tags alone, stop on gear errors - rpmgs: .gear/predownloaded-skip-npm skips pnpm and yarn install too - gitask: merge NEW from TASK... puts all subtasks of tasks into one (src.rpm re-uploaded) - gita acl: accept both 'PACKAGE show' and 'show PACKAGE' orders, branch name in any case - gita add: pass NAME.git=TAG as 'repo NAME.git TAG' (girar misreads a name starting with a digit) - gita approve: skip empty (removed) subtask slots when listing all subtasks - gita: share task_subtasks() helper for skipping empty subtask slots - rpmbs: recreate a removed personal gitery repo before pushing - loginhsh -c: clean up hasher without removing its directory - recover the empty chroot scaffold left by an interrupted hsh-mkchroot - myhsh: pass HASHER_NPROCS as hsh --nprocs - rpmgs: store upstream tags on the first merge without .gear/tags (closes: #54908)