在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:zalando-incubator/roadblock开源软件地址:https://github.com/zalando-incubator/roadblock开源编程语言:JavaScript 100.0%开源软件介绍:RoadblockA Node.js application for collecting Github statistics into a SQLite or PostgreSQL database. This project was built with simplicity and ease of use in mind. We simply wanted GitHub data in a relational database which we could then create visualisations for using Metabase (https://www.metabase.com/). Installing and usingInstall from npm as a global command
Run the roadblock command in an empty folder
This will generate a basic
Github.token a github token is required to access most data - ensure that the token have read access to url is only required if you want to collect data from Github Enterprise. Tasks Specify what data you want to collect, by default it is set to * which means
run all possible tasks.
Either use wildcards like Orgs By default roadblock will attempt to collect from all orgs, which the token have access to, to filter or to query additional orgs, set them here. Use either: Configuration as argumentsConfiguration values can also be passed from the command line to avoid storing tokens in clear text:
OutputScript will run between 10 and 20 minutes and store collected data in a SQLite datase - you can also configure a postgres instance if needed. Sqlite Database and json summaries will be stored in the folder where the Included tasksThe task system in roadblock divides the different data collection tasks into 4 seperate phases. PreTasks to collect initial data points, default is to collect configured organisations
OrgTasks run for each seperate organisation, each task is passed an organisation object to process data based on.
RepoTasks run for each collected repository.
PostTasks to run after all org and repo data collection is completed
Using the source
Pre RequisitesWhat software you need to install:
Built With
ContributingPlease read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us. LicenseThis project is licensed under the MIT License - see the LICENSE.md file for details |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论