Skip to content

Normalize forge statuses#121

Open
abhinavgautam01 wants to merge 1 commit into
git-pkgs:mainfrom
abhinavgautam01:feat/normalize-statuses
Open

Normalize forge statuses#121
abhinavgautam01 wants to merge 1 commit into
git-pkgs:mainfrom
abhinavgautam01:feat/normalize-statuses

Conversation

@abhinavgautam01

Copy link
Copy Markdown

closes #17

Summary

Adds shared normalized status enum types across forge implementations.

This includes normalized types for:

  • issue states
  • pull request statuses
  • CI run/job statuses and conclusions
  • commit status states
  • collaborator access levels

Also updates GitHub, GitLab, Gitea, and Bitbucket adapters to map forge-specific values into the shared enums, so callers do not need to handle each forge’s raw status names.

Testing

env GOCACHE=/private/tmp/forge-gocache go test ./...
git diff --check

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.

Normalize statuses across forges

1 participant