|
102 | 102 | settingsGroup = "/Qgis/plugin-installer"
|
103 | 103 | seenPluginGroup = "/Qgis/plugin-seen"
|
104 | 104 |
|
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") |
125 | 106 |
|
126 | 107 |
|
127 | 108 | # --- common functions ------------------------------------------------------------------- #
|
@@ -327,9 +308,6 @@ def load(self):
|
327 | 308 | url = settings.value(key + "/url", "", type=str)
|
328 | 309 | if url == officialRepo[1]:
|
329 | 310 | officialRepoPresent = True
|
330 |
| - if url == officialRepo[2]: |
331 |
| - settings.setValue(key + "/url", officialRepo[1]) # correct a depreciated url |
332 |
| - officialRepoPresent = True |
333 | 311 | if not officialRepoPresent:
|
334 | 312 | settings.setValue(officialRepo[0] + "/url", officialRepo[1])
|
335 | 313 |
|
|
0 commit comments