-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
replace dash with lowdash in project_name #16
Conversation
@MrTango thanks for creating this Pull Request and helping to improve Plone! TL;DR: Finish pushing changes, pass all other checks, then paste a comment:
To ensure that these changes do not break other parts of Plone, the Plone test suite matrix needs to pass, but it takes 30-60 min. Other CI checks are usually much faster and the Plone Jenkins resources are limited, so when done pushing changes and all other checks pass either start all Jenkins PR jobs yourself, or simply add the comment above in this PR to start all the jobs automatically. Happy hacking! |
Pull Request Test Coverage Report for Build 1813476658Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
978a754
to
41015d8
Compare
I wondered if this would need to be handled as `examplecamelcase`, so all lowercase. But it seems to work fine with camel case.
Other branches will be tested when they have a pull request. On #16 I saw 34 GitHub Actions tests, half of them for the PR, and half for a push to the branch. That is wasteful.
Other branches will be tested when they have a pull request. On #16 I saw 34 GitHub Actions tests, half of them for the PR, and half for a push to the branch. That is wasteful.
6a273bf
to
700c1f0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
I have updated the tests.
Can be merged once green:
@jenkins-plone-org please run jobs
Branch: refs/heads/main Date: 2022-02-08T18:34:18+02:00 Author: MrTango (MrTango) <md@derico.de> Commit: plone/plone.autoinclude@41015d8 replace dash with lowdash in project_name Files changed: A news/16.bugfix M src/plone/autoinclude/loader.py Repository: plone.autoinclude Branch: refs/heads/main Date: 2022-02-08T18:47:12+02:00 Author: MrTango (MrTango) <md@derico.de> Commit: plone/plone.autoinclude@1738f5c add example.plone-dash-addon tst Files changed: A test-packages/example.plone-dash-addon/MANIFEST.in A test-packages/example.plone-dash-addon/setup.py A test-packages/example.plone-dash-addon/src/example/__init__.py A test-packages/example.plone-dash-addon/src/example/plone_dash_addon/__init__.py A test-packages/example.plone-dash-addon/src/example/plone_dash_addon/browser/__init__.py A test-packages/example.plone-dash-addon/src/example/plone_dash_addon/browser/configure.zcml A test-packages/example.plone-dash-addon/src/example/plone_dash_addon/configure.zcml A test-packages/example.plone-dash-addon/src/example/plone_dash_addon/permissions.zcml A test-packages/example.plone-dash-addon/src/example/plone_dash_addon/tests.py Repository: plone.autoinclude Branch: refs/heads/main Date: 2022-02-08T19:53:43+02:00 Author: MrTango (MrTango) <md@derico.de> Commit: plone/plone.autoinclude@a93231d Add tests Files changed: M buildout.cfg M src/plone/autoinclude/loader.py M src/plone/autoinclude/tests/test_loader.py M test-packages/example.plone-dash-addon/setup.py M tox.ini Repository: plone.autoinclude Branch: refs/heads/main Date: 2022-02-08T20:49:45+01:00 Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org> Commit: plone/plone.autoinclude@2983445 Update ploneintegration tests to include example.plone_dash_addon files. Files changed: M test-packages/example.ploneintegration/src/example/ploneintegration/tests.py Repository: plone.autoinclude Branch: refs/heads/main Date: 2022-02-08T20:54:01+01:00 Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org> Commit: plone/plone.autoinclude@56b5d87 fix lint by running black Files changed: M src/plone/autoinclude/tests/test_loader.py Repository: plone.autoinclude Branch: refs/heads/main Date: 2022-02-08T21:01:32+01:00 Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org> Commit: plone/plone.autoinclude@a9dfdd2 Fixed buildout tests for example.plone-dash-addon. Files changed: M buildout.cfg M test-packages/example.plone-dash-addon/src/example/plone_dash_addon/configure.zcml M test-packages/example.plone-dash-addon/src/example/plone_dash_addon/tests.py Repository: plone.autoinclude Branch: refs/heads/main Date: 2022-02-08T21:15:29+01:00 Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org> Commit: plone/plone.autoinclude@30a4ad7 Add test-packages/ExampleCamelCase I wondered if this would need to be handled as `examplecamelcase`, so all lowercase. But it seems to work fine with camel case. Files changed: A test-packages/ExampleCamelCase/MANIFEST.in A test-packages/ExampleCamelCase/setup.py A test-packages/ExampleCamelCase/src/ExampleCamelCase/__init__.py A test-packages/ExampleCamelCase/src/ExampleCamelCase/configure.zcml A test-packages/ExampleCamelCase/src/ExampleCamelCase/tests.py M buildout.cfg M test-packages/example.ploneintegration/src/example/ploneintegration/tests.py M tox.ini Repository: plone.autoinclude Branch: refs/heads/main Date: 2022-02-08T21:23:01+01:00 Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org> Commit: plone/plone.autoinclude@700c1f0 GHA: only test main branch on push. Other branches will be tested when they have a pull request. On plone/plone.autoinclude#16 I saw 34 GitHub Actions tests, half of them for the PR, and half for a push to the branch. That is wasteful. Files changed: M .github/workflows/tests.yml Repository: plone.autoinclude Branch: refs/heads/main Date: 2022-02-09T11:50:36+02:00 Author: Maik Derstappen (MrTango) <md@derico.de> Commit: plone/plone.autoinclude@a99c88f Merge pull request #16 from plone/mrtango-fix-loader-when-dash-in-projectname replace dash with lowdash in project_name Files changed: A news/16.bugfix A test-packages/ExampleCamelCase/MANIFEST.in A test-packages/ExampleCamelCase/setup.py A test-packages/ExampleCamelCase/src/ExampleCamelCase/__init__.py A test-packages/ExampleCamelCase/src/ExampleCamelCase/configure.zcml A test-packages/ExampleCamelCase/src/ExampleCamelCase/tests.py A test-packages/example.plone-dash-addon/MANIFEST.in A test-packages/example.plone-dash-addon/setup.py A test-packages/example.plone-dash-addon/src/example/__init__.py A test-packages/example.plone-dash-addon/src/example/plone_dash_addon/__init__.py A test-packages/example.plone-dash-addon/src/example/plone_dash_addon/browser/__init__.py A test-packages/example.plone-dash-addon/src/example/plone_dash_addon/browser/configure.zcml A test-packages/example.plone-dash-addon/src/example/plone_dash_addon/configure.zcml A test-packages/example.plone-dash-addon/src/example/plone_dash_addon/permissions.zcml A test-packages/example.plone-dash-addon/src/example/plone_dash_addon/tests.py M .github/workflows/tests.yml M buildout.cfg M src/plone/autoinclude/loader.py M src/plone/autoinclude/tests/test_loader.py M test-packages/example.ploneintegration/src/example/ploneintegration/tests.py M tox.ini
No description provided.