Skip to content

Commit

Permalink
Merge pull request #9 from eea/develop
Browse files Browse the repository at this point in the history
Develop #95849
  • Loading branch information
avoinea authored Jun 22, 2018
2 parents 2caee99 + a850558 commit 6532d6c
Show file tree
Hide file tree
Showing 8 changed files with 56 additions and 45 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ official issue register.

* [General GitHub documentation](http://help.github.com/)
* [GitHub pull request documentation](http://help.github.com/send-pull-requests/)
* [EEA packages](http://eea.github.io/docs/IT-systems/)
* [EEA packages](https://eea.github.io/docs/IT-systems/)
30 changes: 16 additions & 14 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,25 @@ pipeline {
parallel(

"ZPT Lint": {
node(label: 'docker-1.13') {
node(label: 'docker') {
sh '''docker run -i --rm --name="$BUILD_TAG-zptlint" -e GIT_BRANCH="$BRANCH_NAME" -e ADDONS="$GIT_NAME" -e DEVELOP="src/$GIT_NAME" -e GIT_CHANGE_ID="$CHANGE_ID" eeacms/plone-test:4 zptlint'''
}
},

"JS Lint": {
node(label: 'docker-1.13') {
node(label: 'docker') {
sh '''docker run -i --rm --name="$BUILD_TAG-jslint" -e GIT_SRC="https://github.com/eea/$GIT_NAME.git" -e GIT_NAME="$GIT_NAME" -e GIT_BRANCH="$BRANCH_NAME" -e GIT_CHANGE_ID="$CHANGE_ID" eeacms/jslint4java'''
}
},

"PyFlakes": {
node(label: 'docker-1.13') {
node(label: 'docker') {
sh '''docker run -i --rm --name="$BUILD_TAG-pyflakes" -e GIT_SRC="https://github.com/eea/$GIT_NAME.git" -e GIT_NAME="$GIT_NAME" -e GIT_BRANCH="$BRANCH_NAME" -e GIT_CHANGE_ID="$CHANGE_ID" eeacms/pyflakes'''
}
},

"i18n": {
node(label: 'docker-1.13') {
node(label: 'docker') {
sh '''docker run -i --rm --name=$BUILD_TAG-i18n -e GIT_SRC="https://github.com/eea/$GIT_NAME.git" -e GIT_NAME="$GIT_NAME" -e GIT_BRANCH="$BRANCH_NAME" -e GIT_CHANGE_ID="$CHANGE_ID" eeacms/i18ndude'''
}
}
Expand All @@ -43,19 +43,19 @@ pipeline {
parallel(

"WWW": {
node(label: 'docker-1.13') {
node(label: 'docker') {
sh '''docker run -i --rm --name="$BUILD_TAG-www" -e GIT_NAME="$GIT_NAME" -e GIT_BRANCH="$BRANCH_NAME" -e GIT_CHANGE_ID="$CHANGE_ID" eeacms/www-devel /debug.sh bin/test -v -vv -s $GIT_NAME'''
}
},

"KGS": {
node(label: 'docker-1.13') {
node(label: 'docker') {
sh '''docker run -i --rm --name="$BUILD_TAG-kgs" -e GIT_NAME="$GIT_NAME" -e GIT_BRANCH="$BRANCH_NAME" -e GIT_CHANGE_ID="$CHANGE_ID" eeacms/kgs-devel /debug.sh bin/test --test-path /plone/instance/src/$GIT_NAME -v -vv -s $GIT_NAME'''
}
},

"Plone4": {
node(label: 'docker-1.13') {
node(label: 'docker') {
sh '''docker run -i --rm --name="$BUILD_TAG-plone4" -e GIT_BRANCH="$BRANCH_NAME" -e ADDONS="$GIT_NAME" -e DEVELOP="src/$GIT_NAME" -e GIT_CHANGE_ID="$CHANGE_ID" eeacms/plone-test:4 -v -vv -s $GIT_NAME'''
}
}
Expand All @@ -68,7 +68,7 @@ pipeline {
parallel(

"JS Hint": {
node(label: 'docker-1.13') {
node(label: 'docker') {
script {
try {
sh '''docker run -i --rm --name="$BUILD_TAG-jshint" -e GIT_SRC="https://github.com/eea/$GIT_NAME.git" -e GIT_NAME="$GIT_NAME" -e GIT_BRANCH="$BRANCH_NAME" -e GIT_CHANGE_ID="$CHANGE_ID" eeacms/jshint'''
Expand All @@ -80,7 +80,7 @@ pipeline {
},

"CSS Lint": {
node(label: 'docker-1.13') {
node(label: 'docker') {
script {
try {
sh '''docker run -i --rm --name="$BUILD_TAG-csslint" -e GIT_SRC="https://github.com/eea/$GIT_NAME.git" -e GIT_NAME="$GIT_NAME" -e GIT_BRANCH="$BRANCH_NAME" -e GIT_CHANGE_ID="$CHANGE_ID" eeacms/csslint'''
Expand All @@ -92,7 +92,7 @@ pipeline {
},

"PEP8": {
node(label: 'docker-1.13') {
node(label: 'docker') {
script {
try {
sh '''docker run -i --rm --name="$BUILD_TAG-pep8" -e GIT_SRC="https://github.com/eea/$GIT_NAME.git" -e GIT_NAME="$GIT_NAME" -e GIT_BRANCH="$BRANCH_NAME" -e GIT_CHANGE_ID="$CHANGE_ID" eeacms/pep8'''
Expand All @@ -104,7 +104,7 @@ pipeline {
},

"PyLint": {
node(label: 'docker-1.13') {
node(label: 'docker') {
script {
try {
sh '''docker run -i --rm --name="$BUILD_TAG-pylint" -e GIT_SRC="https://github.com/eea/$GIT_NAME.git" -e GIT_NAME="$GIT_NAME" -e GIT_BRANCH="$BRANCH_NAME" -e GIT_CHANGE_ID="$CHANGE_ID" eeacms/pylint'''
Expand All @@ -127,12 +127,14 @@ pipeline {
environment name: 'CHANGE_TARGET', value: 'master'
}
steps {
node(label: 'docker-1.13') {
node(label: 'docker') {
script {
if ( env.CHANGE_BRANCH != "develop" && !( env.CHANGE_BRANCH.startsWith("hotfix")) ) {
error "Pipeline aborted due to PR not made from develop or hotfix branch"
}
sh '''docker run -i --rm --name="$BUILD_TAG-gitflow-pr" -e GIT_BRANCH="$BRANCH_NAME" -e GIT_CHANGE_ID="$CHANGE_ID" -e GIT_ORG="$GIT_ORG" -e GIT_NAME="$GIT_NAME" eeacms/gitflow'''
withCredentials([string(credentialsId: 'eea-jenkins-token', variable: 'GITHUB_TOKEN')]) {
sh '''docker run -i --rm --name="$BUILD_TAG-gitflow-pr" -e GIT_CHANGE_BRANCH="$CHANGE_BRANCH" -e GIT_CHANGE_AUTHOR="$CHANGE_AUTHOR" -e GIT_CHANGE_TITLE="$CHANGE_TITLE" -e GIT_TOKEN="$GITHUB_TOKEN" -e GIT_BRANCH="$BRANCH_NAME" -e GIT_CHANGE_ID="$CHANGE_ID" -e GIT_ORG="$GIT_ORG" -e GIT_NAME="$GIT_NAME" eeacms/gitflow'''
}
}
}
}
Expand All @@ -146,7 +148,7 @@ pipeline {
}
}
steps {
node(label: 'docker-1.13') {
node(label: 'docker') {
withCredentials([[$class: 'UsernamePasswordMultiBinding', credentialsId: 'eea-jenkins', usernameVariable: 'EGGREPO_USERNAME', passwordVariable: 'EGGREPO_PASSWORD'],string(credentialsId: 'eea-jenkins-token', variable: 'GITHUB_TOKEN'),[$class: 'UsernamePasswordMultiBinding', credentialsId: 'pypi-jenkins', usernameVariable: 'PYPI_USERNAME', passwordVariable: 'PYPI_PASSWORD']]) {
sh '''docker run -i --rm --name="$BUILD_TAG-gitflow-master" -e GIT_BRANCH="$BRANCH_NAME" -e EGGREPO_USERNAME="$EGGREPO_USERNAME" -e EGGREPO_PASSWORD="$EGGREPO_PASSWORD" -e GIT_NAME="$GIT_NAME" -e PYPI_USERNAME="$PYPI_USERNAME" -e PYPI_PASSWORD="$PYPI_PASSWORD" -e GIT_ORG="$GIT_ORG" -e GIT_TOKEN="$GITHUB_TOKEN" eeacms/gitflow'''
}
Expand Down
38 changes: 21 additions & 17 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
=====================
EEA App Visualization
=====================
.. image:: http://ci.eionet.europa.eu/job/eea/job/eea.app.visualization/job/master/badge/icon
:target: http://ci.eionet.europa.eu/job/eea/job/eea.app.visualization/job/master/display/redirect
.. image:: https://ci.eionet.europa.eu/buildStatus/icon?job=eea/eea.app.visualization/develop
:target: https://ci.eionet.europa.eu/job/eea/job/eea.app.visualization/job/develop/display/redirect
:alt: Develop
.. image:: https://ci.eionet.europa.eu/buildStatus/icon?job=eea/eea.app.visualization/master
:target: https://ci.eionet.europa.eu/job/eea/job/eea.app.visualization/job/master/display/redirect
:alt: Master

`EEA App Visualization`_ is the Core API for `EEA Daviz`_. This package was added
in order to be able to use `EEA Google Charts`_ without `EEA Exhibit`_ and
viceversa or any other visualization library as a standalone visualization
or as part of a bundle package (`eea.daviz`_)


.. image:: http://eea.github.com/_images/eea.daviz.layers.svg
.. image:: https://eea.github.io/_images/eea.daviz.layers.svg


This package as standalone is just an API, you have to either install
Expand Down Expand Up @@ -62,7 +66,7 @@ Dependencies
* collective.js.jqueryui > 1.9 (Plone 4.3+)
* eea.cache > 7.0 (optional)

.. image:: http://eea.github.com/_images/eea.daviz.dependencies.svg
.. image:: https://eea.github.io/_images/eea.daviz.dependencies.svg


Live demo
Expand Down Expand Up @@ -101,8 +105,8 @@ Links

1. Simile Wiki - Exhibit 2.0: http://simile.mit.edu/wiki/Exhibit
2. Simile widgets: http://www.simile-widgets.org/exhibit
3. EEA Daviz howto: http://taskman.eionet.europa.eu/projects/zope/wiki/HowToDaviz
4. EEA Daviz backlog wiki: http://taskman.eionet.europa.eu/projects/zope/wiki/DaViz
3. EEA Daviz howto: https://taskman.eionet.europa.eu/projects/zope/wiki/HowToDaviz
4. EEA Daviz backlog wiki: https://taskman.eionet.europa.eu/projects/zope/wiki/DaViz
5. Google charts: http://code.google.com/apis/chart/


Expand All @@ -112,14 +116,14 @@ Funding
EEA_ - European Environment Agency (EU)


.. _EEA: http://www.eea.europa.eu/
.. _`EEA Daviz`: http://eea.github.com/docs/eea.daviz
.. _`EEA Google Charts`: http://eea.github.com/docs/eea.googlecharts
.. _`EEA Exhibit`: http://eea.github.com/docs/eea.exhibit
.. _`eea.daviz`: http://eea.github.com/docs/eea.daviz
.. _`eea.googlecharts`: http://eea.github.com/docs/eea.googlecharts
.. _`eea.exhibit`: http://eea.github.com/docs/eea.exhibit
.. _`eea.app.visualization`: http://eea.github.com/docs/eea.app.visualization
.. _`plone.recipe.zope2instance`: http://pypi.python.org/pypi/plone.recipe.zope2instance
.. _`zc.buildout`: http://pypi.python.org/pypi/zc.buildout
.. _`EEA App Visualization`: http://eea.github.com/docs/eea.app.visualization
.. _EEA: https://www.eea.europa.eu/
.. _`EEA Daviz`: https://eea.github.io/docs/eea.daviz
.. _`EEA Google Charts`: https://eea.github.io/docs/eea.googlecharts
.. _`EEA Exhibit`: https://eea.github.io/docs/eea.exhibit
.. _`eea.daviz`: https://eea.github.io/docs/eea.daviz
.. _`eea.googlecharts`: https://eea.github.io/docs/eea.googlecharts
.. _`eea.exhibit`: https://eea.github.io/docs/eea.exhibit
.. _`eea.app.visualization`: https://eea.github.io/docs/eea.app.visualization
.. _`plone.recipe.zope2instance`: https://pypi.python.org/pypi/plone.recipe.zope2instance
.. _`zc.buildout`: https://pypi.python.org/pypi/zc.buildout
.. _`EEA App Visualization`: https://eea.github.io/docs/eea.app.visualization
5 changes: 5 additions & 0 deletions docs/HISTORY.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Changelog
=========

11.9 - (2018-06-20)
---------------------
* Change: updated URLs pointing to eea.europa.eu with https://
[alecghica refs #95849]

11.8 - (2018-03-14)
-------------------
* Change: load customized collective.js.jqueryui on eea context for view pages
Expand Down
18 changes: 9 additions & 9 deletions eea/app/visualization/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ viceversa or any other visualization library as a standalone visualization
or as part of a bundle package (`eea.daviz`_)


.. image:: http://eea.github.com/_images/eea.daviz.layers.svg
.. image:: https://eea.github.io/_images/eea.daviz.layers.svg


This package as standalone is just an API, you have to either install
Expand Down Expand Up @@ -35,11 +35,11 @@ Authors

EEA_ - European Environment Agency (EU)

.. _EEA: http://www.eea.europa.eu/
.. _`EEA App Visualization`: http://eea.github.com/docs/eea.app.visualization
.. _`EEA Daviz`: http://eea.github.com/docs/eea.daviz
.. _`EEA Google Charts`: http://eea.github.com/docs/eea.googlecharts
.. _`EEA Exhibit`: http://eea.github.com/docs/eea.exhibit
.. _`eea.daviz`: http://eea.github.com/docs/eea.daviz
.. _`eea.googlecharts`: http://eea.github.com/docs/eea.googlecharts
.. _`eea.exhibit`: http://eea.github.com/docs/eea.exhibit
.. _EEA: https://www.eea.europa.eu/
.. _`EEA App Visualization`: https://eea.github.io/docs/eea.app.visualization
.. _`EEA Daviz`: https://eea.github.io/docs/eea.daviz
.. _`EEA Google Charts`: https://eea.github.io/docs/eea.googlecharts
.. _`EEA Exhibit`: https://eea.github.io/docs/eea.exhibit
.. _`eea.daviz`: https://eea.github.io/docs/eea.daviz
.. _`eea.googlecharts`: https://eea.github.io/docs/eea.googlecharts
.. _`eea.exhibit`: https://eea.github.io/docs/eea.exhibit
2 changes: 1 addition & 1 deletion eea/app/visualization/browser/zpt/edit.pt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<div class="daviz-warning-helper" i18n:translate="">
Check these
<tal:block i18n:name="data-examples">
<a target="_blank" href="http://www.eea.europa.eu/data-and-maps/daviz/learn-more/examples" i18n:translate="">data examples</a>
<a target="_blank" href="https://www.eea.europa.eu/data-and-maps/daviz/learn-more/examples" i18n:translate="">data examples</a>
</tal:block>
or read
<tal:block i18n:name="prepare-data">
Expand Down
2 changes: 1 addition & 1 deletion eea/app/visualization/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
11.8
11.9
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
description="Visualization API",
long_description=open("README.rst").read() + "\n" +
open(os.path.join("docs", "HISTORY.txt")).read(),
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
"Framework :: Zope2",
"Framework :: Plone",
Expand All @@ -29,7 +29,7 @@
keywords='EEA app visualization Add-ons Plone Zope',
author='European Environment Agency: IDM2 A-Team',
author_email="[email protected]",
download_url="http://pypi.python.org/pypi/eea.app.visualization",
download_url="https://pypi.python.org/pypi/eea.app.visualization",
url='https://github.com/collective/eea.app.visualization',
license='GPL',
packages=find_packages(exclude=['ez_setup']),
Expand Down

0 comments on commit 6532d6c

Please sign in to comment.