diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2023-12-12 00:00:00 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2023-12-12 00:00:00 +0000 |
| commit | 3e52ecb609f8424cffb2e6398c599aa78224825a (patch) | |
| tree | 5c199510c10e206d6c6801dbabdae9691c03341c /src/sub_commands/prs/create.rs | |
| parent | 6d3c9218d2d3320f5d7fb9b9ede8750e947b70e8 (diff) | |
feat(claim) create yaml add maintainers and relays
- create yaml file with maintainers and relays
- add maintainers to repo event
- add current user as maintainer
- custom repo relays from cli argument
- save git-server in repo event
Diffstat (limited to 'src/sub_commands/prs/create.rs')
| -rw-r--r-- | src/sub_commands/prs/create.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sub_commands/prs/create.rs b/src/sub_commands/prs/create.rs index 5c4e578..5e41a56 100644 --- a/src/sub_commands/prs/create.rs +++ b/src/sub_commands/prs/create.rs | |||
| @@ -100,12 +100,12 @@ pub async fn launch( | |||
| 100 | generate_pr_and_patch_events(&title, &description, &to_branch, &git_repo, &ahead, &keys)?; | 100 | generate_pr_and_patch_events(&title, &description, &to_branch, &git_repo, &ahead, &keys)?; |
| 101 | 101 | ||
| 102 | let repo_ref = repo_ref::fetch( | 102 | let repo_ref = repo_ref::fetch( |
| 103 | &git_repo, | ||
| 103 | git_repo | 104 | git_repo |
| 104 | .get_root_commit(&to_branch) | 105 | .get_root_commit(&to_branch) |
| 105 | .context("failed to get root commit of the repository")? | 106 | .context("failed to get root commit of the repository")? |
| 106 | .to_string(), | 107 | .to_string(), |
| 107 | &client, | 108 | &client, |
| 108 | // TODO: get relay list from local yaml file | ||
| 109 | user_ref.relays.write(), | 109 | user_ref.relays.write(), |
| 110 | ) | 110 | ) |
| 111 | .await?; | 111 | .await?; |