Difference between revisions of "Project Infrastructure Migration 2007"

From OSGeo
Jump to: navigation, search
(GeoTools Intergration)
(Infrastrucutre Intergration)
Line 123: Line 123:
 
= Infrastrucutre Intergration =
 
= Infrastrucutre Intergration =
  
This section describes the ways in which the components of the infrastructure interact, and this is where CollabNet starts to excel.
+
This section describes the ways in which the components of the infrastructure interact, and this is where CollabNet starts to excel, however some catch is needed to match the geotools project.
 +
 
 +
== Collabnet Intergration ==
 +
 
 +
{| border=1
 +
!      !! SVN !! Build !! Bug !! IRC !! mail !! Wiki !! Web
 +
|-
 +
! SVN  ||    ||    ||  || 1  ||  ||  ||
 +
|-
 +
! Build ||  ||      ||    ||    ||  ||      || 
 +
|-
 +
! Bug  ||    ||      ||    ||    ||  ||  ||
 +
|-
 +
! IRC  ||    ||      ||    ||    ||      || 2    ||
 +
|-
 +
! Email ||    ||      ||  ||    ||      ||      ||
 +
|-
 +
! Wiki  ||    ||      ||    ||    ||      ||      ||
 +
|-
 +
! Web  ||  ||    ||  ||    ||  ||      ||
 +
|}
 +
 
  
 
== GeoTools Intergration ==
 
== GeoTools Intergration ==

Revision as of 05:20, 31 March 2006

This document attempts to discuss the needs of projects currenting going through incubation. It attempts to address infrastructure needs, migration strategies to OSGeo servers, and migration strategies to mitigate disruption if OSGeo stops using CollabNet services.

Infrastrucutre Components

The following components make up the typical needs of an open source project, each section documents what the current projects use, and what Collab net offers. The "pain" of migration is evaulated by Frank (thanks Frank).

Web Pages

