Openembedded Bitbake Development
 help / color / mirror / Atom feed
From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: Chris Larson <clarson@kergoth.com>
Cc: bitbake-devel@lists.openembedded.org
Subject: Re: [PATCH] fetch2: raise an exception if user specifies protocol=git with http://
Date: Sat, 06 Oct 2012 23:32:51 +0100	[thread overview]
Message-ID: <2059965.DPhKPFNMcC@helios> (raw)
In-Reply-To: <CABcZAN=FnKvxMDB_WHVdAXFz66RMXWtV-9yhHc7D=NpfY=VmMA@mail.gmail.com>

On Saturday 06 October 2012 15:27:42 Chris Larson wrote:
> On Wed, Oct 3, 2012 at 5:27 AM, Paul Eggleton
> 
> <paul.eggleton@linux.intel.com> wrote:
> > It is a common mistake to use http:// and protocol=git when attempting
> > to fetch from a git repository using the http protocol; if this is
> > detected then throw an error explaining that you need to use git:// with
> > protocol=http instead.
> > 
> > Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
> 
> Perhaps this should check the protocol= value against the protocols
> supported by wget (ftp, http, https, etc), if the parameter is passed,
> rather than hardcoding the exceptions.

I don't think protocol= is currently used with the wget fetcher is it?

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



  reply	other threads:[~2012-10-06 22:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-03 12:27 [PATCH] fetch2: raise an exception if user specifies protocol=git with http:// Paul Eggleton
2012-10-06 22:27 ` Chris Larson
2012-10-06 22:32   ` Paul Eggleton [this message]
2012-10-06 22:38     ` Chris Larson
2012-10-07 20:03       ` Paul Eggleton

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=2059965.DPhKPFNMcC@helios \
    --to=paul.eggleton@linux.intel.com \
    --cc=bitbake-devel@lists.openembedded.org \
    --cc=clarson@kergoth.com \
    /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