From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id AD8FE13873B for ; Sun, 2 Mar 2014 07:44:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6C9E5E0A88; Sun, 2 Mar 2014 07:44:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D0DC6E0A93 for ; Sun, 2 Mar 2014 07:44:09 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CBEDD33FB4D for ; Sun, 2 Mar 2014 07:44:08 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 39D4A188EA for ; Sun, 2 Mar 2014 07:44:07 +0000 (UTC) From: "Brian Dolbec" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" Message-ID: <1382246174.9adaf7f83ff26b484b60917002dd2814e81ce7d0.dol-sen@gentoo> Subject: [gentoo-commits] proj/mirrorselect:master commit in: mirrorselect/ X-VCS-Repository: proj/mirrorselect X-VCS-Files: mirrorselect/mirrorparser3.py X-VCS-Directories: mirrorselect/ X-VCS-Committer: dol-sen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: 9adaf7f83ff26b484b60917002dd2814e81ce7d0 X-VCS-Branch: master Date: Sun, 2 Mar 2014 07:44:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 596c9b48-9aff-44ea-9d13-09f5fe6a6abb X-Archives-Hash: 3c26b59b088e0bfd652bd366deaba225 commit: 9adaf7f83ff26b484b60917002dd2814e81ce7d0 Author: Brian Dolbec gentoo org> AuthorDate: Sun Oct 20 05:16:14 2013 +0000 Commit: Brian Dolbec gmail com> CommitDate: Sun Oct 20 05:16:14 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/mirrorselect.git;a=commit;h=9adaf7f8 Add new urls for api.gentoo.org --- mirrorselect/mirrorparser3.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/mirrorselect/mirrorparser3.py b/mirrorselect/mirrorparser3.py index 6b06a9c..16cb1c6 100644 --- a/mirrorselect/mirrorparser3.py +++ b/mirrorselect/mirrorparser3.py @@ -31,8 +31,13 @@ from __future__ import print_function from xml.etree import ElementTree as ET -MIRRORS_3_XML = 'http://www.gentoo.org/main/en/mirrors3.xml' -MIRRORS_RSYNC_DATA = 'http://www.gentoo.org/main/en/mirrors-rsync-data.xml' +# old url's +#MIRRORS_3_XML = 'http://www.gentoo.org/main/en/mirrors3.xml' +#MIRRORS_RSYNC_DATA = 'http://www.gentoo.org/main/en/mirrors-rsync-data.xml' + +# new urls +MIRRORS_3_XML = 'https://api.gentoo.org/mirrors/distfiles.xml' +MIRRORS_RSYNC_DATA = 'https://api.gentoo.org/mirrors/rsync.xml' class MirrorParser3: def __init__(self, options=None):