Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 683384 - git://anongit.gentoo.org/repo/gentoo.git is not reachable
Summary: git://anongit.gentoo.org/repo/gentoo.git is not reachable
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Git (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Gentoo Infrastructure
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-15 13:40 UTC by Jimmy.Jazz
Modified: 2019-04-16 05:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jimmy.Jazz 2019-04-15 13:40:10 UTC
gentoo repository seems to be no more accessible via protocol git:// .
I updated /etc/portage/repos.conf/gentoo.conf to refer to https://anongit.gentoo.org/git/repo/gentoo.git 
But git fetch origin still fails.
Please could you check gentoo .git/config file section [remote "origin"] ?

It refers to git://anongit.gentoo.org/repo/gentoo.git instead of https://anongit.gentoo.org/git/repo/gentoo.git




Reproducible: Always

Steps to Reproduce:
1.remove gentoo depot directory
2.git clone --depth 1 https://anongit.gentoo.org/git/repo/gentoo.git .
3.git fetch origin
Actual Results:  
Action sync for repo: gentoo, returned code = 128

Expected Results:  
returned code = 0

same issue with emaint sync command
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-04-15 13:55:36 UTC
Have you updated your /etc/repos.conf?
Comment 2 Jimmy.Jazz 2019-04-15 18:12:37 UTC
(In reply to Michał Górny from comment #1)
> Have you updated your /etc/repos.conf?

You mean /etc/portage/repos.conf ?
I'm using /etc/portage/repos.conf/ directory

gentoo.conf contains,

[DEFAULT]
main-repo = gentoo
sync-user = portage:portage
repo-depth = 1 

[gentoo]
location = /var/cache/portage/depot
sync-user = portage:portage
sync-type = git
sync-uri = https://anongit.gentoo.org/git/repo/gentoo.git
auto-sync = yes
repo-depth = 1 

#sync-type = rsync
#sync-uri = rsync://rsync.europe.gentoo.org/gentoo-portage
#sync-user = portage:portage

After removing ${PORTDIR}, I did run emaint logs --clean && emaint sync --auto.

I since tested it again and I was not able to reproduce it. If you didn't change anything it was my config.

Thx anyway
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-04-16 05:53:59 UTC
Yes, it was.  Good that it works now ;-).