WIP: Consistent name scheme for Pleroma Plugs #7851

Draft
phnt wants to merge 8 commits from phnt/pleroma:plug-naming-consistency into develop
Owner

Checklist

  • Adding a changelog: In the changelog.d directory, create a file named <code>.<type>.
  • write config migrations for changed Plug namespaces
    • should only be RemoteIpPlug
  • Look for Plugs missing tests
### Checklist - [ ] Adding a changelog: In the `changelog.d` directory, create a file named `<code>.<type>`. <!-- `<code>` can be anything, but we recommend using a more or less unique identifier to avoid collisions, such as the branch name. `<type>` can be `add`, `change`, `remove`, `fix`, `security` or `skip`. `skip` is only used if there is no user-visible change in the PR (for example, only editing comments in the code). Otherwise, choose a type that corresponds to your change. In the file, write the changelog entry. For example, if a PR adds group functionality, we can create a file named `group.add` and write `Add group functionality` in it. If one changelog entry is not enough, you may add more. But that might mean you can split it into two PRs. Only use more than one changelog entry if you really need to (for example, when one change in the code fix two different bugs, or when refactoring). --> - [ ] write config migrations for changed Plug namespaces - should only be `RemoteIpPlug` - Look for Plugs missing tests
phnt force-pushed plug-naming-consistency from f7bb253fa2
Some checks are pending
ci/woodpecker/pr/woodpecker Pipeline is pending approval
to 0f1ca8bb0a
Some checks are pending
ci/woodpecker/pr/woodpecker Pipeline is pending approval
2026-03-08 18:35:10 +00:00
Compare
Owner

this should be a nice cleanup, thanks

this should be a nice cleanup, thanks
Some checks are pending
ci/woodpecker/pr/woodpecker Pipeline is pending approval
This pull request has changes conflicting with the target branch.
  • lib/pleroma/web/endpoint.ex
  • lib/pleroma/web/preload/providers/instance.ex
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u plug-naming-consistency:phnt-plug-naming-consistency
git switch phnt-plug-naming-consistency

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch develop
git merge --no-ff phnt-plug-naming-consistency
git switch phnt-plug-naming-consistency
git rebase develop
git switch develop
git merge --ff-only phnt-plug-naming-consistency
git switch phnt-plug-naming-consistency
git rebase develop
git switch develop
git merge --no-ff phnt-plug-naming-consistency
git switch develop
git merge --squash phnt-plug-naming-consistency
git switch develop
git merge --ff-only phnt-plug-naming-consistency
git switch develop
git merge phnt-plug-naming-consistency
git push origin develop
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pleroma/pleroma!7851
No description provided.