Skip to content

file and folder extract patterns for SimpleFileExtractor#1594

Open
MontrealSergiy wants to merge 7 commits intoaces:masterfrom
MontrealSergiy:extract
Open

file and folder extract patterns for SimpleFileExtractor#1594
MontrealSergiy wants to merge 7 commits intoaces:masterfrom
MontrealSergiy:extract

Conversation

@MontrealSergiy
Copy link
Copy Markdown
Contributor

@MontrealSergiy MontrealSergiy commented Mar 3, 2026

improves SimpleFileExtractor to support folder, tree and pattern-driven extraction

see #1076 ( which might still be implemented within Folder browser latter )
and
#1132

May be ComplexFolderExtractor would a better name now. Or maybe AdvancedFolderMixer?

Of course we can keep SimpleFileExtractor as is and create another advanced folder extractor tool. Which could for a while to be open only to admin

@MontrealSergiy MontrealSergiy self-assigned this Mar 3, 2026
@MontrealSergiy MontrealSergiy linked an issue Mar 3, 2026 that may be closed by this pull request
@MontrealSergiy
Copy link
Copy Markdown
Contributor Author

it seems there is a bug, convert to draft

@MontrealSergiy MontrealSergiy marked this pull request as draft March 3, 2026 16:54
@MontrealSergiy
Copy link
Copy Markdown
Contributor Author

the PR is reopen with a few minor improvements

@MontrealSergiy MontrealSergiy marked this pull request as ready for review March 5, 2026 16:00
@MontrealSergiy MontrealSergiy linked an issue Mar 5, 2026 that may be closed by this pull request
@natacha-beck
Copy link
Copy Markdown
Contributor

You can probably edit:

views/public/edit_params_help.html

to add information about the new features


pat = pat.dup
pat = Pathname.new(pat).cleanpath
rep = repls[patidx]&.dup
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can be

rep = repls[patidx].dup

without the & as it if for folds[patidx] it will return nil if repls do not have patidx. No ?


<fieldset>
<legend>Extraction patterns:</legend>
<legend>Patterns to match and place files </legend>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure about this legend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enhancements to SimpleFileExtractor Extract folder from file collection

2 participants