aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/gitlab
Commit message (Collapse)AuthorAgeFilesLines
* identity: PR fixesMichael Muré2021-02-142-2/+2
|
* deal with the previous changesMichael Muré2021-02-142-36/+37
|
* Fix comparison mix-up in gitlab importerMatthias Simon2021-02-071-2/+2
|
* cleanup title on gitlab importvince2020-10-281-3/+7
|
* Vendor: updage xanzy/go-gitlab to v0.38.2 (#473)65432020-10-251-2/+1
| | | | | * build(deps): bump github.com/xanzy/go-gitlab from 0.33.0 to 0.38.2 * migrate * refactor
* repo: use go-git in more places, fix pushMichael Muré2020-10-042-3/+3
|
* bridge: store credentials in the Keyring instead of the git configMichael Muré2020-09-291-1/+1
|
* gitlab: skip the broken test as "known broken" :(Michael Muré2020-07-261-0/+7
|
* update go-gitlabMichael Muré2020-07-261-7/+3
|
* repository: remove tie to Bug, improved and reusable testingMichael Muré2020-06-262-3/+3
| | | | | | | | | - allow the creation of arbitrary Lamport clocks, freeing the way to new entities and removing Bug specific (upper layer) code. - generalize the memory-only and persisted Lamport clocks behind a common interface - rework the tests to provide reusable testing code for a Repo, a Clock, a Config, opening a path to add a new Repo implementation more easily - test previously untested components with those new tests Note: one problem found during this endeavor is that `identity.Version` also need to store one time + Lamport time for each other Entity (Bug, config, PR ...). This could possibly done without breaking change but it would be much easier to wait for https://github.com/MichaelMure/git-bug-migration to happen.
* bug: harmonize how time are used, fix some issues in command special formatsMichael Muré2020-06-251-1/+1
| | | | This assume that the convertion from time.Time <--> Unix timestamp is lossless which seems to be.
* gitlab: fix iterator (paginate with first index 1) and avoid the trailing ↵Michael Muré2020-04-043-12/+38
| | | | API call
* gitlab: refactor the iterator, fix bugsMichael Muré2020-03-286-290/+399
| | | | Notably, properly reset sub iterators when changing to the next issue
* jira/gitlab: fix a bad login handling in the configuratorMichael Muré2020-03-281-5/+7
|
* gitlab: match bugs on IDs + baseURL because the URL is not stableMichael Muré2020-03-281-1/+6
|
* gitlab: fix bugs import urlamine2020-03-151-4/+4
|
* identity: bring back the login to hold that info from bridges (purely ↵Michael Muré2020-02-251-0/+1
| | | | informational)
* Merge pull request #341 from MichaelMure/bridges-default-loginMichael Muré2020-02-235-3/+12
|\ | | | | 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-235-3/+12
| | | | | | | | | | | | credential fix #338
* | use regex.MustCompile instead of dealing with the errorMichael Muré2020-02-231-4/+1
|/
* bridges: pass the context to Init for when a client build process needs itMichael Muré2020-02-154-7/+9
|
* bridges: more refactor and cleanupMichael Muré2020-02-151-5/+9
|
* bridges: massive refactorMichael Muré2020-02-156-188/+66
| | | | | | - automatic flag validation and warning - generalized prompt - cleanups
* auth: refactor and introduce Login and LoginPassword, salt IDsMichael Muré2020-02-123-5/+5
|
* github/gitlab: many fixes and improvments at the config stepMichael Muré2020-02-105-28/+56
|
* bridge: fix 2 uncatched errorsMichael Muré2020-02-081-0/+3
|
* bridge: hopefully fix testsMichael Muré2020-02-081-0/+2
|
* fix tests ?Michael Muré2020-02-081-4/+4
|
* it compiles \o/Michael Muré2020-02-081-0/+6
|
* gitlab also compileMichael Muré2020-02-085-118/+98
|
* WIPMichael Muré2020-02-081-1/+1
|
* gitlab: proper token generation URL with custom base URLMichael Muré2020-01-031-6/+7
|
* gitlab: fix edit not being pushed with baseUrlMichael Muré2020-01-031-1/+1
| | | | fix #284
* Merge pull request #280 from MichaelMure/bridge-gitlabMichael Muré2019-12-272-18/+94
|\ | | | | 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-262-18/+94
| | | | | | | | 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-253-5/+19
|/ | | | | | | | | | - 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-106-15/+63
|
* bridge: huge refactor to accept multiple kind of credentialsMichael Muré2019-12-087-130/+164
|
* 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-243-5/+73
|
* bridge/gitlab: importer and exporter correctly emit NothingEventsamine2019-11-192-11/+11
|
* Merge pull request #247 from MichaelMure/bridge-originMichael Muré2019-11-196-39/+39
|\ | | | | bridge: move keyOrigin to core package
| * bridge/launchpad: add missing metadataamine2019-11-196-39/+39
| | | | | | | | bridge: use a specific key for origin metadata
* | bridge: various cleanupsMichael Muré2019-11-091-4/+0
| |
* | bridge/gitlab: add missing error check in export testsamine2019-11-051-1/+4
|/
* bridge/gitlab: use gitlab.Labels pointer instead of string sliceamine2019-10-241-1/+2
|
* bridge/gitlab: iterator use simple swapAmine2019-10-131-8/+9
| | | | bridge/gitlab: add documentation explaining why we are doing this
* bridge/gitlab: iterator now query all label events when NextLabelEvent() i ↵Amine2019-10-021-28/+27
| | | | called, and sort them by ID