Skip to content

Commit

Permalink
Merge pull request #3689 from rduivenvoorde/getPlugins3
Browse files Browse the repository at this point in the history
Temporarily hardcode plugins version in url ?qgis=3.0
  • Loading branch information
3nids committed Nov 2, 2016
2 parents 4f5337f + 54f312f commit dbd7de3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion python/pyplugin_installer/installer_data.py
Expand Up @@ -236,7 +236,10 @@ def allUnavailable(self):
def urlParams(self): def urlParams(self):
""" return GET parameters to be added to every request """ """ return GET parameters to be added to every request """
v = str(Qgis.QGIS_VERSION_INT) v = str(Qgis.QGIS_VERSION_INT)
return "?qgis=%d.%d" % (int(v[0]), int(v[1:3])) # TODO: make this proper again after 3.0 release, by uncommenting
# the line below and removing the other return line:
#return "?qgis=%d.%d" % (int(v[0]), int(v[1:3]))
return "?qgis=3.0"


# ----------------------------------------- # # ----------------------------------------- #
def setRepositoryData(self, reposName, key, value): def setRepositoryData(self, reposName, key, value):
Expand Down

1 comment on commit dbd7de3

@sildeag
Copy link

@sildeag sildeag commented on dbd7de3 Nov 5, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Existing QGIS development on Ubuntu 16.04, unless ~/apps/share/qgis is removed, may require cp ~/dev/cpp/QGIS/python/pyplugin_installer/installer_data.py ~/apps/share/qgis/python/pyplugin_installer/ to update this file.

Please sign in to comment.