This repository is intended to become:
- the canonical platform codebase managed through Gitea at
git.hadox.org; - a public mirror on GitHub for visibility, reuse, and community contributions.
This document describes how to frame and operate the project for that dual-host model.
Recommended as the operational source of truth for:
- protected branches;
- CI/CD integration with Drone;
- deploy secrets;
- internal operator workflow;
- release approvals that affect production.
Recommended as the public-facing mirror for:
- discovery;
- public issues and discussions, if desired;
- external pull requests;
- public release notes and tags;
- ecosystem visibility.
Use one of these patterns explicitly and document it in both remotes:
- all merges happen in Gitea;
- GitHub mirrors commits and tags;
- GitHub PRs are either disabled or treated as contribution intake that is replayed in Gitea.
- issues and PRs may be accepted in both places;
- maintainers decide merge location;
- release tags are always cut from the Gitea canonical branch;
- GitHub is updated immediately after merges.
For this project, the most professional model is a hybrid:
- GitHub
mainfor public collaboration; - Gitea for operational deployment authority;
- a dedicated deployment branch in Gitea so production promotion is separate from public collaboration traffic.
Before broad public promotion, add or confirm:
- a license file;
- a code of conduct if public community contributions are expected;
- issue and pull request templates;
- a security disclosure policy;
- a clear statement of which remote is canonical;
- release tags and versioning policy;
- maintainer contact points.
The public README should answer:
- what the platform is;
- who it is for;
- what problems it solves;
- how to run it locally;
- what its current limitations are;
- where the detailed technical docs live;
- how to contribute.
This repository now includes the baseline README, contributing guidance, license, security policy, governance notes, and collaboration templates. Release maintainers should keep those files aligned with actual repository policy as the project evolves.
Recommended baseline:
- default branch:
main - protected branch:
main - deployment branch in Gitea:
deploy/eva-hadox-org - short-lived feature branches
- tags for releaseable states
Recommended release naming:
v0.1.0v0.2.0v1.0.0
Until the platform stabilizes, semantic versioning can still be used even if releases are pre-1.0.
For each release, include:
- platform capabilities added or changed;
- any API changes;
- data model or migration impact;
- operational or deployment changes;
- known limitations;
- upgrade notes if runtime compatibility changed.
The current platform is not ready for unrestricted public write access.
Reasons:
- no authentication;
- no role separation;
- no moderation queue;
- writable upload and term-edit endpoints;
- local JSON persistence without multi-user controls.
For a public open source repository, that is acceptable. For a public internet deployment, it is not enough by itself.
Position the project as:
- an open research infrastructure platform;
- a collaborative historical corpus exploration tool;
- a base for community curation and analysis workflows;
- an actively evolving platform with clear next steps.
Avoid framing it as:
- a clinical decision tool;
- a medical diagnostic system;
- a secure multi-tenant archive platform.
- protect
mainin GitHub and the deployment branch in Gitea; - add tests for API and analysis logic;
- add authentication before any wide public write-enabled deployment;
- add export/import and moderation tooling;
- define public issue labels and milestones;
- document and enforce the promotion flow to production.
If Gitea is canonical, automate mirroring from Gitea to GitHub after merge to main.
Keep the following synchronized:
- branches intended for public visibility;
- annotated tags;
- release notes;
- changelog entries;
- README and docs.
- repository is licensed;
- secrets are not committed;
runtime-data/is excluded and absent from version control;- docs are accurate and complete;
- CI is green on
main; - deploy path is documented;
- contributors know whether to use Gitea or GitHub for PRs;
- security posture is documented honestly.
- maintainer or security contact address is published.