# fossil

> For the complete documentation index, see [llms.txt](https://docs.ringleader.dev/llms.txt).


> The Fossil version control system, from the distribution or as a pinned official release.


Installs Fossil (`fossil`), the distributed version control system with a built-in wiki,
tickets and web interface.

```yaml
devtools:
  - name: fossil
```

With no `version`, Ringleader installs the distribution's `fossil` package. Set a version
when you need a specific release.

## Version behavior

| `version` | Result |
|-----------|--------|
| omitted | the distribution's `fossil` package, with `apt` or `apk` |
| `2.28` | the official Linux release archive for 2.28, installed to `/usr/local/bin` |
| `v2.28` | normalized to `2.28` |

A pinned release comes from Fossil's own download site and is available only for x86_64
workstations on Debian and Ubuntu. On an arm64 workstation the step fails with
`unsupported arch`. On Alpine a pinned version fails the step with a message that says to
drop the version.

For 2.27 and 2.28, Ringleader checks the archive against a SHA-256 digest before installing
it. Fossil does not publish digests, so another release installs without that check.

Changing `version` takes effect on the next setup pass. A pinned release replaces whatever
`fossil` release is installed, because the recipe compares the installed version with the
one you asked for.

## Updates

Without a `version`, Fossil comes from the distribution's packages, so it moves with the
[operating system updates](https://docs.ringleader.dev/reference/tools/devtools/#operating-system-updates) the workstation applies. An upstream release you pinned
with `version` stays on it.

## Return to the distribution package

Removing `version` from an entry that had one switches the workstation back to the
distribution's package. The pinned binary sits in `/usr/local/bin`, ahead of the
distribution's `/usr/bin/fossil` on PATH, so Ringleader removes it. It removes only a binary
it installed itself. If `/usr/local/bin/fossil` was put there some other way, the step fails
and asks you to remove that file by hand.

## Example

```yaml
devtools:
  - name: fossil
    version: "2.28"
```

## Notes

- The binary is on the PATH of both root and the login user.
- Works on Debian, Ubuntu, and Alpine without a version. A pinned version works on x86_64
  Debian and Ubuntu only.

