02c8270
Name: did
58b43d9
Version: 0.9
42a4ba5
Release: 3%{?dist}
02c8270
02c8270
Summary: What did you do last week, month, year?
02c8270
License: GPLv2+
02c8270
02c8270
URL: https://github.com/psss/did
02c8270
Source: https://github.com/psss/did/releases/download/%{version}/did-%{version}.tar.bz2
02c8270
02c8270
BuildArch: noarch
02c8270
BuildRequires: python-devel
02c8270
Requires: python-kerberos python-nitrate python-dateutil python-urllib2_kerberos python-bugzilla
58b43d9
%{?el6:Requires: python-argparse}
02c8270
02c8270
%description
02c8270
Comfortably gather status report data (e.g. list of committed
02c8270
changes) for given week, month, quarter, year or selected date
02c8270
range. By default all available stats for this week are reported.
02c8270
02c8270
%prep
02c8270
%setup -q
02c8270
02c8270
%build
02c8270
02c8270
%install
02c8270
mkdir -p %{buildroot}%{_bindir}
02c8270
mkdir -p %{buildroot}%{_mandir}/man1
02c8270
mkdir -p %{buildroot}%{python_sitelib}/did
02c8270
mkdir -p %{buildroot}%{python_sitelib}/did/plugins
02c8270
install -pm 755 bin/did %{buildroot}%{_bindir}/did
02c8270
install -pm 644 did/*.py %{buildroot}%{python_sitelib}/did
02c8270
install -pm 644 did/plugins/*.py %{buildroot}%{python_sitelib}/did/plugins
58b43d9
install -pm 644 did.1.gz %{buildroot}%{_mandir}/man1
02c8270
02c8270
02c8270
%files
02c8270
%{_mandir}/man1/*
02c8270
%{_bindir}/did
02c8270
%{python_sitelib}/*
02c8270
%doc README.rst examples
02c8270
%{!?_licensedir:%global license %%doc}
02c8270
%license LICENSE
02c8270
02c8270
%changelog
42a4ba5
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-3
42a4ba5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
42a4ba5
7e49076
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-2
7e49076
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
7e49076
58b43d9
* Mon Apr 04 2016 Petr Šplíchal <psplicha@redhat.com> 0.9-1
58b43d9
- New plugins supported: Trello, bit.ly, idonethis
58b43d9
- Support 'did yesterday' for yesterday's updates
58b43d9
- Ignore comment updates without author specified
58b43d9
- User does not have to be assignee to close a bug
58b43d9
- Create vim tags using the 'make tags' target
58b43d9
- Use option prefix also for git, header and footer
58b43d9
- Extend the test coverage for cli, base and utils
58b43d9
- Rename DID_CONFIG to DID_DIR to match the content
58b43d9
- Improve error handling, especially config errors
58b43d9
- Migrate option parsing from optparse to argparse
58b43d9
- Configurable support for showing bug resolutions
58b43d9
- Support --conf as abbreviation for --config
58b43d9
- Initial set of tests for the trac plugin
58b43d9
- Improve readability of gerrit by using review number
58b43d9
- Improve closed bugs stats, add test case [fix #45]
58b43d9
- Add statistics of closed bugs for bugzilla plugin
58b43d9
58b43d9
* Wed Sep 23 2015 Petr Šplíchal <psplicha@redhat.com> 0.8-1
58b43d9
- Give warning for git repository problems [fix #41]
58b43d9
- Add example with config dir set to: ~/.config/did/
58b43d9
- Support for basic authentication in jira plugin
58b43d9
- Support config profiles (new option --config)
58b43d9
- Generate coverage annotations for 'make coverage'
58b43d9
- Support aliases in config sections, improves #36
58b43d9
- The first draft of the github plugin [fix #42]
58b43d9
- Support custom email/login aliases [fix #36]
58b43d9
- Include detailed description for general options
58b43d9
- Properly check email in gerrit messages [fix #34]
58b43d9
- Correctly handle invalid arguments [fix #33]
58b43d9
- Do not include the whole docs dir in the tarball
58b43d9
- Properly document how email addresses are handled
58b43d9
- Use wheels for python packaging (no source dist)
58b43d9
- Include Python package building stuff in Makefile
58b43d9
58b43d9
* Fri Sep 18 2015 Petr Šplíchal <psplicha@redhat.com> 0.7-1
58b43d9
- Refer Travis CI and Coveralls in contribute docs
58b43d9
- Remove version from the documentation completely
58b43d9
- Unshallow the git repo as it is used for testing
58b43d9
- Ignore errors about non-existent bugzilla emails
58b43d9
- Better handle xmlrpclib errors during bug search
58b43d9
- Document bugzilla plugin stats in more detail
58b43d9
- Bugzilla test suite adjustments (split, asserts)
58b43d9
- Log kerberos error as a debug message
58b43d9
- Decode command line arguments from utf-8
58b43d9
- Filter returned bugs by email or name
58b43d9
- Moving bug from NEW to ASSIGNED is not returning
58b43d9
- Improve fixed bugs detection in bugzilla plugin
58b43d9
- Allow stats name detection from multiline docs
58b43d9
- Do not run 'make clean' in the pre-commit hook
58b43d9
- Support fetching large queries in jira plugin
58b43d9
- Document stats order specification in config
18e316a
02c8270
* Fri Sep 11 2015 Petr Šplíchal <psplicha@redhat.com> 0.6-1
02c8270
- Provide a couple of real-life examples in docs
02c8270
- Convert plugin order list into table
02c8270
- Update welcome page and module documentation
02c8270
- Handle invalid dates, paths and urls
02c8270
- Consider ticket description change as update
02c8270
- Check free command line arguments for typos
02c8270
- Include example config in docs, adjust man page
02c8270
- Fix the --debug option, prevent logger duplication
02c8270
- Correctly handle missing config file
02c8270
- Move Options.time_period() to Date.period()
02c8270
- Update source url, add python-bugzilla to requires
02c8270
- Move stats classes into a separate module
02c8270
- Completely remove get_color_mode/set_color_mode
02c8270
- Adjust utils.pluralize() to take a single argument
02c8270
- Adjust commit-msg hook to handle comments
02c8270
- Move command line code to the did.cli module
02c8270
02c8270
* Wed Sep 09 2015 Petr Šplíchal <psplicha@redhat.com> 0.5-1
02c8270
- New tests for command line script, bugzilla, git
02c8270
- Update README with synopsis and today's example
02c8270
- Clean up the Makefile, remove obsoleted stuff
02c8270
- Document general command line options in overview
02c8270
- Extend contribute doc with Introduction & Makefile
02c8270
- Update and simplify git commit hooks
02c8270
- Use config directory instead of a single file
02c8270
- New Makefile targets: test, smoke, coverage, docs
02c8270
- Add mr.bob template to generate new default plugin
02c8270
- Enable package 'extras' (dependencies) install
02c8270
- Do not ignore sphinx dirs _static and _templates
02c8270
- Move script, modules & tests out of the source dir
02c8270
02c8270
* Sun Sep 06 2015 Petr Šplíchal <psplicha@redhat.com> 0.4-1
02c8270
- What did you do last week, month, year? (did rename)
02c8270
- Plugins: bugzilla, rt, gerrit, jira, wiki, nitrate
02c8270
- Separate the install/contribute documentation
02c8270
- Correctly handle config as utf8, email splitting
02c8270
- The Big Documentation Cleanup, hooks to examples
02c8270
- Allow parsing config file directly from string
02c8270
- Allow config location override, read config once
02c8270
- Move docs to sphinx, githooks, rpm build fix
02c8270
- An initial cut at creating a docker container
02c8270
- Refactor plugin/stats architecture
02c8270
- Use Travis CI, add initial tests
02c8270
- Move README, add code coverage and badges
02c8270
02c8270
* Thu Apr 23 2015 Petr Šplíchal <psplicha@redhat.com> 0.3-1
02c8270
- Update README with PIP and test information
02c8270
- Enable travis-ci and some tests
02c8270
- A couple of adjustments after the nitrate cleanup
02c8270
- Remove nitrate dependency, adjust user handling
02c8270
02c8270
* Wed Apr 22 2015 Petr Šplíchal <psplicha@redhat.com> 0.2-1
02c8270
- Incorporated package review feedback [BZ#1213739]
02c8270
- Include essential gitignore patterns
02c8270
- Handle custom stats as a plugin as well
02c8270
- Handle header & footer as other plugins
02c8270
- Plugin detection finalized including sort order
02c8270
- Style cleanup and adjustments for plugin detection
02c8270
- The first version of the plugin detection support
02c8270
02c8270
* Mon Apr 20 2015 Petr Šplíchal <psplicha@redhat.com> 0.1-0
02c8270
- Initial packaging.