Difference between revisions of "Project Infrastructure"

From Octave
Jump to navigation Jump to search
m (→‎buildbot.octave.org: Wiki link added.)
m (→‎Hosted on SourceForge: Links added.)
Line 175: Line 175:
 
== Hosted on SourceForge ==
 
== Hosted on SourceForge ==
  
* admin accounts: jbect, oheim, i7tiol
+
* admin accounts: [https://sourceforge.net/p/octave/_members jbect, oheim, i7tiol]
* octave forge hg and git repos
+
* octave forge [https://sourceforge.net/p/octave/_list/hg hg] and [https://sourceforge.net/p/octave/_list/git git] repos
  
 
=== octave.sourceforge.io ===
 
=== octave.sourceforge.io ===
  
* Octave Forge web site
+
* [https://octave.sourceforge.io Octave Forge web site]
 
* htaccess file:
 
* htaccess file:
 
  <nowiki>
 
  <nowiki>

Revision as of 03:40, 30 March 2017

The project sources, web pages, and related tools are spread over a number of different services.

As discussed at OctConf 2017, we would like to consolidate and update some of these resources so that they are easier to keep track of and manage.

Here is a summary of what we are currently using:

Hosted on jwe's dreamhost.com account

octave.org domain registration and dns records

Managed through dreamhost web hosting control panel web app thing.

octave.org

RewriteEngine on

RewriteRule ^doc/octave_toc.html http://www.gnu.org/software/octave/doc/interpreter/index.html [R=301,L]

RewriteRule ^hg/(.*) http://hg.savannah.gnu.org/hgweb/$1 [R=301,L]

RewriteRule ^testfailure/(.*) https://savannah.gnu.org/bugs/$1 [R=301,L]

RewriteRule ^bugs/(.*) http://bugs.octave.org/bugs/$1 [R=301,L]

RewriteRule ^docs.html http://www.gnu.org/software/octave/support.html [R=301,L]

RewriteRule ^packages.html http://octave.sf.net [R=301,L]

RewriteCond $1 !^(doxygen|gnulib-git-mapfile|old-list-archives|stats|wiki|octave-wiki|w)
RewriteRule (.*) http://www.gnu.org/software/octave/$1 [R=301,L]

Options +FollowSymLinks

## Manipulate query string to preserve old URLs like 
## http://www.octave.org/wiki/index.php?title=OctConf_2012
RewriteCond %{QUERY_STRING} ^title=(.*)$
RewriteRule ^wiki/index\.php$ http://wiki.octave.org/%1? [R=301]

RewriteRule ^wiki/(.*)$ http://wiki.octave.org/$1 [R=301]
RewriteRule ^wiki$ http://wiki.octave.org/ [R=301]

packages.octave.org

  • web site primarily so we can have a stable address for octave's pkg -forge command
  • htaccess file:
RewriteEngine on

RewriteRule ^download/(.*) https://downloads.sourceforge.net/octave/$1?download [R=307,L]

RewriteRule (.*) https://octave.sourceforge.io/$1 [R=307,L]

planet.octave.org

wiki.octave.org

RewriteEngine on

## Manipulate query string to preserve old URLs like 
## http://www.octave.org/wiki/index.php?title=OctConf_2012
RewriteCond %{QUERY_STRING} ^title=(.*)$
RewriteRule ^/wiki/index\.php$ http://wiki.octave.org/%1? 

RewriteCond %{QUERY_STRING} ^title=(.*)$
RewriteRule ^/index\.php$ http://wiki.octave.org/%1? 


RewriteCond %{REQUEST_URI} !^/w.*/
RewriteCond $1 !^(favicon.*)
RewriteRule ^(.*)$ /wiki/index.php?title=$1

hg.octave.org

This site hosts mercurial repos.

# Taken from http://www.pmwiki.org/wiki/Cookbook/CleanUrls#samedir
# Used at http://ggap.sf.net/hg/
Options +ExecCGI
RewriteEngine On

RewriteBase /
RewriteRule ^$ hgwebdir.cgi  [L]
RewriteRule ^repos/(.*) $1 [L,QSA]		
# Send requests for files that exist to those files.
RewriteCond %{REQUEST_FILENAME} !-f
# Send requests for directories that exist to those directories.
RewriteCond %{REQUEST_FILENAME} !-d
# Send requests to hgwebdir.cgi, appending the rest of url.
RewriteRule (.*) hgwebdir.cgi/$1  [QSA,L]

Hosted on jwe's digitalocean.com account

  • login accounts: jwe jordigh

buildbot.octave.org

  • master server for our Buildbot installation

agora.octave.org

  • what remains of the agora web site

Hosted on GNU project systems

Savannah admin accounts: jwe, rik, jordigh, mtmiller

www.gnu.org/software/octave

<FilesMatch "\.(in|m4)$">
  Order allow,deny
  Deny from all
</FilesMatch>

<FilesMatch "Makefile$">
  Order allow,deny
  Deny from all
</FilesMatch>

<FilesMatch "CVS">
  Order allow,deny
  Deny from all
</FilesMatch>

RewriteEngine on

RewriteBase /software/octave/

RewriteRule ^octave.pdf doc/octave-4.2.0.pdf [L]
RewriteRule ^NEWS.html NEWS-4.2.html [L]
RewriteRule ^contribute.html get-involved.html [L]
RewriteRule ^img/screenshot.png img/screenshot-octave-4-2.png [L]

RewriteRule ^doc/interpreter$ doc/interpreter/ [R,L]
RewriteRule ^doc/interpreter/(.*) doc/v4.2.0/$1 [L]

ftp.gnu.org

Hosted on SourceForge

octave.sourceforge.io

<FilesMatch "\.svgz$">
Header set Content-Encoding gzip
</FilesMatch>

RewriteEngine on
RewriteRule ^archive\.html$ /archive.php [PT]
RewriteRule ^bugs\.html$ /bugs.php [PT]
RewriteRule ^code\.html$ /code.php [PT]
RewriteRule ^developers\.html$ /developers.php [PT]
RewriteRule ^docs\.html$ /docs.php [PT]
RewriteRule ^FAQ\.html$ /FAQ.php [PT]
RewriteRule ^function_list\.html$ /function_list.php [PT]
RewriteRule ^index\.html$ /index.php [PT]
RewriteRule ^links\.html$ /links.php [PT]
RewriteRule ^NEWS\.html$ /NEWS.php [PT]
RewriteRule ^packages\.html$ /packages.php [PT]

<FilesMatch "\.(php|css)$">
FileETag None
<ifModule mod_headers.c>
Header unset ETag
Header unset Expires
Header set Cache-Control "no-cache, must-revalidate"
</ifModule>
</FilesMatch>