Skip to content

Comments

feat: add Forgejo CLI (fj) support for PR creation#126

Merged
steveyackey merged 3 commits intomainfrom
claude/add-forgejo-cli-support-BZqSl
Feb 10, 2026
Merged

feat: add Forgejo CLI (fj) support for PR creation#126
steveyackey merged 3 commits intomainfrom
claude/add-forgejo-cli-support-BZqSl

Conversation

@steveyackey
Copy link
Owner

Auto-detect the git hosting provider from the remote URL and use the
appropriate CLI tool (gh for GitHub, fj for Forgejo) when creating pull
requests. Detection checks for "forgejo" in the URL and recognizes
known Forgejo hosts like codeberg.org.

  • Rename infra/github.ts to infra/git-hosting.ts
  • Add detectHostingProvider() to inspect git remote URLs
  • Add createForjejoPullRequest() using fj pr create
  • Add isFjAvailable() and isHostingCliAvailable() helpers
  • Update imports and documentation

https://claude.ai/code/session_017HdBvdZtufdHPGnNYEPFB7

Auto-detect the git hosting provider from the remote URL and use the
appropriate CLI tool (gh for GitHub, fj for Forgejo) when creating pull
requests. Detection checks for "forgejo" in the URL and recognizes
known Forgejo hosts like codeberg.org.

- Rename infra/github.ts to infra/git-hosting.ts
- Add detectHostingProvider() to inspect git remote URLs
- Add createForjejoPullRequest() using fj pr create
- Add isFjAvailable() and isHostingCliAvailable() helpers
- Update imports and documentation

https://claude.ai/code/session_017HdBvdZtufdHPGnNYEPFB7
@cloudflare-workers-and-pages
Copy link

Deploying bloom-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3ce87ef
Status:🚫  Build failed.

View logs

The web app's eslint@9 dependency pulls in eslint-scope@8, which npm
hoists to root. Webpack 5 (from Docusaurus) then finds v8 instead of
its own v5 copy and fails with ERR_PACKAGE_PATH_NOT_EXPORTED on
'eslint-scope/lib/referencer'. Pin webpack's eslint-scope to 5.1.1.

https://claude.ai/code/session_017HdBvdZtufdHPGnNYEPFB7
@steveyackey steveyackey merged commit 3519121 into main Feb 10, 2026
4 checks passed
@steveyackey steveyackey deleted the claude/add-forgejo-cli-support-BZqSl branch February 10, 2026 02:33
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.

2 participants