website: deploy: rsync: use --delete.
The commit 768fde6f2d
("website: Remove
news generation.") was supposed to produce a web page at
https://www.gnu.org/software/gnuboot/web/news.html.
This didn't work because due to a combination of the Apache rules
deployed on the web server and the fact that we couldn't delete files.
After discussing with the FSF sysadmins, they now fixed the problem,
so we can now use --delete with rsync and this makes the news page
appear.
It's also possible to get the Apache rules being used under a free
license, so to avoid this kind of situation again, so in the future we
should get these rules and replace the test with lighttpd with a test
that uses Apache and these rules instead.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien Bourmault <neox@gnu.org>
This commit is contained in:
parent
b45721d808
commit
d1df672383
|
@ -165,11 +165,7 @@ serve:
|
|||
endif
|
||||
endif
|
||||
|
||||
# The rsync options are hardcoded here because some options are known
|
||||
# not to work. For instance --delete results in rsync hanging. Also
|
||||
# note that it's possible to rsync some files to gnu.org but not from
|
||||
# gnu.org.
|
||||
RSYNC_OPTIONS := -av --progress
|
||||
RSYNC_OPTIONS := -av --progress --delete
|
||||
publish: website.tar.gz
|
||||
rm -rf deploy
|
||||
mkdir -p deploy
|
||||
|
|
Loading…
Reference in New Issue