Commit Graph

13 Commits

Author SHA1 Message Date
07d83eae42 Update script shebangs to use python3 2019-01-26 16:19:26 +01:00
c6c0bf1948 Update print and input syntax for python 3 2019-01-26 16:19:26 +01:00
e3ec36b50c Remove multi-statement lines, per pep8 2019-01-17 20:52:17 +01:00
0883ac6423 Fix whitespace and indentation, per pep8 2019-01-17 20:47:43 +01:00
87237f6536 Tabs, meet your new overlords: spaces
In a quest to reach pep8, use spaces to indent rather than tabs.
2019-01-17 15:35:39 +01:00
ad33b3bb50 Remove left-over debugginng code
Commented out, but should be removed anyway.
2017-05-02 10:44:55 +02:00
afe95ae2fd Strip trailing slashes from symlinks
This avoids double slashes and issues they cause in the ftp browser.

Daniel Gustafsson
2017-05-02 10:40:51 +02:00
0b4eff93e2 Exclude repositories from ftp browser
There is no need to browse into the repositories on the main website.
It's still possible to browse there directly on the ftp servers of course,
for those that need to debug a repository install and things like that.
2013-10-18 17:59:52 +02:00
e80c739046 Make sure the host header is set to www.postgresql.org 2011-12-06 20:10:19 +01:00
758a721405 Allow for the ftpsite pickle to be uploaded via https
Previously this had to be rsynced outside of the website. By allowing the
upload here, and automatically purging the data from varnish, we will reach
"almost instant" updates of the ftp site structure on the web.
2011-12-06 19:13:32 +01:00
71903d7f0c Parse files in the ftp tree as utf8, so as not to get random encoding errors
Any characters that aren't utf-8 will get replaced with the unicode
replacement character, instead of throwing an exception.

Fixes #106
2011-11-28 21:14:40 +01:00
4c7c2f34a1 Remove more references to wwwmaster 2011-11-27 17:52:36 +01:00
521920542b Get the information for the ftp browser from a file that is generated
on the ftp server, instead of crawling the directoreis directly. This
removes the requirement to sync almost 10Gb worth of ftp site onto the
web server...

The pickle file for this is currently around 1Mb, so it's not a huge
burden on the server. If it grows larger in the future, we may want to
re-think this and split it up, or put it in a database format or something
like that.
2010-06-10 14:46:16 +02:00