It should support authentication for private repos but might currently be a bit buggy or broken depending on the methods used, but you can use local/network filepaths or only expose the repository internally. It's worth going through the available documentation on it though and is a great method for distributing various assets besides svgs, including things like scripts and models etc
On Mon, 12 Apr 2021, 20:56 David Galt, <davidlgalt.gis+ql...@gmail.com> wrote: > For our purposes, we would only want to share the repository internally > within our company. Is this supported with the QGIS repository plugin? > > On Mon, Apr 12, 2021 at 10:41 AM Charles Dixon-Paver <char...@kartoza.com> > wrote: > >> Usually for individual projects you can embed the svg in the project file >> itself using the drop down options from the svg path selection area. >> >> If you're using the same svgs for multiple files though, I would strongly >> suggest setting up a repository for them and adding them using the resource >> sharing plugin. >> >> https://github.com/QGIS-Contribution/QGIS-ResourceSharing >> >> >> >> On Mon, 12 Apr 2021, 19:28 David Galt, <davidlgalt.gis+ql...@gmail.com> >> wrote: >> >>> In working from home I am presented with the challenge of sharing >>> project files and data. A central PostGIS database makes it easy to share >>> data and styles, but the one area that I am struggling with how to >>> effectively share a massive trove of custom SVG files that are referenced >>> by my projects and styles. >>> >>> One possibility I have explored is putting the files on the web and then >>> referencing the URL in the style rather than a file-based path. When I do >>> this, 3 things seem to happen: >>> >>> 1. The SVG shape appears correctly under "Text Sample", but in the >>> path, the font of the URL appears as red indicating that it is in error >>> <https://photos.app.goo.gl/AgCuQvL18d4aTxdQ8>. >>> >>> 2. Otherwise, it seems to work on the map. The SVGs >>> are displayed correctly <https://photos.app.goo.gl/NmmbG5KMhDwEPkQMA>. >>> >>> 3. After I save, exit and reload the project file, the graphics still >>> appear as they should on the map, but the feedback meter on the bottom of >>> QGIS that churns during ongoing operations never stops churning and when >>> you click on it, each image that is referenced from a URL is shown as >>> 100% completed but still "fetching" >>> <https://photos.app.goo.gl/mJQXfKKsjF99denX7>. >>> >>> Am I doing something wrong? Any recommendations/best practices for >>> referencing graphics from web addresses rather than local file paths? >>> _______________________________________________ >>> Qgis-user mailing list >>> Qgis-user@lists.osgeo.org >>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user >>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user >>> >>
_______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user