npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

ya-git-pivotal

v0.2.0

Published

Yet Another Git Extension for Pivotal Tracker

Downloads

8

Readme

ya-git-pivotal

Yet Another Git Extension for Pivotal Tracker

This is a node.js package that implements a git subcommand for integration with Pivotal Tracker.

Installation

npm install -g ya-git-pivotal

Usage

$ git pivotal
NAME
	git-pivotal - Pivotal Tracker integration

SYNOPSIS
	git pivotal start <options> [storyid]
	git pivotal bump

DESCRIPTION
	This command facilitates using Git with Pivotal Tracker.

	Use the start subcommand to choose a story to begin work on. It starts the story in Pivotal Tracker
	and creates an appropriately named branch in your local git repository.
	You can start a specific story by optionally specifying the story id on the command line.
	If no story id is specified, you'll be prompted to choose from a list of stories matching the filter options.

	Use the bump subcommand to create a new branch for the current story, in preparation for rebasing.
	The first time this is done, it appends ".v1" to the story name. On second and subsequent bumps
	the version numbers is bumped: .v2, .v3, etc.
	The bump subcommand does not change pivotal state.

OPTIONS
	--feature
	--chore
	--bug
	    If any of these three options are specified, search only for stories of the given types.
	    By default, include all three types.

	--unstarted
	--unscheduled
	--started
	    If any of these three options are specified, search only for stories of the given states.
	    By default, search for unstarted (backlog) and unscheduled (icebox) stories, though the default
	    may be overridden by setting the git config variable pivotal.states.

	--label=<label expression>
	    Return only stories that match the given `label expression`.
	    An expression is one or more label terms, separated by commas.
	    A label term is either a simple label, or a label prefixed with a ! character, to exclude labels.
	    Note that a default label expression can be specified, see below.

CONFIGURATION
	You must set two git configuration variables:
	    pivotal.token    Your personal API TOKEN from your Pivotal Tracker proile.
	    pivotal.project  The project number of the Pivotal Tracker project. This is the number
	                     that appears in the URL when viewing your project, e.g. the NNNNNNN in
	                     https://www.pivotaltracker.com/n/projects/NNNNNNN.
	You may optionally set:
	    pivotal.label    A default label that will be used as if it were provided with --label
	                     when --label=<label> is not specified on the command line.
	    pivotal.states   A comma separate string of default story states to filter.
	                     See the section on Story State in https://www.pivotaltracker.com/help/faq#howcanasearchberefined
	                     for the states that can be specified.

Other similar packages

Other NPM packages exist that also integrate with Pivotal Tracker. If this simple package doesn't meet your needs you may want to use one of them instead:

Pivotal client libraries

Git-Pivotal Integration