summaryrefslogtreecommitdiffstatshomepage
path: root/bridge/gitlab/import.go
Commit message (Collapse)AuthorAge
* docs: update install, contrib, and usage documentationI6f4b5f5ca73780cecf66a553cce80aa3f75df2cesudoforge11 days
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change refactors documentation, especially //:README.md, //:CONTRIBUTING.md, and centralized most of the rest of the contributing and usage documentation into `//doc`. Documentation changes focus on cleaning up erroneous language, reformatting, and restructuring docs in order to reduce visual noise - the goals are to enable users and contributors to find what they're looking for much more quickly, reduce (sometimes erroneous) duplication, and present a structured approach for where to put docs. Additionally: - Added CI pipeline badge for the `trunk` workflow in `//:README.md` - Converted embedded emoji characters to GitHub's emoji syntax - Moved most sections with image and installation instructions into `<details>` elements - Replaced references to gitter with matrix - Introduced `treefmt-nix` to `devShells.default` in the flake, and all non-generated documentation was formatted with `nix fmt` (running `mdformat` under the hood) - Regenerated //doc/md and //doc/man and refactored inline docs from various pages that were iterating out command line details so that they simply point to //doc/md instead - Rewrote contributing docs to focus on using `nix`, to ensure that the development shell is used. This enforces consistency across different platforms with the revision and configuration of each tool we use, and simplifies the onboarding story for contributors -- they only need to install and configure nix (and optionally direnv). A dev container will be provided in the future [0] as an alternative for users on Windows (who can use WSL) or want to avoid installing `nix`. [0]: https://github.com/git-bug/git-bug/issues/1364 Closes: #1212 #1276 #1330 #1357 Change-Id: I6f4b5f5ca73780cecf66a553cce80aa3f75df2ce
* deps(crypto): bump golang.org/x/crypto from v0.26.0 to v0.31.0 (fix for ↵Matěj Cepl2025-03-18
| | | | | | | | | CVE-2024-45337) (#1312) To avoid CVE-2024-45337 ("Misuse of ServerConfig.PublicKeyCallback may cause authorization bypass in golang.org/x/crypto") Related is also moving from the abandoned github.com/xanzy/go-gitlab to the maintained gitlab.com/gitlab-org/api/client-go.
* feat: update references to the git-bug organization (#1249)sudoforge2024-08-24
| | | | | | | | The repository was recently moved to the git-bug organization on github. This change refactors references to the repository to ensure that they use the updated owner URI. Closes: #1243 Change-Id: I799712354c6ba25cdd8b06286275850c52efe6ff
* added EventMentionedInCommitHenrik Buestad2023-01-13
|
* cache: tie up the refactor up to compilingMichael Muré2022-12-21
|
* WIPMichael Muré2022-11-28
|
* core: bubble up the comment ID when created, or edited the first commentMichael Muré2022-11-13
|
* bug: have a type for combined ids, fix ↵Michael Muré2022-08-22
| | | | https://github.com/MichaelMure/git-bug/issues/653
* move {bug,identity} to /entities, move input to /commandsMichael Muré2022-08-18
|
* Merge pull request #571 from 5nord/add-new-gitlab-iteratorMichael Muré2022-02-01
|\ | | | | [gitlab] Add new iterator with state change events
| * gitlab: order events on the flyMichael Muré2021-12-05
| |
| * gitlab: Add new iterator with state change eventsMatthias Simon2021-04-23
| | | | | | | | | | | | | | | | | | Retrieving events is spread across various various Gitlab APIs. This makes importing and sorting Gitlab events by time quite complicated. This commit replaces the old iterators with a goroutine/channel-based iterator, which merges the individual Gitlab API streams into a single (sorted) event stream.
* | Bump github.com/xanzy/go-gitlab from 0.48.0 to 0.50.0dependabot[bot]2021-05-24
|/ | | | | | | | | Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.48.0 to 0.50.0. - [Release notes](https://github.com/xanzy/go-gitlab/releases) - [Changelog](https://github.com/xanzy/go-gitlab/blob/master/releases_test.go) - [Commits](https://github.com/xanzy/go-gitlab/compare/v0.48.0...v0.50.0) Signed-off-by: dependabot[bot] <support@github.com>
* make sure every text input is safe and validatedMichael Muré2021-04-17
| | | | fix #630
* deal with the previous changesMichael Muré2021-02-14
|
* Fix comparison mix-up in gitlab importerMatthias Simon2021-02-07
|
* cleanup title on gitlab importvince2020-10-28
|
* gitlab: refactor the iterator, fix bugsMichael Muré2020-03-28
| | | | Notably, properly reset sub iterators when changing to the next issue
* gitlab: match bugs on IDs + baseURL because the URL is not stableMichael Muré2020-03-28
|
* identity: bring back the login to hold that info from bridges (purely ↵Michael Muré2020-02-25
| | | | informational)
* bridge: record the login used during the configure and use it as default ↵Michael Muré2020-02-23
| | | | | | credential fix #338
* bridges: pass the context to Init for when a client build process needs itMichael Muré2020-02-15
|
* bridges: massive refactorMichael Muré2020-02-15
| | | | | | - automatic flag validation and warning - generalized prompt - cleanups
* github/gitlab: many fixes and improvments at the config stepMichael Muré2020-02-10
|
* gitlab also compileMichael Muré2020-02-08
|
* bridge: allow to configure and pull without having set a user firstMichael Muré2019-12-25
| | | | | | | | | | - 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-10
|
* bridge: huge refactor to accept multiple kind of credentialsMichael Muré2019-12-08
|
* bridge/gitlab: add gitlab bridge configurationamine2019-11-24
|
* bridge/gitlab: importer and exporter correctly emit NothingEventsamine2019-11-19
|
* bridge/launchpad: add missing metadataamine2019-11-19
| | | | bridge: use a specific key for origin metadata
* bridge/gitlab: fix edit comment request and remove label functionalitiesAmine Hilaly2019-08-19
|
* bridge/github: improve error handling and Nothing eventsAmine Hilaly2019-08-18
| | | | vendor: add package golang.org/x/sync/errgroup
* bridge/core: add context.Context to ImportAll and ExportAll signaturesAmine Hilaly2019-08-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bridge/core: add ImportResult objects to stream import events bridge/core: launchpad support asynchronous import bridge/github: cancellable export and import functions bridge/gitlab: cancellable export and import functions commands: bridge pull/push gracefull kill bridge/github: fix github import bridge/github: use simple context for imports bridge/core: name parameters in interfaces github/core: Add EventError to export and import events types bridge/gitlab: add context support in gitlab requests functions bridge/gitlab: remove imported events count from importer logic bridge/github: remove imported events count from importer logic bridge/github: add context support in query and muration requets bridge/github: fix bug duplicate editions after multiple calls bridge/core: import import and export events String methods bridge/gitlab: fix error handling in note import events commands/bridge: Add statistics about imports and exports bridge/gitlab: properly handle context cancellation bridge/github: improve error handling bridge: break iterators on context cancel or timeout bridge: add context timeout support bridge: improve event formating and error handling commands: handle interrupt and switch cases bridge/github: add export mutation timeouts bridge: fix race condition bug in the github and gitlab importers bridge/github: improve context error handling
* Merge pull request #193 from MichaelMure/immutableIDAmine2019-08-13
|\ | | | | Future proof the operation's ID
| * more hash-->id fixesMichael Muré2019-08-13
| |
| * finish the refactoring for the dedicated identifier typeMichael Muré2019-08-12
| |
| * fix everything following the hash-->id changeMichael Muré2019-08-08
| |
* | bridge/gitlab: importer handle mentions in other issue and merge requestsAmine Hilaly2019-08-11
|/
* bridge/gitlab: fix bug when running import multiple timesAmine Hilaly2019-07-31
|
* bridge/gitlab: handle other notes casesAmine Hilaly2019-07-26
|
* bridge/github: add getNewTitle testsAmine Hilaly2019-07-23
|
* bridge/gitlab: fix comment edition target hash in the importAmine Hilaly2019-07-23
| | | | bridge/gitlab: global changes, typo fixes, comments addition
* bridge/gitlab: change validateProjectURL signatureAmine Hilaly2019-07-23
| | | | bridge/gitlab: code cleanup
* bridge/gitlab: improve tests and errorsAmine Hilaly2019-07-23
| | | | bridge/gitlab: global fixes
* bridge/gitlab: Fix test project pathAmine Hilaly2019-07-23
| | | | bridge/gitlab: update comments
* bridge/gitlab: add gitlab client default timeoutAmine Hilaly2019-07-23
| | | | bridge/gitlab: fix import bug
* bridge/gitlab: move constants to gitlab.goAmine Hilaly2019-07-23
|
* bridge/gitlab: fix note error handling bugAmine Hilaly2019-07-23
| | | | bridge/gitlab: remove unused functions
* bridge/gitlab: make resolve error unique within the importerAmine Hilaly2019-07-23
|