Hi to all,
I probably found an issue with bibdocfile, and since you're in the
process of applying many fixes to it, I thought I should mention it.
The problem appears when using wildcards to delete specific bibdocs.
For example, let's say I run:
bibdocfile --delete icon-arc* -c "Archive Collections AUTH"
Although according to --help, the above command should delete all
bibdocs that begin with icon-arc, it produces an .xml file that
contains ALL the files from the "Archive Collections AUTH" collection
regardless of the actual filename...
I've tried the same command with icon-arc*, "icon-arc*", icon* and
"icon*" strings, with the exact same results (returns all docfiles
from the above collection).
I've also tried removing the collection part and instead using --all,
but again got all the filenames of all the collections, regardless of
the filename.
FYI, I used both the official 0.99.1 bibdocfilecli.py and the latest
one found in the official cds-invenio.git, but not the one in the
cds-invenio-sam.git branch.
Can you verify my findings?
Is it indeed a problem, or am I doing something wrong?
Best regards,
Theodoros