Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to plone meta and Plone6 #12

Merged
merged 22 commits into from
Jun 26, 2024

Conversation

ale-rt
Copy link
Member

@ale-rt ale-rt commented Jun 21, 2024

No description provided.

@coveralls
Copy link

coveralls commented Jun 24, 2024

Pull Request Test Coverage Report for Build 9641653198

Details

  • 83 of 101 (82.18%) changed or added relevant lines in 11 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-0.1%) to 87.963%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/collective/clamav/browser/controlpanel.py 2 4 50.0%
src/collective/clamav/scanner.py 15 17 88.24%
src/collective/clamav/tests/test_setup.py 6 11 54.55%
src/collective/clamav/validator.py 9 18 50.0%
Files with Coverage Reduction New Missed Lines %
src/collective/clamav/testing.py 1 98.21%
Totals Coverage Status
Change from base Build 509493476: -0.1%
Covered Lines: 285
Relevant Lines: 324

💛 - Coveralls

@coveralls
Copy link

coveralls commented Jun 25, 2024

Pull Request Test Coverage Report for Build 9664786896

Details

  • 83 of 101 (82.18%) changed or added relevant lines in 11 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-0.1%) to 87.963%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/collective/clamav/browser/controlpanel.py 2 4 50.0%
src/collective/clamav/scanner.py 15 17 88.24%
src/collective/clamav/tests/test_setup.py 6 11 54.55%
src/collective/clamav/validator.py 9 18 50.0%
Files with Coverage Reduction New Missed Lines %
src/collective/clamav/testing.py 1 98.21%
Totals Coverage Status
Change from base Build 509493476: -0.1%
Covered Lines: 285
Relevant Lines: 324

💛 - Coveralls

@coveralls
Copy link

coveralls commented Jun 25, 2024

Pull Request Test Coverage Report for Build 9664870998

Details

  • 83 of 101 (82.18%) changed or added relevant lines in 11 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-0.1%) to 87.963%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/collective/clamav/browser/controlpanel.py 2 4 50.0%
src/collective/clamav/scanner.py 15 17 88.24%
src/collective/clamav/tests/test_setup.py 6 11 54.55%
src/collective/clamav/validator.py 9 18 50.0%
Files with Coverage Reduction New Missed Lines %
src/collective/clamav/testing.py 1 98.21%
Totals Coverage Status
Change from base Build 509493476: -0.1%
Covered Lines: 285
Relevant Lines: 324

💛 - Coveralls

* With `3.8` you get an error in GitHub Actions: `Error when evaluating 'strategy' for job 'test'. plone/meta/.github/workflows/test.yml@main (Line: 23, Col: 25): Unexpected value '3.8'`
* With `["3.8"]` you get a yaml error running config-package from plone/meta, as it gets spelled like this: `py-versions: '['3.8']'` (Not sure if I have the single or double quotes right.)
@coveralls
Copy link

coveralls commented Jun 26, 2024

Pull Request Test Coverage Report for Build 9682969983

Details

  • 83 of 101 (82.18%) changed or added relevant lines in 11 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-0.1%) to 87.963%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/collective/clamav/browser/controlpanel.py 2 4 50.0%
src/collective/clamav/scanner.py 15 17 88.24%
src/collective/clamav/tests/test_setup.py 6 11 54.55%
src/collective/clamav/validator.py 9 18 50.0%
Files with Coverage Reduction New Missed Lines %
src/collective/clamav/testing.py 1 98.21%
Totals Coverage Status
Change from base Build 509493476: -0.1%
Covered Lines: 285
Relevant Lines: 324

💛 - Coveralls

It fails because the `clamav` daemon is not running.
The `ci.yml` file has a few lines of code that we would need to run:

