gitlab-utils

Some scripts to find interesting things about GitLab repos

MIT License

Stars
2

GitLab Utils

Requirements

Setup

  • Clone project

    git clone https://github.com/cmckni3/gitlab-utils.git
    
  • Install dependencies

    yarn install
    # npm install
    
  • Copy config

    cp config.sample.js config.js
    
  • Add GitLab URL and private token to config.js

Usage

  • Find projects containing branches other than master, staging, quality-assurance

    babel-node src/branch-checker.js
    # alternatively use npm/yarn
    # npm run branch-checker
    # yarn branch-checker
    
  • Find projects without tags

    babel-node src/tag-checker.js
    
  • Find release status of repos

    babel-node src/release-checker.js
    # alternatively use npm/yarn
    # npm run release-checker
    # yarn release-checker