Opened 4 years ago

Closed 4 years ago

Last modified 3 years ago

#17220 closed Cleanup/optimization (fixed)

github repo may be no more available behind https

Reported by: fernando+django@… Owned by: krzysiumed
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 krzysiumed 4 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 4 years ago by ptone

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 4 years ago by krzysiumed

  • Owner changed from nobody to krzysiumed
  • Status changed from new to assigned

Changed 4 years ago by krzysiumed

comment:3 Changed 4 years ago by krzysiumed

  • Cc krzysiumed@… added
  • Has patch set

comment:4 Changed 4 years ago by jezdez

  • Triage Stage changed from Accepted to Ready for checkin

comment:5 Changed 4 years ago by timo

  • Resolution set to fixed
  • Status changed from assigned to closed

In [17139]:

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

comment:6 Changed 3 years ago by krzysiumed

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