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

Alexandre Neto senhor.neto at gmail.com
Wed Apr 17 09:22:26 PDT 2013


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"
> -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20130417/09dc0aa6/attachment.html>


More information about the Qgis-user mailing list