|
|
cf8056a |
Name: did
|
|
|
8a1b5f4 |
Version: 0.17
|
|
|
8a1b5f4 |
Release: 1%{?dist}
|
|
|
cf8056a |
|
|
|
cf8056a |
Summary: What did you do last week, month, year?
|
|
|
cf8056a |
License: GPLv2+
|
|
|
cf8056a |
|
|
|
cf8056a |
URL: https://github.com/psss/did
|
|
|
9fa9800 |
Source0: %{url}/releases/download/%{version}/did-%{version}.tar.bz2
|
|
|
cf8056a |
|
|
|
cf8056a |
BuildArch: noarch
|
|
|
9fa9800 |
BuildRequires: git-core
|
|
|
9fa9800 |
BuildRequires: python3-bugzilla
|
|
|
9fa9800 |
BuildRequires: python3-dateutil
|
|
|
9fa9800 |
BuildRequires: python3-devel
|
|
|
9fa9800 |
BuildRequires: python3-httplib2
|
|
|
9fa9800 |
BuildRequires: python3-pytest
|
|
|
9fa9800 |
BuildRequires: python3-requests-gssapi
|
|
|
9fa9800 |
BuildRequires: python3-setuptools
|
|
|
9fa9800 |
Requires: python3-bugzilla
|
|
|
9fa9800 |
Requires: python3-httplib2
|
|
|
c4c038c |
Requires: python3-nitrate
|
|
|
9fa9800 |
Requires: python3-requests-gssapi
|
|
|
9fa9800 |
|
|
|
9fa9800 |
%?python_enable_dependency_generator
|
|
|
cf8056a |
|
|
|
cf8056a |
%description
|
|
|
cf8056a |
Comfortably gather status report data (e.g. list of committed
|
|
|
cf8056a |
changes) for given week, month, quarter, year or selected date
|
|
|
cf8056a |
range. By default all available stats for this week are reported.
|
|
|
cf8056a |
|
|
|
cf8056a |
%prep
|
|
|
cf8056a |
%autosetup -S git
|
|
|
cf8056a |
|
|
|
cf8056a |
%build
|
|
|
9fa9800 |
%py3_build
|
|
|
cf8056a |
|
|
|
cf8056a |
%install
|
|
|
9fa9800 |
%py3_install
|
|
|
cf8056a |
mkdir -p %{buildroot}%{_mandir}/man1
|
|
|
cf8056a |
install -pm 644 did.1.gz %{buildroot}%{_mandir}/man1
|
|
|
cf8056a |
|
|
|
9fa9800 |
%check
|
|
|
8a1b5f4 |
export LANG=en_US.utf-8
|
|
|
9fa9800 |
%{__python3} -m pytest -vv tests/test*.py -k 'not smoke'
|
|
|
cf8056a |
|
|
|
cf8056a |
%files
|
|
|
cf8056a |
%{_mandir}/man1/*
|
|
|
cf8056a |
%{_bindir}/did
|
|
|
9fa9800 |
%{python3_sitelib}/%{name}/
|
|
|
9fa9800 |
%{python3_sitelib}/%{name}-*.egg-info/
|
|
|
cf8056a |
%doc README.rst examples
|
|
|
cf8056a |
%license LICENSE
|
|
|
cf8056a |
|
|
|
cf8056a |
%changelog
|
|
|
8a1b5f4 |
* Mon Jul 13 2020 Petr Šplíchal <psplicha@redhat.com> - 0.17-1
|
|
|
8a1b5f4 |
- Prevent exploring tests under the tmt directory
|
|
|
8a1b5f4 |
- Run unit tests always under the English locale
|
|
|
8a1b5f4 |
- Enable basic smoke test against github in packit
|
|
|
8a1b5f4 |
- Disable test for the redmine plugin
|
|
|
8a1b5f4 |
- Update test data for the redmine plugin
|
|
|
8a1b5f4 |
- Update test data for the sentry plugin
|
|
|
8a1b5f4 |
- Update test data for the gerrit plugin
|
|
|
8a1b5f4 |
- Use calendar year quarters by default [fix #223]
|
|
|
8a1b5f4 |
- Merge the improved Jira search [#198]
|
|
|
8a1b5f4 |
- Adjust improved Jira search using scriptrunner
|
|
|
8a1b5f4 |
- Use scriptrunner issueFunction to speed up things
|
|
|
8a1b5f4 |
- Simplify Packit config (copr_build no more needed)
|
|
|
8a1b5f4 |
- Update test data for the sentry plugin
|
|
|
8a1b5f4 |
- Implement Jira issue comparison to prevent dupes
|
|
|
8a1b5f4 |
- Do not break sorting on merge
|
|
|
8a1b5f4 |
- Add default command into the info log [fix #217]
|
|
|
8a1b5f4 |
- Enable Python 3.8 in Travis, update metadata
|
|
|
05d05b2 |
|
|
|
c4c038c |
* Tue Dec 10 2019 Petr Šplíchal <psplicha@redhat.com> - 0.16-1
|
|
|
c4c038c |
- Convert smoke test into docs test, fix config file
|
|
|
c4c038c |
- Include a short summary in the help usage message
|
|
|
c4c038c |
- Enable simple smoke test in the testing farm
|
|
|
c4c038c |
- Add nitrate back into the package requires
|
|
|
c4c038c |
- Enable custom tarball in Packit to fix man page
|
|
|
c4c038c |
- Mention custom plugins config on the plugins page
|
|
|
c4c038c |
- Enable copr builds and add packit config
|
|
|
c4c038c |
- Custom eprint() is no more necessary [fix #211]
|
|
|
c4c038c |
- Convert custom section order to int [fix #212]
|
|
|
c4c038c |
|
|
|
8d9d8a5 |
* Thu Nov 14 2019 Petr Šplíchal <psplicha@redhat.com> - 0.15-1
|
|
|
8d9d8a5 |
- Create a single StatsGroup for 'items' [fix #208]
|
|
|
8d9d8a5 |
- Google plugin __unicode__ leftover
|
|
|
8d9d8a5 |
|
|
|
9fa9800 |
* Tue Oct 29 2019 Petr Šplíchal <psplicha@redhat.com> - 0.14-2
|
|
|
9fa9800 |
- Include python3-setuptools in the BuildRequires
|
|
|
9fa9800 |
- Use info level to log problems with plugin import
|
|
|
cf8056a |
|
|
|
9fa9800 |
* Tue Oct 22 2019 Petr Šplíchal <psplicha@redhat.com> - 0.14-1
|
|
|
9fa9800 |
- Include setup.py, use auto build/install, enable tests
|
|
|
9fa9800 |
- Fix 'did --test' when no config is present
|
|
|
9fa9800 |
- Update spec file for Python 3
|
|
|
9fa9800 |
- Update shebang to explicitly use python3
|
|
|
9fa9800 |
- Fix mixed tabs and spaces in docs/conf.py
|
|
|
9fa9800 |
- Goodbye Python 2! Thanks and have a good night ;-)
|
|
|
9fa9800 |
- Cleanup built docs directly
|
|
|
9fa9800 |
- Do not remove python's egg when doing the cleanup
|
|
|
9fa9800 |
- Document the custom plugin configuration
|
|
|
9fa9800 |
- A couple of custom plugins feature adjustments
|
|
|
9fa9800 |
- Support for custom plugin location [#160]
|
|
|
9fa9800 |
- Fix typo in the license classifier
|
|
|
cf8056a |
|
|
|
9fa9800 |
* Tue Oct 01 2019 Petr Šplíchal <psplicha@redhat.com> - 0.13-1
|
|
|
9fa9800 |
- Support for the full file path config [#140]
|
|
|
9fa9800 |
- Add the 'last friday' command [#197]
|
|
|
9fa9800 |
- New plugin with basic confluence support [#199]
|
|
|
9fa9800 |
- Improve redmine documentation [#195]
|
|
|
9fa9800 |
- Add a new 'wip' option for gerrit [#194]
|
|
|
9fa9800 |
- Include project name in gerrit stats [#192]
|
|
|
9fa9800 |
- Fix the configuration examples for gerrit
|
|
|
9fa9800 |
- Simplify Pagure search for created issues
|
|
|
9fa9800 |
- Extended query for verified bugs [fix #189]
|
|
|
9fa9800 |
- Fix for reviewed gerrit changes [#188]
|
|
|
9fa9800 |
- Add gerrit work-in-progress changes [#187]
|
|
|
9fa9800 |
- Fix for gerrit log strings [#186]
|
|
|
9fa9800 |
- Improve gerrit search limit [#185]
|
|
|
9fa9800 |
- Document API key auth for bugzilla [fix #180]
|
|
|
9fa9800 |
- Mock bugzilla module to fix generating docs
|
|
|
9fa9800 |
- Update feedparser requires
|
|
|
9fa9800 |
- Fix for gerrit plugin typo [#179]
|
|
|
cf8056a |
|
|
|
cf8056a |
* Thu Dec 20 2018 Petr Šplíchal <psplicha@redhat.com> 0.12-1
|
|
|
cf8056a |
- Add missing redmine dependency [fix #177]
|
|
|
cf8056a |
- Fix GitLab plugin's ssl_verify option [fix #168]
|
|
|
cf8056a |
- Document GitLab access token scope
|
|
|
cf8056a |
- Merge ssl_verify support for Jira [#169]
|
|
|
cf8056a |
- Merge support for Trello commented cards [#170]
|
|
|
cf8056a |
- Fix commented cards title, improve the test suite
|
|
|
cf8056a |
- Add a simple test for completed tasks, update auth
|
|
|
cf8056a |
- Merge support for completed Google tasks [#173]
|
|
|
cf8056a |
- Merge fix for the Google dependencies [#166]
|
|
|
cf8056a |
- Document additional google dependencies
|
|
|
cf8056a |
- Adding support for Google tasks
|
|
|
cf8056a |
- Add commentCard to trello DEFAULT_FILTERS
|
|
|
cf8056a |
- Allow to set 'ssl_verify' config for jira plugin
|
|
|
cf8056a |
- Support 'creator' in bugzilla plugin [fix #167]
|
|
|
cf8056a |
- Give a nice error when user not found [fix #159]
|
|
|
cf8056a |
- Fix jira basic authentication [fix #163]
|
|
|
cf8056a |
- Fix long_description in setup.py
|
|
|
cf8056a |
- Update pip installation instructions
|
|
|
cf8056a |
- Update the example config with recent plugins
|
|
|
cf8056a |
- Describe in more detail how the tool works
|
|
|
cf8056a |
- Silently ignore non-git directories [fix #143]
|
|
|
cf8056a |
- Separate arguments preparation, add test coverage
|
|
|
cf8056a |
- New option --test to run a simple smoke test
|
|
|
cf8056a |
- Remove python2-gssapi from Requires
|
|
|
cf8056a |
- Make REQUESTS_CA_BUNDLE example copy-paste-able
|
|
|
cf8056a |
- Merge fix for the gitlab --since issue [fix #156]
|
|
|
cf8056a |
- Remove gssapi dependency from the main cli module
|
|
|
cf8056a |
- Quick start section, update install instructions
|
|
|
cf8056a |
- Simplify setup.py, update requires
|
|
|
cf8056a |
- Fix --since issue in gitlab plugin
|
|
|
cf8056a |
|
|
|
cf8056a |
* Mon Nov 26 2018 Petr Šplíchal <psplicha@redhat.com> 0.11-1
|
|
|
cf8056a |
- Validate plugin types in config [fix #148]
|
|
|
cf8056a |
- Use email for searching Jira issues [fix #122]
|
|
|
cf8056a |
- Handle authentication errors in the Jira plugin
|
|
|
cf8056a |
- Update shebang to explicitly use python2
|
|
|
cf8056a |
- Add a new section Questions to docs [fix #155]
|
|
|
cf8056a |
- Raise error on unsuccessful request [fix #154]
|
|
|
cf8056a |
- New plugin for Pagure stats [fix #153]
|
|
|
cf8056a |
- Use requests-gssapi for Jira stats
|
|
|
cf8056a |
- Fix problems with the Sentry plugin
|
|
|
cf8056a |
- Merge configurable ssl verify for gitlab [#136]
|
|
|
cf8056a |
- Merge the improved gitlab search [#137]
|
|
|
cf8056a |
- Merge the new redmine plugin [#135]
|
|
|
cf8056a |
- Some minor adjustments for the redmine plugin
|
|
|
cf8056a |
- GitHub stats about reviewed PRs [#127]
|
|
|
cf8056a |
- Remove zero-fill from Jira issues [fix #149]
|
|
|
cf8056a |
- Add oauth2client to docs requirements [fix #152]
|
|
|
cf8056a |
- Adjust until limit of the sentry plugin [fix #151]
|
|
|
cf8056a |
- Update test data for the sentry & google plugins
|
|
|
cf8056a |
- Update Python macros to new packaging standards
|
|
|
cf8056a |
- Port to python-gssapi
|
|
|
cf8056a |
- Fixed issue with failing tests
|
|
|
cf8056a |
- Remove the idonethis plugin
|
|
|
cf8056a |
- Merge the new sentry plugin
|
|
|
cf8056a |
- Add basic Redmine support
|
|
|
cf8056a |
- Add basic GitLab support
|
|
|
cf8056a |
- Add search for subscribed bugs
|
|
|
cf8056a |
- Add did.spec to MANIFEST.in
|
|
|
cf8056a |
- Merge fix for bugs patched when created [#109]
|
|
|
cf8056a |
- Merge the new Bugzilla query syntax [#111]
|
|
|
cf8056a |
- Fetch only needed stats during GitHub testing
|
|
|
cf8056a |
- Merge support for pull request separation [#114]
|
|
|
cf8056a |
- Show month name / week number by default [#106]
|
|
|
cf8056a |
|
|
|
cf8056a |
* Wed Jan 11 2017 Martin Frodl <mfrodl@redhat.com> 0.10-1
|
|
|
cf8056a |
- New plugin for Google Apps
|
|
|
cf8056a |
- Document how to generate documentation locally
|
|
|
cf8056a |
- Mock C modules while building documentation
|
|
|
cf8056a |
- Make all make versions happy
|
|
|
cf8056a |
- Add requirements.txt to fix docs building
|
|
|
cf8056a |
- Properly handle GitHub issues with Unicode names
|
|
|
cf8056a |
- Add login key to github section in example config
|
|
|
cf8056a |
- Update install docs with fresh Fedora instructions
|
|
|
cf8056a |
- Update coveralls links in README
|
|
|
cf8056a |
- List install dependencies for Debian-based systems
|
|
|
cf8056a |
- Use another Trac instance in plugin test
|
|
|
cf8056a |
- Move kerberos to extra requires
|
|
|
cf8056a |
|
|
|
cf8056a |
* Mon Apr 04 2016 Petr Šplíchal <psplicha@redhat.com> 0.9-1
|
|
|
cf8056a |
- New plugins supported: Trello, bit.ly, idonethis
|
|
|
cf8056a |
- Support 'did yesterday' for yesterday's updates
|
|
|
cf8056a |
- Ignore comment updates without author specified
|
|
|
cf8056a |
- User does not have to be assignee to close a bug
|
|
|
cf8056a |
- Create vim tags using the 'make tags' target
|
|
|
cf8056a |
- Use option prefix also for git, header and footer
|
|
|
cf8056a |
- Extend the test coverage for cli, base and utils
|
|
|
cf8056a |
- Rename DID_CONFIG to DID_DIR to match the content
|
|
|
cf8056a |
- Improve error handling, especially config errors
|
|
|
cf8056a |
- Migrate option parsing from optparse to argparse
|
|
|
cf8056a |
- Configurable support for showing bug resolutions
|
|
|
cf8056a |
- Support --conf as abbreviation for --config
|
|
|
cf8056a |
- Initial set of tests for the trac plugin
|
|
|
cf8056a |
- Improve readability of gerrit by using review number
|
|
|
cf8056a |
- Improve closed bugs stats, add test case [fix #45]
|
|
|
cf8056a |
- Add statistics of closed bugs for bugzilla plugin
|
|
|
cf8056a |
|
|
|
cf8056a |
* Wed Sep 23 2015 Petr Šplíchal <psplicha@redhat.com> 0.8-1
|
|
|
cf8056a |
- Give warning for git repository problems [fix #41]
|
|
|
cf8056a |
- Add example with config dir set to: ~/.config/did/
|
|
|
cf8056a |
- Support for basic authentication in jira plugin
|
|
|
cf8056a |
- Support config profiles (new option --config)
|
|
|
cf8056a |
- Generate coverage annotations for 'make coverage'
|
|
|
cf8056a |
- Support aliases in config sections, improves #36
|
|
|
cf8056a |
- The first draft of the github plugin [fix #42]
|
|
|
cf8056a |
- Support custom email/login aliases [fix #36]
|
|
|
cf8056a |
- Include detailed description for general options
|
|
|
cf8056a |
- Properly check email in gerrit messages [fix #34]
|
|
|
cf8056a |
- Correctly handle invalid arguments [fix #33]
|
|
|
cf8056a |
- Do not include the whole docs dir in the tarball
|
|
|
cf8056a |
- Properly document how email addresses are handled
|
|
|
cf8056a |
- Use wheels for python packaging (no source dist)
|
|
|
cf8056a |
- Include Python package building stuff in Makefile
|
|
|
cf8056a |
|
|
|
cf8056a |
* Fri Sep 18 2015 Petr Šplíchal <psplicha@redhat.com> 0.7-1
|
|
|
cf8056a |
- Refer Travis CI and Coveralls in contribute docs
|
|
|
cf8056a |
- Remove version from the documentation completely
|
|
|
cf8056a |
- Unshallow the git repo as it is used for testing
|
|
|
cf8056a |
- Ignore errors about non-existent bugzilla emails
|
|
|
cf8056a |
- Better handle xmlrpclib errors during bug search
|
|
|
cf8056a |
- Document bugzilla plugin stats in more detail
|
|
|
cf8056a |
- Bugzilla test suite adjustments (split, asserts)
|
|
|
cf8056a |
- Log kerberos error as a debug message
|
|
|
cf8056a |
- Decode command line arguments from utf-8
|
|
|
cf8056a |
- Filter returned bugs by email or name
|
|
|
cf8056a |
- Moving bug from NEW to ASSIGNED is not returning
|
|
|
cf8056a |
- Improve fixed bugs detection in bugzilla plugin
|
|
|
cf8056a |
- Allow stats name detection from multiline docs
|
|
|
cf8056a |
- Do not run 'make clean' in the pre-commit hook
|
|
|
cf8056a |
- Support fetching large queries in jira plugin
|
|
|
cf8056a |
- Document stats order specification in config
|
|
|
cf8056a |
|
|
|
cf8056a |
* Fri Sep 11 2015 Petr Šplíchal <psplicha@redhat.com> 0.6-1
|
|
|
cf8056a |
- Provide a couple of real-life examples in docs
|
|
|
cf8056a |
- Convert plugin order list into table
|
|
|
cf8056a |
- Update welcome page and module documentation
|
|
|
cf8056a |
- Handle invalid dates, paths and urls
|
|
|
cf8056a |
- Consider ticket description change as update
|
|
|
cf8056a |
- Check free command line arguments for typos
|
|
|
cf8056a |
- Include example config in docs, adjust man page
|
|
|
cf8056a |
- Fix the --debug option, prevent logger duplication
|
|
|
cf8056a |
- Correctly handle missing config file
|
|
|
cf8056a |
- Move Options.time_period() to Date.period()
|
|
|
cf8056a |
- Update source url, add python-bugzilla to requires
|
|
|
cf8056a |
- Move stats classes into a separate module
|
|
|
cf8056a |
- Completely remove get_color_mode/set_color_mode
|
|
|
cf8056a |
- Adjust utils.pluralize() to take a single argument
|
|
|
cf8056a |
- Adjust commit-msg hook to handle comments
|
|
|
cf8056a |
- Move command line code to the did.cli module
|
|
|
cf8056a |
|
|
|
cf8056a |
* Wed Sep 09 2015 Petr Šplíchal <psplicha@redhat.com> 0.5-1
|
|
|
cf8056a |
- New tests for command line script, bugzilla, git
|
|
|
cf8056a |
- Update README with synopsis and today's example
|
|
|
cf8056a |
- Clean up the Makefile, remove obsoleted stuff
|
|
|
cf8056a |
- Document general command line options in overview
|
|
|
cf8056a |
- Extend contribute doc with Introduction & Makefile
|
|
|
cf8056a |
- Update and simplify git commit hooks
|
|
|
cf8056a |
- Use config directory instead of a single file
|
|
|
cf8056a |
- New Makefile targets: test, smoke, coverage, docs
|
|
|
cf8056a |
- Add mr.bob template to generate new default plugin
|
|
|
cf8056a |
- Enable package 'extras' (dependencies) install
|
|
|
cf8056a |
- Do not ignore sphinx dirs _static and _templates
|
|
|
cf8056a |
- Move script, modules & tests out of the source dir
|
|
|
cf8056a |
|
|
|
cf8056a |
* Sun Sep 06 2015 Petr Šplíchal <psplicha@redhat.com> 0.4-1
|
|
|
cf8056a |
- What did you do last week, month, year? (did rename)
|
|
|
cf8056a |
- Plugins: bugzilla, rt, gerrit, jira, wiki, nitrate
|
|
|
cf8056a |
- Separate the install/contribute documentation
|
|
|
cf8056a |
- Correctly handle config as utf8, email splitting
|
|
|
cf8056a |
- The Big Documentation Cleanup, hooks to examples
|
|
|
cf8056a |
- Allow parsing config file directly from string
|
|
|
cf8056a |
- Allow config location override, read config once
|
|
|
cf8056a |
- Move docs to sphinx, githooks, rpm build fix
|
|
|
cf8056a |
- An initial cut at creating a docker container
|
|
|
cf8056a |
- Refactor plugin/stats architecture
|
|
|
cf8056a |
- Use Travis CI, add initial tests
|
|
|
cf8056a |
- Move README, add code coverage and badges
|
|
|
cf8056a |
|
|
|
cf8056a |
* Thu Apr 23 2015 Petr Šplíchal <psplicha@redhat.com> 0.3-1
|
|
|
cf8056a |
- Update README with PIP and test information
|
|
|
cf8056a |
- Enable travis-ci and some tests
|
|
|
cf8056a |
- A couple of adjustments after the nitrate cleanup
|
|
|
cf8056a |
- Remove nitrate dependency, adjust user handling
|
|
|
cf8056a |
|
|
|
cf8056a |
* Wed Apr 22 2015 Petr Šplíchal <psplicha@redhat.com> 0.2-1
|
|
|
cf8056a |
- Incorporated package review feedback [BZ#1213739]
|
|
|
cf8056a |
- Include essential gitignore patterns
|
|
|
cf8056a |
- Handle custom stats as a plugin as well
|
|
|
cf8056a |
- Handle header & footer as other plugins
|
|
|
cf8056a |
- Plugin detection finalized including sort order
|
|
|
cf8056a |
- Style cleanup and adjustments for plugin detection
|
|
|
cf8056a |
- The first version of the plugin detection support
|
|
|
cf8056a |
|
|
|
cf8056a |
* Mon Apr 20 2015 Petr Šplíchal <psplicha@redhat.com> 0.1-0
|
|
|
cf8056a |
- Initial packaging.
|