mirror of
https://github.com/ciur/papermerge.git
synced 2026-04-25 03:55:58 +03:00
[PR #232] [CLOSED] WIP: pipeline overhaul #573
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#573
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?
📋 Pull Request Information
Original PR: https://github.com/ciur/papermerge/pull/232
Author: @francescocarzaniga
Created: 11/28/2020
Status: ❌ Closed
Base:
master← Head:pipeline_doc📝 Commits (10+)
b6874d8Refactor pipeline and importersae53015Add pipeline testse56042fBetter tests for simple pipeline18d82e3Added OCR tests98193c7Add local importer tests1c5ee3fAdded IMAP tests54239b4Added import_pipeline to APIadbb8e0Removed document_importer and sped up testse2635e7Separated OCR from pipeline properbe2e07fFixed conflict📊 Changes
11 files changed (+803 additions, -498 deletions)
View changed files
➖
papermerge/core/document_importer.py(+0 -164)📝
papermerge/core/import_pipeline.py(+154 -87)📝
papermerge/core/importers/imap.py(+71 -87)📝
papermerge/core/importers/local.py(+25 -55)📝
papermerge/core/views/api.py(+13 -11)📝
papermerge/core/views/documents.py(+4 -38)📝
papermerge/test/test_document.py(+16 -35)➕
papermerge/test/test_imap_import.py(+195 -0)📝
papermerge/test/test_import_pipelines.py(+140 -21)➕
papermerge/test/test_local_import.py(+84 -0)➕
papermerge/test/test_ocr_pipeline.py(+101 -0)📄 Description
Description
Refactored DefaultPipeline to be more streamlined. Added class and methods documentation.
Added tests for Pipelines, OCR, directory importer and IMAP importer.
Fixes #229 #233
Needs modified version of mglib to work (see my PR).
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Added pipeline tests.
Test Configuration:
Checklist:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.