Up to [cvs.NetBSD.org] / pkgsrc / net / py-rt
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS
py-rt: Update to 2.1.1 Changes: 2.1.1 ----- - Fix support for custom field values containing newlines in API responses (#10, #11) (the previous change in v1.0.11 fixed API requests) (#64)
py-rt: Update to 2.1.0 Changes: 2.1.0 ----- - Add the possibility to provide cookies as dict to authenticate - Add 'Referer' header for CSRF check
py-rt: Update to 2.0.1 pkgsrc changes: - Remove no longer needed patch-rt.py, now applied upstream. Changes: 2.0.1 ----- - Fix UnicodeDecodeError in logging code for non-text attachments - Documentation: Add a search example - edit_ticket: Handle possible empty responses: When a ticket is not modified, at least with RT 4.x, an empty response could be returned. Gracefully handle that as success.
py-rt: Update to 2.0.0 Changes: 2.0.0 ----- - Drop Python2 support - Adjust Travis tests for Python3-only, and add v3.8 - Add inline typing - Remove "debug_mode" parameter - Add "logging" support (basically replacing "debug_mode" and the various "print"s) - Fix "no-else-after-return" and "no-else-after-raise" - Fix "startswitch" typos / bugs - Removed deprecated "basic_auth" and "digest_auth" paramters. The same functionality is given by specifying the "http_auth" with an instance of either object. This allows for more flexibility with various other alternative authentication methods. (Done in a separate commit of 1.0.13 update because 1.0.13 was the last release supporting Python 2.7, if you use py-rt with python27 please let me know/feel free to add a possible py-rt1 package.)
py-rt: Update to 1.0.13
Changes:
1.0.13
------
- Add deprecation warning for in the next major release unsupported
parameters (basic_auth, digest_auth). They are now replaced with http_auth.
- Fix problematic default method parameters ("{}" and "[]").
py-rt: Update to 1.0.12 Changes: 1.0.12 ------ - Travis CI Docker tests - RT 4.4 fixes - Support multiline CF values in create_ticket and edit_ticket. - Fix support for custom field names containing colons - In search(), replace splitlines() with lines array split on \n. - Add debug_mode flag for response logging - Add platform independent url joining / Allow testing on Windows - Add numerical_id to get_ticket result
py-rt: Gracefully handle noop edit_ticket() In RT 4 when edit_ticket() is invoked but the ticket is not modified an empty response is sent. Gracefully treat it as a successfull operation. PKGREVISION++
Pullup ticket #5978 - requested by leot net/py-rt: functionality fix Revisions pulled up: - net/py-rt/Makefile 1.2 - net/py-rt/distinfo 1.2 - net/py-rt/patches/patch-rt.py 1.1 ------------------------------------------------------------------- Module Name: pkgsrc Committed By: leot Date: Sun Jun 9 13:57:27 UTC 2019 Modified Files: pkgsrc/net/py-rt: Makefile distinfo Added Files: pkgsrc/net/py-rt/patches: patch-rt.py Log Message: py-rt: Backport upstream patch to fix search() Format='s' and Format='i' At least on RT 4 blank lines can be present at the end of the search response, backport upstream commit bb07009c4f62dd2ac393aab82fded6424eead82f to address that. Bump PKGREVISION To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 pkgsrc/net/py-rt/Makefile pkgsrc/net/py-rt/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/net/py-rt/patches/patch-rt.py
py-rt: Backport upstream patch to fix search() Format='s' and Format='i' At least on RT 4 blank lines can be present at the end of the search response, backport upstream commit bb07009c4f62dd2ac393aab82fded6424eead82f to address that. Bump PKGREVISION
py-rt: Import py-rt-1.0.11 as wip/py-rt Python implementation of Request Tracker REST API.