The two layers of Update Stream config
Every Update Server setting a repository uses - stream mode, platform, feed format, feed visibility, download gating, licensing, and the branch-to-stream rules - is stored in an Update Stream config record. That record exists at two levels:
- Organization default - one record per org, stored against the owner with no repository attached. It is the baseline every repository in the org inherits.
- Per-repository override - an optional record attached to a single repository. When present, it supplies that repository's settings in place of the org default.
You edit the org default under Organization, then Settings, then Update Streams, and a repository's override under its own Settings, then Update Server.
Config precedence: repo override wins, then org, then built-in default
When MokoGIT needs a repository's effective config, it resolves in a fixed order:
- If the repository has its own override record, that record is used.
- Otherwise the organization default record is used.
- If neither exists, MokoGIT falls back to the built-in default (Joomla stream mode and the standard Joomla stream set).
The same repo-then-org order resolves the active stream set: a repo override that defines custom streams supplies them; otherwise the org's streams apply; otherwise the standard Joomla streams (stable, release-candidate, beta, alpha, development) are used. A repository therefore only needs an override when it genuinely differs from the org baseline - most repositories can run entirely on the org default.
Branch-to-stream rules and inheritance
Branch-to-stream rules map a release's source branch directly to a named update stream (for example, the stable branch to the stable stream, a testing branch to the beta stream). These rules resolve with their own inheritance control:
- A repository can opt out of inheritance. When it does, its own branch rules apply and the org rules are ignored for that repo.
- When the repository inherits (the default), the org-level branch rules apply if any are defined.
- If neither level defines rules, no branch mapping is applied and the release falls through to tag-based detection.
This lets an org publish one set of branch rules fleet-wide while still allowing a single repository to define its own mapping without disturbing the rest.
Release stream resolution: the three-tier precedence
When MokoGIT decides which update stream a specific release belongs to, it applies three mechanisms in strict order and stops at the first that answers:
- Manual release-to-stream map (highest priority). If a release has been manually pinned to a stream, that stream is used - unconditionally. This overrides everything below it.
- Branch-to-stream rule. If no manual pin exists, the release's source branch is matched (case-insensitively) against the effective branch rules. A match sets the stream.
- Tag-name auto-detection (fallback). With no pin and no branch match, MokoGIT infers the stream from the tag name - either the tag is literally a stream name (for example a tag named stable or development), or it carries a recognized suffix (a longest-match wins, so a tag ending in a release-candidate suffix lands on the release-candidate stream). A pre-release with no matching suffix lands on the first pre-release stream; otherwise the release defaults to stable.
The practical effect: tag naming is a convenient default, branch rules are a durable policy, and the manual map is the always-wins escape hatch for the one release that does not fit either.
The manual release-to-stream pin
The manual pin assigns one release to one named stream and takes precedence over tag-name detection. Use it whenever a release's tag does not imply the channel you want it on - for example, to promote a build tagged as a release candidate onto the stable stream without re-tagging, to hold a mis-tagged release off stable, or to place an out-of-band hotfix on a specific channel.
A pin is unique per release: assigning a stream to a release that already has a pin updates it in place rather than creating a second. The pin table is also the authoritative answer to "which release is on channel X right now" - the feed resolves the current release for a channel through the pin pointer rather than assuming the release tag equals the channel name. If more than one release is ever pinned to the same stream, the most recently pinned one wins.
Step-by-step
- Set your fleet-wide baseline in Organization, then Settings, then Update Streams: stream mode, platform, feed format, visibility, gating, and any org branch rules.
- For a repository that differs, open its Settings, then Update Server and save an override; leave it alone to inherit the org default.
- To bind branches to channels, add branch-to-stream rules at the org level, or opt a repository out of inheritance and define its own.
- To force a single release onto a channel regardless of its tag, pin it with a manual release-to-stream assignment; remove the pin to return that release to automatic detection.
Caveats
- A repository override replaces the org default for that repository; it does not merge field-by-field, so set the fields you need on the override.
- Branch-rule inheritance is all-or-nothing per repository: opting out uses the repo's rules exclusively, not the repo rules plus the org rules.
- The manual pin always beats branch rules and tag detection. If a release seems to be on the wrong channel, check for a stale pin first.
- Branch matching is case-insensitive and exact on the branch name; tag suffix matching prefers the longest matching suffix.
Get help
Open a support ticket or call (931) 820-0265.