Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3/5] pkg-download: allow ssh URLs
Date: Wed, 15 Jun 2016 23:37:11 +0200	[thread overview]
Message-ID: <20160615213711.GA3823@free.fr> (raw)
In-Reply-To: <20160615212947.GZ23680@hermes.click-hack.org>

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

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2016-06-15 21:37 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 [this message]
2016-06-16 19:36           ` Gilles Chanteperdrix
2016-06-16 19:41             ` Yann E. MORIN
2016-06-17  8:35               ` Gilles Chanteperdrix
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=20160615213711.GA3823@free.fr \
    --to=yann.morin.1998@free.fr \
    --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