{"id":21997397,"url":"https://github.com/stephane-klein/tap-gitlab-playground","last_synced_at":"2026-04-18T01:03:03.180Z","repository":{"id":99041007,"uuid":"287019751","full_name":"stephane-klein/tap-gitlab-playground","owner":"stephane-klein","description":"Import data from GitLab to PostgreSQL with singer tap-gitlab","archived":false,"fork":false,"pushed_at":"2020-08-21T10:06:46.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T04:44:27.590Z","etag":null,"topics":["etl","etl-components","gitlab","playground","singer"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stephane-klein.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-12T13:22:30.000Z","updated_at":"2020-08-21T10:06:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"2202dbf3-f39e-45b2-88af-c263b36518e1","html_url":"https://github.com/stephane-klein/tap-gitlab-playground","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stephane-klein/tap-gitlab-playground","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephane-klein%2Ftap-gitlab-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephane-klein%2Ftap-gitlab-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephane-klein%2Ftap-gitlab-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephane-klein%2Ftap-gitlab-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stephane-klein","download_url":"https://codeload.github.com/stephane-klein/tap-gitlab-playground/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephane-klein%2Ftap-gitlab-playground/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31952208,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"ssl_error","status_checked_at":"2026-04-18T00:39:20.671Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["etl","etl-components","gitlab","playground","singer"],"created_at":"2024-11-29T22:16:07.379Z","updated_at":"2026-04-18T01:03:03.162Z","avatar_url":"https://github.com/stephane-klein.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tap-GitLab playground\n\nProject status: Work in progress\n\nIn this project I use `tap-gitlab` to extract GitLab data via API and import this data in PostreSQL database.\n\nQuestion: [Should I use https://github.com/singer-io/tap-gitlab or https://gitlab.com/meltano/tap-gitlab ?](https://github.com/singer-io/tap-gitlab/issues/19)\n\nIn this playground, I will use:\n\n- [`meltano/tap-gitlab`](https://gitlab.com/meltano/tap-gitlab)\n- [`datamill-co/target-postgres`](https://github.com/datamill-co/target-postgres)\n\n## Prerequisites\n\nOn macOS, install with Brew:\n\n```\n$ brew install python\n$ brew cask install docker\n```\n\n## Install and configure tap-gitlab\n\n```\n$ python3 -m venv .venv/tap-gitlab/\n$ ./.venv/tap-gitlab/bin/pip install git+https://gitlab.com/meltano/tap-gitlab.git\n```\n\n## Install target-postgres\n\n```\n$ python3 -m venv .venv/target-postgres/\n```\n\n```\n$ ./.venv/target-postgres/bin/pip install singer-target-postgres==0.2.4\n```\n\n## Start PostgreSQL database\n\n```\n$ ./scripts/up.sh\n```\n\n## Execute GitLab importation to PostgreSQL\n\nThe first time, when `state.json` don't exists, execute:\n\n```\n$ ./.venv/tap-gitlab/bin/tap-gitlab \\\n    -c tap-gitlab-config.json \\\n  | ./.venv/target-postgres/bin/target-postgres \\\n    --config target_postgres_config.json \\\n    \u003e state.json\n```\n\nNext execute this commands to use `state.json` [Singer State](https://github.com/singer-io/getting-started/blob/master/docs/CONFIG_AND_STATE.md) file:\n\n```\n$ ./.venv/tap-gitlab/bin/tap-gitlab \\\n    -c tap-gitlab-config.json \\\n    -s state.json \\\n  | ./.venv/target-postgres/bin/target-postgres \\\n    --config target_postgres_config.json \\\n    \u003e state-target.json\n$ tail -1 state-target.json \u003e state.json\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephane-klein%2Ftap-gitlab-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstephane-klein%2Ftap-gitlab-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephane-klein%2Ftap-gitlab-playground/lists"}