Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 377306 Details for
Bug 510768
git-r3.eclass should check for "git +curl" if chosen transport is https
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch v1
0001-Error-out-when-fetching-via-https-with-git-curl.patch (text/plain), 1.12 KB, created by
Michał Górny
on 2014-05-20 18:30:44 UTC
(
hide
)
Description:
Patch v1
Filename:
MIME Type:
Creator:
Michał Górny
Created:
2014-05-20 18:30:44 UTC
Size:
1.12 KB
patch
obsolete
>From f5d989729473644acc224c9db5432d34f98c1f12 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> >Date: Tue, 20 May 2014 20:29:58 +0200 >Subject: [PATCH] Error out when fetching via https:// with git[-curl]. > >--- > eclass/git-r3.eclass | 9 +++++++++ > 1 file changed, 9 insertions(+) > >diff --git a/eclass/git-r3.eclass b/eclass/git-r3.eclass >index 1154721..bd1cdb0 100644 >--- a/eclass/git-r3.eclass >+++ b/eclass/git-r3.eclass >@@ -470,6 +470,15 @@ git-r3_fetch() { > local fetch_command=( git fetch "${r}" ) > local clone_type=${EGIT_CLONE_TYPE} > >+ if [[ ${r} == https://* ]] && ! has_version 'dev-vcs/git[curl]'; then >+ eerror "git-r3: fetching from https:// requested. In order to support https," >+ eerror "dev-vcs/git needs to be built with USE=curl. Example solution:" >+ eerror >+ eerror " echo dev-vcs/git curl >> /etc/portage/package.use" >+ eerror " emerge -1v dev-vcs/git" >+ die "dev-vcs/git built with USE=curl required." >+ fi >+ > if [[ ${r} == https://code.google.com/* ]]; then > # Google Code has special magic on top of git that: > # 1) can't handle shallow clones at all, >-- >1.9.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 510768
: 377306