lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Website upload


From: Urs Liska
Subject: Re: Website upload
Date: Tue, 7 Mar 2017 12:08:12 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.6.0


Am 07.03.2017 um 12:05 schrieb David Kastrup:
> Urs Liska <address@hidden> writes:
>
>> Am 07.03.2017 um 11:45 schrieb David Kastrup:
>>> Urs Liska <address@hidden> writes:
>>>
>>>> Am 07.03.2017 um 11:24 schrieb Phil Holmes:
>>>>
>>>>> Again - this needs answering with a bit of care, because the website
>>>>> and the docs are closely linked.  It appears to me that putting any of
>>>>> the documentation (which includes part of the webite) is doen with
>>>>> rsync without the delete option.  See
>>>>> https://github.com/gperciva/gub/blob/master/test-lily/upload.py line 175. 
>>>> OK, there's some general discussion in here.
>>>>
>>>> Basically I think such an upload should definitely include the
>>>> --delete option because we don't want an arbitrary number of orphaned
>>>> files on the server, isn't it?
>>> We don't want orphaned files, no, but one better make a complete backup
>>> first because not all files might be orphaned copies but may have been
>>> added on the server only for some purpose.  Symlinks, referal files,
>>> permission/login files and similar stuff.
>> OK, that makes sense.
>> But how would we find out about such items? I don't think it's a very
>> clean strategy to make a backup, then remove them and deal with any bug
>> report about missing files ...
> The alternative is someone going through all the files by hand on a
> backup/image/copy.  I think, however, that reviewing the top-level
> directories should be enough: server-specific stuff is rarely found in
> lower parts of the hierarchy only: so if we are missing something, this
> is likely obvious in higher layers already.

Maybe someone with privileges on the server could manually run rsync
with the --delete and the -n (dry run) option and presenting us with the
list of files that would be deleted remotely. Probably this would
quickly tell us if we have legitimate "orphaned" files.

Urs


-- 
address@hidden
https://openlilylib.org
http://lilypondblog.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]