-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from clowder-framework/34-creating-extractors-…
…core-from-v1-to-v2 34 creating extractors core from v1 to v2
- Loading branch information
Showing
18 changed files
with
120 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,43 @@ | ||
# Change Log | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](http://keepachangelog.com/) | ||
and this project adheres to [Semantic Versioning](http://semver.org/). | ||
The format is based on [Keep a Changelog](https://keepachangelog.com/) | ||
and this project adheres to [Semantic Versioning](https://semver.org/). | ||
|
||
## Unreleased | ||
|
||
### Changed | ||
|
||
# 2020-09-16 | ||
- Audio preview, image preview, image metadata, and file digest extractors to support Clowder V2. | ||
|
||
Updated extractors to use pyclowder 2.3.1 | ||
## 2020-09-16 | ||
|
||
# 2020-07-07 | ||
- Updated extractors to use pyclowder 2.3.1 | ||
|
||
## 2020-07-07 | ||
|
||
## 1.0.1 - audio/speech2text | ||
|
||
### Fixed | ||
|
||
- Updated dependencies for audio | ||
|
||
## 2.0.1 - pdf/preview | ||
## 2.0.1 - pdf/preview | ||
|
||
### Fixed | ||
|
||
- Fix pdf preview no authorization by updating policy.xml. | ||
|
||
# 2018-05-24 | ||
## 2018-05-24 | ||
|
||
### Changed | ||
|
||
- All core extractors now use PyClowder2 | ||
- Uses larger chunk size | ||
|
||
### Fixed | ||
|
||
- Fixed bug in release shell script code. | ||
- Fixed maintainer name spelling | ||
- Use 10KB blocks when computing digest for faster computation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,36 @@ | ||
This repository will contain the core extractors that most people would like to install: | ||
# Clowder Core Extractors | ||
|
||
This repository contain the core extractors that most people would like to install: | ||
|
||
- image : creates image previews, thumbnails and extracts metadata | ||
- video : creates image previews, thumbnails and video previews | ||
- audio : creates image previews, thumbnails and audio previews | ||
- pdf : creates image previews, thumbnails and pdf previews | ||
- office : creates image previews, thumbnails and pdf previews | ||
|
||
You can build the docker containers using the command: `./docker.sh` | ||
|
||
To test these extractors use the docker-compose file in clowder. | ||
|
||
There is only a master branch, any changes made should be made to master. When making | ||
changes to the code, bump the version in the extractor_info.json as well as update the | ||
All code pull requests in this repo should be created against the `main` branch, and it's the default one. When making | ||
changes to the code, bump the version in the `extractor_info.json` as well as update the | ||
CHANGELOG.md | ||
|
||
## Support for Clowder V2 | ||
|
||
When running extractors against a Clowder V2 instance, pass the environment variable `CLOWDER_VERSION=2` to the running | ||
Python program or Docker container. | ||
|
||
### Docker Build and Run Instructions for Clowder V2 | ||
|
||
CD into the directory containing the specific extractor: | ||
|
||
```shell | ||
docker build -t <extractor-docker-image-name> . | ||
docker run --rm -e CLOWDER_VERSION=2 -e "RABBITMQ_URI=amqp://guest:guest@rabbitmq:5672/%2f" --network <clowder_nework_name> <extractor-docker-image-name> | ||
``` | ||
|
||
E.g., For image preview extractor, the build and run commands could be: | ||
|
||
```shell | ||
docker build -t clowder/extractors-image-preview . | ||
docker run --rm -e CLOWDER_VERSION=2 -e "RABBITMQ_URI=amqp://guest:guest@rabbitmq:5672/%2f" --network clowder2-dev_clowder2 clowder/extractors-image-preview | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
{ | ||
"@context": "http://clowder.ncsa.illinois.edu/contexts/extractors.jsonld", | ||
"@context": "https://clowderframework.org/contexts/extractors.jsonld", | ||
"name": "ncsa.audio.preview", | ||
"version": "2.1.9", | ||
"description": "Creates thumbnail and image previews of Audio files.", | ||
"version": "2.2.0", | ||
"description": "Creates audio previews.", | ||
"author": "Rob Kooper <[email protected]>", | ||
"contributors": [], | ||
"contributors": [ | ||
"Sandeep Puthanveetil Satheesan <[email protected]>" | ||
], | ||
"contexts": [], | ||
"repository": [ | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
pyclowder==2.7.0 | ||
pyclowder==3.0.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,9 @@ | |
"version": "2.2.4", | ||
"description": "File digest extractor", | ||
"author": "Max Burnette <[email protected]>", | ||
"contributors": [], | ||
"contributors": [ | ||
"Sandeep Puthanveetil Satheesan <[email protected]>" | ||
], | ||
"contexts": [], | ||
"repository": [ | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
pyclowder==2.7.0 | ||
pyclowder==3.0.2 | ||
pycurl==7.43.0.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
{ | ||
"@context": "http://clowder.ncsa.illinois.edu/contexts/extractors.jsonld", | ||
"@context": "http://www.w3.org/2003/12/exif/ns", | ||
"name": "ncsa.image.metadata", | ||
"version": "2.1.9", | ||
"version": "2.2.0", | ||
"description": "Extracts metadata from Image files.", | ||
"author": "Max Burnette <[email protected]>", | ||
"contributors": [ | ||
"Rob Kooper <[email protected]>" | ||
"Rob Kooper <[email protected]>", | ||
"Sandeep Puthanveetil Satheesan <[email protected]>" | ||
], | ||
"contexts": [], | ||
"repository": [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
pyclowder==2.7.0 | ||
pyclowder==3.0.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.