changesCmd

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2016 License: MIT Imports: 14 Imported by: 0

README

release changes

List the changes associated with the currently running release.

Usage

salsaflow release changes [-porcelain] [-to_cherrypick]

Description

This command can be used to list commits associated with the stories that were added to the currently running release. The commits being listed are grouped by Change-Id and then Story-Id tags.

The to_cherrypick flag can be used to list the changes that should be cherry-picked into the release branch before the release is staged (the release branch is closed).

The porcelain flag makes the output more script-friendly.

Steps

The command goes through the following steps:

  1. Make sure the release branch exists.
  2. Get the release version string (the version string stored in the release branch).
  3. Fetch the associated stories from the issue tracker.
  4. Collect the story commits and group them by Change-Id and Story-Id.
  5. Show the list to the user.

Documentation

Overview

List the changes associated with the currently running release.

salsaflow release changes [-porcelain] [-to_cherrypick]

Description

This command can be used to list commits associated with the stories that were added to the currently running release. The commits being listed are grouped by Change-Id and then Story-Id tags.

The to_cherrypick flag can be used to list the changes that should be cherry-picked into the release branch before the release is staged (the release branch is closed).

The porcelain flag makes the output more script-friendly.

Steps

The command goes through the following steps:

  1. Make sure the release branch exists.
  2. Get the release version string (the version string stored in the release branch).
  3. Fetch the associated stories from the issue tracker.
  4. Collect the story commits and group them by `Change-Id` and `Story-Id`.
  5. Show the list to the user.

Index

Constants

This section is empty.

Variables

View Source
var Command = &gocli.Command{
	UsageLine: "changes [-porcelain] [-to_cherrypick]",
	Short:     "list the changes associated with the current release",
	Long: `
  List the change sets (the commits with the same change ID)
  associated with the current release together with some details,
  e.g. the commit SHA, the source ref and the commit title.

  The 'porcelain' flag will make the output more script-friendly,
  e.g. it will fill the change ID in every column.

  The 'to_cherrypick' flag can be used to list the changes that are assigned
  to the release but haven't been cherry-picked onto the release branch yet.
	`,
	Action: run,
}

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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