Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
d435c0a
Add makefile / pip based setup and remove buildout cfgs
maethu Nov 13, 2025
bb77d77
Make python 3.12 compatible.
maethu Nov 13, 2025
2dd2cb5
Remove ftw.builder and AT dependency
maethu Nov 13, 2025
8bf3e72
Replace ftw.testbrowser with a local implementation to avoid the depe…
maethu Nov 13, 2025
a53c16a
Update rename function from latest plone 6.1.3 version.
maethu Nov 13, 2025
0e8acf9
Fix running tests.
maethu Nov 13, 2025
13b13a8
Fix remaning tests.
maethu Jan 15, 2026
59f0016
Remove obsolete del_objects.py
maethu Jan 15, 2026
a1bcf20
Start refactoring testbrowser: open/visit/actions
maethu Jan 15, 2026
e444cfe
Refactor more of the TestBrowser and TestCase.
maethu Jan 16, 2026
9054df6
Fix deprecation warings in actions.xml
maethu Jan 16, 2026
b61ee24
Remove skins stuff and update readme.
maethu Jan 16, 2026
6a2c931
Update readme.
maethu Jan 20, 2026
d680b2b
Remove old upgrade steps.
maethu Jan 20, 2026
d0c40a2
Add git actions testing workflow.
maethu Jan 20, 2026
2fa33fa
Format all code - run make format.
maethu Jan 20, 2026
5919937
Fix github tests.yml
maethu Jan 20, 2026
5b20984
Allow min. Python 3.11 version in makefile
maethu Jan 20, 2026
d2a48e5
Move to native namespaces
maethu Jan 20, 2026
56d958e
Explicilty include namespaces.
maethu Jan 20, 2026
9eae50c
Convert to pyproject.toml
maethu Jan 20, 2026
f642a42
Preparing release 2.0.0a1
maethu Jan 20, 2026
abfbf72
Preparing release 2.0.0a2
maethu Jan 20, 2026
5ff0223
Back to development: 2.0.0a3
maethu Jan 20, 2026
4ca4179
Add uninstall profile.
maethu Jan 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Tests

on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
workflow_dispatch:

jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version:
- "3.11"
- "3.12"
- "3.13"
plone-version:
- "6.1.4"

steps:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
make install

- name: Run tests
run: |
make test
20 changes: 8 additions & 12 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
.installed.txt
.make-sentinels
instance/
venv/
dist/
sources/
requirements-mxdev.txt
constraints-mxdev.txt
*.egg-info
*.mo
*.pyc
.installed.cfg
.mr.developer.cfg
bin/
build/
buildout.cfg
coverage/
develop-eggs/
dist/
eggs/
parts/
src/
var/
19 changes: 19 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM plone/plone-backend:6.1.2

LABEL maintainer="Your contact <your@contact.email>" \
org.label-schema.name="collective.deletepermission" \
org.label-schema.description="collective.deletepermission CMS Plone Site" \
org.label-schema.vendor="Your Name or Organization" \
org.label-schema.docker.cmd="docker run -d -p 8080:8080 yourdockerhubnamespace/plone-collective.deletepermission:latest"

# if used in GitLabCI we need this build arg
# ARG CI_JOB_TOKEN

# Add local code
COPY . ./
RUN apt-get update \
&& apt-get -y upgrade -y \
&& apt-get -y install make \
# && echo "token=${CI_TOKEN}" \
# && git config --global url."https://gitlab-ci-token:${CI_JOB_TOKEN}@git.akbild.ac.at".insteadOf ssh://git@git.akbild.ac.at \
&& make VENV=off VENV_FOLDER=. install
8 changes: 8 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@ recursive-include collective *
recursive-include docs *
include *.txt
include *.rst
include pyproject.toml
global-exclude *.pyc
global-exclude ._*
global-exclude *.mo
global-exclude __pycache__
prune instance
prune venv
prune .venv
prune .git
prune .make-sentinels
prune .mxdev_cache
Loading