Skip to content

ARX Repository Setup Manual

Overview

  • This manual helps you set up your own design repository that can use ARX.

  • This method creates a new design repository by taking a snapshot of an existing one.

  • A snapshot copies the top-level files and the ARX modules listed in rvx_version_info.xml.

  • Unlike a Git fork:

    • It copies only the current state, so it uses less space.

    • It has no connection to the original repository.

    • It remains usable even if the original repository is deleted.

Creating and Cloning Your Repository

  • Create your git repository on a hosting service or a self-managed server.

  • Names with generic meanings are strictly prohibited, as ARX features are deliberately disabled for repositories with such names.

  • The following are examples of prohibited names.

    • rvx_etri, rvx_platform, rvx_alpha, rvx_beta, ...

    • This list may be updated at any time without prior notice.

  • Clone your repository onto your local machine.

Cloning the Original Repository

Clone the original repository.
Install it by following the README.md included in the repository.
A snapshot includes only the modules installed in the original repository.

Taking a Snapshot into Your Repository

cd #(cloned directory of original repo)
make snapshot SNAPSHOT_DIR=#(cloned directory of your repo)

The top-level files and the ARX modules are copied.
A submodule is registered at the same commit as in the original repository.
A module downloaded by make install is copied but NOT staged.
The changes are staged, but NOT committed.

Check the changes with git status, and then commit and push them.

  • #(cloned directory of your repo) must NOT contain the original repository.

  • If a module is NOT found, a warning is printed and it is NOT included.

Including Every Module in Your Repository

Use VENDOR=1 to include every module in your repository,
so that it does not depend on the module repositories.

cd #(cloned directory of original repo)
make snapshot SNAPSHOT_DIR=#(cloned directory of your repo) VENDOR=1

Each module is copied into the directory without 'rvx_' (e.g. rvx_binary → binary).
rvx_install and rvx_util keep their names.
Every module is staged, and no submodule is used.
The commit of each module is recorded in 'rvx_version_lock.xml'.

If a module has uncommitted changes,
they are included, but NOT recorded in rvx_version_lock.xml.

Copying Platforms

The snapshot process does not copy the platforms from the original repository.
Please copy them manually if needed.

Before Working with Your Repository

Before working with your repository,
make sure to install it by following the README.md included in your repository.

Updating Your Repository

When the original repository is updated,
you can update yours using the same snapshot process.
The copied modules are replaced, and the deleted files are staged as deletions.
After the snapshot, run make update in your repository.