-
-
Notifications
You must be signed in to change notification settings - Fork 328
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
Migrate document_ocr v10 #140
Conversation
It's failing in tesseract dependency. |
Just put a requirements.txt. |
I did, it's there |
requirements.txt
Outdated
@@ -0,0 +1,2 @@ | |||
tesseract-ocr |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's here!
requirements.txt
Outdated
@@ -0,0 +1,2 @@ | |||
tesseract-ocr | |||
tesseract-ocr-eng |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and here
Then everything is OK in that part. The problem should be another. |
Maybe an outdated .travis.yml? Check latest template on https://github.com/OCA/maintainer-quality-tools/blob/master/sample_files/.travis.yml and compare with this. |
This module needs tesseract. |
How is this install in previous versions? Use the same technique. |
I didn't did the previous versions, I got the code from 8.0, did the migration and enhancements, it's working in my servers. |
I can't spend more time on this module, sorry.... |
OK, as you consider. I think knowing all the internals of the processes, like Travis and so on, make you better later facing other developments, but if you don't want to expense more time, we can't force you. |
Can you please point me to documentation on that? |
In 8.0, the dependency is added via Travis packages: https://github.com/OCA/knowledge/blob/8.0/.travis.yml#L10. You can make the same here. |
99f47f1
to
5a3a2e8
Compare
👍 |
Fix small bugs
75e62d1
to
21526bd
Compare
f1c5c82
to
a58c406
Compare
Hi, |
I found that, if one use pylint and flake8 one can ignore unused import warning in both tools in this way: |
Yeah, that's it. I don't understand why don't you use it if you import it, but you can bypass it that way. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately, you didn't follow the guidelines for migrations, so previous commits are not preserved and it's quite inefficient to review this way (there's no way to tell what you added and what existed before), that's why I'm not going to go into details right now. I'd suggest to follow the above and squash all your commits to one, then reviewing this commit is sufficient.
I understand newcomer's frustration, but most of this can be avoided by reading the new project's contribution guidelines before contributing.
I also add the link to the specific migration guide to 10.0. As this module is not in 9.0, you should replace 9.0 by 8.0: https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-10.0 |
0502407
to
f80491a
Compare
Thank you for your help. |
I will try this again soon... |
Migration of module document_ocr to 10.0
With some enhancements: