Add missing standard files: LICENSE, .editorconfig, and a CI workflow #1
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
routewatch is missing several standard repo files that its siblings have. It already has
.golangci.yml,script/,Dockerfile, andREPO_POLICIES.md.Definition of done
LICENSEmatching the one used across our other repos (copy the exact license text from a sibling such assneak/vaultikorsneak/dnswatcher; if siblings disagree on license, STOP and ask rather than guessing)..editorconfigmatching our other Go repos (e.g.sneak/dnswatcher)..gitea/workflows/check.ymlthat runsscript/cibuildon push, mirroring a conformant repo (e.g.sneak/dnswatcher).make checkanddocker build .stay green.The finishing commit's title must end with
(closes #N)referencing this issue.Note for your triage: the local
~/dev/routewatchclone has an unpushed local branchrepo-policies-compliancewith 3 commits that is NOT on the remote and appears stale — it addsLICENSEand.editorconfigbut also deletes the entire currentscript/directory and gutsREPO_POLICIES.md/README.md, i.e. it was branched before the scripts-to-rule-them-all adoption that is now onmain. I did not touch it; it is at-risk (unpushed) but looks superseded by currentmain. Recommend discarding it after a look. Meanwhile I am doing this issue fresh off currentorigin/mainin an isolated worktree (addsLICENSE+.editorconfig+ the CI workflow without disturbing that branch).Two blockers found; needs your input before this can land green.
LICENSE is not determinable without a decision — our repos diverge:
sneak/dnswatcherhas NO license file;sneak/vaultikis MIT (Copyright (c) 2025 Jeffrey Paul sneak@sneak.berlin);sneak/netwatchis MIT (Copyright (c) 2026 @sneak (https://sneak.berlin)— different holder and year);sneak/secretis WTFPL. Which license and exact copyright line should routewatch carry?make checkis already RED onorigin/main, independent of this issue:TestRouteWatchLiveFeed(internal/routewatch/app_integration_test.go) connects to the live RIS BGP feed and the race detector reports a data race. Since the CI workflow this issue asks for runsscript/cibuild(=make check) on every push, adding it would make CI red on arrival until that test is fixed or de-flaked. That flaky/racy test probably deserves its own issue.The other two files are unambiguous and ready to drop in (
.editorconfigverbatim from dnswatcher;.gitea/workflows/check.ymlmirroring dnswatcher'sscript/cibuildworkflow). Once you decide the license and the racy test is handled, I'll land all three with(closes #1). Assigning to you.