Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .github/brand/camcore-repository-banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 0 additions & 6 deletions .github/brand/camcore-repository-banner.svg

This file was deleted.

32 changes: 29 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- CAMCORE-REPOSITORY-BRANDING:START -->
<p align="center">
<a href="https://camcore.au">
<img src=".github/brand/camcore-repository-banner.svg" alt="CamCore" width="520">
<img src=".github/brand/camcore-repository-banner.png" alt="CamCore" width="640">
</a>
</p>
<!-- CAMCORE-REPOSITORY-BRANDING:END -->
Expand Down Expand Up @@ -57,6 +57,19 @@ The downstream layer includes:

The application title stored in the existing Seerr configuration remains configurable and is not reset by the branded image.

### Where the CamCore changes live

The CamCore layer is a small set of files on top of upstream. These are the ones to check most carefully when merging upstream:

| Area | Files |
| --- | --- |
| Sign-in, navigation and page chrome | `src/components/Login/`, `src/components/Layout/`, `src/components/ResetPassword/`, `src/pages/_document.tsx`, `tailwind.config.js` |
| Browser, PWA and offline identity | `public/` logos and icons, `public/site.webmanifest`, `public/offline.html` |
| Email | `server/templates/email/_partials/camcore.pug`, each template's `html.pug` and `subject.pug`, `server/lib/email/index.ts`, `server/lib/notifications/agents/email.ts` |
| CI and deployment | `.github/workflows/camcore-image.yml`, `docs/camcore-deployment.md` |

CamCore also made small changes to two upstream workflows: `codeql.yml` excludes test files, and `trivy-scan.yml` signs in to GHCR so it can scan the private CamCore image.

## Email communication standard

Seerr email has been brought into the same communication system used by CamCore Operations support mail.
Expand Down Expand Up @@ -102,6 +115,19 @@ linux/amd64

All three tags are published only after the CamCore validation job succeeds. `latest` and `camcore` move with every build; production is pinned to the immutable `develop-<sha>` tag, which is also the rollback target. Production deployments are made under an approved Change in YouTrack.

The package is private. Production runs on Neptune, which has no GHCR login of its own, so images are pulled through Portainer (OPS-1531). The running version, rollback image and host paths are recorded in the Knowledge Base article *CMA-A-20 Seerr and Media Requests*.

## CI

The CamCore workflow is `CamCore Seerr Image` ([`.github/workflows/camcore-image.yml`](.github/workflows/camcore-image.yml)). It runs on pushes to `develop` and `agent/**` branches, and by hand. Changes that only touch Markdown files or `docs/` do not start it.

- **Validate CamCore fork** runs on every push. It compiles the CamCore email templates, then runs `pnpm format:check`, `pnpm lint`, `pnpm typecheck`, `pnpm test` and `pnpm build`.
- **Build and publish AMD64 image** runs only on `develop`, after validation passes, and publishes the three tags above.

Both jobs use GitHub-hosted runners. The upstream `Trivy Container Vulnerability Scan` workflow scans `ghcr.io/team-camcore/seerr:latest` every Friday and uploads the results to code scanning (OPS-1507).

The other workflows in `.github/workflows` are upstream's and are kept unchanged to make upstream merges easier.

## Updating the existing service

Seerr stores persistent application data under:
Expand Down Expand Up @@ -184,7 +210,7 @@ The CamCore fork should regularly incorporate security fixes and stable changes
When updating from upstream:

1. review upstream release notes and migration guidance;
2. merge upstream `develop` into the CamCore fork;
2. merge upstream `develop` into the CamCore fork with a merge commit, not a squash, so later syncs stay clean. The fork has no `upstream` remote, so fetch it directly: `git fetch https://github.com/seerr-team/seerr.git develop`, then `git merge FETCH_HEAD`;
3. resolve branding conflicts without removing upstream functionality;
4. pay particular attention to the small set of CamCore-modified UI and email files;
5. allow the CamCore validation workflow to complete;
Expand All @@ -208,7 +234,7 @@ For general Seerr application behaviour, first check the upstream project:

The underlying Seerr application is developed and maintained by the [Seerr team](https://github.com/seerr-team) and its open-source contributors.

CamCore branding, deployment workflow, email communication layer and operational documentation are maintained for the **CamCore — Cameron Family Secure Network** environment.
CamCore maintains the branding, deployment workflow, email communication layer and operational documentation in this fork.

CamCore does not claim ownership of the original Seerr project.

Expand Down
Loading