Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-git-pw for openSUSE:Factory checked in at 2023-12-08 22:32:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-git-pw (Old) and /work/SRC/openSUSE:Factory/.python-git-pw.new.25432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-git-pw" Fri Dec 8 22:32:22 2023 rev:7 rq:1131997 version:2.5.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-git-pw/python-git-pw.changes 2023-04-03 17:46:47.927147731 +0200 +++ /work/SRC/openSUSE:Factory/.python-git-pw.new.25432/python-git-pw.changes 2023-12-08 22:32:54.405883765 +0100 @@ -1,0 +2,10 @@ +Thu Dec 7 23:02:59 UTC 2023 - Dirk Müller <[email protected]> + +- update to 2.5.0: + * Add release note for --since, --before opts + * patch, series: Add support for '--since' and '--before' + * utils: Correct type + * Fix black issues + * CI: Switch to pypa/gh-action-pypi-publish@release/v1 + +------------------------------------------------------------------- Old: ---- git-pw-2.4.0.tar.gz New: ---- git-pw-2.5.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-git-pw.spec ++++++ --- /var/tmp/diff_new_pack.GwKwF8/_old 2023-12-08 22:32:54.873900985 +0100 +++ /var/tmp/diff_new_pack.GwKwF8/_new 2023-12-08 22:32:54.877901132 +0100 @@ -19,7 +19,7 @@ %define modname git-pw %define skip_python2 1 Name: python-git-pw -Version: 2.4.0 +Version: 2.5.0 Release: 0 Summary: A tool for integrating Git with Patchwork License: MIT ++++++ git-pw-2.4.0.tar.gz -> git-pw-2.5.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-pw-2.4.0/.github/workflows/ci.yaml new/git-pw-2.5.0/.github/workflows/ci.yaml --- old/git-pw-2.4.0/.github/workflows/ci.yaml 2022-12-06 14:16:58.000000000 +0100 +++ new/git-pw-2.5.0/.github/workflows/ci.yaml 2023-05-18 16:07:32.000000000 +0200 @@ -78,30 +78,36 @@ run: python -m pip install build - name: Build a binary wheel and a source tarball run: python -m build --sdist --wheel --outdir dist/ . + - name: Publish distribution to Test PyPI + if: ${{ github.ref_type != 'tag' }} + uses: pypa/gh-action-pypi-publish@release/v1 + with: + password: ${{ secrets.TEST_PYPI_API_TOKEN }} + repository-url: https://test.pypi.org/legacy/ - name: Publish distribution to PyPI - if: startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@master + if: ${{ github.ref_type == 'tag' }} + uses: pypa/gh-action-pypi-publish@release/v1 with: password: ${{ secrets.PYPI_API_TOKEN }} - name: Create release on GitHub id: create_release - if: startsWith(github.ref, 'refs/tags') + if: ${{ github.ref_type == 'tag' }} uses: actions/create-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: ${{ github.ref }} - release_name: ${{ github.ref }} + tag_name: ${{ github.ref_name }} + release_name: ${{ github.ref_name }} draft: false prerelease: false - name: Add sdist to release id: upload-release-asset - if: startsWith(github.ref, 'refs/tags') + if: ${{ github.ref_type == 'tag' }} uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./dist/git-pw-${{ github.ref }}.tar.gz - asset_name: git-pw-${{ github.ref }}.tar.gz + asset_path: ./dist/git-pw-${{ github.ref_name }}.tar.gz + asset_name: git-pw-${{ github.ref_name }}.tar.gz asset_content_type: application/gzip diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-pw-2.4.0/.pre-commit-config.yaml new/git-pw-2.5.0/.pre-commit-config.yaml --- old/git-pw-2.4.0/.pre-commit-config.yaml 2022-12-06 14:16:58.000000000 +0100 +++ new/git-pw-2.5.0/.pre-commit-config.yaml 2023-05-18 16:07:32.000000000 +0200 @@ -4,7 +4,7 @@ python: python3 repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.1.0 + rev: v4.4.0 hooks: - id: check-executables-have-shebangs - id: check-merge-conflict @@ -12,10 +12,10 @@ - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/pycqa/flake8 - rev: 4.0.1 + rev: 6.0.0 hooks: - id: flake8 - repo: https://github.com/psf/black - rev: 22.3.0 + rev: 23.3.0 hooks: - id: black diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-pw-2.4.0/AUTHORS new/git-pw-2.5.0/AUTHORS --- old/git-pw-2.4.0/AUTHORS 2022-12-06 14:17:11.000000000 +0100 +++ new/git-pw-2.5.0/AUTHORS 2023-05-18 16:07:42.000000000 +0200 @@ -7,4 +7,5 @@ Rosen Penev <[email protected]> Stephen Finucane <[email protected]> Tom Tromey <[email protected]> +Trevor Gamblin <[email protected]> Yixun Lan <[email protected]> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-pw-2.4.0/ChangeLog new/git-pw-2.5.0/ChangeLog --- old/git-pw-2.4.0/ChangeLog 2022-12-06 14:17:11.000000000 +0100 +++ new/git-pw-2.5.0/ChangeLog 2023-05-18 16:07:42.000000000 +0200 @@ -1,6 +1,26 @@ CHANGES ======= +2.5.0 +----- + +* Release 2.5.0 +* Add release note for --since, --before opts +* patch, series: Add support for '--since' and '--before' +* Bump pre-commit + +2.4.1 +----- + +* Release 2.4.1 +* CI: Address deprecation warning +* CI: Use modern contexts +* CI: Reintroduce publishing to Test PyPI +* utils: Correct type +* Fix black issues +* Remove '[testenv] basepython' +* CI: Switch to pypa/gh-action-pypi-publish@release/v1 + 2.4.0 ----- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-pw-2.4.0/PKG-INFO new/git-pw-2.5.0/PKG-INFO --- old/git-pw-2.4.0/PKG-INFO 2022-12-06 14:17:11.714744000 +0100 +++ new/git-pw-2.5.0/PKG-INFO 2023-05-18 16:07:42.453804500 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: git-pw -Version: 2.4.0 +Version: 2.5.0 Summary: Git-Patchwork integration tool Home-page: https://github.com/getpatchwork/git-pw Author: Stephen Finucane diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-pw-2.4.0/docs/conf.py new/git-pw-2.5.0/docs/conf.py --- old/git-pw-2.4.0/docs/conf.py 2022-12-06 14:16:58.000000000 +0100 +++ new/git-pw-2.5.0/docs/conf.py 2023-05-18 16:07:32.000000000 +0200 @@ -6,6 +6,7 @@ try: import sphinx_rtd_theme # noqa + has_rtd_theme = True except ImportError: has_rtd_theme = False diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-pw-2.4.0/git_pw/patch.py new/git-pw-2.5.0/git_pw/patch.py --- old/git-pw-2.4.0/git_pw/patch.py 2022-12-06 14:16:58.000000000 +0100 +++ new/git-pw-2.5.0/git_pw/patch.py 2023-05-18 16:07:32.000000000 +0200 @@ -329,6 +329,7 @@ is_flag=True, help='Include patches that are archived.', ) [email protected]_options() @utils.pagination_options(sort_fields=_sort_fields, default_sort='-date') @utils.format_options(headers=_list_headers) @click.argument('name', required=False) @@ -339,6 +340,8 @@ delegates, hashes, archived, + since, + before, limit, page, sort, @@ -403,6 +406,12 @@ ] ) + if since: + params.append(('since', since.isoformat())) + + if before: + params.append(('before', before.isoformat())) + patches = api.index('patches', params) # Format and print output diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-pw-2.4.0/git_pw/series.py new/git-pw-2.5.0/git_pw/series.py --- old/git-pw-2.4.0/git_pw/series.py 2022-12-06 14:16:58.000000000 +0100 +++ new/git-pw-2.5.0/git_pw/series.py 2023-05-18 16:07:32.000000000 +0200 @@ -161,11 +161,12 @@ 'email, name or ID.' ), ) [email protected]_options() @utils.pagination_options(sort_fields=_sort_fields, default_sort='-date') @utils.format_options(headers=_list_headers) @click.argument('name', required=False) @api.validate_multiple_filter_support -def list_cmd(submitters, limit, page, sort, fmt, headers, name): +def list_cmd(submitters, limit, page, sort, fmt, headers, name, since, before): """List series. List series on the Patchwork instance. @@ -201,6 +202,12 @@ ] ) + if since: + params.append(('since', since.isoformat())) + + if before: + params.append(('before', before.isoformat())) + series = api.index('series', params) # Format and print output diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-pw-2.4.0/git_pw/utils.py new/git-pw-2.5.0/git_pw/utils.py --- old/git-pw-2.4.0/git_pw/utils.py 2022-12-06 14:16:58.000000000 +0100 +++ new/git-pw-2.5.0/git_pw/utils.py 2023-05-18 16:07:32.000000000 +0200 @@ -151,7 +151,7 @@ _echo_via_pager(pager, out) return - pager = git_config('core.parser') + pager = git_config('core.pager') if pager: _echo_via_pager(pager, out) return @@ -207,6 +207,28 @@ return _pagination_options +def date_options() -> ty.Callable: + """Shared date bounding options.""" + + def _date_options(f): + f = click.option( + '--since', + metavar='SINCE', + type=click.DateTime(), + help='Show only items since a given date in ISO 8601 format', + )(f) + f = click.option( + '--before', + metavar='BEFORE', + type=click.DateTime(), + help='Show only items before a given date in ISO 8601 format', + )(f) + + return f + + return _date_options + + def format_options( original_function: ty.Optional[ty.Callable] = None, headers: ty.Optional[ty.Tuple[str, ...]] = None, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-pw-2.4.0/git_pw.egg-info/PKG-INFO new/git-pw-2.5.0/git_pw.egg-info/PKG-INFO --- old/git-pw-2.4.0/git_pw.egg-info/PKG-INFO 2022-12-06 14:17:11.000000000 +0100 +++ new/git-pw-2.5.0/git_pw.egg-info/PKG-INFO 2023-05-18 16:07:42.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: git-pw -Version: 2.4.0 +Version: 2.5.0 Summary: Git-Patchwork integration tool Home-page: https://github.com/getpatchwork/git-pw Author: Stephen Finucane diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-pw-2.4.0/git_pw.egg-info/SOURCES.txt new/git-pw-2.5.0/git_pw.egg-info/SOURCES.txt --- old/git-pw-2.4.0/git_pw.egg-info/SOURCES.txt 2022-12-06 14:17:11.000000000 +0100 +++ new/git-pw-2.5.0/git_pw.egg-info/SOURCES.txt 2023-05-18 16:07:42.000000000 +0200 @@ -58,6 +58,7 @@ man/git-pw-series.1 man/git-pw.1 releasenotes/config.yaml +releasenotes/notes/add-before-since-options-c67799ef2ad89c0c.yaml releasenotes/notes/add-yaml-format-support-5cd6b9028e6d2d8e.yaml releasenotes/notes/api-v1-1-5c804713ef435739.yaml releasenotes/notes/bundle-crud-47aadae6eb7a20ad.yaml diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-pw-2.4.0/git_pw.egg-info/pbr.json new/git-pw-2.5.0/git_pw.egg-info/pbr.json --- old/git-pw-2.4.0/git_pw.egg-info/pbr.json 2022-12-06 14:17:11.000000000 +0100 +++ new/git-pw-2.5.0/git_pw.egg-info/pbr.json 2023-05-18 16:07:42.000000000 +0200 @@ -1 +1 @@ -{"git_version": "999a802", "is_release": false} \ No newline at end of file +{"git_version": "2db362b", "is_release": false} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-pw-2.4.0/man/git-pw-bundle-add.1 new/git-pw-2.5.0/man/git-pw-bundle-add.1 --- old/git-pw-2.4.0/man/git-pw-bundle-add.1 2022-12-06 14:16:58.000000000 +0100 +++ new/git-pw-2.5.0/man/git-pw-bundle-add.1 2023-05-18 16:07:32.000000000 +0200 @@ -1,4 +1,4 @@ -.TH "GIT-PW BUNDLE ADD" "1" "2022-12-06" "2.4.0" "git-pw bundle add Manual" +.TH "GIT-PW BUNDLE ADD" "1" "2023-05-18" "2.5.0" "git-pw bundle add Manual" .SH NAME git-pw\-bundle\-add \- Add one or more patches to a bundle. .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-pw-2.4.0/man/git-pw-bundle-apply.1 new/git-pw-2.5.0/man/git-pw-bundle-apply.1 --- old/git-pw-2.4.0/man/git-pw-bundle-apply.1 2022-12-06 14:16:58.000000000 +0100 +++ new/git-pw-2.5.0/man/git-pw-bundle-apply.1 2023-05-18 16:07:32.000000000 +0200 @@ -1,4 +1,4 @@ -.TH "GIT-PW BUNDLE APPLY" "1" "2022-12-06" "2.4.0" "git-pw bundle apply Manual" +.TH "GIT-PW BUNDLE APPLY" "1" "2023-05-18" "2.5.0" "git-pw bundle apply Manual" .SH NAME git-pw\-bundle\-apply \- Apply bundle. .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-pw-2.4.0/man/git-pw-bundle-create.1 new/git-pw-2.5.0/man/git-pw-bundle-create.1 --- old/git-pw-2.4.0/man/git-pw-bundle-create.1 2022-12-06 14:16:58.000000000 +0100 +++ new/git-pw-2.5.0/man/git-pw-bundle-create.1 2023-05-18 16:07:32.000000000 +0200 @@ -1,4 +1,4 @@ -.TH "GIT-PW BUNDLE CREATE" "1" "2022-12-06" "2.4.0" "git-pw bundle create Manual" +.TH "GIT-PW BUNDLE CREATE" "1" "2023-05-18" "2.5.0" "git-pw bundle create Manual" .SH NAME git-pw\-bundle\-create \- Create a bundle. .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-pw-2.4.0/man/git-pw-bundle-delete.1 new/git-pw-2.5.0/man/git-pw-bundle-delete.1 --- old/git-pw-2.4.0/man/git-pw-bundle-delete.1 2022-12-06 14:16:58.000000000 +0100 +++ new/git-pw-2.5.0/man/git-pw-bundle-delete.1 2023-05-18 16:07:32.000000000 +0200 @@ -1,4 +1,4 @@ -.TH "GIT-PW BUNDLE DELETE" "1" "2022-12-06" "2.4.0" "git-pw bundle delete Manual" +.TH "GIT-PW BUNDLE DELETE" "1" "2023-05-18" "2.5.0" "git-pw bundle delete Manual" .SH NAME git-pw\-bundle\-delete \- Delete a bundle. .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-pw-2.4.0/man/git-pw-bundle-download.1 new/git-pw-2.5.0/man/git-pw-bundle-download.1 --- old/git-pw-2.4.0/man/git-pw-bundle-download.1 2022-12-06 14:16:58.000000000 +0100 +++ new/git-pw-2.5.0/man/git-pw-bundle-download.1 2023-05-18 16:07:32.000000000 +0200 @@ -1,4 +1,4 @@ -.TH "GIT-PW BUNDLE DOWNLOAD" "1" "2022-12-06" "2.4.0" "git-pw bundle download Manual" +.TH "GIT-PW BUNDLE DOWNLOAD" "1" "2023-05-18" "2.5.0" "git-pw bundle download Manual" .SH NAME git-pw\-bundle\-download \- Download bundle in mbox format. .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-pw-2.4.0/man/git-pw-bundle-list.1 new/git-pw-2.5.0/man/git-pw-bundle-list.1 --- old/git-pw-2.4.0/man/git-pw-bundle-list.1 2022-12-06 14:16:58.000000000 +0100 +++ new/git-pw-2.5.0/man/git-pw-bundle-list.1 2023-05-18 16:07:32.000000000 +0200 @@ -1,4 +1,4 @@ -.TH "GIT-PW BUNDLE LIST" "1" "2022-12-06" "2.4.0" "git-pw bundle list Manual" +.TH "GIT-PW BUNDLE LIST" "1" "2023-05-18" "2.5.0" "git-pw bundle list Manual" .SH NAME git-pw\-bundle\-list \- List bundles. .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-pw-2.4.0/man/git-pw-bundle-remove.1 new/git-pw-2.5.0/man/git-pw-bundle-remove.1 --- old/git-pw-2.4.0/man/git-pw-bundle-remove.1 2022-12-06 14:16:58.000000000 +0100 +++ new/git-pw-2.5.0/man/git-pw-bundle-remove.1 2023-05-18 16:07:32.000000000 +0200 @@ -1,4 +1,4 @@ -.TH "GIT-PW BUNDLE REMOVE" "1" "2022-12-06" "2.4.0" "git-pw bundle remove Manual" +.TH "GIT-PW BUNDLE REMOVE" "1" "2023-05-18" "2.5.0" "git-pw bundle remove Manual" .SH NAME git-pw\-bundle\-remove \- Remove one or more patches from a bundle. .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-pw-2.4.0/man/git-pw-bundle-show.1 new/git-pw-2.5.0/man/git-pw-bundle-show.1 --- old/git-pw-2.4.0/man/git-pw-bundle-show.1 2022-12-06 14:16:58.000000000 +0100 +++ new/git-pw-2.5.0/man/git-pw-bundle-show.1 2023-05-18 16:07:32.000000000 +0200 @@ -1,4 +1,4 @@ -.TH "GIT-PW BUNDLE SHOW" "1" "2022-12-06" "2.4.0" "git-pw bundle show Manual" +.TH "GIT-PW BUNDLE SHOW" "1" "2023-05-18" "2.5.0" "git-pw bundle show Manual" .SH NAME git-pw\-bundle\-show \- Show information about bundle. .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-pw-2.4.0/man/git-pw-bundle-update.1 new/git-pw-2.5.0/man/git-pw-bundle-update.1 --- old/git-pw-2.4.0/man/git-pw-bundle-update.1 2022-12-06 14:16:58.000000000 +0100 +++ new/git-pw-2.5.0/man/git-pw-bundle-update.1 2023-05-18 16:07:32.000000000 +0200 @@ -1,4 +1,4 @@ -.TH "GIT-PW BUNDLE UPDATE" "1" "2022-12-06" "2.4.0" "git-pw bundle update Manual" +.TH "GIT-PW BUNDLE UPDATE" "1" "2023-05-18" "2.5.0" "git-pw bundle update Manual" .SH NAME git-pw\-bundle\-update \- Update a bundle. .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-pw-2.4.0/man/git-pw-bundle.1 new/git-pw-2.5.0/man/git-pw-bundle.1 --- old/git-pw-2.4.0/man/git-pw-bundle.1 2022-12-06 14:16:58.000000000 +0100 +++ new/git-pw-2.5.0/man/git-pw-bundle.1 2023-05-18 16:07:32.000000000 +0200 @@ -1,4 +1,4 @@ -.TH "GIT-PW BUNDLE" "1" "2022-12-06" "2.4.0" "git-pw bundle Manual" +.TH "GIT-PW BUNDLE" "1" "2023-05-18" "2.5.0" "git-pw bundle Manual" .SH NAME git-pw\-bundle \- Interact with bundles. .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-pw-2.4.0/man/git-pw-patch-apply.1 new/git-pw-2.5.0/man/git-pw-patch-apply.1 --- old/git-pw-2.4.0/man/git-pw-patch-apply.1 2022-12-06 14:16:58.000000000 +0100 +++ new/git-pw-2.5.0/man/git-pw-patch-apply.1 2023-05-18 16:07:32.000000000 +0200 @@ -1,4 +1,4 @@ -.TH "GIT-PW PATCH APPLY" "1" "2022-12-06" "2.4.0" "git-pw patch apply Manual" +.TH "GIT-PW PATCH APPLY" "1" "2023-05-18" "2.5.0" "git-pw patch apply Manual" .SH NAME git-pw\-patch\-apply \- Apply patch. .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-pw-2.4.0/man/git-pw-patch-download.1 new/git-pw-2.5.0/man/git-pw-patch-download.1 --- old/git-pw-2.4.0/man/git-pw-patch-download.1 2022-12-06 14:16:58.000000000 +0100 +++ new/git-pw-2.5.0/man/git-pw-patch-download.1 2023-05-18 16:07:32.000000000 +0200 @@ -1,4 +1,4 @@ -.TH "GIT-PW PATCH DOWNLOAD" "1" "2022-12-06" "2.4.0" "git-pw patch download Manual" +.TH "GIT-PW PATCH DOWNLOAD" "1" "2023-05-18" "2.5.0" "git-pw patch download Manual" .SH NAME git-pw\-patch\-download \- Download patch in diff or mbox format. .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-pw-2.4.0/man/git-pw-patch-list.1 new/git-pw-2.5.0/man/git-pw-patch-list.1 --- old/git-pw-2.4.0/man/git-pw-patch-list.1 2022-12-06 14:16:58.000000000 +0100 +++ new/git-pw-2.5.0/man/git-pw-patch-list.1 2023-05-18 16:07:32.000000000 +0200 @@ -1,4 +1,4 @@ -.TH "GIT-PW PATCH LIST" "1" "2022-12-06" "2.4.0" "git-pw patch list Manual" +.TH "GIT-PW PATCH LIST" "1" "2023-05-18" "2.5.0" "git-pw patch list Manual" .SH NAME git-pw\-patch\-list \- List patches. .SH SYNOPSIS @@ -26,6 +26,12 @@ \fB\-\-archived\fP Include patches that are archived. .TP +\fB\-\-before\fP BEFORE +Show only items before a given date in ISO 8601 format +.TP +\fB\-\-since\fP SINCE +Show only items since a given date in ISO 8601 format +.TP \fB\-\-sort\fP FIELD Sort output on given field. .TP diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-pw-2.4.0/man/git-pw-patch-show.1 new/git-pw-2.5.0/man/git-pw-patch-show.1 --- old/git-pw-2.4.0/man/git-pw-patch-show.1 2022-12-06 14:16:58.000000000 +0100 +++ new/git-pw-2.5.0/man/git-pw-patch-show.1 2023-05-18 16:07:32.000000000 +0200 @@ -1,4 +1,4 @@ -.TH "GIT-PW PATCH SHOW" "1" "2022-12-06" "2.4.0" "git-pw patch show Manual" +.TH "GIT-PW PATCH SHOW" "1" "2023-05-18" "2.5.0" "git-pw patch show Manual" .SH NAME git-pw\-patch\-show \- Show information about patch. .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-pw-2.4.0/man/git-pw-patch-update.1 new/git-pw-2.5.0/man/git-pw-patch-update.1 --- old/git-pw-2.4.0/man/git-pw-patch-update.1 2022-12-06 14:16:58.000000000 +0100 +++ new/git-pw-2.5.0/man/git-pw-patch-update.1 2023-05-18 16:07:32.000000000 +0200 @@ -1,4 +1,4 @@ -.TH "GIT-PW PATCH UPDATE" "1" "2022-12-06" "2.4.0" "git-pw patch update Manual" +.TH "GIT-PW PATCH UPDATE" "1" "2023-05-18" "2.5.0" "git-pw patch update Manual" .SH NAME git-pw\-patch\-update \- Update one or more patches. .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-pw-2.4.0/man/git-pw-patch.1 new/git-pw-2.5.0/man/git-pw-patch.1 --- old/git-pw-2.4.0/man/git-pw-patch.1 2022-12-06 14:16:58.000000000 +0100 +++ new/git-pw-2.5.0/man/git-pw-patch.1 2023-05-18 16:07:32.000000000 +0200 @@ -1,4 +1,4 @@ -.TH "GIT-PW PATCH" "1" "2022-12-06" "2.4.0" "git-pw patch Manual" +.TH "GIT-PW PATCH" "1" "2023-05-18" "2.5.0" "git-pw patch Manual" .SH NAME git-pw\-patch \- Interact with patches. .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-pw-2.4.0/man/git-pw-series-apply.1 new/git-pw-2.5.0/man/git-pw-series-apply.1 --- old/git-pw-2.4.0/man/git-pw-series-apply.1 2022-12-06 14:16:58.000000000 +0100 +++ new/git-pw-2.5.0/man/git-pw-series-apply.1 2023-05-18 16:07:32.000000000 +0200 @@ -1,4 +1,4 @@ -.TH "GIT-PW SERIES APPLY" "1" "2022-12-06" "2.4.0" "git-pw series apply Manual" +.TH "GIT-PW SERIES APPLY" "1" "2023-05-18" "2.5.0" "git-pw series apply Manual" .SH NAME git-pw\-series\-apply \- Apply series. .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-pw-2.4.0/man/git-pw-series-download.1 new/git-pw-2.5.0/man/git-pw-series-download.1 --- old/git-pw-2.4.0/man/git-pw-series-download.1 2022-12-06 14:16:58.000000000 +0100 +++ new/git-pw-2.5.0/man/git-pw-series-download.1 2023-05-18 16:07:32.000000000 +0200 @@ -1,4 +1,4 @@ -.TH "GIT-PW SERIES DOWNLOAD" "1" "2022-12-06" "2.4.0" "git-pw series download Manual" +.TH "GIT-PW SERIES DOWNLOAD" "1" "2023-05-18" "2.5.0" "git-pw series download Manual" .SH NAME git-pw\-series\-download \- Download series in mbox format. .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-pw-2.4.0/man/git-pw-series-list.1 new/git-pw-2.5.0/man/git-pw-series-list.1 --- old/git-pw-2.4.0/man/git-pw-series-list.1 2022-12-06 14:16:58.000000000 +0100 +++ new/git-pw-2.5.0/man/git-pw-series-list.1 2023-05-18 16:07:32.000000000 +0200 @@ -1,4 +1,4 @@ -.TH "GIT-PW SERIES LIST" "1" "2022-12-06" "2.4.0" "git-pw series list Manual" +.TH "GIT-PW SERIES LIST" "1" "2023-05-18" "2.5.0" "git-pw series list Manual" .SH NAME git-pw\-series\-list \- List series. .SH SYNOPSIS @@ -14,6 +14,12 @@ \fB\-\-submitter\fP SUBMITTER Show only series by these submitters. Should be an email, name or ID. .TP +\fB\-\-before\fP BEFORE +Show only items before a given date in ISO 8601 format +.TP +\fB\-\-since\fP SINCE +Show only items since a given date in ISO 8601 format +.TP \fB\-\-sort\fP FIELD Sort output on given field. .TP diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-pw-2.4.0/man/git-pw-series-show.1 new/git-pw-2.5.0/man/git-pw-series-show.1 --- old/git-pw-2.4.0/man/git-pw-series-show.1 2022-12-06 14:16:58.000000000 +0100 +++ new/git-pw-2.5.0/man/git-pw-series-show.1 2023-05-18 16:07:32.000000000 +0200 @@ -1,4 +1,4 @@ -.TH "GIT-PW SERIES SHOW" "1" "2022-12-06" "2.4.0" "git-pw series show Manual" +.TH "GIT-PW SERIES SHOW" "1" "2023-05-18" "2.5.0" "git-pw series show Manual" .SH NAME git-pw\-series\-show \- Show information about series. .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-pw-2.4.0/man/git-pw-series.1 new/git-pw-2.5.0/man/git-pw-series.1 --- old/git-pw-2.4.0/man/git-pw-series.1 2022-12-06 14:16:58.000000000 +0100 +++ new/git-pw-2.5.0/man/git-pw-series.1 2023-05-18 16:07:32.000000000 +0200 @@ -1,4 +1,4 @@ -.TH "GIT-PW SERIES" "1" "2022-12-06" "2.4.0" "git-pw series Manual" +.TH "GIT-PW SERIES" "1" "2023-05-18" "2.5.0" "git-pw series Manual" .SH NAME git-pw\-series \- Interact with series. .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-pw-2.4.0/man/git-pw.1 new/git-pw-2.5.0/man/git-pw.1 --- old/git-pw-2.4.0/man/git-pw.1 2022-12-06 14:16:58.000000000 +0100 +++ new/git-pw-2.5.0/man/git-pw.1 2023-05-18 16:07:32.000000000 +0200 @@ -1,4 +1,4 @@ -.TH "GIT-PW" "1" "2022-12-06" "2.4.0" "git-pw Manual" +.TH "GIT-PW" "1" "2023-05-18" "2.5.0" "git-pw Manual" .SH NAME git-pw \- git-pw is a tool for integrating Git with... .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-pw-2.4.0/releasenotes/notes/add-before-since-options-c67799ef2ad89c0c.yaml new/git-pw-2.5.0/releasenotes/notes/add-before-since-options-c67799ef2ad89c0c.yaml --- old/git-pw-2.4.0/releasenotes/notes/add-before-since-options-c67799ef2ad89c0c.yaml 1970-01-01 01:00:00.000000000 +0100 +++ new/git-pw-2.5.0/releasenotes/notes/add-before-since-options-c67799ef2ad89c0c.yaml 2023-05-18 16:07:32.000000000 +0200 @@ -0,0 +1,6 @@ +--- +features: + - | + The ``series list`` and ``patch list`` commands now support ``--since`` and + ``--before`` filters to list items created since or before a given + date-time. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-pw-2.4.0/tests/test_bundle.py new/git-pw-2.5.0/tests/test_bundle.py --- old/git-pw-2.4.0/tests/test_bundle.py 2022-12-06 14:16:58.000000000 +0100 +++ new/git-pw-2.5.0/tests/test_bundle.py 2023-05-18 16:07:32.000000000 +0200 @@ -412,7 +412,6 @@ def test_create_api_v1_1( self, mock_log, mock_echo, mock_create, mock_version ): - mock_version.return_value = (1, 1) runner = CLIRunner() @@ -475,7 +474,6 @@ mock_update, mock_version, ): - mock_version.return_value = (1, 1) runner = CLIRunner() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-pw-2.4.0/tests/test_patch.py new/git-pw-2.5.0/tests/test_patch.py --- old/git-pw-2.4.0/tests/test_patch.py 2022-12-06 14:16:58.000000000 +0100 +++ new/git-pw-2.5.0/tests/test_patch.py 2023-05-18 16:07:32.000000000 +0200 @@ -391,6 +391,10 @@ '--sort', '-name', 'test', + '--since', + '2022-01-01', + '--before', + '2022-12-31', ], ) @@ -412,6 +416,8 @@ ('page', 1), ('per_page', 1), ('order', '-name'), + ('since', '2022-01-01T00:00:00'), + ('before', '2022-12-31T00:00:00'), ], ), ] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-pw-2.4.0/tests/test_series.py new/git-pw-2.5.0/tests/test_series.py --- old/git-pw-2.4.0/tests/test_series.py 2022-12-06 14:16:58.000000000 +0100 +++ new/git-pw-2.5.0/tests/test_series.py 2023-05-18 16:07:32.000000000 +0200 @@ -226,6 +226,10 @@ '--sort', '-name', 'test', + '--since', + '2022-01-01', + '--before', + '2022-12-31', ], ) @@ -241,6 +245,8 @@ ('page', 1), ('per_page', 1), ('order', '-name'), + ('since', '2022-01-01T00:00:00'), + ('before', '2022-12-31T00:00:00'), ], ), ] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-pw-2.4.0/tests/test_utils.py new/git-pw-2.5.0/tests/test_utils.py --- old/git-pw-2.4.0/tests/test_utils.py 2022-12-06 14:16:58.000000000 +0100 +++ new/git-pw-2.5.0/tests/test_utils.py 2023-05-18 16:07:32.000000000 +0200 @@ -60,7 +60,7 @@ def test_echo_via_pager_config(mock_inner, mock_tabulate, mock_config): utils.echo_via_pager('test', ('foo',), None) - mock_config.assert_called_once_with('core.parser') + mock_config.assert_called_once_with('core.pager') mock_tabulate.assert_called_once_with('test', ('foo',), None) mock_inner.assert_called_once_with('bar', mock_tabulate.return_value) @@ -72,7 +72,7 @@ def test_echo_via_pager_env_PAGER(mock_inner, mock_tabulate, mock_config): utils.echo_via_pager('test', ('foo',), None) - mock_config.assert_called_once_with('core.parser') + mock_config.assert_called_once_with('core.pager') mock_tabulate.assert_called_once_with('test', ('foo',), None) mock_inner.assert_called_once_with('baz', mock_tabulate.return_value) @@ -84,7 +84,7 @@ def test_echo_via_pager_env_default(mock_inner, mock_tabulate, mock_config): utils.echo_via_pager('test', ('foo',), None) - mock_config.assert_called_once_with('core.parser') + mock_config.assert_called_once_with('core.pager') mock_tabulate.assert_called_once_with('test', ('foo',), None) mock_inner.assert_called_once_with('less', mock_tabulate.return_value) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-pw-2.4.0/tox.ini new/git-pw-2.5.0/tox.ini --- old/git-pw-2.4.0/tox.ini 2022-12-06 14:16:58.000000000 +0100 +++ new/git-pw-2.5.0/tox.ini 2023-05-18 16:07:32.000000000 +0200 @@ -1,10 +1,8 @@ [tox] minversion = 3.1 envlist = pep8,mypy,clean,py{37,38,39,310,311},report -ignore_basepython_conflict = true [testenv] -basepython = python3 deps = -r{toxinidir}/test-requirements.txt commands =
