Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explain WP-Forge and Clone-Forge authentication and interaction #4444

Open
zc-devs opened this issue Nov 23, 2024 · 0 comments
Open

Explain WP-Forge and Clone-Forge authentication and interaction #4444

zc-devs opened this issue Nov 23, 2024 · 0 comments
Labels
documentation docu & docs

Comments

@zc-devs
Copy link
Contributor

zc-devs commented Nov 23, 2024

Clear and concise description of the problem

There is a lot of magic in how WP interacts with Forge and the clone steps with Forge. Would be great to have the answers in the docs. Follow up of #4352 (comment).

Questions

  1. Why a Forge must support OAuth2?
    Reconsider Gogs support in next version #2161, Support for generic git servers #3591
  2. Why a Forge must support Webhooks? Could it work without Webhooks? What are the consequences?
    Support for generic git servers #3591, How do I realise my weird wish-setup #2651, Proposal for adding Radicle forge #2355 (reply in thread)
  3. What is going on a user registration under the hood? Doesn't WP store some info about a user? What info?
  4. What is going on a repository enabling in WP under the hood?
  5. How the user's permissions in Forge correlate with what a user can do in WP?
  6. On behalf what user WP would call Forge, executing a cron job for example? Do I have to create some service user in Forge and specify their user/password or token in WP?
    Gerrit Forge #4232
  7. What are the token, secret and hash fields in the DB users table? Are they refreshed? When?
    Failed to load branches on public repo #4244, Support github refresh tokens #3811, Unauthorized user tokens preventing builds from running when protected by SAML enforcement #3804 (comment)
  8. What if repo will be inactive for a couple of hours? Moth? Year?
    Failed to load branches on public repo #4244, https://codeberg.org/Codeberg-CI/feedback/issues/201
  9. What is going on a repository repairing? Does it change some Forge credentials in WP?
    Set repo user to repairing user when old user is missing #4128
  10. How does the cloning work under the hood? What is the netrc thing? What does this file contain: username/password or token(s)? Of what user?
    Replace NetrcOnlyTrusted with list of trusted plugins for netrc #2601, Allow to set custom trusted clone plugins #4352
  11. Is there some exceptions from 10?
    Bitbucket Datacenter / Server

Of course, feel free to add questions, link related issues/discussions and rename the title.

@zc-devs zc-devs added the feature add new functionality label Nov 23, 2024
@zc-devs zc-devs changed the title WIP: Docs: authentication, WP-Forge, Clone-Forge Docs: WP-Forge and Clone-Forge authentication and interactions Nov 23, 2024
@qwerty287 qwerty287 added documentation docu & docs and removed feature add new functionality labels Nov 28, 2024
@zc-devs zc-devs changed the title Docs: WP-Forge and Clone-Forge authentication and interactions Explain WP-Forge and Clone-Forge authentication and interaction Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation docu & docs
Projects
None yet
Development

No branches or pull requests

2 participants