Skip to content

Commit

Permalink
Merge pull request #27 from eea/develop
Browse files Browse the repository at this point in the history
Drop eea.cache
  • Loading branch information
avoinea authored May 5, 2023
2 parents 6dd4200 + 16730c7 commit 5eb6f3e
Show file tree
Hide file tree
Showing 10 changed files with 39 additions and 18 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pipeline {

environment {
GIT_NAME = "eea.kitkat"
SONARQUBE_TAGS = "www.eea.europa.eu"
SONARQUBE_TAGS = "www.eea.europa.eu,www.eea.europa.eu-en,demo-www.eea.europa.eu,climate-advisory-board.europa.eu"
}

stages {
Expand Down
5 changes: 5 additions & 0 deletions docs/HISTORY.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Changelog
=========

5.0 - (2023-05-05)
---------------------------
* Task: Remove eea.cache dependency from eea.kitkat
[iulianpetchesi refs #251471]

4.7 - (2023-01-31)
---------------------------
* Task: Add endpoint in order to get the captcha key from registry
Expand Down
1 change: 0 additions & 1 deletion eea/kitkat/configure.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
<include package="eea.api.layout" />
<include package="eea.api.taxonomy" />
<include package="eea.banner" />
<include package="eea.cache" />
<include package="eea.geolocation" />
<include package="eea.coremetadata" />
<include package="eea.sentry" />
Expand Down
8 changes: 8 additions & 0 deletions eea/kitkat/profiles.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@
post_handler=".setuphandlers.uninstall"
/>

<genericsetup:registerProfile
name="kitkat_50"
title="Upgrade profile for eea.kitkat 5.0"
description=""
directory="profiles/upgrades/to_50"
provides="Products.GenericSetup.interfaces.EXTENSION"
/>

<utility
factory=".setuphandlers.HiddenProfiles"
name="eea.kitkat-hiddenprofiles"
Expand Down
3 changes: 1 addition & 2 deletions eea/kitkat/profiles/default/metadata.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<version>4.2</version>
<version>5.0</version>
<dependencies>
<dependency>profile-collective.taxonomy:default</dependency>
<dependency>profile-eea.api.layout:default</dependency>
<dependency>profile-eea.api.taxonomy:default</dependency>
<dependency>profile-eea.banner:default</dependency>
<dependency>profile-eea.coremetadata:default</dependency>
<dependency>profile-eea.cache:default</dependency>
<dependency>profile-eea.geolocation:default</dependency>
<dependency>profile-eea.sentry:default</dependency>
<dependency>profile-eea.volto.policy:default</dependency>
Expand Down
7 changes: 7 additions & 0 deletions eea/kitkat/profiles/upgrades/to_50/actions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0"?>
<object name="portal_actions">
<action-provider name="portal_actions"/>
<object name="object">
<object name="eea.cache" remove="True" />
</object>
</object>
4 changes: 4 additions & 0 deletions eea/kitkat/profiles/upgrades/to_50/browserlayer.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0"?>
<layers>
<layer name="eea.cache.layer" remove="true" />
</layers>
24 changes: 12 additions & 12 deletions eea/kitkat/upgrades/configure.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,6 @@

<genericsetup:upgradeSteps
source="1.0"
destination="1.5"
profile="eea.kitkat:default">

<genericsetup:upgradeDepends
title="Install eea.cache"
import_profile="eea.cache:default"
/>

</genericsetup:upgradeSteps>

<genericsetup:upgradeSteps
source="1.5"
destination="1.6"
profile="eea.kitkat:default">

Expand Down Expand Up @@ -75,4 +63,16 @@

</genericsetup:upgradeSteps>

<genericsetup:upgradeSteps
source="4.2"
destination="5.0"
profile="eea.kitkat:default">

<genericsetup:upgradeDepends
title="Remove eea.cache"
import_profile="eea.kitkat:kitkat_50"
/>

</genericsetup:upgradeSteps>

</configure>
2 changes: 1 addition & 1 deletion eea/kitkat/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.7
5.0
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
include_package_data=True,
zip_safe=False,
install_requires=[
'eea.cache',
'eea.banner',
'eea.zotero',
'eea.api.layout',
Expand Down

0 comments on commit 5eb6f3e

Please sign in to comment.