[Qgis-user] How to create a local (LAN) plugin repository

Alex Mandel tech_dev at wildintellect.com
Wed Apr 17 09:29:50 PDT 2013


I'm pretty sure it expects to pull the repo data over an http connection 
(Port 80). So you will need an internal web server. There is a version 
of apache called XAMP that will run from a usb stick or hard drive, and 
doesn't take an install. But you're better off just talking to your IT 
people and getting a small internal only website from them.

Thanks,
Alex

On 04/17/2013 09:22 AM, Alexandre Neto wrote:
> Hello Gary,
>
> Thank you for your answer. I see that you mention my webserver. But, we
> don't have one, and I don't have administration rights for setting one. I
> was trying to use the regular paths to both plugin.xml and zip files, but
> qgis is not able to read the xml.
>
> I was also tried another approach  putting both xml and zips in a dropbox
> folder, and get their public web links. (Using ?dl=1 in the end, one can
> make those files downloadable)
>
> In that case I'm able to connect to my repository, but no plugins are
> listed.
>
> Thanks,
>
> Alexandre Neto
>
> PS: My xml looks like this:
>
> <?xml version = '1.0' encoding = 'UTF-8'?>
> <?xml-stylesheet type = "text/xsl" href = "plugins.xsl" ?>
> <plugins>
>    <pyqgis_plugin name = "AdicionaAccoes" version = "0.1">
>      <description> Adiciona accoes </ description>
>      <homepage></ homepage>
>      <qgis_minimum_version> 1.8 </ qgis_minimum_version>
>      <file_name> AdicionaAccoes.zip </ file_name>
>      <author_name> Alexandre Neto </ author_name>
>      <download_url>
> https://www.dropbox.com/s/y73eickb4qqpfic/AdicionaAccoes.zip?dl=1 </
> download_url>
>    </ Pyqgis_plugin>
> </ Plugins>
>
>
> On Wed, Apr 17, 2013 at 4:17 PM, Gary Sherman <gsherman at geoapt.com> wrote:
>
>> It's simple to set up a repo on your network. First create an XML file
>> that describes your plugin(s) and the download location. Here is an example:
>>
>> <?xml version = '1.0' encoding = 'UTF-8'?>
>> <?xml-stylesheet type='text/xsl' href='/contributed.xsl' ?>
>> <plugins>
>>    <pyqgis_plugin name='ScriptRunner' version='0.71'>
>>      <description>Run Python scripts </description>
>>      <version>0.71</version>
>>      <qgis_minimum_version>1.8</qgis_minimum_version>
>>      <homepage></homepage>
>>      <file_name>scriptrunner.zip</file_name>
>>      <author_name>Gary Sherman</author_name>
>>      <download_url>http://geoapt.com/qgis_plugins/scriptrunner.zip
>> </download_url>
>>      <uploaded_by>gsherman</uploaded_by>
>>      <create_date>2013-03-16</create_date>
>>      <update_date>None</update_date>
>>      <experimental>True</experimental>
>>    </pyqgis_plugin>
>> </plugins>
>>
>> Put this on your web server somewhere, then make sure you put the plugin
>> package in the download_url location.
>>
>> Last step is to add your repo to the plugin installer, using the URL to
>> your plugins.xml.
>>
>> Please consider contributing any plugins you create that may have broader
>> interest to the the community.
>>
>> Thanks,
>> -gary
>>
>>
>> On Wed, Apr 17, 2013 at 6:30 AM, Alexandre Neto <senhor.neto at gmail.com>wrote:
>>
>>> I'm developing a toolbar with several python tools for one of our
>>> projects. They are very data especific tools, and therefore not interesting
>>> to realease as plugins in the official repository. Yet, I would like that
>>> my working colleagues could install (and update) it using the Python plugin
>>> manager.
>>>
>>> Is it possible to create a local repository (on our local network)? how?
>>>
>>> Thanks,
>>>
>>> Alexandre Neto
>>>
>>> _______________________________________________
>>> Qgis-user mailing list
>>> Qgis-user at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>>
>>>
>>
>>
>> --
>> -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
>> Gary Sherman
>> Chair, QGIS Project Steering Committee
>> -Desktop GIS Book:
>>   *http://desktopgisbook.com
>> -Alaska Novel:
>>   *http://alaskana.co
>> -Geospatial Consulting & Hosting:
>>   *http://geoapt.com
>> "We work virtually everywhere"
>> -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
>>
>
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>




More information about the Qgis-user mailing list