Issue #3130629 by Grimreaper: Library dependency system. Use symfony/process...
Issue #3130629 by Grimreaper: Library dependency system. Use symfony/process instead of php shell commands. Test file now have spaces and UTF-8 characters. Now need to use Composer 2.
Showing
- README.txt 3 additions, 3 deletionsREADME.txt
- composer.json 6 additions, 0 deletionscomposer.json
- data/file_extractor test_extraction $.pdf 0 additions, 0 deletionsdata/file_extractor test_extraction $.pdf
- data/file_extractor_test_extraction.pdf 0 additions, 0 deletionsdata/file_extractor_test_extraction.pdf
- src/Annotation/FileExtractorExtractor.php 7 additions, 0 deletionssrc/Annotation/FileExtractorExtractor.php
- src/Extractor/ExtractorPluginBase.php 0 additions, 36 deletionssrc/Extractor/ExtractorPluginBase.php
- src/Extractor/ExtractorPluginManager.php 11 additions, 0 deletionssrc/Extractor/ExtractorPluginManager.php
- src/Plugin/file_extractor/Extractor/DocconvExtractor.php 11 additions, 5 deletionssrc/Plugin/file_extractor/Extractor/DocconvExtractor.php
- src/Plugin/file_extractor/Extractor/PdftotextExtractor.php 11 additions, 5 deletionssrc/Plugin/file_extractor/Extractor/PdftotextExtractor.php
- src/Plugin/file_extractor/Extractor/PythonPdf2txtExtractor.php 15 additions, 7 deletions...lugin/file_extractor/Extractor/PythonPdf2txtExtractor.php
- src/Plugin/file_extractor/Extractor/TikaExtractor.php 37 additions, 24 deletionssrc/Plugin/file_extractor/Extractor/TikaExtractor.php
- src/Service/TestFileHelperInterface.php 1 addition, 1 deletionsrc/Service/TestFileHelperInterface.php
... | ... | @@ -3,7 +3,13 @@ |
"type": "drupal-module", | ||
"description": "Extract file entity content.", | ||
"license": "GPL-2.0-or-later", | ||
"require": { | ||
"composer-runtime-api": "^2.0" | ||
}, | ||
"require-dev": { | ||
"symfony/process": "^3.0 || ^4.0 || ^5.0" | ||
}, | ||
"suggest": { | ||
"symfony/process": "To be able to use some provided extraction plugins." | ||
} | ||
} |
data/file_extractor test_extraction $.pdf
0 → 100644
File added
File deleted
Please register or sign in to comment