Skip to content

Commit

Permalink
Fix release contributions by removing explicit author link creation (#…
Browse files Browse the repository at this point in the history
…2112)

* Remove all explicit linking of GitHub usernames from existing changelogs

* Do not pre-render GitHub usernames in changelog/releases
  • Loading branch information
AetherUnbound authored May 16, 2023
1 parent 3c0ebee commit 5d07959
Show file tree
Hide file tree
Showing 18 changed files with 311 additions and 615 deletions.
2 changes: 1 addition & 1 deletion .github/release-drafter-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ categories:
- title: Bug Fixes
label: "🛠 goal: fix"
# Identical to the default except it uses `-` instead of `*` to match our Markdown linter
change-template: "- $TITLE ([#$NUMBER](https://github.com/WordPress/openverse/pull/$NUMBER)) by [@$AUTHOR](https://github.com/$AUTHOR)"
change-template: "- $TITLE ([#$NUMBER](https://github.com/WordPress/openverse/pull/$NUMBER)) by @$AUTHOR"
exclude-labels:
- "skip-changelog"
include-labels:
Expand Down
2 changes: 1 addition & 1 deletion .github/release-drafter-catalog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ categories:
- title: Bug Fixes
label: "🛠 goal: fix"
# Identical to the default except it uses `-` instead of `*` to match our Markdown linter
change-template: "- $TITLE ([#$NUMBER](https://github.com/WordPress/openverse/pull/$NUMBER)) by [@$AUTHOR](https://github.com/$AUTHOR)"
change-template: "- $TITLE ([#$NUMBER](https://github.com/WordPress/openverse/pull/$NUMBER)) by @$AUTHOR"
exclude-labels:
- "skip-changelog"
include-labels:
Expand Down
2 changes: 1 addition & 1 deletion .github/release-drafter-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ categories:
- title: Bug Fixes
label: "🛠 goal: fix"
# Identical to the default except it uses `-` instead of `*` to match our Markdown linter
change-template: "- $TITLE ([#$NUMBER](https://github.com/WordPress/openverse/pull/$NUMBER)) by [@$AUTHOR](https://github.com/$AUTHOR)"
change-template: "- $TITLE ([#$NUMBER](https://github.com/WordPress/openverse/pull/$NUMBER)) by @$AUTHOR"
exclude-labels:
- "skip-changelog"
include-labels:
Expand Down
2 changes: 1 addition & 1 deletion .github/release-drafter-ingestion_server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ categories:
- title: Bug Fixes
label: "🛠 goal: fix"
# Identical to the default except it uses `-` instead of `*` to match our Markdown linter
change-template: "- $TITLE ([#$NUMBER](https://github.com/WordPress/openverse/pull/$NUMBER)) by [@$AUTHOR](https://github.com/$AUTHOR)"
change-template: "- $TITLE ([#$NUMBER](https://github.com/WordPress/openverse/pull/$NUMBER)) by @$AUTHOR"
exclude-labels:
- "skip-changelog"
include-labels:
Expand Down
4 changes: 0 additions & 4 deletions documentation/_ext/link_usernames.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@ def _replace_username(match: re.Match) -> str:


def replace_username_references(app, docname, source):
# Changelogs are already created with the usernames as references, so these files
# should just be skipped entirely
if docname.startswith("changelogs"):
return
logger.debug(f"In file: {docname}")
source[0] = GITHUB_USERNAME_REGEX.sub(_replace_username, source[0])

Expand Down
131 changes: 44 additions & 87 deletions documentation/changelogs/api/2023.04.12.23.29.59.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,143 +3,100 @@
## New Features

