Skip to content

Commit e9e9610

Browse files
committed
fix #47 now the name = queue name
1 parent 05ec79e commit e9e9610

File tree

7 files changed

+20
-6
lines changed

7 files changed

+20
-6
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

7+
## 2.6.0 - 2022-06-14
8+
9+
This will change how clowder sees the extractors. If you have an extractor, and you specify
10+
the queue name (eiter as command line argument or environment variable) the name of the
11+
extractor shown in clowder, will be the name of the queue.
12+
13+
### Changed
14+
- when you set the RABBITMQ_QUEUE it will change the name of the extractor as well in the
15+
extractor_info document. [#47](https://github.com/clowder-framework/pyclowder/issues/47)
16+
717
## 2.5.1 - 2022-03-04
818

919
### Changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ create new extractors.
1515
Install using pip (for most recent versions see: https://pypi.org/project/pyclowder/):
1616

1717
```
18-
pip install pyclowder==2.5.1
18+
pip install pyclowder==2.6.0
1919
```
2020

2121
Install pyClowder on your system by cloning this repo:

description.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Installation
1414
Install using pip (for most recent versions see: https://pypi.org/project/pyclowder/):
1515

1616
```
17-
pip install pyclowder==2.5.1
17+
pip install pyclowder==2.6.0
1818
```
1919

2020
Install pyClowder on your system by cloning this repo:

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@
5757
# built documents.
5858
#
5959
# The short X.Y version.
60-
version = u'2.5'
60+
version = u'2.6'
6161
# The full version, including alpha/beta/rc tags.
62-
release = u'2.5.1'
62+
release = u'2.6.0'
6363

6464
# The language for content autogenerated by Sphinx. Refer to documentation
6565
# for a list of supported languages.

pyclowder/extractors.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,10 @@ def setup(self):
123123
"""
124124
self.args = self.parser.parse_args()
125125

126+
# fix extractor_info based on the queue name
127+
if self.args.rabbitmq_queuename and self.extractor_info['name'] != self.args.rabbitmq_queuename:
128+
self.extractor_info['name'] = self.args.rabbitmq_queuename
129+
126130
# use command line option for ssl_verify
127131
if 'sslverify' in self.args:
128132
self.ssl_verify = self.args.sslverify
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pyclowder==2.5.1
1+
pyclowder==2.6.0

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
setup(
1010
name='pyclowder',
11-
version='2.5.1',
11+
version='2.6.0',
1212
description='Python SDK for the Clowder Data Management System',
1313
long_description=long_description,
1414

0 commit comments

Comments
 (0)