From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3/5] pkg-download: allow ssh URLs
Date: Fri, 17 Jun 2016 10:35:50 +0200 [thread overview]
Message-ID: <20160617083550.GI32532@hermes.click-hack.org> (raw)
In-Reply-To: <20160616194125.GE3665@free.fr>
On Thu, Jun 16, 2016 at 09:41:25PM +0200, Yann E. MORIN wrote:
> Gilles, All,
>
> On 2016-06-16 21:36 +0200, Gilles Chanteperdrix spake thusly:
> > On Wed, Jun 15, 2016 at 11:37:11PM +0200, Yann E. MORIN wrote:
> > > Gilles, All,
> > >
> > > On 2016-06-15 23:29 +0200, Gilles Chanteperdrix spake thusly:
> > > > On Tue, Jun 14, 2016 at 10:14:26PM +0200, Yann E. MORIN wrote:
> > > > > Gilles, All,
> > > > >
> > > > > On 2016-06-14 17:05 +0200, Gilles Chanteperdrix spake thusly:
> > > > > > Use git when such an URL is met.
> > > > >
> > > > > What about Hg URLs that can also start with 'ssh://' ?
> > > > >
> > > > > I guess we should not try to be smart here, and let users specify the
> > > > > method with the _SITE_METHOD variable.
> > > >
> > > > Yeah, well, my initial patch proposed git+ssh:// and I was told that
> > > > this was deprecated. The conversation lead to a dead-end with nobody
> > > > giving me a clear indication of what I should propose.
> > > >
> > > > So, let us go back to my initial need: have a package compiled based
> > > > on a git over ssh URL. Now if you tell me that there is a way to do
> > > > this without patching pkg-download.mk, I am all ears. I did not find
> > > > any help on that in the documentation, do you have some pointers?
> > >
> > > As far as I understand your requirements, you want to be able to write
> > > either of:
> > >
> > > FOO_SITE = user at machine:path/to/repo.git
> > > or
> > > FOO_SITE = ssh://user at machine/path/to/rpo.git
> > >
> > > You just have to add:
> > >
> > > FOO_SITE_METHOD = git
> > >
> > > See the manual, search for _SITE_METHOD: ;-)
> > > https://buildroot.org/downloads/manual/manual.html#generic-package-reference
> >
> > Ok, thanks.
>
> So, that fits your requirements? Should your patch be dropped, then?
I guess so. I have not tried, but I will take your word for it. Yes,
you can drop the patch.
Regards.
--
Gilles.
https://click-hack.org
next prev parent reply other threads:[~2016-06-17 8:35 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-14 15:04 [Buildroot] Various patches Gilles Chanteperdrix
2016-06-14 15:05 ` [Buildroot] [PATCH 1/5] wireshark: remove documentation Gilles Chanteperdrix
2016-06-14 15:05 ` [Buildroot] [PATCH 2/5] readline: fix installed libraries permission Gilles Chanteperdrix
2016-06-14 15:05 ` [Buildroot] [PATCH 3/5] pkg-download: allow ssh URLs Gilles Chanteperdrix
2016-06-14 20:14 ` Yann E. MORIN
2016-06-15 21:29 ` Gilles Chanteperdrix
2016-06-15 21:37 ` Yann E. MORIN
2016-06-16 19:36 ` Gilles Chanteperdrix
2016-06-16 19:41 ` Yann E. MORIN
2016-06-17 8:35 ` Gilles Chanteperdrix [this message]
2016-06-14 15:05 ` [Buildroot] [PATCH 4/5] grub2: really disable liblzma Gilles Chanteperdrix
2016-06-14 20:26 ` Yann E. MORIN
2016-06-14 15:05 ` [Buildroot] [PATCH 5/5] grub2: allow full install (for installer images) Gilles Chanteperdrix
2016-06-14 15:10 ` [Buildroot] Various patches Gilles Chanteperdrix
2016-06-14 15:11 ` [Buildroot] [PATCH 1/5] wireshark: remove documentation Gilles Chanteperdrix
2016-06-14 15:11 ` [Buildroot] [PATCH 2/5] readline: fix installed libraries permission Gilles Chanteperdrix
2016-06-14 20:04 ` Yann E. MORIN
2016-06-14 20:21 ` Peter Korsgaard
2016-06-15 21:32 ` Gilles Chanteperdrix
2016-06-15 21:48 ` Peter Korsgaard
2016-06-16 19:43 ` Gilles Chanteperdrix
2016-06-14 15:11 ` [Buildroot] [PATCH 3/5] pkg-download: allow ssh URLs Gilles Chanteperdrix
2016-06-15 21:08 ` Thomas Petazzoni
2016-06-16 19:40 ` Gilles Chanteperdrix
2016-06-16 20:21 ` Thomas Petazzoni
2016-06-14 15:11 ` [Buildroot] [PATCH 4/5] grub2: really disable liblzma Gilles Chanteperdrix
2016-06-14 20:38 ` Yann E. MORIN
2016-06-15 21:00 ` Thomas Petazzoni
2016-06-14 15:11 ` [Buildroot] [PATCH 5/5] grub2: allow full install (for installer images) Gilles Chanteperdrix
2016-06-14 19:33 ` [Buildroot] [PATCH 1/5] wireshark: remove documentation Yann E. MORIN
2016-06-14 19:37 ` Yann E. MORIN
2016-06-14 20:22 ` Peter Korsgaard
2016-06-14 20:25 ` Peter Korsgaard
2016-06-14 20:31 ` Peter Korsgaard
2016-06-14 19:42 ` Yann E. MORIN
2016-06-14 20:12 ` Peter Korsgaard
2016-06-15 21:30 ` Gilles Chanteperdrix
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=20160617083550.GI32532@hermes.click-hack.org \
--to=gilles.chanteperdrix@xenomai.org \
--cc=buildroot@busybox.net \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox