-
Notifications
You must be signed in to change notification settings - Fork 16
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
chore: gitlab tools #314
chore: gitlab tools #314
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some comments, but I don't want to hold this PR up on them.
@@ -0,0 +1,7 @@ | |||
Name: GitLab Credential | |||
Share Credential: github.com/gptscript-ai/credential as gitlabToken |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: we'll probably want to pull this into the tools repo at some point
gitlab/main.go
Outdated
query, err = parseStringToMap(rawQuery) | ||
if err != nil { | ||
fmt.Printf("Failed to parse ISSUE_QUERY: %v\n", err) | ||
os.Exit(1) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: if you factor this switch out into a separate function, you can return errors and have a single fmt.Println(err); os.Exit(1);
in main()
.
Signed-off-by: Taylor Price <[email protected]>
relates to obot-platform/obot#866