chore: rename gitea-projects-api → gitea-local-fork
The fork tracked by this derivation is no longer a single-feature
branch ("feat/projects-api") but the integration tip of Oleks's
local gitea fork ($HOME/projects/gitea, branch oleks/main), carrying
upstream/main + PR #37518 Projects REST API + a CI gate + fork-local
commits. Reflect the broader scope in the package and attribute name,
and document the local fork path + branch in the derivation header.
This commit is contained in:
@@ -16,14 +16,25 @@
|
||||
sqliteSupport ? true,
|
||||
}:
|
||||
|
||||
# Custom Gitea built from oleks/gitea feat/projects-api — upstream PR #37518
|
||||
# (Projects REST API) on top of upstream main.
|
||||
# Custom Gitea built from Oleks's local fork.
|
||||
#
|
||||
# Fork repo (local working copy): /home/oleks/projects/gitea
|
||||
# Fork remote: https://git.oleks.space/oleks/gitea.git
|
||||
# Tracked branch: oleks/main (the fork's integration tip;
|
||||
# formerly `feat/projects-api`, renamed
|
||||
# 2026-05-13. Carries upstream/main +
|
||||
# PR #37518 Projects REST API + a few
|
||||
# fork-local commits.)
|
||||
# Pin discipline: nix-update bumps `rev` and tags the fork
|
||||
# at `v<version>` (see passthru.updateScript
|
||||
# below) so the rev stays reachable even
|
||||
# after future force-pushes / rebases.
|
||||
#
|
||||
# Mirrors the structure of nixpkgs' gitea derivation (frontend pnpm sub-drv
|
||||
# + buildGoModule with go:embed of public/) but with our fork as src.
|
||||
|
||||
let
|
||||
pname = "gitea-projects-api";
|
||||
pname = "gitea-local-fork";
|
||||
version = "1.26.0-unstable-2026-05-12";
|
||||
|
||||
src = fetchgit {
|
||||
@@ -140,9 +151,9 @@ buildGoModule {
|
||||
inherit (frontend) pnpmDeps;
|
||||
|
||||
# Custom update flow: refresh hashes + retag the gitea fork + push.
|
||||
# Invoke with `nix-update --use-update-script gitea-projects-api` or
|
||||
# Invoke with `nix-update --use-update-script gitea-local-fork` or
|
||||
# `just gitea-update` (which passes `--use-update-script`).
|
||||
updateScript = ../scripts/update-gitea-projects-api.sh;
|
||||
updateScript = ../scripts/update-gitea-local-fork.sh;
|
||||
};
|
||||
|
||||
meta = {
|
||||
Reference in New Issue
Block a user