mirror of
https://github.com/ciur/papermerge.git
synced 2026-04-25 12:05:58 +03:00
[GH-ISSUE #32] Docker image for 1.3.0 #26
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#26
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 @sbonfert on GitHub (Jul 9, 2020).
Original GitHub issue: https://github.com/ciur/papermerge/issues/32
Paperless 1.3.0 was released some time ago. However, the provided docker images still seem to use 1.2.2 / 1.2.3.
Can you please update the docker image to 1.3.0?
@frenos commented on GitHub (Jul 9, 2020):
Looking at the tags 1.2.3 was updated after 1.3 and is therefore newer/latest. Sadly there does not seem to be a docker container tagged with 1.3 as CI was introduced later.
@ciur commented on GitHub (Jul 9, 2020):
I intentionally did not release docker image for version 1.3.0.
Let me explain:
99% of changes in version 1.3.0 are internal refactoring. You can call this version "Developer friendly version". There are no visible benefits for end user. Version 1.3.0 introduces Metadata indeed - but only internal code is there (models, tests). UI for using UI is basically missing. I included only basic UI just to get a feeling how it is to work with newly added metadata API.
Because of above reason - I don't plan to release docker image for 1.3.0, again - unless you are developer working on Papermerge - you won't see any benefit.
Version 1.4.0 on the other hand - it is entirely user experience oriented. All new polished and shiny UI is there. It will include awesome (I really love it) UI to manage metadata.
There will be docker image for version 1.4.0.
Version 1.4.0, altogether with docker image - will be out in August (I am not sure which part of August though).
I think this ticket is good to be closed, what do you say ?
@sbonfert commented on GitHub (Jul 9, 2020):
The release notes mention: "SQLite is default database (Postresql is now optional, available via Plugin)"
Therefore I wanted to skip the setup of a dedicated Postgres-container with version 1.3.
Am I getting something wrong here?
@ciur commented on GitHub (Jul 9, 2020):
You are absolutely right - starting with Papermege 1.3.0 - Postgresql is optional.
But it is little bit more complicated than that.
First of all you will need to migrate your data from 1.2.0 to 1.3.0. And I still did not include documentation for that. Action item on me.
Next, Postgresql was used because of its full text search - which works fantastically well (it places better matches at the top of search results). If you get rid of postgres and use sqlite3 instead (provided by default since 1.3.0) - searching experience will drop.. SQLite does not provide full text search benefits (it cannot weight which matches are better).
Also, important one, I did not create that plugin (that one to bring back fulll text search benefits of pg). Docker image which I plan to create will contain both postgresl dependency and yet to be created plugin.
I decided to include SQLite3 by default (instead of Postgresql) because it speeds up initial development setup. As I told you in previous comment - version 1.3.0 is developer friendly :).
@frenos commented on GitHub (Jul 9, 2020):
To give you feedback as a developer: Instead of having the sqlite feature, your /docker folder with the docker-composes was a lot more helpful. With that I was up to speed in 15min and was able to start exploring the code.
I mount my code into the container and have a shell there. I think with pycharm you can also use the gui debugger connecting into a container but I haven't tried it.
@sbonfert commented on GitHub (Jul 9, 2020):
What would you recommend for someone doing a fresh start now?
Should I set up papermerge 1.2.3 with postgres? Would I have to transition to sqlite with 1.4?
Or would you rather recommend to wait for 1.4?
@ciur commented on GitHub (Jul 9, 2020):
@frenos
Here is a test for the efficiency of project X initial setup / how easy to to start dev environment for project X:
On new computer (with newly installed OS) a URL to open source project X is provided.
How much time you need to fix a bug/start project X on your new computer (1. install git, 2. clone repo 3. ... etc etc) ?
Answer to above question triggered all changes from release 1.3.0.
The fact that a project is easy to setup with docker - does not mean at all that project is simple to setup (or it is has overly complex initial setup).
@ciur commented on GitHub (Jul 10, 2020):
@sbonfert
I would recommend to wait for 1.4 I will release an alpha version (+docker image) in less than a month. This way you will avoid frustration of migration process.
@sbonfert commented on GitHub (Jul 10, 2020):
Alright, then that is what I will do.
Thank you for your explanations and your suggestion.
@okoetter commented on GitHub (Sep 16, 2020):
Can anybody tell me how to setup a new 1.4.x installation with Docker using only sqlite and not Postgres? Is there another docker compose file or do I have to make some changes to the existing docker compose file?