{"id":18888737,"url":"https://github.com/dlr-sc/gitlab2graph","last_synced_at":"2026-05-06T11:38:21.987Z","repository":{"id":74008124,"uuid":"214803513","full_name":"DLR-SC/Gitlab2Graph","owner":"DLR-SC","description":"A pipeline processor to extract data from Gitlab and transform into a graph representation","archived":false,"fork":false,"pushed_at":"2019-12-08T09:57:04.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-05-31T13:05:05.344Z","etag":null,"topics":["gitlab","graph-representation","neo4j","python","repository-mining"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DLR-SC.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2019-10-13T10:52:34.000Z","updated_at":"2020-04-14T09:25:19.000Z","dependencies_parsed_at":"2023-07-03T03:34:52.378Z","dependency_job_id":null,"html_url":"https://github.com/DLR-SC/Gitlab2Graph","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/DLR-SC/Gitlab2Graph","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DLR-SC%2FGitlab2Graph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DLR-SC%2FGitlab2Graph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DLR-SC%2FGitlab2Graph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DLR-SC%2FGitlab2Graph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DLR-SC","download_url":"https://codeload.github.com/DLR-SC/Gitlab2Graph/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DLR-SC%2FGitlab2Graph/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32692650,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T08:33:17.875Z","status":"ssl_error","status_checked_at":"2026-05-06T08:33:17.221Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["gitlab","graph-representation","neo4j","python","repository-mining"],"created_at":"2024-11-08T07:45:47.338Z","updated_at":"2026-05-06T11:38:21.943Z","avatar_url":"https://github.com/DLR-SC.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gitlab2Graph\n\nA Pipeline processor to extract data from Gitlab and transform it to a graph representation.\n\n## Setup\n\n### Install\n\nGitlab2Graph requires Python \u003e= 3.6.5. We recommend a virtual environment to work with it. \n\n```bash\n# Create virtual environment\npython3.6 -m venv env\n\n# Activate environment\nsource env/bin/activate\n\n# Install dependencies\npip install -U pip\npip install -r requirements.txt\n```\n\n### Obtain private access token for Gitlab\n\nGo to https://YOUR-GITLAB/profile/personal_access_tokens and claim a personal access token.\nThe necessary scopes are `api` and `read_user`.\n\n### Configure project\n\nPut the obtained token into a new configuration file e.g. named `project1.ini` placed under the `configurations` folder.\nAn example file on how to configure a project can be found [here](configurations/project_name.ini.example).\n\nAdd the connection parameters for the Gitlab and the Neo4j database, you like to use.\nThe project_id defines the Gitlab project the pipelines shall be executed for.   \n\n\n```ini\n[GITLAB]\ntoken = deadc0ffee\n\n[NEO4J]\nhostname = localhost\n;bolt or http\nprotocol = bolt\nport = 7687\ndb = db/data/\nuser = neo4j\npassword = neo4jneo4j\n\n[GENERAL]\nproject_id = 23\n\n[ProjectPipeline]\nmy_extra_parameter = 42\n```\n\n### Usage\n\n```\ngitlab2graph.py [-h] configuration [configuration ...]\n\n    Executes a pipelines for one or more Gitlab projects defined by\n    one or more configuration files.\n\n    positional arguments:\n        configuration  Configuration file(s) in INI format\n```\n\n**Note:** Configuration files are expected to be in the configurations directory\n\n#### Examples\n\n```bash\n# With activated environment\npython gitlab2graph.py project1.ini\n```\n\nor\n\n```bash\n# With activated environment\npython gitlab2graph.py project1.ini project2.ini\n```\n\n## How to cite?\n\nIf you use this work in a scientific publication, please cite the specific version that you have \nused as follows:\n\n\u003e Stoffers, Martin. (2019, October 13). Gitlab2Graph (Version 1.0.0). Zenodo. http://doi.org/10.5281/zenodo.3469386\n\nYou can find information about the release number and the publication date in the\n[CHANGELOG](CHANGELOG.md).\n\n## License\n\nThe script code and the accompanying material is licensed under the terms of the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdlr-sc%2Fgitlab2graph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdlr-sc%2Fgitlab2graph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdlr-sc%2Fgitlab2graph/lists"}