From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.1 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1763329172; bh=/AZpr9tc3/aCuvMeZGtFBcyVikWWx6wLQSaPdWzdpQM=; h=Subject:From:To:Date:Message-ID; b=r6/E07ezbFeuSbIJFLAfKB1sIhUxYCutgsTmNrNAOr1VawAqv92Aba/fmyJyvFNOk z4GlpS/pc7tjLneiqjBT+NpXpbK5N8m80yBDxy5TDtoQuVkm1MQG5ppQmYoPnwVg1f +qi89GEqSMOumtGMBoh2I5vugWtw6NuYzA5UcR2k= Authentication-Results: mail-nwsmtp-smtp-production-main-55.sas.yp-c.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <7a624fd0-cde8-4024-bba3-69f35ed186d9@yandex.ru> Date: Mon, 17 Nov 2025 00:39:05 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: devel-newbies@lists.altlinux.org From: Alexander Lubyagin Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: [newbies] gear-remotes-uscan X-BeenThere: devel-newbies@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: "devel@ where you _can_ ask" List-Id: "devel@ where you _can_ ask" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2025 21:39:35 -0000 Archived-At: List-Archive: Добрый день. Собирал Ruby-библиотеку для утилиты-просмотрщика Markdown-файлов, gem-tty-which. Но где-то ошибся. Прошу подсказать, что я пропустил в работе с gear-remotes-* ? Создал три файла: .gear/rules .gear/upstream/remotes gem-tty-which.spec $ git init -b master . Initialized empty Git repository in /usr/src/pat/gem-tty-which/.git/ $ gear-remotes-restore $ gear-remotes-watch git fetch --recurse-submodules upstream remote: Enumerating objects: 516, done. remote: Counting objects: 100% (101/101), done. remote: Compressing objects: 100% (77/77), done. remote: Total 516 (delta 35), reused 64 (delta 16), pack-reused 415 (from 1) Receiving objects: 100% (516/516), 72.99 KiB | 1.01 MiB/s, done. Resolving deltas: 100% (228/228), done. From https://github.com/piotrmurach/tty-which  * [new branch]      master     -> upstream/master  * [new tag]         v0.1.0     -> v0.1.0  * [new tag]         v0.2.0     -> v0.2.0  * [new tag]         v0.2.1     -> v0.2.1  * [new tag]         v0.2.2     -> v0.2.2  * [new tag]         v0.3.0     -> v0.3.0  * [new tag]         v0.4.0     -> v0.4.0  * [new tag]         v0.4.1     -> v0.4.1  * [new tag]         v0.4.2     -> v0.4.2  * [new tag]         v0.5.0     -> v0.5.0 fatal: Needed a single revision gear: Invalid commit "HEAD" gear --describe failed. at /usr/share/perl5/Gear/Remotes/Watch.pm line 88. $ gear-remotes-uscan git fetch --recurse-submodules upstream fatal: Needed a single revision gear: Invalid commit "HEAD" gear --describe failed. at /usr/share/perl5/Gear/Remotes/Watch.pm line 88. $ add_changelog gem-tty-which.spec $ vim gem-tty-which.spec $ git add . $ gear-commit [master (root-commit) fbf9531] 0.5.0  3 files changed, 40 insertions(+)  create mode 100644 .gear/rules  create mode 100644 .gear/upstream/remotes  create mode 100644 gem-tty-which.spec $ git status On branch master nothing to commit, working tree clean $ mkdir /opt/gk/pat/gem-tty-which $ git init --bare -b master /opt/gk/pat/gem-tty-which Initialized empty Git repository in /opt/gk/pat/gem-tty-which/ $ git remote add local /opt/gk/pat/gem-tty-which $ git push local Enumerating objects: 7, done. Counting objects: 100% (7/7), done. Delta compression using up to 4 threads Compressing objects: 100% (5/5), done. Writing objects: 100% (7/7), 990 bytes | 990.00 KiB/s, done. Total 7 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0) To /opt/gk/pat/gem-tty-which  * [new branch]      master -> master $ git log | cat commit bc3a564b8faea5d36050f8a17020f4331b790b85 Author: Alexander Lubyagin Date:   Mon Nov 17 00:33:32 2025 +0300     0.5.0-alt1     - Initial commit to Sisyphus. $ gear-remotes-uscan git fetch --recurse-submodules upstream Исходники из апстрима не скачиваются. Что я пропустил? -- gem-tty-which.spec Name: gem-tty-which Version: 0.5.0 Release: alt1 Summary: Cross-platform implementation of Unix 'which' command License: MIT Group: Development/Ruby Url: https://github.com/piotrmurach/tty-which Vcs: https://github.com/piotrmurach/tty-which.git Source: %name-%version.tar BuildRequires(pre): rpm-build-ruby %description TTY::Which provides cross-platform executables search component for TTY toolkit. %prep %setup %build %ruby_build %install %ruby_install %check %ruby_test %files %doc README.markdown %doc README.md LICENSE.txt CHANGELOG.md %_bindir/* %ruby_gemspec %ruby_gemlibdir %ruby_gemextdir %changelog -- .gear/rules tar: v@version@:. -- .gear/upstream/remotes [remote "upstream"]         url = https://github.com/piotrmurach/tty-which         fetch = +refs/heads/*:refs/remotes/upstream/*