Project Infrastructure: Difference between revisions

From Octave
Jump to navigation Jump to search
(Move SourceForge information away.)
(Major revision)
Line 5: Line 5:
Here is a summary of what we are currently using:
Here is a summary of what we are currently using:


== Hosted on jwe's dreamhost.com account ==
== jwe's DreamHost account ==


=== octave.org domain registration and dns records ===
* octave.org domain registration and DNS records
** Managed through DreamHost web hosting control panel web app thing.


Managed through dreamhost web hosting control panel web app thing.
== Fosshost ==
 
=== octave.org ===


* main project web site address ([https://octave.org https://octave.org] → https://www.gnu.org/software/octave)
* main project web site address ([https://octave.org https://octave.org] → https://www.gnu.org/software/octave)
Line 17: Line 16:
* [[Doxygen]] pages hosted here
* [[Doxygen]] pages hosted here
* other pages redirect elsewhere (gnu.org/software/octave, octave.sourceforge.io)
* other pages redirect elsewhere (gnu.org/software/octave, octave.sourceforge.io)
{{File|.htaccess|<pre>
RewriteEngine on
RewriteRule ^doc/octave_toc.html https://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 https://www.gnu.org/software/octave/support.html [R=301,L]
RewriteRule ^packages.html https://octave.sourceforge.io [R=301,L]
RewriteCond $1 !^(doxygen|gnulib-git-mapfile|old-list-archives|stats|wiki|octave-wiki|w)
RewriteRule (.*) https://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]
</pre>}}


=== packages.octave.org ===
=== packages.octave.org ===


* web site primarily so we can have a stable address for octave's <code>pkg -forge</code> command
* web site primarily so we can have a stable address for octave's <code>pkg -forge</code> command
{{File|.htaccess|<pre>
RewriteEngine on
RewriteRule ^download/(.*) https://downloads.sourceforge.net/octave/$1?download [R=307,L]
RewriteRule (.*) https://octave.sourceforge.io/$1 [R=307,L]
</pre>}}
=== planet.octave.org ===
* [http://www.planetplanet.org Planet blog aggregator]


=== wiki.octave.org ===
=== wiki.octave.org ===
Line 72: Line 30:
*** https://www.mediawiki.org/wiki/Extension:MobileFrontend
*** https://www.mediawiki.org/wiki/Extension:MobileFrontend
*** https://www.mediawiki.org/wiki/Extension:PageNotice
*** https://www.mediawiki.org/wiki/Extension:PageNotice
{{File|.htaccess|<pre>
# https://help.dreamhost.com/hc/en-us/articles/214895317-How-do-I-change-the-PHP-version-of-my-site- (2019-02-26)
AddHandler fcgid-script .php
FCGIWrapper "/dh/cgi-system/php72.cgi" .php
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$ https://wiki.octave.org/%1?
RewriteCond %{QUERY_STRING} ^title=(.*)$
RewriteRule ^/index\.php$ https://wiki.octave.org/%1?
RewriteCond %{REQUEST_URI} !^/w.*/
RewriteCond $1 !^(favicon.*)
RewriteRule ^(.*)$ /wiki/index.php?title=$1
</pre>}}
== Hosted on jwe's digitalocean.com account ==
* login accounts:  jwe jordigh


=== buildbot.octave.org ===
=== buildbot.octave.org ===
Line 112: Line 44:
* [http://hg.octave.org/mxe-octave mxe-octave] (see [[MXE]])
* [http://hg.octave.org/mxe-octave mxe-octave] (see [[MXE]])
* various octave clones
* various octave clones
=== agora.octave.org ===
* what remains of the agora web site


== Hosted on GNU project systems ==
== Hosted on GNU project systems ==

Revision as of 13:40, 25 August 2022

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:

jwe's DreamHost account

  • octave.org domain registration and DNS records
    • Managed through DreamHost web hosting control panel web app thing.

Fosshost

packages.octave.org

  • web site primarily so we can have a stable address for octave's pkg -forge command

wiki.octave.org

buildbot.octave.org

  • master server for our Buildbot installation

hg.octave.org

This site hosts mercurial repos.

Hosted on GNU project systems

Savannah admin accounts: jwe, rik, jordigh, mtmiller

www.gnu.org/software/octave

File: .htaccess
<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