Portage trees

A Portage tree is Gentoo’s collection of recipes (ebuilds): one for each of about 20,000 packages. Each says where the source code comes from, how to configure and compile it, and what else it needs. The tree also decides which version of every package you get: the tree of one day gives the versions of that day.

Use a public tree

kaji provides public trees, such as kaji/gentoo-old (an older snapshot of Gentoo) and kaji/gentoo. In a package build, choose one under Portage tree. You do not need to make your own.

Make your own

Make one when you want another day, a fork, or a private collection of ebuilds. Builds > Portage trees, then +.

Field

What it is

Sync type

How it is fetched: git, rsync, or squashfs (an image).

Git URL and Git ref

Shown only for git: the repository, and the branch or tag. For Gentoo, https://github.com/gentoo-mirror/gentoo.git.

Source

For rsync and squashfs: where to fetch from.

Credential

To clone a private repository: an SSH key, an access token or a login.

Sync daily

Fetch it again every day, so it stays current.

Browse

Keep a copy kaji can search, so the forms suggest package names as you type.

The phase goes Syncing, then Ready. That takes a minute or more: it is the whole of Gentoo’s tree.

Sync now

A tree’s page has Sync now, which fetches it again immediately.