AM/Repositories

Repositories

Official Repositories

Currently we maintain three official repositories. One targets the smartphone, another targets the build environment and the third one holds packages which aid the host system.

core:
The core repository keeps the basic packages we want to be able to install on the  OpenMoko Freerunner. This is only available for the arm architecture.
build:
The build repository contains packages which are installed additionally to packages from core in the build environment. Those packages are available for the i686 and the x86_64 architecture. In the build environment we use native cross-compiling tools to enhance build speed while still linking against the ARM core.
archfr:
Packages which are not directly useful for either the build environment or the phone itself are being held in this repository. Those packages target i686 and x86_64 architectures.

User access

Our repositories are publicly available to all users in order to use them and to provide the possibility to participate in the project.

Binary Repository

To create a local copy of our repositories which hold the pre-built binary packes use:

$ rsync -auvz rsync.archmobile.org::public pkgs

This will download all three repositories to the directory pkgs. Frequent calls will update the local repository with the remote one only downloading delta files. If you are in the directory pkgs make sure to add a trailing slash to archmobile in the rsync call.

Arch Build Repository

If you want to build your own packages using the build environment you want to access the Arch Build System which is maintained in a  Git repository.

$ git clone git://git.archmobile.org/archmobile.git abs

This command clones the remote repository and creates a local one in a folder named abs. If you want to get the changes we made just change to the abs directory and use git pull.

$ cd abs
$ git pull

If you spot a mistake or you've just made changes to the packages all users would benefit from you can always use the bug tracker to submit your patches, since write access is only available for developers.

Developer access

Binary Repository

Read and write access for developers is entirely handled by the utility tool repo-man. Do not use rsync directly!

A guide for using repo-man is available here: AM/Utilities/repo-man.

Arch Build Repository

Clone the remote ABS repository:

$ git clone git@git.archmobile.org:archmobile.git abs

Incorporate changes from the remote repository in the local one:

$ cd abs
$ git pull

Incorporate changes from the local repository in the remote one:

$ cd abs
$ git push

See also

  •  Official Git tutorial - A good place to start if you are not familiar with Git.
  • repo-man - Utility program to simplify synchronisation of the binary repository.