Migrate document_ocr v10#140
Conversation
|
It's failing in tesseract dependency. |
|
Just put a requirements.txt. |
|
I did, it's there |
| @@ -0,0 +1,2 @@ | |||
| tesseract-ocr | |||
| @@ -0,0 +1,2 @@ | |||
| tesseract-ocr | |||
| tesseract-ocr-eng | |||
|
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. |
hbrunn
left a comment
There was a problem hiding this comment.
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: