Add a --format and a --json option to the search command#89
Add a --format and a --json option to the search command#89talwrii wants to merge 16 commits intowilliamh:masterfrom
Conversation
Quoting uses percent encoding and the `%` symbol itself must be quoted with extra `%` for configparser.
Useful for programmtic usage and discovering field for format
Has --json and --format argument like search
With --json and --format arguments Lists all the components and their products
Conflicts: bugz/cli.py
Conflicts: lbugz
Conflicts: bugz/argparser.py bugz/cli.py
Conflicts: bugz/cli.py
This is not by manually searching the bugs. This also allows empty searches... occassionally listing all the bugs is useful
command to reset a bug to its default owner
|
This pull request has far too many unrelated features for me to review. I'm very interested in this code, but I need it in small pull requests so that I can review and merge them more easily. Thanks, William |
|
Aha, yes. I issued a pull request from master a few months ago, forgot about the merge request, and kept on adding stuff. I shall split this into a few topic branches for you. It was about one thing when I made it :P . If I recall correctly, there were also some file renames and whitespace changes that I merged in... That being said most of my pull requests are probably going to consist of one patch :) |
|
Pull requests: --format and --json options for search: #92 Okay I've run out of steam now. I still have patches for
|
The --json options makes it easier to use search results programmatically. It also acts as documentation for --format.
--format is quite useful for ad hoc querying (e.g - how many bugs does each project have, how many bugs are there of this priority etc etc)