Skip to content

Commit

Permalink
[fc] Repository: plone.releaser
Browse files Browse the repository at this point in the history
Branch: refs/heads/master
Date: 2023-09-01T18:48:27+02:00
Author: Maurits van Rees (mauritsvanrees) <[email protected]>
Commit: plone/plone.releaser@5d85a1f

Test buildout CheckoutsFile.

Files changed:
A plone/releaser/tests/input/checkouts.cfg
M plone/releaser/buildout.py
M plone/releaser/tests/test_buildout.py
Repository: plone.releaser

Branch: refs/heads/master
Date: 2023-09-01T18:48:27+02:00
Author: Maurits van Rees (mauritsvanrees) <[email protected]>
Commit: plone/plone.releaser@7b546eb

Test updating mxdev.ini, fixing some corner cases.

Files changed:
A plone/releaser/tests/input/mxdev.ini
M plone/releaser/pip.py
M plone/releaser/tests/test_pip.py
Repository: plone.releaser

Branch: refs/heads/master
Date: 2023-09-01T22:17:45+02:00
Author: Maurits van Rees (mauritsvanrees) <[email protected]>
Commit: plone/plone.releaser@75594aa

Make buildout.Source.create_from_string a classmethod.

Test it.

Files changed:
M plone/releaser/buildout.py
M plone/releaser/tests/test_buildout.py
Repository: plone.releaser

Branch: refs/heads/master
Date: 2023-09-01T22:34:54+02:00
Author: Maurits van Rees (mauritsvanrees) <[email protected]>
Commit: plone/plone.releaser@b1e7e3d

Removed no longer working pulls command that I have never used.

Removed `PyGithub` and `keyring` dependencies that was only used for this.
Removed `Source.path` property that was only used for this.

Traceback when you try the `pulls` command:

```
$ bin/manage pulls
Traceback (most recent call last):
  File "/Users/maurits/community/plone-coredev/6.0/bin/manage", line 69, in &lt;module&gt;
    sys.exit(plone.releaser.manage.manage())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/maurits/community/plone-coredev/6.0/src/plone.releaser/plone/releaser/manage.py", line 271, in __call__
    parser.dispatch()
  File "/Users/maurits/shared-eggs/cp311/argh-0.28.1-py3.11.egg/argh/helpers.py", line 54, in dispatch
    return dispatch(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/maurits/shared-eggs/cp311/argh-0.28.1-py3.11.egg/argh/dispatching.py", line 179, in dispatch
    for line in lines:
  File "/Users/maurits/shared-eggs/cp311/argh-0.28.1-py3.11.egg/argh/dispatching.py", line 290, in _execute_command
    for line in result:
  File "/Users/maurits/shared-eggs/cp311/argh-0.28.1-py3.11.egg/argh/dispatching.py", line 273, in _call
    result = function(*positional, **keywords)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/maurits/community/plone-coredev/6.0/src/plone.releaser/plone/releaser/manage.py", line 94, in pulls
    g = Github(client_id=client_id, client_secret=client_secret)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Github.__init__() got an unexpected keyword argument 'client_id'
```

Files changed:
A news/56.bugfix
M plone/releaser/buildout.py
M plone/releaser/manage.py
M setup.py
Repository: plone.releaser

Branch: refs/heads/master
Date: 2023-09-01T23:37:51+02:00
Author: Maurits van Rees (mauritsvanrees) <[email protected]>
Commit: plone/plone.releaser@01adec7

Source: support path and egg options.

Then the docs and mockup sources can get parsed.

Files changed:
M plone/releaser/buildout.py
M plone/releaser/tests/test_buildout.py
Repository: plone.releaser

Branch: refs/heads/master
Date: 2023-09-07T22:13:36+02:00
Author: Maurits van Rees (mauritsvanrees) <[email protected]>
Commit: plone/plone.releaser@1fd616b

Test SourcesFile, add contains and get, and repr/eq on Source.

Files changed:
A plone/releaser/tests/input/sources.cfg
M plone/releaser/buildout.py
M plone/releaser/tests/test_buildout.py
Repository: plone.releaser

Branch: refs/heads/master
Date: 2023-09-07T22:22:06+02:00
Author: Maurits van Rees (mauritsvanrees) <[email protected]>
Commit: plone/plone.releaser@fecdf8a

Let VersionsFile inherit from UserDict, and use data instead of versions.

Closer to the others.

Files changed:
M plone/releaser/buildout.py
M plone/releaser/tests/test_buildout.py
Repository: plone.releaser

Branch: refs/heads/master
Date: 2023-09-07T22:24:14+02:00
Author: Maurits van Rees (mauritsvanrees) <[email protected]>
Commit: plone/plone.releaser@92a5759

Let ConstraintsFile inherit from UserDict, and use data instead of constraints.

Closer to the others.

Files changed:
M plone/releaser/pip.py
M plone/releaser/tests/test_pip.py
Repository: plone.releaser

Branch: refs/heads/master
Date: 2023-09-07T22:49:08+02:00
Author: Maurits van Rees (mauritsvanrees) <[email protected]>
Commit: plone/plone.releaser@6d0eda4

Add base.BaseFile as basis for most pip/buildout files.

These classes were using lots of very similar methods.

Files changed:
A plone/releaser/base.py
M plone/releaser/buildout.py
M plone/releaser/pip.py
Repository: plone.releaser

Branch: refs/heads/master
Date: 2023-09-07T22:51:27+02:00
Author: Maurits van Rees (mauritsvanrees) <[email protected]>
Commit: plone/plone.releaser@7101bc9

news snippet

Files changed:
M news/56.bugfix
Repository: plone.releaser

Branch: refs/heads/master
Date: 2023-09-07T22:58:10+02:00
Author: Maurits van Rees (mauritsvanrees) <[email protected]>
Commit: plone/plone.releaser@42a5b36

Use self.path more, instead of self.file_location.

Files changed:
M plone/releaser/buildout.py
M plone/releaser/pip.py
Repository: plone.releaser

Branch: refs/heads/master
Date: 2023-09-14T00:48:41+02:00
Author: Maurits van Rees (mauritsvanrees) <[email protected]>
Commit: plone/plone.releaser@58d0a22

Merge pull request #56 from plone/maurits-more-tests

Improve and test sources. Share code.

Files changed:
A news/56.bugfix
A plone/releaser/base.py
A plone/releaser/tests/input/checkouts.cfg
A plone/releaser/tests/input/mxdev.ini
A plone/releaser/tests/input/sources.cfg
M plone/releaser/buildout.py
M plone/releaser/manage.py
M plone/releaser/pip.py
M plone/releaser/tests/test_buildout.py
M plone/releaser/tests/test_pip.py
M setup.py
  • Loading branch information
mauritsvanrees committed Sep 13, 2023
1 parent e2d250c commit c1ecef9
Showing 1 changed file with 230 additions and 25 deletions.
Loading

0 comments on commit c1ecef9

Please sign in to comment.