Skip to content

Conversation

@dora-jurcevic
Copy link

@dora-jurcevic dora-jurcevic commented Feb 6, 2025

Readme model modified in order to display a OCA img banner on the top with a link inviting users to become members or sponsors

{%- endmacro -%}

.. image:: https://odoo-community.org/web/image/4603934-dcc7fad0/readme_banner_OCA.png
:target: https://odoo-community.org/get-involved#scrollTop=0?ref=u3kel3&utm_source=oca-readme-banner-module&utm_medium=referral&utm_campaign=become-member-2025
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This implies the campaign should remain open

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you mean the OCA sponsors recruitment campaign, yes, it stays open

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need simpler urls and stable that are not tied to odoo implementation details. Otherwise they will rapidly become broken as we upgrade Odoo etc...

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need simpler urls and stable that are not tied to odoo implementation details. Otherwise they will rapidly become broken as we upgrade Odoo etc...

That was the feeling I had but @sbidoul said it clearly :-)

@vdewulf
Copy link

vdewulf commented Feb 7, 2025 via email

@sbidoul
Copy link
Member

sbidoul commented Feb 7, 2025

Can you explain how to change a URL in odoo so that it stays the same after
a migration?

We can probably do somethings with Website Settings > Configuration > Redirects.

@sbidoul
Copy link
Member

sbidoul commented Feb 7, 2025

Another comment I have is about the banner. It looks very big and too "advertising".

If we see such a big banner on each addon page, either on pypi.org or our own app store, it will rapidly becoming tiring, I think.

See for instance how it looks now on https://pypi.org/project/odoo-addon-mis-builder/.

Can we do something less intrusive?

@dora-jurcevic
Copy link
Author

Another comment I have is about the banner. It looks very big and too "advertising".

If we see such a big banner on each addon page, either on pypi.org or our own app store, it will rapidly becoming tiring, I think.

See for instance how it looks now on https://pypi.org/project/odoo-addon-mis-builder/.

Can we do something less intrusive?

So the starting point of the banner idea is the idea that many users use the OCA modules without even knowing that they can "give back" to the community by sponsoring it or becoming members.
In the same time, the "refferal" url will give us the possibility to measure exactly how many people click on the banner and how many "convert" becoming members or sponsors. The idea is also to change this banner regularly, or even to make it evolve. We took as example other open source projects that live thanks to sponsors.

I understand the fear of annoying publicity but if it becomes annoying and in the same time we measure in 6-10 month that is inefficient, it will be a good reason to replace it or remove it completely.

@sbidoul
Copy link
Member

sbidoul commented Feb 7, 2025

Yes I understand the goal, but I'm pretty sure that using PyPI blatantly as advertising medium would be frowned upon.

We can achieve the same result with something a more discreet.

@dora-jurcevic
Copy link
Author

Yes I understand the goal, but I'm pretty sure that using PyPI blatantly as advertising medium would be frowned upon.

We can achieve the same result with something a more discreet.

ok, I understand.
Is there a way to conditionally hide the banner on PyPI ?
If the answer is no, can we include a "promotional message" in text format, with a link to odoo-community website ? Would this be acceptable ?

@dora-jurcevic
Copy link
Author

Hello @sbidoul @vdewulf @rousseldenis !
We worked on a smaller version of the banner and a more simple referal link.
Please check if this is more suitable for PyPI.
Thx :)

@vdewulf
Copy link

vdewulf commented Mar 4, 2025

This looks good to me, but CI is red. Might it be linked to the same issue here:
#639 (comment)?

@sbidoul and @rousseldenis what do you think of the new version proposed by Dora and me?

@JayVora-SerpentCS
Copy link

Its red, but good to go for merge!

@vdewulf
Copy link

vdewulf commented Mar 25, 2025

@etobella Just lookinf for more eyes for this PR to get merged... could you share your feedback with us?
Thanks!

Copy link
Member

@etobella etobella left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change itself looks good, but tests are failing

@vdewulf
Copy link

vdewulf commented Apr 2, 2025

The change itself looks good, but tests are failing

Thanks Enric! Indeed it is red, but @dora-jurcevic doesn't know how to make it green and @JayVora-SerpentCS said it was good to merge even if it is red.

What is the best option to move forward?

Copy link
Member

@sbidoul sbidoul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple of comments about stable URLs that I previously mentioned above.

Can you also update the README.expected* files in https://github.com/OCA/maintainer-tools/tree/master/tests/data to fix the tests?

And rebase to get the latest CI updates and fixes.

{%- endmacro -%}

=======
.. image:: https://odoo-community.org/web/image/4610395-7254fada/OCA_banner_readme_1256x150px.png
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we use a nice stable URL here and set up a redirect on the website? In case our website changes we would not want to break existing READMEs.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @sbidoul !
This URL was created when we uploaded the image png on the current OCA Website.
In order to have a stable URL for this image I suppose that we would need a module on the current Odoo ERP that creates a route with for example https://odoo-community.org/oca-readme-banner.png ?
Or is there a more simple way of adding a media on a specific URL in Odoo V14?
Thx !


=======
.. image:: https://odoo-community.org/web/image/4610395-7254fada/OCA_banner_readme_1256x150px.png
:target: https://odoo-community.org/get-involved?ref=k8vx13&utm_source=referral-readme&utm_medium=referral
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is "ref=k8vx13" ? Also here should we not use a stable URL in case the details of our website change in the future?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sbidoul , here the base URL will be stable https://odoo-community.org/get-involved and we should update each year the referal part of the URL (?ref=k8vx13&utm_source=referral-readme&utm_medium=referral) in the readme repo. If this is not possible (updating the maintainer-tools each year), we should see with @vdewulf to drop the referal part of the url and keep only the base part of the url. This referal part is used for tracking info about the visits on the /get-involved page, to be sure that the visit comes from the readme banner.
@sbidoul, do you think we should avoid updating URL each year ?

@sbidoul sbidoul requested a review from rousseldenis May 10, 2025 11:58
@sbidoul
Copy link
Member

sbidoul commented Jun 3, 2025

I'm finishing this in #656

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants