Allegro.pas

Subversion and GitHub repositories

Allegro.pas' source code is maintained in a Subversion (SVN) repository.  There's also a GIT mirror if you like it more.

Subversion

There are clients for almost any platform.

To get the current WIP version, use the next command to:

svn co svn://svn.code.sf.net/p/allegro-pas/code/TRUNK allegro-pas

Note that only developers can commit new content to the SVN.

To get older versions, look at the RELEASES subdirectory:

svn co svn://svn.code.sf.net/p/allegro-pas/code/RELEASES/<version-num> allegro-pas

Where <version-num> is the version you're looking for (eg: 4.4.2, 4.4.3, etc).  Note that not all old versions are available.  You can find those at the downloads page.

You can get, also, the unstable version 5 using the next command:

svn co svn://svn.code.sf.net/p/allegro-pas/code/BRANCHES/5.0 allegro-pas.5

You can send your changes to the Allegro.pas mailing lists.  Just send the diff file created by the next command:

svn diff > diff

GIT

You can get clients for most platforms at http://git-scm.com, and there is good documentation like the Reference Manual.

The source repository mirror is hosted at GitHub: https://github.com/niuniomartinez/allegro-pas

You can clone the repository from either of these two URLs:

https://github.com/niuniomartinez/allegro-pas
git@github.com:niuniomartinez/allegro-pas

By default you will be on the master branch. You can change the branch from your working tree like this:

git checkout Allegro.pas-5.2.beta.1
git checkout master

Usage

A quick reminder how to use git.

To get the repository:

git clone https://github.com/niuniomartinez/allegro-pas

Remember to tell git your name and email address:

git config --global user.name "My Name"
git config --global user.email "USERNAME@example.net"

To make sure you’re in the right branch and have the latest changes:

cd allegro
git checkout master
git pull --rebase origin master

To locally commit your changes:

git add -p
git commit -v

To share your local commit (send as attachments to the Allegro.pas mailing lists):

git format-patch HEAD^

For committers, to push changes on the local master branch to the remote master branch:

git push origin master