Files
FinalToken/CONTRIBUTING.md
schmidt.florian c75446008c core: publish self-hosted weekly dashboard and Proxmox deployment (#20)
Reuse existing weekly/reset analysis in an authenticated dashboard and local official CLI workers. Add safe Proxmox installation and updates, account-attributed history, and MIT distribution. Provider credentials stay owned by each CLI.

Closes #19
2026-11-15 11:24:55 +01:00

2.0 KiB

Contributing

FinalToken is licensed under MIT. Contributions should preserve its main question: will the user's measured provider allowance last until the actual reset?

Read AGENTS.md, requirements and the relevant recorded decisions before changing behavior. Core owns forecasting and history calculations; reuse them in each host. New behavior needs deterministic tests. Use small synthetic fixtures, never real transcripts, rollout files, credential files or customer data.

Get the source

When anonymous repository access is enabled, these HTTPS commands need no account/token:

git clone https://git.finalfactory.de/FinalFactory/FinalToken.git
cd FinalToken

Update a clean checkout with:

git pull --ff-only

A public repository does not grant push permission. Authenticated Gitea maintenance commands are separate from read-only clone/pull. Do not embed passwords, tokens or an email/password in the remote URL. If anonymous access is still disabled, the host must first make it public.

Build and check

Use the .NET SDK selected by global.json and run commands from the repository root:

dotnet build FinalToken.slnx -c Release
dotnet test --solution FinalToken.slnx -c Release
python -B tools/docs/check_docs.py
python -B tools/check_public.py --history

For Proxmox tooling, also run python -B tools/proxmox/test_installer.py, python -B tools/proxmox/test_update.py, bash -n tools/proxmox.sh and bash -n tools/proxmox-update.sh. Web setup and Proxmox setup describe additional integration checks. State exactly what was exercised; mocked provider/Proxmox tests do not establish that live login, native publishing or CT creation worked.

Use the Gitea issue/branch/review workflow in AGENTS.md. Keep changes focused and preserve unrelated work. Contributions do not require granting an agent permission to push or publish; those actions still need explicit authorization.