Skip to content

Commit 77de9fc

Browse files
committedOct 29, 2017
[Plugin manager] remove depreciated and unused stuff
1 parent 39816cf commit 77de9fc

File tree

1 file changed

+1
-23
lines changed

1 file changed

+1
-23
lines changed
 

‎python/pyplugin_installer/installer_data.py

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -102,26 +102,7 @@
102102
settingsGroup = "/Qgis/plugin-installer"
103103
seenPluginGroup = "/Qgis/plugin-seen"
104104

105-
106-
# Repositories: (name, url, possible depreciated url)
107-
officialRepo = (QCoreApplication.translate("QgsPluginInstaller", "QGIS Official Plugin Repository"), "https://plugins.qgis.org/plugins/plugins.xml", "https://plugins.qgis.org/plugins")
108-
depreciatedRepos = [
109-
("Old QGIS Official Repository", "http://pyqgis.org/repo/official"),
110-
("Old QGIS Contributed Repository", "http://pyqgis.org/repo/contributed"),
111-
("Aaron Racicot's Repository", "http://qgisplugins.z-pulley.com"),
112-
("Barry Rowlingson's Repository", "http://www.maths.lancs.ac.uk/~rowlings/Qgis/Plugins/plugins.xml"),
113-
("Bob Bruce's Repository", "http://www.mappinggeek.ca/QGISPythonPlugins/Bobs-QGIS-plugins.xml"),
114-
("Borys Jurgiel's Repository", "http://bwj.aster.net.pl/qgis/plugins.xml"),
115-
("Carson Farmer's Repository", "http://www.ftools.ca/cfarmerQgisRepo.xml"),
116-
("CatAIS Repository", "http://www.catais.org/qgis/plugins.xml"),
117-
("Faunalia Repository", "http://www.faunalia.it/qgis/plugins.xml"),
118-
("GIS-Lab Repository", "http://gis-lab.info/programs/qgis/qgis-repo.xml"),
119-
("Kappasys Repository", "http://www.kappasys.org/qgis/plugins.xml"),
120-
("Martin Dobias' Sandbox", "http://mapserver.sk/~wonder/qgis/plugins-sandbox.xml"),
121-
("Marco Hugentobler's Repository", "http://karlinapp.ethz.ch/python_plugins/python_plugins.xml"),
122-
("Sourcepole Repository", "http://build.sourcepole.ch/qgis/plugins.xml"),
123-
("Volkan Kepoglu's Repository", "http://ggit.metu.edu.tr/~volkan/plugins.xml")
124-
]
105+
officialRepo = (QCoreApplication.translate("QgsPluginInstaller", "QGIS Official Plugin Repository"), "https://plugins.qgis.org/plugins/plugins.xml")
125106

126107

127108
# --- common functions ------------------------------------------------------------------- #
@@ -327,9 +308,6 @@ def load(self):
327308
url = settings.value(key + "/url", "", type=str)
328309
if url == officialRepo[1]:
329310
officialRepoPresent = True
330-
if url == officialRepo[2]:
331-
settings.setValue(key + "/url", officialRepo[1]) # correct a depreciated url
332-
officialRepoPresent = True
333311
if not officialRepoPresent:
334312
settings.setValue(officialRepo[0] + "/url", officialRepo[1])
335313

0 commit comments

Comments
 (0)
Please sign in to comment.