```
sudo apt-get -y install clamav clamav-daemon clamav-freshclam clamav-unofficial-sigs
sudo bash -c 'echo -e "TCPSocket 3310\nLocalSocket /tmp/clamd.socket\n$(cat /etc/clamav/clamd.conf)" > /etc/clamav/clamd.conf'
sudo freshclam -l /tmp/freshclam.log
sudo systemctl start clamav-daemon.service
sudo systemctl status clamav-daemon.service
head /etc/clamav/clamd.conf
```

For installing extra packages we could use the `os-packages` input, but there is currently no hook in plone/meta for running arbitrary commands.
@coveralls
Copy link

coveralls commented Jun 26, 2024

Pull Request Test Coverage Report for Build 9683188832

Details

  • 83 of 101 (82.18%) changed or added relevant lines in 11 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-0.1%) to 87.963%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/collective/clamav/browser/controlpanel.py 2 4 50.0%
src/collective/clamav/scanner.py 15 17 88.24%
src/collective/clamav/tests/test_setup.py 6 11 54.55%
src/collective/clamav/validator.py 9 18 50.0%
Files with Coverage Reduction New Missed Lines %
src/collective/clamav/testing.py 1 98.21%
Totals Coverage Status
Change from base Build 509493476: -0.1%
Covered Lines: 285
Relevant Lines: 324

💛 - Coveralls

In the first release (2.0a1) this was already not used, and replaced by registry settings.
That release was based on collective.ATClamAV.
@coveralls
Copy link

coveralls commented Jun 26, 2024

Pull Request Test Coverage Report for Build 9683709535

Details

  • 88 of 101 (87.13%) changed or added relevant lines in 11 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage increased (+1.8%) to 89.873%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/collective/clamav/browser/controlpanel.py 2 4 50.0%
src/collective/clamav/scanner.py 15 17 88.24%
src/collective/clamav/validator.py 9 18 50.0%
Files with Coverage Reduction New Missed Lines %
src/collective/clamav/testing.py 1 98.21%
Totals Coverage Status
Change from base Build 509493476: 1.8%
Covered Lines: 284
Relevant Lines: 316

💛 - Coveralls

@coveralls
Copy link

coveralls commented Jun 26, 2024

Pull Request Test Coverage Report for Build 9684886378

Details

  • 88 of 101 (87.13%) changed or added relevant lines in 11 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage increased (+1.7%) to 89.744%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/collective/clamav/browser/controlpanel.py 2 4 50.0%
src/collective/clamav/scanner.py 15 17 88.24%
src/collective/clamav/validator.py 9 18 50.0%
Files with Coverage Reduction New Missed Lines %
src/collective/clamav/testing.py 1 98.11%
Totals Coverage Status
Change from base Build 509493476: 1.7%
Covered Lines: 280
Relevant Lines: 312

💛 - Coveralls

@coveralls
Copy link

coveralls commented Jun 26, 2024

Pull Request Test Coverage Report for Build 9685015189

Details

  • 88 of 101 (87.13%) changed or added relevant lines in 11 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage increased (+1.7%) to 89.744%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/collective/clamav/browser/controlpanel.py 2 4 50.0%
src/collective/clamav/scanner.py 15 17 88.24%
src/collective/clamav/validator.py 9 18 50.0%
Files with Coverage Reduction New Missed Lines %
src/collective/clamav/testing.py 1 98.11%
Totals Coverage Status
Change from base Build 509493476: 1.7%
Covered Lines: 280
Relevant Lines: 312

💛 - Coveralls

Copy link
Member

@mauritsvanrees mauritsvanrees left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.
I have done a few fixes, mostly around test setup and some cleanup. I can't really test it locally because I don't have clamav here on Mac, so tests locally fail. But looks good.

@mauritsvanrees mauritsvanrees merged commit 1815f85 into master Jun 26, 2024
4 checks passed
@ale-rt ale-rt deleted the config-with-default-template-a89af8f2 branch June 27, 2024 06:21
@mauritsvanrees
Copy link
Member

I have asked @tisto for PyPI rights.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants