mirror of
https://github.com/ciur/papermerge.git
synced 2026-04-25 12:05:58 +03:00
[GH-ISSUE #382] Configure Workers to annotate on Import #303
Labels
No labels
2.1
3.0
3.0.1
3.0.2
3.0.3
3.0.3
3.1
3.2
3.2
3.3
3.5
3.x
Fixed. Waiting for feedback.
Fixed. Waiting for feedback.
UX
Version 2.1 - alpha
XSS
announcement
beta
blocker
bug
cannot reproduce
confirmed
confirmed
critical
demo
dependencies
deployment
detchnical debt
discussion
docker
documentation
donations
duplicate
enhancement
feature request
frontend
fundraising
good first issue
good issue
help wanted
high
implemented
important
improvement
incomplete
invalid
investigation
kubernetes
low
low impact
medium
medium
medium impact
migration from 2.0
migration from 2.1
missing-language
missing-ocr-language
no-activity
note
ocr
outofscope
packaging
performance
popular request
pull-request
pypi
question
raspberry pi
roadmap
search
security
setup
status
task
technical debt
updates
user xp
version 1.4.0 - demo
will be implemented
will not be implemented
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/papermerge#303
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jwalzer on GitHub (May 31, 2021).
Original GitHub issue: https://github.com/ciur/papermerge/issues/382
Originally assigned to: @ciur on GitHub.
Is your feature request related to a problem? Please describe.
I would like to have multiple workers running, each monitoring a different IMPORTER_DIR (probably on different hosts)
The imported Documents should then be classified depending on their Input-Location
Describe the solution you'd like
Optimal solution could be, that a worker could/should tag a document automatically with some meta-information, like:
optionally:
Describe alternatives you've considered
I thought about completely releasing the idea of the IMPORTER_DIR and solving it via shellscripting like in https://github.com/Ryther/papermerge-importer but I see value in having this implemented into papermerge
Additional context
Having importer metadata that can be queried in the automatas allows for lot more sophisticated workflows and usecases
@ciur commented on GitHub (Jun 1, 2021):
Actually you can run multiple workers with different importer directory each.
Notice that IMPORTER_DIR is worker specific configuration i.e it can differ from worker to worker.
What is not there, and I consider it a good idea is the "imported Documents should then be classified depending on their Input-Location". At least tagging docs differently depending of their origin - would be nice.
Thank you for opening this feature request.
@jwalzer commented on GitHub (Jun 1, 2021):
Yes, my main request is the tagging. Because the worker, communicating via queue/redis, there shouldn't be any issue concerning syncronisation. But multiple Workers will allow to have multiple ingestion points. Allowing to configure every worker with some dedicated tags (maybe even freeform) can also delegate worker setup in a highly distributed environment.
Different People can setup their workers, with the tags they are using.
Only thing missing would be to have a secure way to determine the user into which to inject the document.
@mutax commented on GitHub (Jun 2, 2021):
My scenario is a scanner that has three quick-scan buttons that put the document to different directories on my samba share.
This way with tagging based on the source directory I can already pre-classify the document. Would be very useful here!
@ciur commented on GitHub (Jun 21, 2021):
Hi @jwalzer, thank you for your kind donation.
The feature your are asking for will make its way into Papermerge 2.1. However, please keep in mind that Papermerge 2.1 is scheduled for December 2021. I intentionally decided to spend more time developing next release to address all accumulated technical debt. In any case I assure you that it is worth waiting 😉
@jwalzer commented on GitHub (Jun 22, 2021):
no problem. The donation is for the job done so far ;) If you need some friendly tester for the features, drop me a note