No description
Find a file
2020-03-01 02:54:58 +01:00
campaign Add command now stores the tickets 2020-02-29 13:40:39 +01:00
cmd Add template base 2020-03-01 02:54:58 +01:00
config Add init command 2020-02-29 00:49:55 +01:00
model Add summary to the init command 2020-02-29 17:48:53 +01:00
vendor Add cobra root command 2020-02-28 23:54:14 +01:00
.gitignore Add command now stores the tickets 2020-02-29 13:40:39 +01:00
campaigner.go Add cobra root command 2020-02-28 23:54:14 +01:00
go.mod Add cobra root command 2020-02-28 23:54:14 +01:00
go.sum Add cobra root command 2020-02-28 23:54:14 +01:00
Makefile Adds vendor to phony targets 2020-02-29 01:21:29 +01:00
README.md Add standalone create-jira command structure 2020-02-29 21:56:43 +01:00

Campaigner

Command line tool to create and manage community campaigns.

Usage

$ campaigner --help
Create and manage Open Source campaigns

Usage:
  campaigner [command]

Available Commands:
  add         Adds tickets to the campaign
  filter      Interactively filters the current ticket list
  help        Help about any command
  init        Creates a new campaign in the current directory
  token       Subcommands related to tokens

Flags:
  -h, --help   help for campaigner

Use "campaigner [command] --help" for more information about a command.

Application flow

  1. Run campaigner set-token to set the tokens for jira/github.
  2. Run campaigner init to create a new community campaign.
  3. Run campaigner add to add new tickets based either on a grep/ag command or a govet check.
  4. Run campaigner filter to interactively remove false matches.
  5. Run campaigner status to see the status of each one of the tickets. The tickets can be in an unpublished, jira, github and completed state.
  6. Modify the template.md file to adjust the ticket templates.
  7. Run campaigner publish to create the tickets in jira based on the template.
  8. Possible next step to publish the tickets from jira to github.

Roadmap

  • Modify the add command to only act on stdin, using the --grep and --govet flags to distinguish how to parse the input.
  • Add standalone group of commands.
  • Parametrise the atlassian API url.
  • Add file only mode to the add command.
  • Add file path normalisation to the add command.
  • Add --ag to the add command.
  • Add the publish command.
  • Add state management to the tickets and links to the jira issues.
  • Add the sync command to synchronize the issue state.
  • Add the filter command with a button to get context and the option to add fn name.