GitHub / python-bugzilla/python-bugzilla / commits
Python library and command line tool for interacting with Bugzilla
| SHA | Message | Author | Date | Stats |
|---|---|---|---|---|
| 6b8840f3 |
tests: Some python2 functional test fixes
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 8fb61c09 |
conftest: Default to --verbosity=2 with functional tests
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 225ddb21 |
tests: Add ending newline to test data
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 8735749e |
tests: finish Bug coverage
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 650f40d8 |
tests: Add full API product/component/bugfields coverage
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| f6b6725e |
tests: Add full Bugzilla attach API coverage
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| b60617ae |
tests: finish Bugzilla code coverage
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 48797cae |
tests: fill out API side of cli command coverage
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| d1546495 |
cli: Add 'new --private'
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 91b3569c |
base: Remove dead code
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| f88c9bce |
tests: add User API unit tests
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| ddc3b471 |
tests: add externalbugs unit tests
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| e89676b0 |
tests: add full RHBugzilla coverage
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 36a261b8 |
tests: split out test_api_authfiles.py
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 114862bb |
tests: Add full authfiles coverage
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 1d98afac |
tests: split apart test_cli_commands into one file per command
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| c10a673f |
authfiles: Only create root directories at file save time
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| d6fd480c |
tests: Run unittests with custom HOME
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 4e80f1ab |
authfiles: Drop handling of ~/.bugzillacookies and ~/.bugzillatokens
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| efdb4f00 |
authfiles: Add a BugzillaRCFile class
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 2e3717b2 |
authfiles: Move more token handling into BugzillaTokenCache
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| cc95e247 |
authfiles: Add _BugzillaCookieCache
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 10b7d7ff |
util: Move _cli to_encoding, and use it in Bug()
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 9410d53b |
base: Remove ExternalBugs param logging
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 1bc70c4e |
rhbugzilla: Turn converter functions into a static class
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| e28881e7 |
rhbugzilla: Move alias handling into BugzillaBase
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 0bdf89d4 |
rhbugzilla: Move external_bug API wrappers to BugzillaBase
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 3b28e7fc |
backend: Add APIs for ExternalBugs extension via RHBugzilla
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 3aba66ea |
Remove all the deprecated 'boolean' query handling
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 2f567cce |
tests: Drop old clicomm infrastructure
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 567be2a0 |
tests: ro: convert to more pytest infrastructure
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 7afe97dd |
tests: rw: convert to more pytest infrastructure
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| f98adeb7 |
tests: Big rework
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 4c4873ab |
base: Abide specified configpath when writing API key
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 97f9b7a1 |
base: Log full exception when login fails
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 09a5ad2a |
session: Fix basicauth setup on py2 vs py3
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| ba468774 |
cli: Reduce number of whiteboard 'modify' API calls
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 38ca8165 |
base: Add openattachment_data
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 8df270d8 |
cli: Reduce number of 'attach' API calls
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 87e9a107 |
cli: Don't print some internal fields with --raw
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 63ac060e |
cli: Reduce 'info' components API calls
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| b26b066a |
BugzillaError: Add a 'code' value
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| fa3cae3d |
Add _compatimports.py to simplify handling py2 vs py3
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| b633eaab |
pylint: Ignore 'dummy' variables, like standard pylint config
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 8ef83233 |
base: Move readconfig() call before session setup
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 1de6a2f6 |
tests: Make functional tests disable traditional unit tests
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 189a9c17 |
bug: Drop logging of updated dict keys, it's not interesting
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 16a17f29 |
base: Log bug_search raw return values
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| eb936047 |
backendbase: Match up __init__ with _BackendXMLRPC impl
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| f9cc95bb |
tests: ro: Remove Gnome bugzilla tests
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 0ba07f4f |
base: Push XMLRPC Binary handling down into Backend
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 370b9a0d |
exceptions: Add helper functions to retrieve error msg/codes
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 8a3f1ce5 |
base: Add names= to getbugfields
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| b4286766 |
tests: Centralize more Bugzilla init
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 038bc2d6 |
backend: Return full 'version' output to caller
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| fb85b178 |
tests: ro: Drop travis references
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 923f20dd |
xmlrpc: Explicitly set the content type on _BugzillaSession
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 991eb76f |
Rename transport.py to _session.py
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 7dab079e |
transport: Move all XMLRPC specific pieces to _backendxmlrpc.py
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 0f745a33 |
tox: Tweak come default coverage options
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 6df3ec71 |
base: Move cookie and rcfile handling to _authfiles.py
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 7bb8cb38 |
transport: Set options directly on RequestsSession
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 82186138 |
transport: Drop sslcafile
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 1ff1ad72 |
authfiles: Slightly rework _BugzillaTokenCache API
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 53c8aff5 |
Move _BugzillaTokenCache to _authfiles.py
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| d2f983d0 |
Rename _rc.py to _authfiles.py
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| aa0a0d6f |
cli: Drop the explicit xmlrpc.cgi from DEFAULT_URL
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 649aa782 |
cli: attachments: Don't call getbugs with empty bug list
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 1c193ba1 |
Use consistent minimal license header for code files
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| f3eeea69 |
tests: Fix bogus 'assert'
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 19244afc |
tests: Fix latest --rw-functional tests
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 8abd0fdc |
Move BugzillaError to its own file exceptions.py
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| f3a1ba90 |
transport: Move all auth data into _BugzillaSession
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| c3bcc3e8 |
transport: Break out _BugzillaSession
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| e94598c2 |
tests: Drop bugs.freedesktop.org usage
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| a155d673 |
transport: Try to give hints if we weren't passed an XMLRPC URL
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 3776bf33 | Factor out rc-handling and listify |
Dustin J. Mitchell <d****n@m****m>
Committed by: Cole Robinson <c****o@r****m> |
over 6 years ago | |
| 6da20650 |
Add some support for bugzilla groups
Signed-off-by: Pierre-Yves Chibon <p****u@p****r> |
Pierre-Yves Chibon <p****u@p****r>
Committed by: Cole Robinson <c****o@r****m> |
over 6 years ago | |
| cd955c65 |
base: Cleanups and tweaks with use_api_key
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 0191f5fa |
base: Don't overwrite pre-set auth bits in readconfig()
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| ba8b9dfd |
base: Add _default_location wrappers
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 2f3724ea |
cli: Improve docs for new login --api-key option
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| c652c3bc |
man: Add attach --ignore-obsolete
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| 3e5b2a38 |
tests: Add --ignore-obsolete test
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| d3c7ae71 |
base: Fix url fixup for passed scheme-less URL
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| b5d78155 |
cli: add the option to skip obsolete attachments with --get-all
Signed-off-by: Čestmír Kalina <c****a@r****m> |
Čestmír Kalina <c****a@r****m>
Committed by: Cole Robinson <c****o@r****m> |
over 6 years ago | |
| 86dea084 | Add `login --api-key` support for bugzilla login API |
Danilo C. L. de Paula <d****a@r****m>
Committed by: Cole Robinson <c****o@r****m> |
over 6 years ago | |
| 0480016e |
Fix pylint
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | over 6 years ago | |
| bf682fab | Set basic authentication mode in case this is required by the infrastructure |
Bo Maryniuk <b****o@s****e>
Committed by: Cole Robinson <c****o@r****m> |
over 6 years ago | |
| aeb0ab3e | Rewrite rules using standard urlparse. |
Bo Maryniuk <b****o@s****e>
Committed by: Cole Robinson <c****o@r****m> |
over 6 years ago | |
| fc5178a6 |
spec: Disable python2 build for f32+
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | almost 7 years ago | |
| 72d32cda | Prep for release 2.3.0 | Cole Robinson <c****o@r****m> | almost 7 years ago | |
| 0b29f5ca |
base: Fix backtrace on missing getbugs bug ID
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | almost 7 years ago | |
| ebc7c9cc |
base: Fix collectons deprecation warning
Signed-off-by: Cole Robinson <c****o@r****m> |
Cole Robinson <c****o@r****m> | almost 7 years ago | |
| 7316f258 | cli: Add support for private attachments |
Brian 'Redbeard' Harrington <r****d@d****g>
Committed by: Cole Robinson <c****o@r****m> |
almost 7 years ago | |
| 7de8b225 | travis: Drop --ro-functional, it can be flakey | Cole Robinson <c****o@r****m> | over 7 years ago | |
| 1a810744 | gitignore: Add .pytest_cache | Cole Robinson <c****o@r****m> | over 7 years ago | |
| 01f41fc0 | cli: add API key message to "bugzilla login --help" |
Ken Dreyer <k****r@r****m>
Committed by: Cole Robinson <c****o@r****m> |
over 7 years ago | |
| fe0a224d | oldclasses: Fix pycodestyle formatting | Cole Robinson <c****o@r****m> | over 7 years ago | |
| 9abb7f58 | Move tests/pylint.cfg to pylintrc | Cole Robinson <c****o@r****m> | over 7 years ago |