Difference between revisions of "Winter 2011 Handout - Package the Weave Server"
(→Introduction) |
(→Approach) |
||
Line 33: | Line 33: | ||
<!-- Describe the approach to the project -- method/procedure/tools etc --> | <!-- Describe the approach to the project -- method/procedure/tools etc --> | ||
− | The approach all along for the project has been to streamline the MySQL and Apache configuration required for setting up Weave. Because of this certain functionality is not enabled in the config files, such as SSL and Captcha. | + | The approach all along for the project has been to avoid separate installation of the sync-server and reg-server components and streamline the MySQL and Apache configuration required for setting up Weave. Because of this certain functionality is not enabled in the config files, such as SSL and Captcha. |
For the MySQL streamlining a script has been developed for inclusion in the package to automate the creation of a database, three tables, and service account required for Weave to function. You can download/view the script here: [http://matrix.senecac.on.ca/~jpmorgan/SCRIPTS/weave.sql]. | For the MySQL streamlining a script has been developed for inclusion in the package to automate the creation of a database, three tables, and service account required for Weave to function. You can download/view the script here: [http://matrix.senecac.on.ca/~jpmorgan/SCRIPTS/weave.sql]. |
Revision as of 19:49, 12 April 2011
Contents
Status
This page status is: DRAFT.
Title
Package the Weave Server
Participants
Justin Morgan
Introduction
Weave is the server used by Mozilla Sync for synchronizing personal data (bookmarks, passwords, form values, and cookies) across multiple machines and architectures (Windows/Linux, Android, etc). It consists of two server components: sync-server and reg-server. Sync handles the data synchronization while Reg handles user registration and management.
The project has involved packaging Weave for the purposes of getting it included with the official Fedora repos. In order to do this the package has to successfully pass through the package review process.
Packaging Weave is significant as it allows individuals, groups, and companies to more easily run their own private weave server.
The goals for the project milestones thus far have been:
- 0.1 - Documentation for the manual installation of Weave server.
- 0.2 - Initial package release tested with mock and koji. Bugzilla request submitted for package review process.
- 0.3 - Package completes review process and is ready for inclusion in the official Fedora repos.
Approach
The approach all along for the project has been to avoid separate installation of the sync-server and reg-server components and streamline the MySQL and Apache configuration required for setting up Weave. Because of this certain functionality is not enabled in the config files, such as SSL and Captcha.
For the MySQL streamlining a script has been developed for inclusion in the package to automate the creation of a database, three tables, and service account required for Weave to function. You can download/view the script here: [1].
The approach for the Apache config was to avoid touching the main httpd.conf file. To do this the package installs the weave.conf file in /etc/httpd/conf.d/ which the service will pick up after a successful restart. As SSL is not enabled in the packaged version the weave.conf consists only of Alias configuration and not SSL virtualhost.
Challenges
The initial challenge for the project was getting a manual installation of Weave to work. The current documentation for the Weave components sync-server and reg-server does not give exact dependencies required or certain client quirks. This is why milestone 0.1 dealt with creating new documentation for the install process.
Results
Links
Project Wiki - Package the Weave Server