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

The plan® #5

Open
3 of 21 tasks
yajo opened this issue Nov 7, 2024 · 15 comments
Open
3 of 21 tasks

The plan® #5

yajo opened this issue Nov 7, 2024 · 15 comments
Assignees

Comments

@yajo
Copy link
Member

yajo commented Nov 7, 2024

  • Move this repo to OCA.
  • Set up Netlify in OCA side.
  • Check Decap CMS works after moving to new site. Tested in Update Pages “contributing” #6.
  • Do some more realistic examples, including a full collaboration flow between several contributors, reviewers, ...
  • Include some metadata (versions, maintainer, license, repo, weblate link, runboat link, maturity). Possibly fetch it by JS using Github API. Otherwise, the bot fills it statically. [WIP] Algorithm to obtain metadata from an addon name #10
  • Update readme template so that modules readmes link for docs and hide the rest of the important readme parts under a "Details" button. This could be enabled with an option of oca-gen-addons-readme.
  • Put our logo and brand styles.
  • Make it beautiful. 💄
  • Make OCA bot push docs #7
  • Import docs from pre-existing modules. (Maybe done by the bot automatically?)
  • Update maintainer-tools in oca repos template.
  • Add a ✏️ button on each page, for easy editing.
  • Set up an official domain such as docs.odoo-community.org.
    • Reconfigure Netlify.
    • Check Decap CMS works with the new domain.
    • Transfer OAuth Github app ownership from @yajo to @OCA.
  • Document very well how to document very well.
  • Establish repo standards #9
  • Announce this.
  • Test the new flow for a couple of months.
  • If it is satisfactory, remove https://odoo-community.org/shop/
@yajo yajo pinned this issue Nov 8, 2024
@yajo yajo changed the title The plan The plan® Nov 8, 2024
@florenciafrigieri2
Copy link

@yajo , Jairo, with Julie we propose to add the following steps to the plan, regarding the /shop replacement:

  • Add the version link to Github to the documentation page of the module (in order to see in which versions the module is available and, if needed, go to the module in Github and download it).
  • Verify if we keep the information showed on the /shop like: Licence, Maintainer, Repository.
  • Evaluate what we do with the buttons for: Weblate, Runboat and Maturity (we keep them in the module's readme in Github or we move them to the docs repo?). Maybe this decision depends on how we solve showing the available versions of the module.

Please, do not hesitate to add more information (or modify something according to your ideas).
cc @sbidoul @TumbaoJu

@yajo
Copy link
Member Author

yajo commented Nov 13, 2024

OK, I added all in a single step:

Include some metadata (versions, maintainer, license, repo, weblate link, runboat link, maturity). Possibly fetch it by JS using Github API. Otherwise, the bot fills it statically.

@sbidoul
Copy link
Member

sbidoul commented Nov 16, 2024

I think the "update the bot" task is too high in the list and this should be done as one of the last things, after, for instance, "display addons metadata" or "update the readme generator", and even maybe "make it beautiful".

The reason is that I would like to gain confidence this docs site will become a good replacement for the apps store before this is used at scale, and avoid the risk of having the two tools to maintain forever.

@sbidoul
Copy link
Member

sbidoul commented Nov 20, 2024

I have reordered that tasks a bit according to my previous comment.

@dreispt
Copy link
Member

dreispt commented Dec 10, 2024

I suggest adding a "MVP" top item to the list, with sub items on what is pending to make it possible.
One of those would be to document instruction on how to use this.

@yajo
Copy link
Member Author

yajo commented Dec 11, 2024

I think what you ask is already done, @dreispt.

The MVP is live at https://oca-docs.netlify.app/ and ready to accept contributions, and the point of documenting how to use it is already listed as "Document very well how to document very well."

We have a bare-bones contribution guide at https://oca-docs.netlify.app/contributing/ FWIW.

@ivs-cetmix
Copy link
Member

Hi team, thank you for the really great job!

I have a question regarding this:

Will there be a "Download" button on the module page so visitors could download a module instantly?

@yajo
Copy link
Member Author

yajo commented Jan 13, 2025

Will there be a "Download" button on the module page so visitors could download a module instantly?

I don't think so. Probably it will be more like "Download: pip install odoo-addon-partner-fax".

@ivs-cetmix
Copy link
Member

Will there be a "Download" button on the module page so visitors could download a module instantly?

I don't think so. Probably it will be more like "Download: pip install odoo-addon-partner-fax".

I see. Well, I think a button is a crucial part so we should definitely find a way to make it easy to download a module for non-technical people.

@yajo
Copy link
Member Author

yajo commented Jan 13, 2025

That would involve logic, and this is a static repo, so most chances is that won't happen. Anyway, I'm not too sure about how often is that feature really used. I guess most people just install through git or pip. Still you can download the zip from github, uncompress and copy the module folder, in case you really need it that way.

In any case, it's a very latest step for the plan. We can see details later on that.

@ivs-cetmix
Copy link
Member

That would involve logic, and this is a static repo, so most chances is that won't happen. Anyway, I'm not too sure about how often is that feature really used. I guess most people just install through git or pip. Still you can download the zip from github, uncompress and copy the module folder, in case you really need it that way.

In any case, it's a very latest step for the plan. We can see details later on that.

I would say that from what I can see now minimum 70% of people will try to download it. We should keep in mind that this static site is mostly for those non technical people. Or technical but non-yet-OCA-aware ones. Because those OCA-profs are using pip and know most of the OCA repos already.

I think possible solution can be generating some static link to the "download" controller served by some special OCA module that will do the job.

@zeroheure
Copy link

minimum 70% of people will try to download it. We should keep in mind that this static site is mostly for those non technical people.

I don't think that downloading a module will help non-technical people, because they won't be able to install it in Odoo

@ivs-cetmix
Copy link
Member

minimum 70% of people will try to download it. We should keep in mind that this static site is mostly for those non technical people.

I don't think that downloading a module will help non-technical people, because they won't be able to install it in Odoo

The idea is that besides those non-technical ones there are also technical that are not familiar with the OCA flow. We should not make their life complicated. Sometimes a simple "Download" link does the job)

@yajo
Copy link
Member Author

yajo commented Jan 20, 2025

There are lots of ways to distribute an addon: download from Odoo Apps, download zip from github, clone from github, install with pip, using https://download-directory.github.io/ ...

IMHO Once we reach that step, we can figure it out. There are more important points to clear before.

@ivs-cetmix
Copy link
Member

There are lots of ways to distribute an addon: download from Odoo Apps, download zip from github, clone from github, install with pip, using https://download-directory.github.io/ ...

IMHO Once we reach that step, we can figure it out. There are more important points to clear before.

I agree. Let's take care of it as soon as we arrive there.

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

No branches or pull requests

7 participants