Differences Between Categories And Repositories

From RockWiki

Jump to: navigation, search

Categories and repositories are two independent ways to group packages.

Hives

Top-level subdirectories of package/ in the ROCK Linux sources are called hives. Each package belongs to a hive that contains its directory.

Hives are organizational units, e.g. there is one for packages from the KDE project and one for Java packages. Other methods of organisation are to group by maintainer (for example the clifford/ and avm/ repositories) or by type of application (the x11/ repository).

The public/ hive is a special case here. Packages go to this hive when its maintainer ceases work on it for one reason or another. The package becomes maintained by the ROCK Project which means that someone can have the package moved to his personal hive and became the main maintainer. It does not mean that maintenance is stopped entirely, but updates may come less frequently. So if you find a package in the public/ hive that you think should be updated more frequently you can pick up maintenance.

Having the same package name in different hives is not allowed. To easily find out which package is in which hive, just do

# cd /usr/src/rock-src/package/*/<package>

Repositories

Repositories are storage locations (typically accessible via ftp), used to hold the package sources. Information held in a hive tells the package installation script, where the repository is located that holds the package source, and provides appropriate authentication information.

Categories

Categories group packages by their functionality, e.g. the Linux kernel belongs to the base/kernel category, and gcc belongs to base/development. Packages can belong to more than one category.

The categories is what will be visible to the user when he is installing a new system or querying the package database (see also List of categories).

Personal tools