src/lib.rs:8 re-exports one adapter under a vendor-neutral name:
pub use syncode_runner_control_gitea::protocol;
Every other re-export in that file names what it is — engine, source_git, github_actions. This one promises neutrality the module does not have: it is
the Gitea Connect family, and src/cli/control.rs:9-17 confirms the scope by
mapping SynCode, Gitea and Forgejo onto GiteaFamily while rejecting GitHub and
GitLab explicitly.
The cost lands when a second control-plane adapter arrives. crate::protocol
cannot then mean both, and everything importing crate::protocol::GiteaFamily
(cli/control.rs, cli/daemon.rs, cli/register.rs) has to move anyway. Doing
it now is a rename; doing it later is a rename plus a migration of whatever grew
on top.
Suggested: pub use syncode_runner_control_gitea::protocol as gitea_protocol;
or expose it under control_gitea, matching how the crate is named.
`src/lib.rs:8` re-exports one adapter under a vendor-neutral name:
pub use syncode_runner_control_gitea::protocol;
Every other re-export in that file names what it is — `engine`, `source_git`,
`github_actions`. This one promises neutrality the module does not have: it is
the Gitea Connect family, and `src/cli/control.rs:9-17` confirms the scope by
mapping SynCode, Gitea and Forgejo onto `GiteaFamily` while rejecting GitHub and
GitLab explicitly.
The cost lands when a second control-plane adapter arrives. `crate::protocol`
cannot then mean both, and everything importing `crate::protocol::GiteaFamily`
(`cli/control.rs`, `cli/daemon.rs`, `cli/register.rs`) has to move anyway. Doing
it now is a rename; doing it later is a rename plus a migration of whatever grew
on top.
Suggested: `pub use syncode_runner_control_gitea::protocol as gitea_protocol;`
or expose it under `control_gitea`, matching how the crate is named.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
src/lib.rs:8re-exports one adapter under a vendor-neutral name:Every other re-export in that file names what it is —
engine,source_git,github_actions. This one promises neutrality the module does not have: it isthe Gitea Connect family, and
src/cli/control.rs:9-17confirms the scope bymapping SynCode, Gitea and Forgejo onto
GiteaFamilywhile rejecting GitHub andGitLab explicitly.
The cost lands when a second control-plane adapter arrives.
crate::protocolcannot then mean both, and everything importing
crate::protocol::GiteaFamily(
cli/control.rs,cli/daemon.rs,cli/register.rs) has to move anyway. Doingit now is a rename; doing it later is a rename plus a migration of whatever grew
on top.
Suggested:
pub use syncode_runner_control_gitea::protocol as gitea_protocol;or expose it under
control_gitea, matching how the crate is named.