ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] I: gear-remotes-restore with git source comments support
@ 2017-10-25 16:20 Igor Vlasenko
  2017-10-25 16:32 ` Anton Farygin
  0 siblings, 1 reply; 4+ messages in thread
From: Igor Vlasenko @ 2017-10-25 16:20 UTC (permalink / raw)
  To: devel

Господа,
По итогам обсуждения в devel@ ([devel] Неизвестный апстрим пакетов)

в утилиты gear-remotes-* добавлена поддержка комментариев 
в спеке, указывающих на upstream git repository,
в различных форматах (в т.ч. # Source-git:)

Как это работает на примере
xfce4-hardware-monitor-plugin.git

 $ gear-remotes-restore
gear-remotes-restore: .gear/upstream/remotes not found.
However, spec file has a comment
# git://git.xfce.org/panel-plugins/xfce4-hardware-monitor-plugin

run
gear-remotes-set-from-spec-comment to set the url from spec file comment
or
gear-remotes-set-from-url <url> to set the git url manually.
 $ echo $?             
1

Просто поиск комментариев работает с помощью

 $ gear-remotes-set-from-spec-comment --print
git://git.xfce.org/panel-plugins/xfce4-hardware-monitor-plugin

без --print 
gear-remotes-set-from-spec-comment запишет этот URL
как upstream.

-- 

I V


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-10-25 17:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-25 16:20 [devel] I: gear-remotes-restore with git source comments support Igor Vlasenko
2017-10-25 16:32 ` Anton Farygin
2017-10-25 16:44   ` Dmitry V. Levin
2017-10-25 17:12     ` Igor Vlasenko

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git