From: Alexander Lubyagin <lubyagin@yandex.ru>
To: devel-newbies@lists.altlinux.org
Subject: [newbies] gear-remotes-uscan
Date: Mon, 17 Nov 2025 00:39:05 +0300
Message-ID: <7a624fd0-cde8-4024-bba3-69f35ed186d9@yandex.ru> (raw)
Добрый день. Собирал 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 <dfpl@altlinux.org>
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/*
reply other threads:[~2025-11-16 21:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7a624fd0-cde8-4024-bba3-69f35ed186d9@yandex.ru \
--to=lubyagin@yandex.ru \
--cc=devel-newbies@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
devel@ where you _can_ ask
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel-newbies/0 devel-newbies/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel-newbies devel-newbies/ http://lore.altlinux.org/devel-newbies \
devel-newbies@lists.altlinux.org devel-newbies@lists.altlinux.ru devel-newbies@lists.altlinux.com
public-inbox-index devel-newbies
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel-newbies
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git