Skip to main content

did - What did you do last week, month, year?

Project description

What did you do last week, month, year?

Description

Comfortably gather status report data (e.g. list of committed changes) for given week, month, quarter, year or selected date range. By default all available stats for this week are reported.

Synopsis

Usage is straightforward:

did [last] [week|month|quarter|year] [opts]

Examples

Gather all stats for current week:

did

Show me all stats for today:

did today

Gather stats for the last month:

did last month

See did --help for complete list of available stats.

Options

The list of available options depends on which plugins are configured. Here’s the list of general options which are not related to any plugin:

Select

--email=EMAILS

User email address(es)

--since=SINCE

Start date in the YYYY-MM-DD format

--until=UNTIL

End date in the YYYY-MM-DD format

Format

--format=FMT

Output style, possible values: text (default) or wiki

--width=WIDTH

Maximum width of the report output (default: 79)

--brief

Show brief summary only, do not list individual items

--verbose

Include more details (like modified git directories)

Other

--total

Append total stats after listing individual users

--merge

Merge stats of all users into a single report

--debug

Turn on debugging output, do not catch exceptions

See did --help for complete list of available options.

Install

Install directly from Fedora/Copr repository:

yum install did

or use PIP (sudo required if not in a virtualenv):

pip install did

To build and execute in a docker container, run:

make run_docker

See documentation for more details about installation options.

Config

The config file ~/.did/config is used to store both general settings and configuration of individual reports:

[general]
email = "Petr Šplíchal" <psplicha@redhat.com>
width = 79

[header]
type = header
highlights = Highlights
joy = Joy of the week ;-)

[tools]
type = git
did = /home/psss/git/did

[tests]
type = git
tests = /home/psss/git/tests/*

[trac]
type = trac
prefix = TT
url = https://some.trac.com/trac/project/rpc

[bz]
type = bugzilla
prefix = BZ
url = https://bugzilla.redhat.com/xmlrpc.cgi

[footer]
type = footer
next = Plans, thoughts, ideas...
status = Status: Green | Yellow | Orange | Red

See plugin documentation for more detailed description of options available for particular plugin. You can also check python module documentation directly, e.g. pydoc did.plugins.git or use the example config provided in the package and web documentation.

Authors

Petr Šplíchal, Karel Šrot, Lukáš Zachar, Matěj Cepl, Ondřej Pták and Chris Ward.

Status

https://badge.fury.io/py/did.svg https://travis-ci.org/psss/did.svg?branch=master https://coveralls.io/repos/psss/did/badge.svg https://img.shields.io/pypi/dm/did.svg https://img.shields.io/pypi/l/did.svg https://readthedocs.org/projects/did/badge/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

did-0.7.3-py2-none-any.whl (39.5 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page