Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#17220 closed Cleanup/optimization (fixed)

github repo may be no more available behind https

Reported by: fernando+django@… Owned by: Christopher Medrela
Component: Documentation Version:
Severity: Normal Keywords: github git https
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

Following https://docs.djangoproject.com/en/dev/topics/install/#installing-development-version , I was unable to download latests version of github repo:

$ git clone https://github.com/django/django.git
Initialized empty Git repository in /home/admin/django/django/.git/
Cannot get remote repository information.
Perhaps git-update-server-info needs to be run there?

This is a known error from github for old git versions (see https://github.com/blog/809-git-dumb-http-transport-to-be-turned-off-in-90-days).

Despite updating git was not an option on my server, I was able to download django code using git:// instead of https:// :

$ git --version 
git version 1.5.2.5
$ git clone git://github.com/django/django.git
Initialized empty Git repository in /home/admin/django/django/.git/
remote: Counting objects: 138773, done.
remote: Compressing objects: 100% (35866/35866), done.
Indexing 138773 objects...
remote: Total 138773 (delta 104852), reused 130823 (delta 98002)
 100% (138773/138773) done
Resolving 104852 deltas...
 100% (104852/104852) done
Checking 4640 files out...
 100% (4640/4640) done

For next developers, can you please change documentation accordingly ?

Attachments (1)

patch.diff (556 bytes ) - added by Christopher Medrela 12 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 by Preston Holmes, 12 years ago

Triage Stage: UnreviewedAccepted

comment:2 by Christopher Medrela, 12 years ago

Owner: changed from nobody to Christopher Medrela
Status: newassigned

by Christopher Medrela, 12 years ago

Attachment: patch.diff added

comment:3 by Christopher Medrela, 12 years ago

Cc: krzysiumed@… added
Has patch: set

comment:4 by Jannis Leidel, 12 years ago

Triage Stage: AcceptedReady for checkin

comment:5 by Tim Graham, 12 years ago

Resolution: fixed
Status: assignedclosed

In [17139]:

Fixed #17220 - Documented git clone command for git < 1.6.6; thanks krzysiumed for the patch.

comment:6 by Christopher Medrela, 12 years ago

Cc: krzysiumed@… removed
Note: See TracTickets for help on using tickets.
Back to Top