devel@ where you _can_ ask
 help / color / mirror / Atom feed
* [newbies] gear-remotes-uscan
@ 2025-11-16 21:39 Alexander Lubyagin
  0 siblings, 0 replies; only message in thread
From: Alexander Lubyagin @ 2025-11-16 21:39 UTC (permalink / raw)
  To: devel-newbies


Добрый день. Собирал 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/*



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-11-16 21:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-16 21:39 [newbies] gear-remotes-uscan Alexander Lubyagin

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