Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,24 +203,24 @@ The web UI interact with the backend through a GraphQL API. The schema is availa

### Importer implementations

| | Github | Gitlab | Jira | Launchpad |
|-------------------------------------------------|:------:|:------:|:----:|:---------:|
| **incremental**<br/>(can import more than once) | ✅ | ✅ | ✅ | ❌ |
| **with resume**<br/>(download only new data) | ✅ | ✅ | ✅ | ❌ |
| **identities** | 🟠 | 🟠 | 🟠 | 🟠 |
| **bugs** | ✅ | ✅ | ✅ | 🟠 |
| **board** | ❌ | ❌ | ❌ | ❌ |
| **media/files** | ❌ | ❌ | ❌ | ❌ |
| **automated test suite** | ✅ | ✅ | ❌ | ❌ |
| | Gitea | Github | Gitlab | Jira | Launchpad |
|-------------------------------------------------| :---: |:------:|:------:|:----:|:---------:|
| **incremental**<br/>(can import more than once) | 🟠 | ✅ | ✅ | ✅ | ❌ |
| **with resume**<br/>(download only new data) | ❌ | ✅ | ✅ | ✅ | ❌ |
| **identities** | 🟠 | 🟠 | 🟠 | 🟠 | 🟠 |
| **bugs** | ❌ | ✅ | ✅ | ✅ | 🟠 |
| **board** | ❌ | ❌ | ❌ | ❌ | ❌ |
| **media/files** | ❌ | ❌ | ❌ | ❌ | ❌ |
| **automated test suite** | ❌ | ✅ | ✅ | ❌ | ❌ |

### Exporter implementations

| | Github | Gitlab | Jira | Launchpad |
|--------------------------|:------:|:------:|:----:|:---------:|
| **identities** | 🟠 | 🟠 | 🟠 | 🟠 |
| **bug** | ✅ | ✅ | ✅ | ❌ |
| **board** | ❌ | ❌ | ❌ | ❌ |
| **automated test suite** | ✅ | ✅ | ❌ | ❌ |
| | Gitea | Github | Gitlab | Jira | Launchpad |
|--------------------------| :---: |:------:|:------:|:----:|:---------:|
| **identities** | ❌ | 🟠 | 🟠 | 🟠 | 🟠 |
| **bug** | ❌ | ✅ | ✅ | ✅ | ❌ |
| **board** | ❌ | ❌ | ❌ | ❌ | ❌ |
| **automated test suite** | ❌ | ✅ | ✅ | ❌ | ❌ |

#### Bridge usage

Expand Down
2 changes: 2 additions & 0 deletions bridge/bridges.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package bridge

import (
"github.com/git-bug/git-bug/bridge/core"
"github.com/git-bug/git-bug/bridge/gitea"
"github.com/git-bug/git-bug/bridge/github"
"github.com/git-bug/git-bug/bridge/gitlab"
"github.com/git-bug/git-bug/bridge/jira"
Expand All @@ -12,6 +13,7 @@ import (
)

func init() {
core.Register(&gitea.Gitea{})
core.Register(&github.Github{})
core.Register(&gitlab.Gitlab{})
core.Register(&launchpad.Launchpad{})
Expand Down
14 changes: 7 additions & 7 deletions bridge/core/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ import "fmt"
// BridgeParams holds parameters to simplify the bridge configuration without
// having to make terminal prompts.
type BridgeParams struct {
URL string // complete URL of a repo (Github, Gitlab, , Launchpad)
BaseURL string // base URL for self-hosted instance ( Gitlab, Jira, )
Login string // username for the passed credential (Github, Gitlab, Jira, )
CredPrefix string // ID prefix of the credential to use (Github, Gitlab, Jira, )
TokenRaw string // pre-existing token to use (Github, Gitlab, , )
Owner string // owner of the repo (Github, , , )
Project string // name of the repo or project key (Github, , Jira, Launchpad)
URL string // complete URL of a repo (Gitea, Github, Gitlab, , Launchpad)
BaseURL string // base URL for self-hosted instance ( , , Gitlab, Jira, )
Login string // username for the passed credential (Gitea, Github, Gitlab, Jira, )
CredPrefix string // ID prefix of the credential to use (Gitea, Github, Gitlab, Jira, )
TokenRaw string // pre-existing token to use (Gitea, Github, Gitlab, , )
Owner string // owner of the repo ( , Github, , , )
Project string // name of the repo or project key ( , Github, , Jira, Launchpad)
}

func (BridgeParams) fieldWarning(field string, target string) string {
Expand Down
Loading