From 64a92174c056a4cca1e6b7e287ca9993bcd2be1a Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Tue, 21 May 2013 20:22:11 -0500 Subject: Begin removal of FTP mirror support FTP is a terrible protocol these days compared to HTTP. IPv6 support is spotty at best, it is much slower for the connect/begin transfer cycle, and overall just doesn't provide anything HTTP does better. Start killing bits that we've added to treat FTP as a first-class protocol and regulate it to the back seat. The expectation here is once this commit goes live to the production site, the FTP mirror URLs themselves will get removed completely from the database, and the FTP protocol object itself will get deleted. Signed-off-by: Dan McGee --- mirrors/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mirrors/models.py') diff --git a/mirrors/models.py b/mirrors/models.py index d8ac7952..91793e0a 100644 --- a/mirrors/models.py +++ b/mirrors/models.py @@ -47,7 +47,7 @@ class Mirror(models.Model): class MirrorProtocol(models.Model): protocol = models.CharField(max_length=10, unique=True) is_download = models.BooleanField(default=True, - help_text="Is protocol useful for end-users, e.g. FTP/HTTP") + help_text="Is protocol useful for end-users, e.g. HTTP") default = models.BooleanField(default=True, help_text="Included by default when building mirror list?") created = models.DateTimeField(editable=False) -- cgit v1.2.3-2-g168b From bbeb9276051c2dc34f6d63fac4963343aacdf9b2 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Fri, 31 May 2013 19:12:29 -0500 Subject: Add active column to mirror URLs --- mirrors/models.py | 1 + 1 file changed, 1 insertion(+) (limited to 'mirrors/models.py') diff --git a/mirrors/models.py b/mirrors/models.py index 91793e0a..975ead39 100644 --- a/mirrors/models.py +++ b/mirrors/models.py @@ -70,6 +70,7 @@ class MirrorUrl(models.Model): has_ipv6 = models.BooleanField("IPv6 capable", default=False, editable=False) created = models.DateTimeField(editable=False) + active = models.BooleanField(default=True) def address_families(self): hostname = urlparse(self.url).hostname -- cgit v1.2.3-2-g168b