Migrating BeWelcome to Drupal: Difference between revisions

[[Wiki.trustroots.org]] is an independent wiki with information for people who are actively exchanging hospitality.
m (→‎People: fixed link)
(some minor and major updates :))
Line 1: Line 1:
This is an overview of the project to migrate [[BeWelcome]] to Drupal.  This is a work in progress.  You're welcome to edit.
This is an overview of the project to migrate [[BeWelcome]] to Drupal.  This is a work in progress.  You're welcome to edit.


The BeWelcome project was started late 2006, and it has gained considerable respect for the way it's run.  Unfortunately so far this has not materialized into an big active member base.  One possible underlying problem is probably the current code base, which takes an considerable amount of time and effort to get into, experience that is not directly usable on other projects.  So the idea has risen several times to move to a more active platform.  According to a survey among potential and actual BeWelcome developers, taken in October, there is considerable knowledge of Drupal, compared to Zend, Symfony and even the BW Rox framework itself. (See also [http://couchwiki.org/images//en/images/7/70/BW_developers_survey_2010-10.pdf the developer survey].)  
The BeWelcome project was started late 2006, and it has gained considerable respect for the way it's run.  Unfortunately so far this has not materialized into an big active member base.  One possible underlying problem is probably the current code base, which takes an considerable amount of time and effort to get into, experience that is not directly usable on other projects.  So the idea has risen several times to move to a more active platform.  According to a survey among potential and actual BeWelcome developers, taken in October, there is considerable knowledge of Drupal, compared to Zend, Symfony and even the BW Rox framework itself. (See also [http://couchwiki.org/images/en/images/7/70/BW_developers_survey_2010-10.pdf the developer survey].)  


 
The main git repo is at [https://gitorious.org/bw-drupal gitorious.org/bw-drupal]. This currently contains Drupal, some contrib modules and a BW installation profile. See also [[Set up BW Drupal]].
The main git repo is https://gitorious.org/bw-drupal
This currently contains Drupal, some contrib modules and a BW installation profile.
 
see also [[Set up BW Drupal]]


==Want to help?==
==Want to help?==
Some things you can do right now:
Some things you can do right now:
* create an account here and ''watch'' this page so you get updates
* create an account here and [http://couchwiki.org/en/index.php?title=Migrating_BeWelcome_to_Drupal&action=watch watch this page] so you get updates
* Drupal site building
* Drupal site building
** build features according to current BW functionality
** build features according to current BW functionality
Line 18: Line 14:
** fix what's not yet working in D7
** fix what's not yet working in D7
** add needed functionality to Drupal modules
** add needed functionality to Drupal modules
* Drupal theming => turn the BW layout into a Drupal theme
* <strike>Drupal theming => turn the BW layout into a Drupal theme</strike>
* learn Drupal 7
* learn Drupal 7


More will follow later, such as testing and bug reporting.
More will follow later, such as testing and bug reporting. ''We should have an issue tracker.  Meinhard? :)''


===People===
===People===
Line 39: Line 35:
* userprofiles (comments / relations / location (geodata) / groupmembership)
* userprofiles (comments / relations / location (geodata) / groupmembership)
** feature: bw_user_profile
** feature: bw_user_profile
** current status: proof of concept for migration of Rox user and members into Drupal users + profile2
* messages
* messages
** [http://drupal.org/project/privatemsg privatemsg]
** [http://drupal.org/project/privatemsg privatemsg]
Line 47: Line 44:
** we will need to figure out what needs to be adapted at a later stage
** we will need to figure out what needs to be adapted at a later stage
* page-like content:
* page-like content:
** FAQ => faq content type (multicrud?)
** FAQ => faq content type - working migration!
** tour => content type
** tour => content type - where is it in BW Rox db?
** about pages => pages?
** about pages => pages - where is it in BW Rox db?
* blogs
* blogs
** now: D7 core Blog module, could become something custom but core might be good enough?
** now: D7 core Blog module, could become something custom but core might be good enough?
*** possibly ditch?


Other:
Other:
* forum
* forum
** in core
** use D7 core module?
* groups
* groups
** [http://drupal.org/project/og og]
** [http://drupal.org/project/og og]
Line 61: Line 59:
** custom content type
** custom content type
* trips
* trips
** realitygaps was interested in doing this
** realitygaps and lupochen have shown interest in this


===wiki===
===wiki===
Line 99: Line 97:
#* Start with data that has no privacy issues such as wiki
#* Start with data that has no privacy issues such as wiki
# Create alpha D7 BW
# Create alpha D7 BW
==bw.guaka.org==
* Reflection of current codebase?
* Set up from scratch?
* Run migration scripts automatically?
** Issue: security!  Possible solution change email addresses and passwords while importing test database?


===Drupal 7===
===Drupal 7===
Line 104: Line 108:


====Con====
====Con====
* Many modules aren't ready yet.
* <strike>Many modules aren't ready yet.</strike>
* There are still some bugs.
* There are still some bugs.



Revision as of 14:14, 25 August 2011

This is an overview of the project to migrate BeWelcome to Drupal. This is a work in progress. You're welcome to edit.

The BeWelcome project was started late 2006, and it has gained considerable respect for the way it's run. Unfortunately so far this has not materialized into an big active member base. One possible underlying problem is probably the current code base, which takes an considerable amount of time and effort to get into, experience that is not directly usable on other projects. So the idea has risen several times to move to a more active platform. According to a survey among potential and actual BeWelcome developers, taken in October, there is considerable knowledge of Drupal, compared to Zend, Symfony and even the BW Rox framework itself. (See also the developer survey.)

The main git repo is at gitorious.org/bw-drupal. This currently contains Drupal, some contrib modules and a BW installation profile. See also Set up BW Drupal.

Want to help?

Some things you can do right now:

  • create an account here and watch this page so you get updates
  • Drupal site building
    • build features according to current BW functionality
    • find out what's working in D7
  • PHP coding
    • fix what's not yet working in D7
    • add needed functionality to Drupal modules
  • Drupal theming => turn the BW layout into a Drupal theme
  • learn Drupal 7

More will follow later, such as testing and bug reporting. We should have an issue tracker. Meinhard? :)

People

Migration

Main things to migrate:

  • userprofiles (comments / relations / location (geodata) / groupmembership)
    • feature: bw_user_profile
    • current status: proof of concept for migration of Rox user and members into Drupal users + profile2
  • messages
  • preferences
    • some things will probably already have stuff set up
  • admin (backend)
    • most things will probably have admin functionality, and permissions.
    • we will need to figure out what needs to be adapted at a later stage
  • page-like content:
    • FAQ => faq content type - working migration!
    • tour => content type - where is it in BW Rox db?
    • about pages => pages - where is it in BW Rox db?
  • blogs
    • now: D7 core Blog module, could become something custom but core might be good enough?
      • possibly ditch?

Other:

  • forum
    • use D7 core module?
  • groups
  • galleries
    • custom content type
  • trips
    • realitygaps and lupochen have shown interest in this

wiki

Couchwiki for now

User fields

  • user/register should show more than username/password
  • geo + address: see "geo stuff".
  • User fields settings should be exportable as features: http://drupal.org/node/989900

Geo stuff

We need a combination of geo and address features, as with support for the D7 field api.

Possible modules:

Privacy

Waiting for D7 modules:

Roadmap

Like Drupal: it's ready when it's ready - no more open critical issues. So no roadmap with dates here. (Yet. Open for change.)

  1. Implement as much as possible on a D7 installation at bw.guaka.org
    • No importing of data yet
  2. Make it distributable
    • git
    • everything should become code
  3. Start importing data
    • With some funky data modules
    • Start with data that has no privacy issues such as wiki
  4. Create alpha D7 BW

bw.guaka.org

  • Reflection of current codebase?
  • Set up from scratch?
  • Run migration scripts automatically?
    • Issue: security! Possible solution change email addresses and passwords while importing test database?

Drupal 7

We have chosen to start right away with Drupal 7 (D7).

Con

  • Many modules aren't ready yet.
  • There are still some bugs.

Pro

  • No need to upgrade to D7 ;)
  • D7 has many good things in core that we want.
    • Especially: "Fields in core". In D6, only nodes could have fields. To allow (full-featured) fields for users, one needed modules like content_profile, which brings structural problems.
  • A lot of Great Stuff we don't yet know about will not be for D6

Learning Drupal 7

Some ways:

BeWelcome Logo.jpg
This page is written in the context of BeWelcome.