bulker

module
v0.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2023 License: MIT

README

bulker

Runs different operations on a bunch of repositories in bulk mode

Release GitHub license GitHub Workflow Status Go Doc Go Report Card

Quick Start

Install

If GO installed, run

go install github.com/mih-kopylov/bulker/app/bulker@latest

Or just download an appropriate binary from Assets

Configure

Bulker works without any preliminary configuration.

Just create a directory for the repositories, say ~/projects and cd into it. Bulker stores repositories inside current directory by default.

Run
bulker repos add --name bulker --url https://github.com/mih-kopylov/bulker --tags "github,test"
bulker repos list -t github
bulker git clone
bulker status

Configuration

Bulker supports different configuration options, prioritized in the following order. Each item takes precedence over the item below it:

  • with global CLI flags
  • with environment variables
  • with configuration file

A configuration file with default values would look like that:

debug: false
settingsFileName: ~/.bulker/settings.yaml
reposDirectory: .
runMode: par
maxWorkers: 10
noProgress: false
output: table

A configuration file is discovered if it is named bulker.yaml and placed to either current working directory or in ~/.bulker directory

An environment variable is discovered if it has the same name as in file, but with B_ prefix. Examples:

  • B_DEBUG
  • B_REPOSDIRECTORY

To get each configuration item full description run bulker -h

Directories

Path Synopsis
app
cmd
git
internal
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL