Skip to content

Commit 2df48b4

Browse files
authored
Merge branch 'main' into content-review
2 parents cb4ab7f + 68ab8a9 commit 2df48b4

File tree

30 files changed

+485
-584
lines changed

30 files changed

+485
-584
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
!.vscode
22
/scripts
3-
.DS_Store
3+
.DS_Store
4+
/data

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,14 @@ install: ## Install
123123
$(MAKE) backend-install
124124
$(MAKE) frontend-install
125125

126+
.PHONY: upgrade
127+
upgrade: ## Upgrade dependencies
128+
@echo "Upgrade dependencies"
129+
@uvx repoplone deps upgrade backend
130+
@uvx repoplone deps upgrade frontend
131+
$(MAKE) -C "./backend/" upgrade
132+
$(MAKE) -C "./frontend/" upgrade
133+
126134
.PHONY: start
127135
start: ## Start
128136
@echo "Starting application"

backend/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ var/
4444
.installed.txt
4545
.lock
4646
constraints.txt
47+
instance-local.yaml
4748
requirements.txt
4849
requirements.lock
4950
.pytest_cache

backend/Makefile

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,14 @@ all: build
5454
help: ## This help message
5555
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
5656

57-
instance/etc/zope.ini instance/etc/zope.conf: ## Create instance configuration
57+
instance/etc/zope.ini instance/etc/zope.conf: instance.yaml ## Create instance configuration
5858
@echo "$(GREEN)==> Create instance configuration$(RESET)"
59-
@uvx cookiecutter -f --no-input --config-file instance.yaml gh:plone/cookiecutter-zope-instance
59+
if [[ -s instance-local.yaml ]]; then \
60+
echo ">>> Using instance-local.yaml"; \
61+
uvx cookiecutter -f --no-input --config-file instance-local.yaml gh:plone/cookiecutter-zope-instance; \
62+
else \
63+
uvx cookiecutter -f --no-input --config-file instance.yaml gh:plone/cookiecutter-zope-instance; \
64+
fi
6065

6166
.PHONY: config
6267
config: instance/etc/zope.ini
@@ -65,15 +70,17 @@ config: instance/etc/zope.ini
6570
sync: ## Sync project dependencies
6671
@echo "$(GREEN)==> Sync project dependencies$(RESET)"
6772
@uv sync
68-
@echo "$(GREEN)==> Force update of kitconcept.voltolighttheme and kitconcept.core$(RESET)"
69-
@uv sync --upgrade-package kitconcept.core
70-
@uv sync --upgrade-package kitconcept.voltolighttheme
7173

7274
.PHONY: install
7375
install: sync config ## Install Plone and dependencies
7476

7577
$(VENV_FOLDER): sync ## Install Plone and dependencies
7678

79+
.PHONY: upgrade
80+
upgrade: ## Force upgrade of kitconcept.voltolighttheme
81+
@echo "$(GREEN)==> Force update of dependencies$(RESET)"
82+
@uv sync --upgrade-package kitconcept.voltolighttheme
83+
7784
.PHONY: clean
7885
clean: ## Clean environment
7986
@echo "$(RED)==> Cleaning environment and build$(RESET)"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
default_context:
2+
initial_user_password: 'admin'
3+
zcml_package_includes: 'kitconcept.intranet'
4+
db_storage: direct
5+
db_filestorage_location: ../data/filestorage/Data.fs
6+
db_blobs_location: ../data/blobstorage

backend/news/225.internal

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Support optional instance-local.yaml in the backed to override cookiecutter zope settings on a development install. @fredvd

backend/news/333.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Added command for upgrading dependencies. @davisagli @sneridagh

backend/news/338.internal

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Improve example content of Personalized Listings @iRohitSingh

backend/pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ classifiers = [
1717
"Development Status :: 3 - Alpha",
1818
"Environment :: Web Environment",
1919
"Framework :: Plone",
20-
"Framework :: Plone :: 6.1",
2120
"Framework :: Plone :: Distribution",
2221
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
2322
"Operating System :: OS Independent",
2423
"Programming Language :: Python",
2524
"Programming Language :: Python :: 3.12",
25+
"Framework :: Plone :: 6.1",
2626
]
2727
dependencies = [
28-
"kitconcept.core==2.0.0a9",
28+
"kitconcept.core==2.0.0a10",
2929
"plone.api",
3030
"plone.app.discussion",
3131
"plone.app.querystring>=3.0.0a2",
@@ -295,7 +295,7 @@ constraint-dependencies = [
295295
"jsonschema-specifications==2025.9.1",
296296
"jsonschema==4.24.1",
297297
"keyring==25.6.0",
298-
"kitconcept.core==2.0.0a9",
298+
"kitconcept.core==2.0.0a10",
299299
"kitconcept.solr==2.0.0a9",
300300
"kitconcept.voltolighttheme>=8.0.0a9",
301301
"legacy-cgi==2.6.2",
@@ -395,7 +395,7 @@ constraint-dependencies = [
395395
"plone.dexterity==3.0.8",
396396
"plone.distribution==3.2.1",
397397
"plone.event==2.0.3",
398-
"plone.exportimport==1.3.1",
398+
"plone.exportimport>=2.0.0a2",
399399
"plone.folder==4.0.1",
400400
"plone.formwidget.autocomplete==1.5.0",
401401
"plone.formwidget.namedfile==3.1.2",

backend/src/kitconcept/intranet/distributions/intranet/content/content/20c13a0a1aab4e18907aa7fb68517340/data.json

Lines changed: 0 additions & 161 deletions
This file was deleted.

0 commit comments

Comments
 (0)