Currently the members projects use:

  • Wiki: OSSIM + GRASS (Twiki), GeoTools (Confluence), MapBuilder (Confluence), Mapbender (Mediawiki)
  • CMS: MapServer (Plone)
  • Static HTML: MapGuide
  • PHP HTML: GRASS (but CMS forthcoming)
  • Doxygen (nightly generated HTML): GDAL, GRASS (for programmer's manual)

CollabNet offers static HTML pages under SVN for web sites. This works fine for MapGuide and GDAL. Not acceptable to MapServer nor GRASS. Migration is acceptable for Mapbender. Not sure about OSSIM, MapBuilder or GeoTools.

It would seem that a Wiki solution for the web site should be offered.

For MapGuide and GDAL migrating into the CollabNet website mechanism is no problem. Migrating out again (if needed) should also be straight forward. Migrating in and out for other projects would be moderately difficult due to all the reformatting needed.

Source Code Control

Some projects now using SVN, while others use CVS.

CollabNet offers both.

Migrating in should be quite easy. The main downside is that all existing committer authentication will be lost, and will need to be resetup via the CollabNet infrastructure.

Will the CVS/SVN history be maintained when moving into/out of CollabNet?

Some projects currently use CVS (or SVN?) triggers to launch actions such as IRC (via CIA-bot) notifications, mailing list notifications and web site updates. Collabnet provides a mailing list for updates, but does not allow arbitrary commit hooks (as far as I (FW) know). The GRASS-CVS posts diff mails to a dedicated mailing list.

CVS projects might want to take this opportunity to consider SVN which is superior technology. Howard Butler is knowledgable about how to do a CVS to SVN transition that preserves history. This would of course add some extra disruption for developers.

Migrating out of Collabnet SVN is pretty easy assuming Collabnet provides access to the raw SVN archive (which they have agreed to do). The main disruption would be related to user authentication and a new location. SVN is open source so there is no need to change to a new tool if migrating out.

Bug / Issue Tracking

Currently members projects use:

  • Bugzilla: GDAL, MapServer, OSSIM
  • Jira: GeoTools, MapBuilder
  • Wiki: Mapbender
  • RT: GRASS (Gforge planned)
  • CN Issue Tracker: MapGuider

CollabNet offers an issue tracker with roughly comparible capabities to other bug trackers. (please note significant distinctions here) However, it is not clear that there is a clean way to migrate bugs from other systems to the CN issue tracker. Lacking this it seems unlikely the projects with substantial historical bug databases will be eager to migrate to the CN infrastructure.

Should any projects migrate to the CN issue tracker, it is also unclear that there is any way to migrate bugs out again should we drop CN support, though apparently CN does support an XML export of the database so hand crafting tools should be *possible* with some lossiness.

It would seem that migration to (and from) the CN bug tracker are going to be painful.

Mailing Lists / Forums

Currently member projects use:

  • Mailman: GDAL, GRASS, OSSIM, MapBuilder, Mapbender, GeoTools, MapServer
  • CN Mailing Lists: MapGuide

CN offers a mailing list mechanism (ezmlm). It supports and easy mechanism for administrators to batch subscribe email addresses, so migrating existing lists to it is relative easy (though digest or other config options may be lost). It has a few quirks (no apparent way to limit messages by size, digest is by accumulated mail size rather than something like daily). But the mailing lists seem to work fine, and are integrated into the platform. Migration will require all subscribers updating their address books with a new email address.

However, is it possible to migrate the mailing list archives when moving into/out of CollabNet? Some projects such as GRASS and GDAL do want to maintain it.

Migrating out it is easy to capture the subscriber lists, and setup a new external mailing list instance. It may involve a new email address again and will likely result in loss of email subscriber options. Is there an option to get the mailing list archives out of CN?

Overall, there is not a high cost to migrating in or out of the CN mailing list architecture.

The above does not address migrating archives which is also high desirable, but apparently very difficult with the CN mailing list archive manager.


Download Server

Existing projects offer source, binary and data downloads through http and ftp.

Collabnet offers an http based download facility from from the "Documents and Files" area on the left nav bar. This seems roughly analygous to the download support in SourceForge, and is generally adequate for downloads. (are there any perceived problems?)

There may be a migration hassle for folks moving large amounts of existing files into CN but generally speaking migration to CN for downloads should be straightforward.

Migrating out should also be relatively easy. Just "wget" the files to another server or something similar.

One downside of CN is that it doesn't offer ftp download services, but it isn't at all obvious to me that this is important in 2006. (comments?)

The other issue that could arise is that sufficient popularity for OSGeo projects could push the limits of our CN bandwidth limit (not sure what it is) in which case we might need to move some big things to the telascience hosted servers.

Wiki

Current projects:

  • No wiki: GDAL (want one!), MapServer (had one but wiki-spammed), MapGuide
  • Twiki: OSSIM, GRASS
  • Mediawiki: Mapbender
  • Confluence: GeoTools, MapBuilder

Currently CN does not offer a wiki. Arnulf has kindly hosted a mediawiki instance for OSGeo.

It isn't clear if there are benefits to moving into a common wiki for projects. We could likely host mediawiki instances for each project at telascience if needed.

There would be no pressing need to migrate out as the wiki won't be dependent on collabnet.

Automated Build/Smoke Test System

Current projects:

  • GDAL:
  • GeoTools: cruise control + maven 1 - we are moving to maven 2
  • GRASS: script based build system for Linux, MacOSX, mingW; script/HTML based testsuite
  • Mapbender:
  • MapBuilder: Setting up a fitnesse/ruby/WATIR/Autoit solution for AJAX type testing
  • MapGuide:
  • MapServer:
  • OSSIM:

Moving automated Build/Smoke Test Systems to CollabNet infrastructure could go along with a build farm.

Demo Site

Current Projects: - geotools: n/a library project, demo examples in wiki and included with source download

IRC

GeoTools: irc:/freenode.org#geotools

  • with logging...

Infrastrucutre Intergration

This section describes the ways in which the components of the infrastructure interact, and this is where CollabNet starts to excel, however some catch is needed to match the geotools project.

Collabnet Intergration

SVN Build Bug IRC mail Wiki Web
SVN 1
Build
Bug
IRC 2
Email
Wiki
Web


GeoTools Intergration

Here is a worked example illustrating how the GeoTools project is intergrated:

SVN Build Bug IRC mail Wiki Web
SVN yes yes 1 yes yes
Build yes yes
Bug yes yes yes
IRC 2
Email yes
Wiki
Web yes yes yes yes

1 not sure if this one works right now
2 logs of IRC meetings are posted

Areas for improvements in intergration:

  • single user name / password for svn, confluence, jira

GeoTools SVN Intergration

We are capturing intergration in a single direction: ie if we do a commit in svn what gets updated? Well everything in the following list...

SVN (commit) to Build:

  • curise control builds after a 30 min pause in commits
  • curise control builds nightly
  • various cruise control instances watch different important branches, these are maintained by several organizations

SVN (commit) to Tracker:

  • the Jira tracker will watch the svn code repository and pick up any commit message that mentions a Jira Number, these show up

as comments against the Jira Issues, and serve to document a patch being applied in development and then stable branches

  • not sure if we have configured this correctly

SVN (commit) to IRC:

  • CIA is used to host a bot on the freenode#geotools IRC channel it cheerfully chrips up about commits, but does not answer questions

SVN (commit) to Email:

  • there is a geotools-commits email list that can be subscribed to

SVN (commit) to WIKI:

  • you can use wiki syntax to grab lines of a file from svn, these can be used as code examples on demo and tutorial pages

SVN (commit) to Web:

  • cruise control is used to generate a javadoc website based on svn
  • we build a website for module information based on maven 2, a series of performance metrics are gathered using tools like

clover.