The webpatches directory should be created in the TestBot directory.
Signed-off-by: Francois Gouget fgouget@codeweavers.com ---
The current configuration of the TestBot and patches websites are ok of course. This just fixes the documentation on how to replicate it. It's a bit untested since I did not feel like re-setting up my box from scratch but it should match what I have.
testbot/doc/INSTALL.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/testbot/doc/INSTALL.txt b/testbot/doc/INSTALL.txt index 0dd5710f7..7565d6b4d 100644 --- a/testbot/doc/INSTALL.txt +++ b/testbot/doc/INSTALL.txt @@ -79,9 +79,8 @@ Setup for Wine's patches site: using the WineTestBot web interface and that the results are sane. You may also want to run with $PatchFromEMailOverride set for a while to spot any issue under load. -- In $HOME/tools/testbot/var, set up the webpatches symbolic link to point to - where the patches website stores its patches and test results. Typically: - ln -s $HOME/patches $HOME/tools/testbot/var/webpatches +- In $HOME/tools/testbot/var, create the webpatches directory: + mkdir $HOME/tools/testbot/var/webpatches - Use a cron job to run WinePatchesWebSubmit.pl periodically. For instance: */5 * * * * $HOME/tools/testbot/bin/WinePatchesWebSubmit.pl
The webpatches directory belongs to the TestBot so grab it from there.
Signed-off-by: Francois Gouget fgouget@codeweavers.com --- patches/doc/vhost_source.conf | 7 +++++++ 1 file changed, 7 insertions(+)
diff --git a/patches/doc/vhost_source.conf b/patches/doc/vhost_source.conf index 01c6dee15..ce2334c99 100644 --- a/patches/doc/vhost_source.conf +++ b/patches/doc/vhost_source.conf @@ -5,7 +5,14 @@ ServerName source.example.com ServerAdmin winehq@example.com
+ # Contains the emails: patches and replies from developers and the TestBot + Alias /patches/data /home/winehq/sites/testbot/var/webpatches + <Directory /home/winehq/opt/source> Require all granted </Directory> + + <Directory /home/winehq/tools/testbot/web/webpatches> + Require all granted + </Directory> </VirtualHost>