Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Branch: refs/heads/master Date: 2023-09-19T00:12:49+02:00 Author: Maurits van Rees (mauritsvanrees) <[email protected]> Commit: plone/plone.releaser@99c8407 Add manage command 'versions2constraints'. Files changed: M plone/releaser/manage.py M plone/releaser/utils.py Repository: plone.releaser Branch: refs/heads/master Date: 2023-09-19T00:12:50+02:00 Author: Maurits van Rees (mauritsvanrees) <[email protected]> Commit: plone/plone.releaser@a2d72e2 Support writing to [versions:pythonx] Files changed: M plone/releaser/buildout.py M plone/releaser/manage.py M plone/releaser/tests/input/versions.cfg M plone/releaser/tests/test_buildout.py M plone/releaser/utils.py Repository: plone.releaser Branch: refs/heads/master Date: 2023-09-19T00:12:50+02:00 Author: Maurits van Rees (mauritsvanrees) <[email protected]> Commit: plone/plone.releaser@fdad9eb Read 'extends' lines from versions.cfg. Only local for now. Files changed: A plone/releaser/tests/input/versions2.cfg A plone/releaser/tests/input/versions3.cfg A plone/releaser/tests/input/versions4.cfg M plone/releaser/buildout.py M plone/releaser/tests/test_buildout.py Repository: plone.releaser Branch: refs/heads/master Date: 2023-10-07T20:54:02+02:00 Author: Maurits van Rees (mauritsvanrees) <[email protected]> Commit: plone/plone.releaser@3d800c3 Support reading extends (-c) in constraints as well. Files changed: A plone/releaser/tests/input/constraints2.txt A plone/releaser/tests/input/constraints3.txt A plone/releaser/tests/input/constraints4.txt M plone/releaser/pip.py M plone/releaser/tests/input/constraints.txt M plone/releaser/tests/test_buildout.py M plone/releaser/tests/test_pip.py Repository: plone.releaser Branch: refs/heads/master Date: 2023-10-07T22:15:36+02:00 Author: Maurits van Rees (mauritsvanrees) <[email protected]> Commit: plone/plone.releaser@990f64e Add VersionsFile.rewrite. This takes the parsed 'extends' and 'versions' and writes them back. This normalizes some stuff, so it will not be exactly the same. In the end we want to take versions.cfg and translate it to constraints.txt. But translating versions.cfg to its own should work as well, and is a good first step. Files changed: M plone/releaser/buildout.py M plone/releaser/tests/test_buildout.py Repository: plone.releaser Branch: refs/heads/master Date: 2023-10-09T12:05:44+02:00 Author: Maurits van Rees (mauritsvanrees) <[email protected]> Commit: plone/plone.releaser@b41ea5b constraints: platform_system is darwin, not macosx. Files changed: M plone/releaser/tests/input/constraints4.txt M plone/releaser/tests/test_pip.py Repository: plone.releaser Branch: refs/heads/master Date: 2023-10-12T20:37:44+02:00 Author: Maurits van Rees (mauritsvanrees) <[email protected]> Commit: plone/plone.releaser@fb2968b Add ConstraintsFile.rewrite. Files changed: M plone/releaser/pip.py M plone/releaser/tests/test_pip.py Repository: plone.releaser Branch: refs/heads/master Date: 2023-10-12T22:45:33+02:00 Author: Maurits van Rees (mauritsvanrees) <[email protected]> Commit: plone/plone.releaser@a034175 Add CheckoutsFile.rewrite. Files changed: M plone/releaser/buildout.py M plone/releaser/tests/test_buildout.py Repository: plone.releaser Branch: refs/heads/master Date: 2023-10-12T23:30:30+02:00 Author: Maurits van Rees (mauritsvanrees) <[email protected]> Commit: plone/plone.releaser@6b56b8f Add Inifile.rewrite. Files changed: M plone/releaser/pip.py M plone/releaser/tests/test_pip.py Repository: plone.releaser Branch: refs/heads/master Date: 2023-10-27T00:10:23+02:00 Author: Maurits van Rees (mauritsvanrees) <[email protected]> Commit: plone/plone.releaser@667d09c Fix manage.py to work with argh 0.30+. Full traceback with info: ``` $ bin/manage -h Traceback (most recent call last): File "/Users/maurits/community/plone-coredev/6.0/bin/manage", line 63, in <module> sys.exit(plone.releaser.manage.manage()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/maurits/community/plone-coredev/6.0/src/plone.releaser/plone/releaser/manage.py", line 277, in __call__ parser.add_commands( File "/Users/maurits/shared-eggs/cp312/argh-0.30.2-py3.12.egg/argh/helpers.py", line 47, in add_commands return add_commands(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/maurits/shared-eggs/cp312/argh-0.30.2-py3.12.egg/argh/assembling.py", line 592, in add_commands set_default_command( File "/Users/maurits/shared-eggs/cp312/argh-0.30.2-py3.12.egg/argh/assembling.py", line 331, in set_default_command inferred_args: List[ParserAddArgumentSpec] = list( ^^^^^ File "/Users/maurits/shared-eggs/cp312/argh-0.30.2-py3.12.egg/argh/assembling.py", line 155, in infer_argspecs_from_function raise ArgumentNameMappingError( argh.assembling.ArgumentNameMappingError: Argument "path" in function "add_checkout" is not keyword-only but has a default value. Please note that since Argh v.0.30 the default name mapping policy has changed. More information: https://argh.readthedocs.io/en/latest/changes.html#version-0-30-0-2023-10-21 You need to upgrade your functions so that the arguments that have default values become keyword-only: f(x=1) -> f(*, x=1) If you actually want an optional positional argument, please set the name mapping policy explicitly to `BY_NAME_IF_KWONLY`. If you choose to postpone the migration, you have two options: a) set the policy explicitly to `BY_NAME_IF_HAS_DEFAULT`; b) pin Argh version to 0.29 until you are ready to migrate. Thank you for understanding! ``` Files changed: M plone/releaser/manage.py Repository: plone.releaser Branch: refs/heads/master Date: 2023-10-30T10:56:01+01:00 Author: Maurits van Rees (mauritsvanrees) <[email protected]> Commit: plone/plone.releaser@4f5492c SourcesFile: use config/data and a raw version without interpolation. Files changed: M plone/releaser/buildout.py M plone/releaser/tests/test_buildout.py Repository: plone.releaser Branch: refs/heads/master Date: 2023-11-16T18:50:15+01:00 Author: Maurits van Rees (mauritsvanrees) <[email protected]> Commit: plone/plone.releaser@d03ac9a SourcesFile.rewrite: take all non-sources sections. Files changed: M plone/releaser/buildout.py M plone/releaser/tests/test_buildout.py Repository: plone.releaser Branch: refs/heads/master Date: 2023-11-16T19:34:08+01:00 Author: Maurits van Rees (mauritsvanrees) <[email protected]> Commit: plone/plone.releaser@9a2ba07 Get versions2constraints working for simple cases. Files changed: A plone/releaser/tests/test_versions2constraints.py M plone/releaser/manage.py Repository: plone.releaser Branch: refs/heads/master Date: 2023-11-16T19:59:26+01:00 Author: Maurits van Rees (mauritsvanrees) <[email protected]> Commit: plone/plone.releaser@b718af0 Add BaseBuildoutFile and let the others inherit from it. Then everything has a config, raw_config, and extends. Files changed: M plone/releaser/buildout.py Repository: plone.releaser Branch: refs/heads/master Date: 2023-11-16T23:26:00+01:00 Author: Maurits van Rees (mauritsvanrees) <[email protected]> Commit: plone/plone.releaser@28983c6 Get versions2constraints working Files changed: M plone/releaser/buildout.py M plone/releaser/manage.py M plone/releaser/pip.py M plone/releaser/tests/test_utils.py M plone/releaser/tests/test_versions2constraints.py M plone/releaser/utils.py Repository: plone.releaser Branch: refs/heads/master Date: 2023-11-17T00:24:47+01:00 Author: Maurits van Rees (mauritsvanrees) <[email protected]> Commit: plone/plone.releaser@004aed8 Add news snippet: Add bin/manage versions2constraints command. Files changed: A news/3670.feature Repository: plone.releaser Branch: refs/heads/master Date: 2023-11-30T20:12:59+01:00 Author: Maurits van Rees (mauritsvanrees) <[email protected]> Commit: plone/plone.releaser@c59ad3f Merge pull request #62 from plone/maurits-buildout2pip Add bin/manage versions2constraints command. Files changed: A news/3670.feature A plone/releaser/tests/input/constraints2.txt A plone/releaser/tests/input/constraints3.txt A plone/releaser/tests/input/constraints4.txt A plone/releaser/tests/input/versions2.cfg A plone/releaser/tests/input/versions3.cfg A plone/releaser/tests/input/versions4.cfg A plone/releaser/tests/test_versions2constraints.py M plone/releaser/buildout.py M plone/releaser/manage.py M plone/releaser/pip.py M plone/releaser/tests/input/constraints.txt M plone/releaser/tests/input/versions.cfg M plone/releaser/tests/test_buildout.py M plone/releaser/tests/test_pip.py M plone/releaser/tests/test_utils.py M plone/releaser/utils.py
- Loading branch information