-
Notifications
You must be signed in to change notification settings - Fork 0
/
did.spec
336 lines (307 loc) · 13.4 KB
/
did.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
Name: did
Version: 0.18
Release: 1%{?dist}
Summary: What did you do last week, month, year?
License: GPLv2+
URL: https://github.com/psss/did
Source0: %{url}/releases/download/%{version}/did-%{version}.tar.bz2
BuildArch: noarch
BuildRequires: git-core
BuildRequires: python3-bugzilla
BuildRequires: python3-dateutil
BuildRequires: python3-devel
BuildRequires: python3-httplib2
BuildRequires: python3-pytest
BuildRequires: python3-requests-gssapi
BuildRequires: python3-setuptools
Requires: python3-bugzilla
Requires: python3-httplib2
Requires: python3-nitrate
Requires: python3-requests-gssapi
%?python_enable_dependency_generator
%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.
%prep
%autosetup -S git
%build
%py3_build
%install
%py3_install
mkdir -p %{buildroot}%{_mandir}/man1
install -pm 644 did.1.gz %{buildroot}%{_mandir}/man1
%check
export LANG=en_US.utf-8
%{__python3} -m pytest -vv tests/test*.py -k 'not smoke'
%files
%{_mandir}/man1/*
%{_bindir}/did
%{python3_sitelib}/%{name}/
%{python3_sitelib}/%{name}-*.egg-info/
%doc README.rst examples
%license LICENSE
%changelog
* Mon Apr 19 2021 Petr Šplíchal <[email protected]> - 0.18-1
- Support custom xmlrpc endpoint for MoinMoin wiki
- Adjust the approved merge requests for gitlab
- Add search for approved merge requests in gitlab
- Enable copr builds from master, simplify tests
- Add "no prefix" rule to commit message suggestions
- Simplify packit config, enable epel-8 for testing
- Do not use interpolation for ConfigParser
- Expand tilde in config path values
- Fix a typo in the README format section
- Update test data for the gerrit plugin
- Adjust password file support for jira & confluence
- Add password file options for jira and confluence
* Mon Jul 13 2020 Petr Šplíchal <[email protected]> - 0.17-1
- Prevent exploring tests under the tmt directory
- Run unit tests always under the English locale
- Enable basic smoke test against github in packit
- Disable test for the redmine plugin
- Update test data for the redmine plugin
- Update test data for the sentry plugin
- Update test data for the gerrit plugin
- Use calendar year quarters by default [fix #223]
- Merge the improved Jira search [#198]
- Adjust improved Jira search using scriptrunner
- Use scriptrunner issueFunction to speed up things
- Simplify Packit config (copr_build no more needed)
- Update test data for the sentry plugin
- Implement Jira issue comparison to prevent dupes
- Do not break sorting on merge
- Add default command into the info log [fix #217]
- Enable Python 3.8 in Travis, update metadata
* Tue Dec 10 2019 Petr Šplíchal <[email protected]> - 0.16-1
- Convert smoke test into docs test, fix config file
- Include a short summary in the help usage message
- Enable simple smoke test in the testing farm
- Add nitrate back into the package requires
- Enable custom tarball in Packit to fix man page
- Mention custom plugins config on the plugins page
- Enable copr builds and add packit config
- Custom eprint() is no more necessary [fix #211]
- Convert custom section order to int [fix #212]
* Thu Nov 14 2019 Petr Šplíchal <[email protected]> - 0.15-1
- Create a single StatsGroup for 'items' [fix #208]
- Google plugin __unicode__ leftover
* Tue Oct 29 2019 Petr Šplíchal <[email protected]> - 0.14-2
- Include python3-setuptools in the BuildRequires
- Use info level to log problems with plugin import
* Tue Oct 22 2019 Petr Šplíchal <[email protected]> - 0.14-1
- Include setup.py, use auto build/install, enable tests
- Fix 'did --test' when no config is present
- Update spec file for Python 3
- Update shebang to explicitly use python3
- Fix mixed tabs and spaces in docs/conf.py
- Goodbye Python 2! Thanks and have a good night ;-)
- Cleanup built docs directly
- Do not remove python's egg when doing the cleanup
- Document the custom plugin configuration
- A couple of custom plugins feature adjustments
- Support for custom plugin location [#160]
- Fix typo in the license classifier
* Tue Oct 01 2019 Petr Šplíchal <[email protected]> - 0.13-1
- Support for the full file path config [#140]
- Add the 'last friday' command [#197]
- New plugin with basic confluence support [#199]
- Improve redmine documentation [#195]
- Add a new 'wip' option for gerrit [#194]
- Include project name in gerrit stats [#192]
- Fix the configuration examples for gerrit
- Simplify Pagure search for created issues
- Extended query for verified bugs [fix #189]
- Fix for reviewed gerrit changes [#188]
- Add gerrit work-in-progress changes [#187]
- Fix for gerrit log strings [#186]
- Improve gerrit search limit [#185]
- Document API key auth for bugzilla [fix #180]
- Mock bugzilla module to fix generating docs
- Update feedparser requires
- Fix for gerrit plugin typo [#179]
* Thu Dec 20 2018 Petr Šplíchal <[email protected]> 0.12-1
- Add missing redmine dependency [fix #177]
- Fix GitLab plugin's ssl_verify option [fix #168]
- Document GitLab access token scope
- Merge ssl_verify support for Jira [#169]
- Merge support for Trello commented cards [#170]
- Fix commented cards title, improve the test suite
- Add a simple test for completed tasks, update auth
- Merge support for completed Google tasks [#173]
- Merge fix for the Google dependencies [#166]
- Document additional google dependencies
- Adding support for Google tasks
- Add commentCard to trello DEFAULT_FILTERS
- Allow to set 'ssl_verify' config for jira plugin
- Support 'creator' in bugzilla plugin [fix #167]
- Give a nice error when user not found [fix #159]
- Fix jira basic authentication [fix #163]
- Fix long_description in setup.py
- Update pip installation instructions
- Update the example config with recent plugins
- Describe in more detail how the tool works
- Silently ignore non-git directories [fix #143]
- Separate arguments preparation, add test coverage
- New option --test to run a simple smoke test
- Remove python2-gssapi from Requires
- Make REQUESTS_CA_BUNDLE example copy-paste-able
- Merge fix for the gitlab --since issue [fix #156]
- Remove gssapi dependency from the main cli module
- Quick start section, update install instructions
- Simplify setup.py, update requires
- Fix --since issue in gitlab plugin
* Mon Nov 26 2018 Petr Šplíchal <[email protected]> 0.11-1
- Validate plugin types in config [fix #148]
- Use email for searching Jira issues [fix #122]
- Handle authentication errors in the Jira plugin
- Update shebang to explicitly use python2
- Add a new section Questions to docs [fix #155]
- Raise error on unsuccessful request [fix #154]
- New plugin for Pagure stats [fix #153]
- Use requests-gssapi for Jira stats
- Fix problems with the Sentry plugin
- Merge configurable ssl verify for gitlab [#136]
- Merge the improved gitlab search [#137]
- Merge the new redmine plugin [#135]
- Some minor adjustments for the redmine plugin
- GitHub stats about reviewed PRs [#127]
- Remove zero-fill from Jira issues [fix #149]
- Add oauth2client to docs requirements [fix #152]
- Adjust until limit of the sentry plugin [fix #151]
- Update test data for the sentry & google plugins
- Update Python macros to new packaging standards
- Port to python-gssapi
- Fixed issue with failing tests
- Remove the idonethis plugin
- Merge the new sentry plugin
- Add basic Redmine support
- Add basic GitLab support
- Add search for subscribed bugs
- Add did.spec to MANIFEST.in
- Merge fix for bugs patched when created [#109]
- Merge the new Bugzilla query syntax [#111]
- Fetch only needed stats during GitHub testing
- Merge support for pull request separation [#114]
- Show month name / week number by default [#106]
* Wed Jan 11 2017 Martin Frodl <[email protected]> 0.10-1
- New plugin for Google Apps
- Document how to generate documentation locally
- Mock C modules while building documentation
- Make all make versions happy
- Add requirements.txt to fix docs building
- Properly handle GitHub issues with Unicode names
- Add login key to github section in example config
- Update install docs with fresh Fedora instructions
- Update coveralls links in README
- List install dependencies for Debian-based systems
- Use another Trac instance in plugin test
- Move kerberos to extra requires
* Mon Apr 04 2016 Petr Šplíchal <[email protected]> 0.9-1
- New plugins supported: Trello, bit.ly, idonethis
- Support 'did yesterday' for yesterday's updates
- Ignore comment updates without author specified
- User does not have to be assignee to close a bug
- Create vim tags using the 'make tags' target
- Use option prefix also for git, header and footer
- Extend the test coverage for cli, base and utils
- Rename DID_CONFIG to DID_DIR to match the content
- Improve error handling, especially config errors
- Migrate option parsing from optparse to argparse
- Configurable support for showing bug resolutions
- Support --conf as abbreviation for --config
- Initial set of tests for the trac plugin
- Improve readability of gerrit by using review number
- Improve closed bugs stats, add test case [fix #45]
- Add statistics of closed bugs for bugzilla plugin
* Wed Sep 23 2015 Petr Šplíchal <[email protected]> 0.8-1
- Give warning for git repository problems [fix #41]
- Add example with config dir set to: ~/.config/did/
- Support for basic authentication in jira plugin
- Support config profiles (new option --config)
- Generate coverage annotations for 'make coverage'
- Support aliases in config sections, improves #36
- The first draft of the github plugin [fix #42]
- Support custom email/login aliases [fix #36]
- Include detailed description for general options
- Properly check email in gerrit messages [fix #34]
- Correctly handle invalid arguments [fix #33]
- Do not include the whole docs dir in the tarball
- Properly document how email addresses are handled
- Use wheels for python packaging (no source dist)
- Include Python package building stuff in Makefile
* Fri Sep 18 2015 Petr Šplíchal <[email protected]> 0.7-1
- Refer Travis CI and Coveralls in contribute docs
- Remove version from the documentation completely
- Unshallow the git repo as it is used for testing
- Ignore errors about non-existent bugzilla emails
- Better handle xmlrpclib errors during bug search
- Document bugzilla plugin stats in more detail
- Bugzilla test suite adjustments (split, asserts)
- Log kerberos error as a debug message
- Decode command line arguments from utf-8
- Filter returned bugs by email or name
- Moving bug from NEW to ASSIGNED is not returning
- Improve fixed bugs detection in bugzilla plugin
- Allow stats name detection from multiline docs
- Do not run 'make clean' in the pre-commit hook
- Support fetching large queries in jira plugin
- Document stats order specification in config
* Fri Sep 11 2015 Petr Šplíchal <[email protected]> 0.6-1
- Provide a couple of real-life examples in docs
- Convert plugin order list into table
- Update welcome page and module documentation
- Handle invalid dates, paths and urls
- Consider ticket description change as update
- Check free command line arguments for typos
- Include example config in docs, adjust man page
- Fix the --debug option, prevent logger duplication
- Correctly handle missing config file
- Move Options.time_period() to Date.period()
- Update source url, add python-bugzilla to requires
- Move stats classes into a separate module
- Completely remove get_color_mode/set_color_mode
- Adjust utils.pluralize() to take a single argument
- Adjust commit-msg hook to handle comments
- Move command line code to the did.cli module
* Wed Sep 09 2015 Petr Šplíchal <[email protected]> 0.5-1
- New tests for command line script, bugzilla, git
- Update README with synopsis and today's example
- Clean up the Makefile, remove obsoleted stuff
- Document general command line options in overview
- Extend contribute doc with Introduction & Makefile
- Update and simplify git commit hooks
- Use config directory instead of a single file
- New Makefile targets: test, smoke, coverage, docs
- Add mr.bob template to generate new default plugin
- Enable package 'extras' (dependencies) install
- Do not ignore sphinx dirs _static and _templates
- Move script, modules & tests out of the source dir
* Sun Sep 06 2015 Petr Šplíchal <[email protected]> 0.4-1
- What did you do last week, month, year? (did rename)
- Plugins: bugzilla, rt, gerrit, jira, wiki, nitrate
- Separate the install/contribute documentation
- Correctly handle config as utf8, email splitting
- The Big Documentation Cleanup, hooks to examples
- Allow parsing config file directly from string
- Allow config location override, read config once
- Move docs to sphinx, githooks, rpm build fix
- An initial cut at creating a docker container
- Refactor plugin/stats architecture
- Use Travis CI, add initial tests
- Move README, add code coverage and badges
* Thu Apr 23 2015 Petr Šplíchal <[email protected]> 0.3-1
- Update README with PIP and test information
- Enable travis-ci and some tests
- A couple of adjustments after the nitrate cleanup
- Remove nitrate dependency, adjust user handling
* Wed Apr 22 2015 Petr Šplíchal <[email protected]> 0.2-1
- Incorporated package review feedback [BZ#1213739]
- Include essential gitignore patterns
- Handle custom stats as a plugin as well
- Handle header & footer as other plugins
- Plugin detection finalized including sort order
- Style cleanup and adjustments for plugin detection
- The first version of the plugin detection support
* Mon Apr 20 2015 Petr Šplíchal <[email protected]> 0.1-0
- Initial packaging.