forked from kemitix/git-next
refactor: forgejo: explain todo warnings
This commit is contained in:
parent
2cdaf39c0f
commit
601e400300
1 changed files with 9 additions and 6 deletions
|
@ -19,38 +19,41 @@ impl git::ForgeLike for MockForge {
|
|||
_msg: &config::WebhookMessage,
|
||||
_expected: &config::WebhookAuth,
|
||||
) -> bool {
|
||||
todo!()
|
||||
todo!("MockForge::is_message_authorised")
|
||||
}
|
||||
|
||||
fn parse_webhook_body(
|
||||
&self,
|
||||
_body: &config::webhook::message::Body,
|
||||
) -> git::forge::webhook::Result<config::webhook::push::Push> {
|
||||
todo!()
|
||||
todo!("MockForge::parse_webhook_body")
|
||||
}
|
||||
|
||||
async fn commit_status(&self, _commit: &git::Commit) -> git::forge::commit::Status {
|
||||
todo!()
|
||||
todo!("MockForge::commit_status")
|
||||
}
|
||||
|
||||
async fn list_webhooks(
|
||||
&self,
|
||||
_webhook_url: &config::server::WebhookUrl,
|
||||
) -> git::forge::webhook::Result<Vec<config::WebhookId>> {
|
||||
todo!()
|
||||
todo!("MockForge::list_webhooks")
|
||||
}
|
||||
|
||||
async fn unregister_webhook(
|
||||
&self,
|
||||
_webhook_id: &config::WebhookId,
|
||||
) -> git::forge::webhook::Result<()> {
|
||||
todo!()
|
||||
todo!("MockForge::unregister_webhook")
|
||||
}
|
||||
|
||||
async fn register_webhook(
|
||||
&self,
|
||||
_webhook_url: &config::server::WebhookUrl,
|
||||
) -> git::forge::webhook::Result<config::RegisteredWebhook> {
|
||||
todo!()
|
||||
Ok(config::RegisteredWebhook::new(
|
||||
config::WebhookId::new(""),
|
||||
config::WebhookAuth::new(ulid::Ulid::new()),
|
||||
))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue