Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

workspace bagger: allow filtering file groups #356

Closed
bertsky opened this issue Nov 22, 2019 · 1 comment · Fixed by #1139
Closed

workspace bagger: allow filtering file groups #356

bertsky opened this issue Nov 22, 2019 · 1 comment · Fixed by #1139
Assignees

Comments

@bertsky
Copy link
Collaborator

bertsky commented Nov 22, 2019

I know this is already on the agenda, but it should be more visible IMHO: ocrd zip bag could really use an option that allows filtering (negatively) or selecting (positively) those file groups which to keep in the bag.

Note: This may be more difficult than it seems. There are implicit dependencies between file groups, e.g. derived images in image file groups referenced (via AlternativeImage) from PAGE-XML file groups.

In my makefileization, I first zip bag everything and then workspace remove-group parts which I don't want as a stopgap measure. But this would be much easier in Python.

@kba
Copy link
Member

kba commented Nov 20, 2023

Has been implemented in #1139

@kba kba closed this as completed in #1139 Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants