WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Git do not work  (Read 6284 times)

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Git do not work
« on: September 28, 2012, 06:44:48 PM »
Try this command:
git clone https://android.googlesource.com/platform/prebuilt

This return to me a message but does not download anything:
Code: [Select]
tc@box:~/android$ git clone https://android.googlesource.com/platform/prebuilt
Cloning into prebuilt...
tc@box:~/android$ ls
tc@box:~/android$

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Git do not work
« Reply #1 on: September 29, 2012, 02:13:07 AM »
Tried on my CentOS6 box:

Quote
[mb@zero ~]$ git clone https://android.googlesources.com/platform/prebuilt
Initialized empty Git repository in /home/mb/prebuilt/.git/
error: Failed connect to android.googlesources.com:443; Operation now in progress while accessing https://android.googlesources.com/platform/prebuilt/info/refs

fatal: HTTP request failed
[mb@zero ~]$
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: Git do not work
« Reply #2 on: September 30, 2012, 09:33:08 AM »

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Git do not work
« Reply #3 on: September 30, 2012, 09:35:47 AM »
Now it works on CentOS too. There was a problem with the site that time we tried. Worth to try TC again.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: Git do not work
« Reply #4 on: September 30, 2012, 11:16:56 AM »
no, this does not work at all on tiny core  :-[
I used debian to download for now, I hope this can be fixed

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Git do not work
« Reply #5 on: September 30, 2012, 11:30:05 AM »
Right, get same on my TC.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14801
Re: Git do not work
« Reply #6 on: September 30, 2012, 12:54:04 PM »
Is this perhaps something to do with the version of libssl?

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: Git do not work
« Reply #7 on: September 30, 2012, 02:22:59 PM »
I do not know, you want me to do a test?

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Git do not work
« Reply #8 on: September 30, 2012, 02:34:42 PM »
It is a 1 year old extension, maybe worth to update.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline solorin

  • Full Member
  • ***
  • Posts: 184
Re: Git do not work
« Reply #9 on: October 01, 2012, 02:31:36 AM »
this bug has persisted through several updates. i posted about it here:
http://forum.tinycorelinux.net/index.php/topic,11520.msg60958.html#msg60958

as you can see in thread svolli was kind enough to repackage it,
i also tried repackaging from a later version of the source

neither of which solved the problem, so i just resigned myself to cloning over the git protocol as curaga suggested.

it would be nice to see this resolved, so if anyone's for looking into this more,
i'll help in anyway i can.

cheerio,
solorin

p.s. my memory is quite hazy - but maybe git.scm did finally work after loading all the extra 'dependencies'
       mods - maybe this thread belongs under TCE Bugs?
« Last Edit: October 01, 2012, 02:50:03 AM by solorin »
. . . if you don't know, now you know. . .
        ----- R.I.P. Biggie Smalls -----

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Git do not work
« Reply #10 on: October 01, 2012, 10:37:58 AM »
Git.scm works with this if you either have a certificate or use the below command:

env GIT_SSL_NO_VERIFY=true /apps/bin/git clone https://android.googlesource.com/platform/prebuilt

Offline SvOlli

  • Full Member
  • ***
  • Posts: 193
  • Linux Developer
Re: Git do not work
« Reply #11 on: October 01, 2012, 03:51:06 PM »
this bug has persisted through several updates. i posted about it here:
http://forum.tinycorelinux.net/index.php/topic,11520.msg60958.html#msg60958
[...]
neither of which solved the problem, so i just resigned myself to cloning over the git protocol as curaga suggested.
From what I can tell now, that bug didn't persist, but it reappeared. A quick look during dinner suggested that the problem is re-introduced due to the change of openssl (0.9.8 -> 1.0.0). The https-helper didn't get loaded because libcrypto.so.0.9.8 is missing. Again, it would be wise to update to the current version and re-package git.

The main problem is that I didn't want to include all the dependencies necessary for ssl (curl and openssl), since most of git works without them. A good idea would be a meta-package git-https.tcz which just includes all the dependencies.

If someone sends me a pm that no-one else has fixed this problem, I'll try to update that extension. If someone needs it done quicker (s)he can download my buildscripts and give it a shot. More info about the scripts is at http://forum.tinycorelinux.net/index.php/topic,2056.msg10947.html#msg10947

Hope, this helps,
SvOlli