[Qgis-community-team] Moving static folder back in source again?

Alexandre Neto senhor.neto at gmail.com
Sun Mar 17 08:36:09 PDT 2019


Robocopy will clean deleted images:

robocopy <Original Folder> <Destination Folder> /e /purge

I am just not sure if either xcopy and robocopy are installed by default on
windows...

Alexandre Neto <senhor.neto at gmail.com> escreveu no dia domingo, 17/03/2019
às 15:33:

> From this question, it seems that xcopy may do what we need:
>
>
> https://stackoverflow.com/questions/26243865/sync-two-folders-using-batch-file
>
> xcopy /s /d <Original Folder> <Destination Folder>
>
>
> Alexandre Neto <senhor.neto at gmail.com> escreveu no dia domingo,
> 17/03/2019 às 15:27:
>
>> (temporarily?) kinda of, the folder should be ignored in git, but the
>> files can be there for later usage.
>> (Back?) why would we need to move them back?
>>
>> For windows we can use something different than rsync, a plain copy
>> should do. The advantage of rsync is that it will only copy the files if
>> they are new or have been changed, which does not trigger sphinx to rebuild
>> everything every single time. (That is why building Docs is not quite fast)
>>
>>
>>
>> Richard 🌍 Duivenvoorde <richard at duif.net> escreveu no dia domingo,
>> 17/03/2019 às 14:58:
>>
>>> On 17/03/2019 15.13, Alexandre Neto wrote:
>>> > I need to recheck, but the reason behind where the static folder is
>>> > located has to do with the images preview on github. But we could get a
>>> > way to make it work both on makefile and make.bat
>>>
>>> Sigh,... yes I see you are right...
>>> And if I try to point to /source/static/common or source/static/common
>>> for the images then Sphinx cannot find them :(
>>>
>>> Best indeed to keep it as is and eventually fix the make.bat file to
>>> (temporarily?) move the static from the root to the source file (and
>>> back?)
>>>
>>> Richard
>>>
>> --
>> Alexandre Neto
>> ---------------------
>> @AlexNetoGeo
>> http://sigsemgrilhetas.wordpress.com
>> http://gisunchained.wordpress.com
>>
> --
> Alexandre Neto
> ---------------------
> @AlexNetoGeo
> http://sigsemgrilhetas.wordpress.com
> http://gisunchained.wordpress.com
>
-- 
Alexandre Neto
---------------------
@AlexNetoGeo
http://sigsemgrilhetas.wordpress.com
http://gisunchained.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-community-team/attachments/20190317/9325ed37/attachment-0001.html>


More information about the Qgis-community-team mailing list