ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Gladkov <legion@altlinux.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] приложения на golang
Date: Wed, 4 May 2016 20:32:12 +0200
Message-ID: <20160504183212.GC18180@comp-core-i7-2640m-0182e6.fortress> (raw)
In-Reply-To: <20160503232541.GA6720@mw.mithraen.ru>

On Wed, May 04, 2016 at 02:25:41AM +0300, Денис Смирнов wrote:
> On Mon, May 02, 2016 at 11:27:53AM +0200, Alexey Gladkov wrote:
> 
> >> Где прочитать про то, как у нас правильно паковать приложения и библиотеки на Go?
> > Есть пакет rpm-build-golang. Там макросы и хэлперы. В репозитории есть
> > примеры их использования. Зависимости делаются вида:
> > BuildRequires: golang(golang.org/x/tools/go/types)
> 
> А эти buildrequires уже ручками прописывать, или чем-то автоматизируется?

BuildRequires руками. Утилиту по получению import'ов из исходника написать
не сложно. Но вот как получить список исходников проекта я сходу придумать
не могу т.к. есть Godeps, vendor и т.д. Я не уверен, что их нужно
сканировать.

Requires/Provides выставляются самим rpm-build-golang.

-- 
Rgrds, legion



  reply	other threads:[~2016-05-04 18:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-02  2:53 Денис Смирнов
2016-05-02  9:27 ` Alexey Gladkov
2016-05-03 23:25   ` Денис Смирнов
2016-05-04 18:32     ` Alexey Gladkov [this message]
2016-05-06 14:30       ` Денис Смирнов

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=20160504183212.GC18180@comp-core-i7-2640m-0182e6.fortress \
    --to=legion@altlinux.ru \
    --cc=devel@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

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