Bug 265265

Summary: Git: ssh: repo.freebsd.org not gitrepo.FreeBSD.org
Product: Services Reporter: Graham Perrin <grahamperrin>
Component: Git IntegrationAssignee: Git Admin <git-admin>
Status: In Progress ---    
Severity: Affects Many People CC: lwhsu
Priority: ---    
Version: unspecified   
Hardware: Any   
OS: Any   

Description Graham Perrin freebsd_committer freebsd_triage 2022-07-17 14:39:43 UTC
gitrepo.FreeBSD.org

– appears at the foot of: 

* <https://cgit.freebsd.org/doc/>
* <https://cgit.freebsd.org/ports/>
* <https://cgit.freebsd.org/src/>

– and maybe elsewhere, although some mentions might be out of scope for git-admin@


Instead: 

    repo.freebsd.org

– lowercase, please, if you can – for consistency. 

From bug 261812 comment 8: 

> … We canonicalised gitrepo.FreeBSD.org to repo.FreeBSD.org when 
> we finished the migration to Git. …
Comment 1 Li-Wen Hsu freebsd_committer freebsd_triage 2022-07-18 02:59:10 UTC
(In reply to Graham Perrin from comment #0)

Will change the cgit configuration.

> – lowercase, please, if you can – for consistency. 

I believe the canonical form is FreeBSD.org, this is used in the all formal places.  For consistency, the places have all lowercase or uppercase should be changed.
Comment 2 Graham Perrin freebsd_committer freebsd_triage 2022-07-18 17:33:44 UTC
(In reply to Li-Wen Hsu from comment #1)

% drill repo.FreeBSD.org
;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 29889
;; flags: qr rd ra ; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0 
;; QUESTION SECTION:
;; repo.freebsd.org.    IN      A

;; ANSWER SECTION:
repo.freebsd.org.       90      IN      CNAME   gitrepo.freebsd.org.
gitrepo.freebsd.org.    90      IN      A       96.47.72.44

;; AUTHORITY SECTION:

;; ADDITIONAL SECTION:

;; Query time: 4 msec
;; SERVER: 192.168.1.1
;; WHEN: Mon Jul 18 18:27:40 2022
;; MSG SIZE  rcvd: 72
% 

----

% fastest_pkg -v
pkg0.tuk.freebsd.org: 75%
(28, 'Operation timed out after 5000 milliseconds with 5001221 out of 6588196 bytes received')

pkg0.tuk.freebsd.org: 1.0 MB/s
pkg0.nyi.freebsd.org: 100%
pkg0.nyi.freebsd.org: 3.4 MB/s
pkg0.isc.freebsd.org: 0%
(28, 'Failed to connect to pkg0.isc.freebsd.org port 80 after 2733 ms: Operation timed out')
pkg0.isc.freebsd.org: 0.0 B/s
pkg0.bme.freebsd.org: 100%
pkg0.bme.freebsd.org: 5.4 MB/s
pkg0.pkt.freebsd.org: 100%
pkg0.pkt.freebsd.org: 5.7 MB/s

Fastest:
pkg0.pkt.freebsd.org: 5.7 MB/s


Write configuration:
mkdir -p /usr/local/etc/pkg/repos/
echo 'FreeBSD: { url: "http://pkg0.pkt.freebsd.org/${ABI}/latest" }' \
        > /usr/local/etc/pkg/repos/FreeBSD.conf


% 

----

… and so on.