02c8270
Name: did
02c8270
Version: 0.6
02c8270
Release: 1%{?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
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
02c8270
install -pm 644 docs/*.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
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.