Skip to content
This repository has been archived by the owner on Dec 23, 2020. It is now read-only.

Commit

Permalink
More docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaetano Giunta committed Feb 3, 2012
1 parent bdc49ee commit 2c6a8a3
Show file tree
Hide file tree
Showing 3 changed files with 91 additions and 6 deletions.
79 changes: 79 additions & 0 deletions pake/INSTALL
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
Requirements
============

- the php cli
- the Zeta Components php library (only for generating tarballs and html docs from rst)
- command line tools: git


How to install and use eZ Publish Builder
=========================================

This is a 5 steps tutorial.


1. Download the pakefile script (once)
--------------------------------------

cd <my_build_directory>
wget http://svn.projects.ez.no/ezpublishbuilder/stable/pakefile.php


2. Launch the pakefile script for the first time (once)
-------------------------------------------------------

The script is able to bootstrap, ie. to download all missing components the
first time that you run it: ::

php pakefile.php

This will create a directory ./pake/ and download into it all needed stuff from http://svn.projects.ez.no/ezpublishbuilder.


3. Clone the CI git repository to your computer (once)
------------------------------------------------------

This task is partially automated via the script:

If you have already installed a clone of the CI git repository, just edit the
configuration file ./pake/options-ezpublish.yaml and set the path to it.

If you have not,
a. edit the configuration file ./pake/options-ezpublish.yaml and set the path
to where it has to be downloaded
b. run php pakefile.php init-ci-repo
c. alter the git configuration file in the directory where the CI repo has been
cloned, adding a username and email
d. test that you have permissions to execute pushes on the upstream repository


4. Edit the configuration file (for every build)
------------------------------------------------

A starting configuration file is provided by the extension: ./pake/options-ezpublish.yaml
You should edit it to suit your needs.

Parameters that you will have to change:
- version numbers
- ci-repo/local-path
- version/previous/git-revision


5. Launch the build (for every build)
-------------------------------------------

To get a list of all available tasks run::

php pakefile.php --tasks

[... to be documented more ...]

NB: The Zeta Components library must be available in your php include_path. If it
is not, you can set the environment variable PHP_CLASSPATH to make it available
to the script.


More information
================

Read the README file and anything in the ./docs/ folder for more details
10 changes: 5 additions & 5 deletions pake/README
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ Introduction
----------------------------------

A set of php files and tools to help in the "build process" of eZ Publish Community Project
tarballs and deliverables.
It is based on the Pake tool.
It is not a "complete" tool, as it relies on external repositories and build servers
to do the heavy lifting.
tarballs and deliverables
- it is based on the Pake tool;
- it is not a "complete" tool, as it relies on external repositories and build servers
to do the heavy lifting.

The build process carried out by this tool consists of the following steps:
The build process carried out by this tool consists broadly speaking of the following steps:
- getting a copy of the latest version of the source code from the git repository
- creating a changelog file and adding it to the sources
- invoking the external build process
Expand Down
8 changes: 7 additions & 1 deletion pake/doc/todo
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ https://docs.google.com/a/ez.no/document/d/1UZVIRjovBbzaTeDy3OClNsyxQvd6PDuPzzWb

. new task: generate html version of changelog

. new task: upload wpi tarball to http://share.ez.no/ez-on-mswebplatform/ after building it

. improve the task that generates changelog: have it
1. go to jenkins and fetch the git revision of a given build
2. go to jenkins and find, based on names, the revision corresponding to the latest build

. decide std name of install dir (??? as in "subdir of web root directory"?)

. all pake tasks: download, build, ...
Expand All @@ -30,7 +36,7 @@ https://docs.google.com/a/ez.no/document/d/1UZVIRjovBbzaTeDy3OClNsyxQvd6PDuPzzWb

# init-ci-repo task

. allow task to set up username and email automatically
. allow task to set up username and email automatically, and also to test push to upstream


# Windows Web Application Gallery / Web Platform Installer package
Expand Down

0 comments on commit 2c6a8a3

Please sign in to comment.