- Set rate-limit headers on each response
([#775](https://github.com/WordPress/openverse/pull/775))
[@dhruvkb](https://github.com/dhruvkb)
([#775](https://github.com/WordPress/openverse/pull/775)) @dhruvkb

## Improvements

- Fix issues in the workflow simplifications of #1054
([#1058](https://github.com/WordPress/openverse/pull/1058))
[@dhruvkb](https://github.com/dhruvkb)
([#1058](https://github.com/WordPress/openverse/pull/1058)) @dhruvkb
- Simplify CI + CD workflow
([#1054](https://github.com/WordPress/openverse/pull/1054))
[@dhruvkb](https://github.com/dhruvkb)
([#1054](https://github.com/WordPress/openverse/pull/1054)) @dhruvkb
- Improve documentation for partial stack setups
([#974](https://github.com/WordPress/openverse/pull/974))
[@dhruvkb](https://github.com/dhruvkb)
([#974](https://github.com/WordPress/openverse/pull/974)) @dhruvkb
- Use upstream thumbnail if available
([#898](https://github.com/WordPress/openverse/pull/898))
[@krysal](https://github.com/krysal)
([#898](https://github.com/WordPress/openverse/pull/898)) @krysal
- Remove XML from the API
([#986](https://github.com/WordPress/openverse/pull/986))
[@obulat](https://github.com/obulat)
([#986](https://github.com/WordPress/openverse/pull/986)) @obulat
- Update URLs to point to docs.openverse.org
([#991](https://github.com/WordPress/openverse/pull/991))
[@dhruvkb](https://github.com/dhruvkb)
([#991](https://github.com/WordPress/openverse/pull/991)) @dhruvkb
- Absorb `build-nginx` job into `build-images` job
([#944](https://github.com/WordPress/openverse/pull/944))
[@dhruvkb](https://github.com/dhruvkb)
([#944](https://github.com/WordPress/openverse/pull/944)) @dhruvkb

## Internal Improvements

- Change deployment workflow name from colon to dash
([#1174](https://github.com/WordPress/openverse/pull/1174))
[@AetherUnbound](https://github.com/AetherUnbound)
([#1174](https://github.com/WordPress/openverse/pull/1174)) @AetherUnbound
- Safely call create-or-update-comment when dealing with forks
([#997](https://github.com/WordPress/openverse/pull/997))
[@sarayourfriend](https://github.com/sarayourfriend)
([#997](https://github.com/WordPress/openverse/pull/997)) @sarayourfriend
- Update nginx Docker tag to v1.23.4
([#1108](https://github.com/WordPress/openverse/pull/1108))
[@renovate](https://github.com/renovate)
([#1108](https://github.com/WordPress/openverse/pull/1108)) @renovate
- Use context manager for multiprocessing in the ingestion server
([#1057](https://github.com/WordPress/openverse/pull/1057))
[@obulat](https://github.com/obulat)
([#1057](https://github.com/WordPress/openverse/pull/1057)) @obulat
- Bump boto3 from 1.26.99 to 1.26.105 in /api
([#1133](https://github.com/WordPress/openverse/pull/1133))
[@dependabot](https://github.com/dependabot)
([#1133](https://github.com/WordPress/openverse/pull/1133)) @dependabot
- Add env var to reporting job
([#1131](https://github.com/WordPress/openverse/pull/1131))
[@dhruvkb](https://github.com/dhruvkb)
([#1131](https://github.com/WordPress/openverse/pull/1131)) @dhruvkb
- Add a Slack notification job to the CI + CD workflow
([#1066](https://github.com/WordPress/openverse/pull/1066))
[@dhruvkb](https://github.com/dhruvkb)
([#1066](https://github.com/WordPress/openverse/pull/1066)) @dhruvkb
- Bump pillow from 9.4.0 to 9.5.0 in /api
([#1115](https://github.com/WordPress/openverse/pull/1115))
[@dependabot](https://github.com/dependabot)
([#1115](https://github.com/WordPress/openverse/pull/1115)) @dependabot
- Bump sentry-sdk from 1.17.0 to 1.18.0 in /api
([#1112](https://github.com/WordPress/openverse/pull/1112))
[@dependabot](https://github.com/dependabot)
([#1112](https://github.com/WordPress/openverse/pull/1112)) @dependabot
- Bump orjson from 3.8.8 to 3.8.9 in /api
([#1114](https://github.com/WordPress/openverse/pull/1114))
[@dependabot](https://github.com/dependabot)
([#1114](https://github.com/WordPress/openverse/pull/1114)) @dependabot
- Bump ipython from 8.11.0 to 8.12.0 in /api
([#1113](https://github.com/WordPress/openverse/pull/1113))
[@dependabot](https://github.com/dependabot)
([#1113](https://github.com/WordPress/openverse/pull/1113)) @dependabot
- Pass actor for staging deploys with the `f` flag
([#1104](https://github.com/WordPress/openverse/pull/1104))
[@dhruvkb](https://github.com/dhruvkb)
([#1104](https://github.com/WordPress/openverse/pull/1104)) @dhruvkb
- Dispatch workflows instead of regular reuse to show deployment runs
([#1034](https://github.com/WordPress/openverse/pull/1034))
[@sarayourfriend](https://github.com/sarayourfriend)
([#1034](https://github.com/WordPress/openverse/pull/1034)) @sarayourfriend
- Restore Django Admin views
([#1065](https://github.com/WordPress/openverse/pull/1065))
[@krysal](https://github.com/krysal)
([#1065](https://github.com/WordPress/openverse/pull/1065)) @krysal
- Save cleaned up data during the cleanup step
([#904](https://github.com/WordPress/openverse/pull/904))
[@obulat](https://github.com/obulat)
([#904](https://github.com/WordPress/openverse/pull/904)) @obulat
- Defer the `tags_list` for media models
([#1029](https://github.com/WordPress/openverse/pull/1029))
[@obulat](https://github.com/obulat)
([#1029](https://github.com/WordPress/openverse/pull/1029)) @obulat
- Bump boto3 from 1.26.97 to 1.26.99 in /api
([#1042](https://github.com/WordPress/openverse/pull/1042))
[@dependabot](https://github.com/dependabot)
([#1042](https://github.com/WordPress/openverse/pull/1042)) @dependabot
- Add tag app release action
([#987](https://github.com/WordPress/openverse/pull/987))
[@sarayourfriend](https://github.com/sarayourfriend)
([#987](https://github.com/WordPress/openverse/pull/987)) @sarayourfriend
- Add CNAME in other use of `actions-gh-pages`
([#1006](https://github.com/WordPress/openverse/pull/1006))
[@dhruvkb](https://github.com/dhruvkb)
([#1006](https://github.com/WordPress/openverse/pull/1006)) @dhruvkb
- Fix local build of the API and add its `recreate` just command
([#994](https://github.com/WordPress/openverse/pull/994))
[@krysal](https://github.com/krysal)
([#994](https://github.com/WordPress/openverse/pull/994)) @krysal
- Skip build and publish job if nothing to do
([#977](https://github.com/WordPress/openverse/pull/977))
[@dhruvkb](https://github.com/dhruvkb)
([#977](https://github.com/WordPress/openverse/pull/977)) @dhruvkb

## Bug Fixes

- Change deployment workflow name from colon to dash
([#1174](https://github.com/WordPress/openverse/pull/1174))
[@AetherUnbound](https://github.com/AetherUnbound)
([#1174](https://github.com/WordPress/openverse/pull/1174)) @AetherUnbound
- Safely call create-or-update-comment when dealing with forks
([#997](https://github.com/WordPress/openverse/pull/997))
[@sarayourfriend](https://github.com/sarayourfriend)
([#997](https://github.com/WordPress/openverse/pull/997)) @sarayourfriend
- Pass `GITHUB_TOKEN` to deploy docs
([#1134](https://github.com/WordPress/openverse/pull/1134))
[@dhruvkb](https://github.com/dhruvkb)
([#1134](https://github.com/WordPress/openverse/pull/1134)) @dhruvkb
- Add `SLACK_WEBHOOK_TYPE` env var to reporting job
([#1131](https://github.com/WordPress/openverse/pull/1131))
[@dhruvkb](https://github.com/dhruvkb)
([#1131](https://github.com/WordPress/openverse/pull/1131)) @dhruvkb
- Pass actor for staging deploys with the flag
([#1104](https://github.com/WordPress/openverse/pull/1104))
[@dhruvkb](https://github.com/dhruvkb)
([#1104](https://github.com/WordPress/openverse/pull/1104)) @dhruvkb
- Add to GitHub CLI step
([#1103](https://github.com/WordPress/openverse/pull/1103))
[@dhruvkb](https://github.com/dhruvkb)
([#1103](https://github.com/WordPress/openverse/pull/1103)) @dhruvkb
- Dispatch workflows instead of regular reuse to show deployment runs
([#1034](https://github.com/WordPress/openverse/pull/1034))
[@sarayourfriend](https://github.com/sarayourfriend)
([#1034](https://github.com/WordPress/openverse/pull/1034)) @sarayourfriend
- Fix typo in docs building on
([#1067](https://github.com/WordPress/openverse/pull/1067))
[@dhruvkb](https://github.com/dhruvkb)
([#1067](https://github.com/WordPress/openverse/pull/1067)) @dhruvkb
- Add tag app release action
([#987](https://github.com/WordPress/openverse/pull/987))
[@sarayourfriend](https://github.com/sarayourfriend)
([#987](https://github.com/WordPress/openverse/pull/987)) @sarayourfriend
- Add CNAME in other use of
([#1006](https://github.com/WordPress/openverse/pull/1006))
[@dhruvkb](https://github.com/dhruvkb)
([#1006](https://github.com/WordPress/openverse/pull/1006)) @dhruvkb
- Add docs CNAME to config
([#1005](https://github.com/WordPress/openverse/pull/1005))
[@zackkrida](https://github.com/zackkrida)
([#1005](https://github.com/WordPress/openverse/pull/1005)) @zackkrida
- Fix diagrams with transparent background in README.md of "ingestion_server"
for dark mode. ([#1000](https://github.com/WordPress/openverse/pull/1000))
[@AdarshRawat1](https://github.com/AdarshRawat1)
@AdarshRawat1
- Fix local build of the API and add its `recreate` just command
([#994](https://github.com/WordPress/openverse/pull/994))
[@krysal](https://github.com/krysal)
([#994](https://github.com/WordPress/openverse/pull/994)) @krysal
- Treat any non 200 status as failure for thingiverse
([#940](https://github.com/WordPress/openverse/pull/940))
[@sarayourfriend](https://github.com/sarayourfriend)
([#940](https://github.com/WordPress/openverse/pull/940)) @sarayourfriend
- Skip build and publish job if nothing to do
([#977](https://github.com/WordPress/openverse/pull/977))
[@dhruvkb](https://github.com/dhruvkb)
([#977](https://github.com/WordPress/openverse/pull/977)) @dhruvkb
15 changes: 5 additions & 10 deletions documentation/changelogs/api/2023.04.18.15.27.15.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,21 @@
## New Features

- Implementation Plan: Filtering and designating sensitive results in the API
([#996](https://github.com/WordPress/openverse/pull/996))
[@sarayourfriend](https://github.com/sarayourfriend)
([#996](https://github.com/WordPress/openverse/pull/996)) @sarayourfriend

## Improvements

- Fix typo in github link
([#1802](https://github.com/WordPress/openverse/pull/1802))
[@capitan-beto](https://github.com/capitan-beto)
([#1802](https://github.com/WordPress/openverse/pull/1802)) @capitan-beto

## Internal Improvements

- Bump sentry-sdk from 1.18.0 to 1.19.1 in /api
([#1214](https://github.com/WordPress/openverse/pull/1214))
[@dependabot](https://github.com/dependabot)
([#1214](https://github.com/WordPress/openverse/pull/1214)) @dependabot
- Use `pytest.ini` and add `pytest-sugar`
([#1227](https://github.com/WordPress/openverse/pull/1227))
[@dhruvkb](https://github.com/dhruvkb)
([#1227](https://github.com/WordPress/openverse/pull/1227)) @dhruvkb

## Bug Fixes

- Only use upstream thumbs with photon for SMK, for now
([#1812](https://github.com/WordPress/openverse/pull/1812))
[@zackkrida](https://github.com/zackkrida)
([#1812](https://github.com/WordPress/openverse/pull/1812)) @zackkrida
12 changes: 4 additions & 8 deletions documentation/changelogs/api/2023.04.19.00.01.39.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,16 @@
## New Features

- Publish changelog for api-2023.04.18.15.27.15
([#1813](https://github.com/WordPress/openverse/pull/1813))
[@openverse-bot](https://github.com/openverse-bot)
([#1813](https://github.com/WordPress/openverse/pull/1813)) @openverse-bot

## Improvements

- Treat 403s from Flickr as dead links
([#1201](https://github.com/WordPress/openverse/pull/1201))
[@sarayourfriend](https://github.com/sarayourfriend)
([#1201](https://github.com/WordPress/openverse/pull/1201)) @sarayourfriend

## Bug Fixes

- Increase photon request timeout
([#1809](https://github.com/WordPress/openverse/pull/1809))
[@sarayourfriend](https://github.com/sarayourfriend)
([#1809](https://github.com/WordPress/openverse/pull/1809)) @sarayourfriend
- Update how `psycopg2` errors are referenced
([#1807](https://github.com/WordPress/openverse/pull/1807))
[@dhruvkb](https://github.com/dhruvkb)
([#1807](https://github.com/WordPress/openverse/pull/1807)) @dhruvkb
24 changes: 8 additions & 16 deletions documentation/changelogs/api/2023.04.23.23.22.14.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,24 @@
## Improvements

- Update Python code to use Python 3.11
([#1852](https://github.com/WordPress/openverse/pull/1852))
[@dhruvkb](https://github.com/dhruvkb)
([#1852](https://github.com/WordPress/openverse/pull/1852)) @dhruvkb
- Deduce Python/Node.js/pnpm version in Docker images
([#1225](https://github.com/WordPress/openverse/pull/1225))
[@dhruvkb](https://github.com/dhruvkb)
([#1225](https://github.com/WordPress/openverse/pull/1225)) @dhruvkb
- Add a `just ps` recipe for displaying service ports
([#1160](https://github.com/WordPress/openverse/pull/1160))
[@AetherUnbound](https://github.com/AetherUnbound)
([#1160](https://github.com/WordPress/openverse/pull/1160)) @AetherUnbound

## Internal Improvements

- Dispatch deployment workflows from infrastructure repository
([#1865](https://github.com/WordPress/openverse/pull/1865))
[@sarayourfriend](https://github.com/sarayourfriend)
([#1865](https://github.com/WordPress/openverse/pull/1865)) @sarayourfriend
- Deduce Python/Node.js/pnpm version in Docker images
([#1225](https://github.com/WordPress/openverse/pull/1225))
[@dhruvkb](https://github.com/dhruvkb)
([#1225](https://github.com/WordPress/openverse/pull/1225)) @dhruvkb
- Add a `just ps` recipe for displaying service ports
([#1160](https://github.com/WordPress/openverse/pull/1160))
[@AetherUnbound](https://github.com/AetherUnbound)
([#1160](https://github.com/WordPress/openverse/pull/1160)) @AetherUnbound
- Fix `pgcli` just commands for the api and catalog
([#1822](https://github.com/WordPress/openverse/pull/1822))
[@krysal](https://github.com/krysal)
([#1822](https://github.com/WordPress/openverse/pull/1822)) @krysal

## Bug Fixes

- Fix `pgcli` just commands for the api and catalog
([#1822](https://github.com/WordPress/openverse/pull/1822))
[@krysal](https://github.com/krysal)
([#1822](https://github.com/WordPress/openverse/pull/1822)) @krysal
12 changes: 4 additions & 8 deletions documentation/changelogs/api/2023.04.27.07.29.23.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,13 @@
## Improvements

- Avoid the need to specify each image individually in `load-img`
([#1855](https://github.com/WordPress/openverse/pull/1855))
[@dhruvkb](https://github.com/dhruvkb)
([#1855](https://github.com/WordPress/openverse/pull/1855)) @dhruvkb

## Internal Improvements

- Remove `tags_list` from models and ingestion_server
([#956](https://github.com/WordPress/openverse/pull/956))
[@obulat](https://github.com/obulat)
([#956](https://github.com/WordPress/openverse/pull/956)) @obulat
- Bump orjson from 3.8.9 to 3.8.10 in /api
([#1218](https://github.com/WordPress/openverse/pull/1218))
[@dependabot](https://github.com/dependabot)
([#1218](https://github.com/WordPress/openverse/pull/1218)) @dependabot
- Bump psycopg2 from 2.9.5 to 2.9.6 in /api
([#1219](https://github.com/WordPress/openverse/pull/1219))
[@dependabot](https://github.com/dependabot)
([#1219](https://github.com/WordPress/openverse/pull/1219)) @dependabot
Loading

0 comments on commit 5d07959

Please sign in to comment.