Skip to content

Commit ae94a94

Browse files
committed
Merge remote-tracking branch 'origin/develop' into python3-build
2 parents a9f4a63 + ff430c1 commit ae94a94

File tree

3 files changed

+29
-7
lines changed

3 files changed

+29
-7
lines changed

CHANGELOG.md

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,27 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

77
## [Unreleased]
8+
9+
## 2.2.0 - 2019-04-03
10+
11+
### Fixed
12+
- Code is now compatible with both Python 2 and Python 3.
13+
- RabbitMQ queue name can be different from extractor name.
14+
- Updated dependencies.
15+
- A race condition existed where an ACK could be lost, resulting in an extractor not processing more messages [CATSPYC-1](https://opensource.ncsa.illinois.edu/jira/browse/CATSPYC-1)
16+
- Error decoding messages where filename contains non-ascii characters[CATSPYC-18](https://opensource.ncsa.illinois.edu/jira/browse/CATSPYC-18)
17+
818
### Changed
919
- files.upload_preview and collections.upload_preview does not require section_id for metadata [CATS-935](https://opensource.ncsa.illinois.edu/jira/browse/CATS-935)
20+
- Extractors will not register by default to clowder [CATSPYC-1](https://opensource.ncsa.illinois.edu/jira/browse/CATSPYC-1)
1021

1122
### Added
12-
- Email notification when extraction is done
13-
[CATSPYC-17] (https://opensource.ncsa.illinois.edu/jira/browse/CATSPYC-17)
14-
- Docker compose file for starting up the Clowder stack
15-
[BD-2226](https://opensource.ncsa.illinois.edu/jira/browse/BD-2226)
23+
- Simple R extractor. Allows wrapping R code as a clowder extractor, see sample-extractors/wordcount-simple-r-extractor for an example.
24+
- Email notification when extraction is done [CATSPYC-17](https://opensource.ncsa.illinois.edu/jira/browse/CATSPYC-17)
25+
- Docker compose file for starting up the Clowder stack [BD-2226](https://opensource.ncsa.illinois.edu/jira/browse/BD-2226)
26+
- PyClowder will now send heartbeats on extractors exchange, processes can listen for broadcast to get notified when new extractors come online.
27+
- Monitor application to leverage new heartbeat send out by extractors
28+
- Extractors now send version and name to clowder as part of the agent information.
1629

1730
## 2.1.1 - 2018-07-12
1831

release.sh

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,25 @@ $(dirname $0)/docker.sh
2020

2121
# check branch and set version
2222
if [ "${BRANCH}" = "master" ]; then
23-
VERSION=${VERSION:-"2.1.1 2.1 2 latest"}
23+
VERSION=$(grep version setup.py | sed "s/.*'\([0-9\.]*\)'.*/\1/")
24+
TAGS="latest"
25+
TMPVERSION="${VERSION}"
26+
OLDVERSION=""
27+
while [ "$OLDVERSION" != "$TMPVERSION" ]; do
28+
TAGS="${TAGS} ${TMPVERSION}"
29+
OLDVERSION="${TMPVERSION}"
30+
TMPVERSION=$(echo ${OLDVERSION} | sed 's/\.[0-9]*$//')
31+
done
2432
elif [ "${BRANCH}" = "develop" ]; then
2533
VERSION="develop"
34+
TAGS="${VERSION}"
2635
else
2736
exit 0
2837
fi
2938

3039
# tag all images and push if needed
3140
for i in pyclowder pyclowder-python3 extractors-monitor extractors-wordcount; do
32-
for v in ${VERSION}; do
41+
for v in ${TAGS}; do
3342
if [ "$v" != "latest" -o "$SERVER" != "" ]; then
3443
${DEBUG} docker tag clowder/${i}:latest ${SERVER}clowder/${i}:${v}
3544
fi

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def description():
99

1010

1111
setup(name='pyclowder',
12-
version='2.1.1',
12+
version='2.2.0',
1313
packages=find_packages(),
1414
description='Python SDK for the Clowder Data Management System',
1515
long_description=description(),

0 commit comments

Comments
 (0)