Choose what to monitor¶
An organization is the unit you add: a group of repositories on one platform, synced together. Everything downstream follows from it. Nothing else in Ospobox does anything until at least one is being monitored, so this is the first task.
Adding an organization¶
Go to Dashboard > Add Organization. The form asks three things.
Which platform. All four are offered: GitHub, GitLab, Codeberg and SourceHut.
What to watch. One field takes either an owner or a single repository:
| What you type | What gets watched |
|---|---|
abilian |
Everything that owner publishes |
~sircmpwn |
The same, on SourceHut, where the owner is a user |
fastapi/fastapi |
That one repository alone |
| A pasted URL | Whichever of those the URL names |
Whether it is yours. A required choice between One of mine and One I am watching. is_owned is a scope boundary: no view mixes what you own with what you watch, so the answer decides where the organization appears. Watching is not on every plan; the form says so where it is unavailable.
Note
An organization you watch contributes public repositories and public activity only.
A single repository¶
Most of what you depend on belongs to an owner who publishes a great deal besides, so the field takes a repository and you can watch one library without adopting the rest.
The repository appears under its owner's name. The list says which of that owner's repositories you hold: adding another extends it, and adding the owner replaces it with everything they publish.
Private repositories¶
Private repositories need a credential whose account can see them. Go to Settings > Connected platforms. GitHub and GitLab can be connected over OAuth; all four accept a personal access token, which is the only authenticated path for Codeberg and SourceHut.
A token also raises the rate limit, which is what decides how long a first sync takes.
Syncing¶
On a schedule¶
Every organization is synced on the same six-hourly pass; there is no per-organization cadence, and none that varies with how active an organization is. Alerts are generated half an hour after each pass, so a repository that has stopped syncing still trips the inactivity rule.
On demand¶
From the organization's own page, click Sync Now. Or over the API:
curl -X POST http://localhost:8000/api/v1/organizations/{id}/sync \
-H "Authorization: Bearer $TOKEN"
Sync status¶
| Status | Meaning |
|---|---|
pending |
Added, waiting for the first pass |
syncing |
A pass is running |
synced |
The last pass finished |
error |
The last pass failed; the page names the error |
The organization page reports counts, the age of the sync mark, the last error, and "stalled" with a restart once that mark outlives the job timeout.
Editing an organization¶
The organization's Edit page covers what can be changed after the fact:
- An organization added as one you watch can become one you own.
- Its repository list is paginated, sortable and filterable.
- Stop monitoring lives here, at the foot of the page, with the number of records it will delete.
Warning
Removing an organization deletes everything collected for it: repository records, commit history, pull request and issue data, and health score history.
Settings that affect what you collect¶
There is no per-organization settings page. The settings that change how activity is read are account-wide, on the main Settings page:
- Internal contributor domains, the email domains that mark a contributor as internal. One per line; everyone else counts as external.
- Contributor classification, for how bots and agents are treated.
- Alert thresholds, all eleven of them, which decide what the rules fire on.
- Cost inputs, for the portfolio's effort figures.
Repository filters¶
Not implemented. Every repository an organization exposes is synced.
Archived repositories are still collected, but skipped when scores and alerts are computed. An archive flag states that the project is finished, which is a fact about the repository.
Platform coverage¶
| Platform | In the UI | OAuth | Notes |
|---|---|---|---|
| GitHub | Yes | Yes | Public and private organizations; falls back to the user endpoint |
| GitLab | Yes | Yes | gitlab.com and self-hosted |
| Codeberg | Yes | No | Gitea API; token or public access |
| SourceHut | Yes | No | Token required, including for public data |
Planned
OAuth will arrive for Codeberg and SourceHut. Both are usable today with a personal access token.
What an organization reports¶
| Metric | What it counts |
|---|---|
| Repositories | How many are monitored |
| Health score | The average across its scored repositories, leaving the unscored ones out of the division |
| Commits (30d) | Commits that landed in the last 30 days |
| Pull requests (30d) | Pull requests opened in the last 30 days |
| Contributors (30d) | Distinct commit authors in the last 30 days |
Comparing organizations¶
Dashboard > Compare puts up to four side by side: activity trends, health scores and the contributor breakdown. It answers "are we keeping up with them", which is the question an organization you only watch is usually added for.