Skip to content

Stop linking issues to upstream commetchat/commet (fixes #248)#249

Merged
Deniel9204 merged 1 commit into
mainfrom
fix/stop-upstream-issue-linking
Jul 3, 2026
Merged

Stop linking issues to upstream commetchat/commet (fixes #248)#249
Deniel9204 merged 1 commit into
mainfrom
fix/stop-upstream-issue-linking

Conversation

@Deniel9204

Copy link
Copy Markdown
Owner

Fixes #248 — upstream maintainer @Airyzz asked us to stop creating cross-reference notification spam in the upstream repo.

Cause

GitHub posts a "referenced" event into a target repo whenever an issue/PR/commit/comment contains the owner/repo#N slug-glued form or a full issue/PR URL. The roadmap automation did exactly that at scale: scripts/create_issues.py prefixed every roadmap reference with the upstream slug and posted it into each generated issue body, pinging dozens of upstream issues.

Changes

  • scripts/create_issues.py — drop the UPSTREAM = "commetchat/commet" prefix; emit inert backticked `#N` refs that never link upstream. (This script minted the offending issues.)
  • ROADMAP.md + CONTRIBUTING.md — add a "never link upstream" cross-reference policy; keep upstream tracker numbers as backticked context only.
  • In-app bug reporter (log page + fatal-error page) — file reports into this repo instead of upstream.
  • About page Source Code / License links — point at this repo.
  • De-link stray upstream refs in code/doc comments.

git grep -nE 'commetchat/commet#[0-9]+' returns nothing outside the backticked policy examples.

Not included (by design)

  • No git-history rewrite. The single commit that already fired a reference (a03ff39a) cannot have its notification retracted, and a rewrite would break shared history for no benefit. Fixing forward only.
  • The 73 already-posted issue/PR references are de-linked separately via the API (edit-in-place), not in this PR.

Verification

  • create_issues.py body generation verified to emit no commetchat/commet#N and no upstream URL.
  • Dart edits are pure URL-string swaps (no logic change) — please confirm with fvm flutter analyze on the changed files on the host.

Upstream maintainer asked us (issue #248) to stop creating cross-reference
notification spam in commetchat/commet. GitHub posts a "referenced" event into
the upstream repo whenever an issue/PR/commit/comment contains the
`commetchat/commet#N` slug-glued form or an upstream issue/PR URL.

Root cause + fixes:
- scripts/create_issues.py: drop the `UPSTREAM="commetchat/commet"` prefix that
  glued the slug onto each ref; emit inert backticked `#N` instead, so generated
  issue bodies never link upstream. This script minted the ~28 offending issues.
- ROADMAP.md + CONTRIBUTING.md: add a "never link upstream" cross-reference
  policy; keep upstream tracker numbers as backticked context only.
- In-app bug reporter (log page + fatal-error page): file reports into this fork
  (Deniel9204/MyCommet) instead of upstream.
- About page Source Code / License links: point at this fork.
- De-link stray upstream refs in code/doc comments.

Existing already-posted references are de-linked separately via the API, and no
git history is rewritten (the one already-fired commit reference cannot be
retracted; fixing forward only).
@Deniel9204 Deniel9204 merged commit 58c9397 into main Jul 3, 2026
9 checks passed
@Deniel9204 Deniel9204 deleted the fix/stop-upstream-issue-linking branch July 3, 2026 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Please do not link issues in this repo to upstream.

1 participant