Skip to content
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

[MIG] html_text: Migration to 15.0 #2256

Merged
merged 24 commits into from
Feb 2, 2022
Merged

[MIG] html_text: Migration to 15.0 #2256

merged 24 commits into from
Feb 2, 2022

Conversation

Mantux11
Copy link
Contributor

Standard migration to version 15.0.

yajo and others added 24 commits January 13, 2022 10:18
* [8.0][html_text] Excerpt generator.

This module adds a technical utility to allow the developer to get an excerpt from any HTML chunk.

You can choose the maximum amount of words or characters if you want.

See the README and inline docstrings for further details.
OCA Transbot updated translations from Transifex
OCA Transbot updated translations from Transifex
[FIX] Tests

[FIX] Do not test the specific exception

[FIX] Do not test the specific exception
Currently translated at 100.0% (1 of 1 strings)

Translation: server-tools-12.0/server-tools-12.0-html_text
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-html_text/zh_CN/
Currently translated at 100.0% (1 of 1 strings)

Translation: server-tools-12.0/server-tools-12.0-html_text
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-html_text/hr/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-tools-13.0/server-tools-13.0-html_text
Translate-URL: https://translation.odoo-community.org/projects/server-tools-13-0/server-tools-13-0-html_text/
Currently translated at 100.0% (1 of 1 strings)

Translation: server-tools-13.0/server-tools-13.0-html_text
Translate-URL: https://translation.odoo-community.org/projects/server-tools-13-0/server-tools-13-0-html_text/es/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-tools-14.0/server-tools-14.0-html_text
Translate-URL: https://translation.odoo-community.org/projects/server-tools-14-0/server-tools-14-0-html_text/
@Mantux11 Mantux11 mentioned this pull request Jan 13, 2022
54 tasks
@gaikaz
Copy link
Member

gaikaz commented Jan 20, 2022

/ocabot migration html_text

@OCA-git-bot
Copy link
Contributor

Sorry @gaikaz you are not allowed to mark the addon tobe migrated.

To do so you must either have push permissions on the repository, or be a declared maintainer of all modified addons.

If you wish to adopt an addon and become it's maintainer, open a pull request to add your GitHub login to the maintainers key of its manifest.

@gaikaz
Copy link
Member

gaikaz commented Jan 20, 2022

Sad... Had to try 😛

@StefanRijnhart
Copy link
Member

I'm sorry @gaikaz! Maybe we can open up this function for non-maintainers.

/ocabot migration html_text

@OCA-git-bot OCA-git-bot added this to the 15.0 milestone Jan 24, 2022
@pedrobaeza
Copy link
Member

It was done on purpose. Check comments about this on OCA/oca-github-bot#97 (comment)

@gaikaz
Copy link
Member

gaikaz commented Jan 24, 2022

It's ok. Maybe some day... 😄

@pedrobaeza
Copy link
Member

You can apply for being a PSC if your efforts concentrate in one specific area: http://odoo-community.org/page/psc

@StefanRijnhart
Copy link
Member

@pedrobaeza thanks for the pointer. I understand the considerations, but it makes me feel sad, as I was hoping that the OCA bot would allow the OCA to grant more powers to incidental contributors in a flexible and controlled way.

@pedrobaeza
Copy link
Member

If you think this can be used without a abuse on some way, please comment. Ideas welcome.

@StefanRijnhart
Copy link
Member

@pedrobaeza no new ideas, I just think opening up the feature to all contributors might be worth a little damage but I'm well aware that it's people like you who have to clean it up afterwards so I'll leave it at this.

@pedrobaeza
Copy link
Member

We can detect if CIs are green (with exceptions), no other PR is already proposed for the module, and then let any contributor to mark it, but it's a very hard work to do on the bot side, and the performance may be drained with this, and this is also not good enough, as a previous migration may not be still marked by anyone. I think we should focus more on recruiting more PSCs to perform this easy task than to sophisticate the bot in this way.

@gaikaz
Copy link
Member

gaikaz commented Jan 25, 2022

I personally would gladly help tagging PRs that I come across with the /ocabot migration ... as I know how to check for duplicates in all Github Issues/PRs. Tho, I don't see myself as PSC for a single repo. Maybe it is a little egoistic to think this, but @pedrobaeza, You must have been seeing me around for some time now. I do get to see you a lot, can only imagine the amount of effort you put here 😄
If there must be more than trust involved, maybe simply asking a contributor to not only be some-what active but also have a Member status?
Or, here from Via laurea we push PRs to OCA only from OCA Forks on our Github org. (e.g. this PR) Maybe allow tagging those to specific people form the company. Could that be a way to check?

Side-question: How does OCA feel about people from the same company approving their own PRs on OCA?
I always feel kind of "cheaty" when I do that, tho I actually do check it properly.

@OCA-git-bot
Copy link
Contributor

Hi @gaikaz. Your command failed:

Invalid options for command migration: .

Ocabot commands

  • ocabot merge major|minor|patch|nobump
  • ocabot rebase

More information

@pedrobaeza
Copy link
Member

Right now, there's no mechanism on ocabot to add some trusted logins/orgs: all works through GitHub permissions. That can be a way to enlarge the maintainers of this part, but not sure the technical difficulties for implementing it.

About the reviews from the same organization, it's not something incorrect, while they are real, not only approvals for circumvent the review guidelines. We do continuously in my organization for being self-dependent in all of our contributions. I think it's very easy to detect fake reviews most of the times. There's still the requirement of one of the reviews being from a trusted reviewer/PSC, or at least the merge being triggered by a PSC/maintainer, so that keep the situation controlled.

@gaikaz
Copy link
Member

gaikaz commented Jan 31, 2022

@OCA/tools-maintainers
Could we please get a review/merge here?
We have multiple modules that depend on this one.

@dreispt
Copy link
Sponsor Member

dreispt commented Feb 1, 2022

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 15.0-ocabot-merge-pr-2256-by-dreispt-bump-nobump, awaiting test results.

OCA-git-bot added a commit that referenced this pull request Feb 1, 2022
Signed-off-by dreispt
@OCA-git-bot
Copy link
Contributor

@dreispt your merge command was aborted due to failed check(s), which you can inspect on this commit of 15.0-ocabot-merge-pr-2256-by-dreispt-bump-nobump.

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.

@gaikaz
Copy link
Member

gaikaz commented Feb 2, 2022

Hmm... Looks like it failed by some Github cache thing.
Let's try merging one more time?

@StefanRijnhart
Copy link
Member

@gaikaz indeed!

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 15.0-ocabot-merge-pr-2256-by-StefanRijnhart-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 510563e into OCA:15.0 Feb 2, 2022
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 6ec1356. Thanks a lot for contributing to OCA. ❤️

@gaikaz gaikaz deleted the 15.0-mig-html_text branch February 2, 2022 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet