- Adds the ability to create MRs to the plugin - Adds the ability to jump to specific discussions/notes in the browser - Fixes stale icons - Adds debug keybinding for discussion tree for developers
25 lines
565 B
Go
25 lines
565 B
Go
package main
|
|
|
|
import (
|
|
"log"
|
|
)
|
|
|
|
func main() {
|
|
gitInfo, err := extractGitInfo(RefreshProjectInfo, GetProjectUrlFromNativeGitCmd, GetCurrentBranchNameFromNativeGitCmd)
|
|
if err != nil {
|
|
log.Fatalf("Failure initializing plugin with `git` commands: %v", err)
|
|
}
|
|
|
|
err, client := initGitlabClient()
|
|
if err != nil {
|
|
log.Fatalf("Failed to initialize Gitlab client: %v", err)
|
|
}
|
|
|
|
err, projectInfo := initProjectSettings(client, gitInfo)
|
|
if err != nil {
|
|
log.Fatalf("Failed to initialize project settings: %v", err)
|
|
}
|
|
|
|
startServer(client, projectInfo, gitInfo)
|
|
}
|