server-tools icon indicating copy to clipboard operation
server-tools copied to clipboard

[16.0] Update fetchmail_server_folder

Open ikus060 opened this issue 1 year ago • 20 comments

  • Update fields description for clarity
  • Support fetch_last_day_only to fetch only 24 hours of emails
  • Process emails in reverse order
  • Use BODY.PEEK to avoid marking email as seen
  • Support email field 'reply_to' to matching
  • Improve logging
  • Relayout view to group related fields

ikus060 avatar Mar 06 '25 20:03 ikus060

Hi @NL66278, some modules you are maintaining are being modified, check this out!

OCA-git-bot avatar Mar 06 '25 20:03 OCA-git-bot

I've make the requested changes in addition to running pre-commit hook.

ikus060 avatar Mar 07 '25 13:03 ikus060

@ikus060 Thank you for that. However pre-commit job is still complaining. Coud you run pre-commit run --all-files --show-diff-on-failure --color=always.

And if possible squash your changes into a single commit.

NL66278 avatar Mar 07 '25 13:03 NL66278

@ikus060 Just some small remarks on the xml formatting and we should be good to go...

NL66278 avatar Mar 07 '25 14:03 NL66278

@ikus060 You might also have a look at my PR to use message uid instead of number in folder. I think the same problem you solve with handling the messages in reverse order. https://github.com/OCA/server-tools/pull/3017

NL66278 avatar Mar 07 '25 14:03 NL66278

Here another tentative. Sorry for all the noise. I'm not used to OCA code policies.

See my comments for #3017

ikus060 avatar Mar 07 '25 16:03 ikus060

@ikus060 No problem. They are here: https://github.com/OCA/odoo-community.org/blob/master/website/Contribution/CONTRIBUTING.rst

NL66278 avatar Mar 07 '25 16:03 NL66278

Is there something blocking the merge ?

ikus060 avatar Mar 11 '25 11:03 ikus060

@ikus060 Nothing really blocking, but waiting for more reviews. @hbrunn Maybe you want to have a look?

NL66278 avatar Mar 11 '25 11:03 NL66278

Hello All,

I took some time to update this Pull Request with the changes recommended.

ikus060 avatar Apr 03 '25 18:04 ikus060

@zamberjo I think this is ready for merge now. Can you also have another look?

NL66278 avatar Apr 04 '25 12:04 NL66278

/ocabot merge minor

NL66278 avatar Apr 14 '25 16:04 NL66278

On my way to merge this fine PR! Prepared branch 16.0-ocabot-merge-pr-3222-by-NL66278-bump-minor, awaiting test results.

OCA-git-bot avatar Apr 14 '25 16:04 OCA-git-bot

@NL66278 your merge command was aborted due to failed check(s), which you can inspect on this commit of 16.0-ocabot-merge-pr-3222-by-NL66278-bump-minor.

After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red.

OCA-git-bot avatar Apr 14 '25 16:04 OCA-git-bot

/ocabot merge minor

NL66278 avatar Apr 15 '25 07:04 NL66278

What a great day to merge this nice PR. Let's do it! Prepared branch 16.0-ocabot-merge-pr-3222-by-NL66278-bump-minor, awaiting test results.

OCA-git-bot avatar Apr 15 '25 07:04 OCA-git-bot

@NL66278 your merge command was aborted due to failed check(s), which you can inspect on this commit of 16.0-ocabot-merge-pr-3222-by-NL66278-bump-minor.

After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red.

OCA-git-bot avatar Apr 15 '25 07:04 OCA-git-bot

For some reason merge commits fails on tests that ran successfully when submitting the PR. On modules that have nothing to do with this PR.

NL66278 avatar Apr 15 '25 07:04 NL66278

@NL66278 that's normal behavior, tests are run on the head branch with the PR merged in. And this fails currently because of changes in Odoo, fixed in https://github.com/OCA/server-tools/pull/3271

@ikus060 next time you create a PR please give it a name that's more descriptive than "Update ..."

hbrunn avatar Apr 25 '25 09:04 hbrunn

Conflicts can be resolved by merging this PR: https://github.com/ikus060/server-tools/pull/1

NL66278 avatar May 01 '25 11:05 NL66278