aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/gitlab/config.go
Commit message (Collapse)AuthorAgeFilesLines
* move {bug,identity} to /entities, move input to /commandsMichael Muré2022-08-181-1/+1
|
* Allow new gitlab PAT formatGaël James2022-03-311-1/+1
|
* Update URL of GitLab access token settingsRemi Rampin2021-10-131-1/+1
|
* Fix GitLab showing https:/../personal_access_tokenRemi Rampin2021-10-131-2/+1
| | | | | Using path.Join() to concatenate URLs doesn't really make sense, and in particular will change "//" to "/".
* CLI: Add non-interactive option to interactive commands (#651)Sascha2021-05-091-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add option to skip the AvatarURL input request Using an empty string for the avatar cli flag e.g. `git-bug user create -a ""` will still result in a prompt. As the avatar URL is an optional option, it should be possible to skip asking for it entirely. Otherwise automated user creation via a script must make use of pipe hacks. * Add global --non-interactive cmdline option * Replace --skipAvatar for --non-interactive option * Cmd BugAdd: respect non-interactive option * Cmd bridge configure: respect non-interactive opt * Cmd CommentAdd: respect non-interactive option * Cmd CommentEdit: respect non-interactive option * Cmd TermUI: respect non-interactive option * Cmd TitleEdit: respect non-interactive option * Remove global non-interactive option * Cmd UserCreate: Use local non-interactive option * Cmd BugAdd: Use local non-interactive option * Cmd BridgeConfigure: Use local non-interactive option * Cmd CommentAdd: Use local non-interactive option * Cmd CommentEdit: Use local non-interactive option * Cmd TermUI: Drop non-interactive option It should be obviouse that the termui is an interactive command. * Cmd TitleEdit: Use local non-interactive option * Update docs * Bridge GitHub: respect non-interactive option * Bridge GitLab: respect non-interactive option * Bridge Jira: respect non-interactive and token opt * Fix failing compilation * Bridge launchpad: respect non-interactive option * bridge: isNonInteractive --> interactive Co-authored-by: Michael Muré <batolettre@gmail.com>
* bridge: store credentials in the Keyring instead of the git configMichael Muré2020-09-291-1/+1
|
* jira/gitlab: fix a bad login handling in the configuratorMichael Muré2020-03-281-5/+7
|
* Merge pull request #341 from MichaelMure/bridges-default-loginMichael Muré2020-02-231-2/+6
|\ | | | | bridge: record the login used during the configure and use it as default credential
| * bridge: record the login used during the configure and use it as default ↵Michael Muré2020-02-231-2/+6
| | | | | | | | | | | | credential fix #338
* | use regex.MustCompile instead of dealing with the errorMichael Muré2020-02-231-4/+1
|/
* bridges: more refactor and cleanupMichael Muré2020-02-151-5/+9
|
* bridges: massive refactorMichael Muré2020-02-151-165/+43
| | | | | | - automatic flag validation and warning - generalized prompt - cleanups
* auth: refactor and introduce Login and LoginPassword, salt IDsMichael Muré2020-02-121-3/+3
|
* github/gitlab: many fixes and improvments at the config stepMichael Muré2020-02-101-18/+36
|
* bridge: fix 2 uncatched errorsMichael Muré2020-02-081-0/+3
|
* gitlab also compileMichael Muré2020-02-081-90/+69
|
* WIPMichael Muré2020-02-081-1/+1
|
* gitlab: proper token generation URL with custom base URLMichael Muré2020-01-031-6/+7
|
* Merge pull request #280 from MichaelMure/bridge-gitlabMichael Muré2019-12-271-17/+93
|\ | | | | bridge/gitlab: add base url configuration
| * bridge/gitlab/config.go printing typoAmine2019-12-271-1/+1
| | | | | | Co-Authored-By: Michael Muré <batolettre@gmail.com>
| * bridge/gitlab: add missing baseUrl prompt and optionsamine2019-12-261-17/+93
| | | | | | | | bridge/gitlab: fix api calls with self hosted Gitlab instances
* | bridge: allow to configure and pull without having set a user firstMichael Muré2019-12-251-5/+12
|/ | | | | | | | | | - init() only the importer or exporter as required - assign a "default user" user Id to credentials at creation if no user has been set - "bridge auth": also display the user - "bridge auth show": adapt to a potential "default user" user Id - "bridge configure": allow to run without a user set - "bridge pull": allow to run without a user set - "user adopt": replace "default user" by the actual user id when run
* bridge/gitlab: support self-hosted GitLab instanceamine2019-12-101-3/+15
|
* bridge: huge refactor to accept multiple kind of credentialsMichael Muré2019-12-081-69/+69
|
* gitlab: configurator cleanupMichael Muré2019-11-261-9/+26
|
* bridge: trim inputs during bridge configurationamine2019-11-251-5/+5
|
* bridge/gitlab: add gitlab bridge configurationamine2019-11-241-3/+71
|
* bridge/launchpad: add missing metadataamine2019-11-191-3/+3
| | | | bridge: use a specific key for origin metadata
* bridge/core: add tokenStdin field to bridgeParamsAmine Hilaly2019-09-021-1/+8
| | | | commands: move tokenStdin handling logic to bridge.Configure
* commands: read token from stdin in bridge configurationAmine Hilaly2019-08-311-2/+11
| | | | bridge: improve bridge config validation
* bridge/gitlab: change validateProjectURL signatureAmine Hilaly2019-07-231-15/+11
| | | | bridge/gitlab: code cleanup
* bridge/gitlab: global code and comment updatesAmine2019-07-231-4/+4
| | | Co-Authored-By: Michael Muré <batolettre@gmail.com>
* bridge/gitlab: improve tests and errorsAmine Hilaly2019-07-231-10/+9
| | | | bridge/gitlab: global fixes
* bridge/gitlab: add bridge config testsAmine Hilaly2019-07-231-16/+6
|
* bridge/gitlab: fix note error handling bugAmine Hilaly2019-07-231-37/+0
| | | | bridge/gitlab: remove unused functions
* bridge/gitlab: prompt only for user provided tokenAmine Hilaly2019-07-231-29/+1
|
* bridge/gitlab: remove request token methodesAmine Hilaly2019-07-231-89/+9
|
* bridge/gitlab: bridge project validationAmine Hilaly2019-07-231-185/+45
| | | | bridge/gitlab: token generation
* bridge/gitlab: add bridge configureAmine Hilaly2019-07-231-0/+518