[Qgis-developer] Report 10 - QGIS Resources Sharing Tools

Matthias Kuhn matthias at opengis.ch
Mon Aug 1 05:54:56 PDT 2016


Hi Akbar,

Do you really need a flag? I think you can just check if the scheme is
specified in the URI. If it's missing, assume the same protocol.

Cheers

On 08/01/2016 11:35 AM, Akbar Gumbira wrote:
> Hi Matthias,
> 
> I think I missed your point before. I think I will add a flag in the
> metadata that users need to put, to state whether the repository is
> using the same protocol as the metadata or not. This way it could be
> more portable to use the repository in different protocol. For example
> users can clone a repository from git and use that repository in the
> local without having to change the metadata file itself.
> 
> Cheers
> 
> 
> 
> On Mon, Aug 1, 2016 at 11:13 AM, Akbar Gumbira <akbargumbira at gmail.com
> <mailto:akbargumbira at gmail.com>> wrote:
> 
>     Hi Matthias,
>      
> 
>         I guess support for relative URLs should be trivial and make the
>         repositories more portable. And as far as I can see it should be
>         possible to have relative and absolute paths side-by-side, no?
> 
>     If it's a matter of portability, users can still put the metadata
>     inside the repository itself (if they put the repository in a
>     directory based e.g git/local file system). It's just that they need
>     to explicitly put the metadata URI in the settings when adding a
>     repository. 
> 
>     If users want to make a zip collections, they need to put the
>     metadata somewhere else outside the zip. I agree with Ale though
>     that most users probably prefer this, they can just put a zip and
>     the metadata file in dropbox or google drive for example.
> 
>     Cheers
> 
>     On Mon, Aug 1, 2016 at 10:56 AM, Matthias Kuhn <matthias at opengis.ch
>     <mailto:matthias at opengis.ch>> wrote:
> 
>         Hi
> 
>         > In general, I feels that this is a better approach also in the sense
>         > that "explicit is better than implicit", we provide explicit URIs
>         > instead of delegate guessing them to the software layer.
> 
>         I guess support for relative URLs should be trivial and make the
>         repositories more portable. And as far as I can see it should be
>         possible to have relative and absolute paths side-by-side, no?
> 
>         Regards
>         Matthias
>         _______________________________________________
>         Qgis-developer mailing list
>         Qgis-developer at lists.osgeo.org
>         <mailto:Qgis-developer at lists.osgeo.org>
>         List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>         Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> 
> 
> 
> 
>     -- 
> 
>     *-------------------*
> 
>     *Akbar Gumbira *
>     *www.akbargumbira.com <http://www.akbargumbira.com>*
> 
> 
> 
> 
> -- 
> 
> *-------------------*
> 
> *Akbar Gumbira *
> *www.akbargumbira.com <http://www.akbargumbira.com>*


More information about the Qgis-developer mailing list