Open frapell opened 2 years ago
@wesleybl Do you know the answer to some of these questions?
@frapell the scripts that generate the contents of the browser/static
folder are generated when the package buildout is executed. To see:
The scripts will be in the ./bin
folder after the buildout. Who does this is sc.recipe.staticresources
.
In fact, when you run the buildout, the contents of the browser/static
folder are already generated.
If that wasn't clear to you, maybe you can do a PR improving the documentation. It would be fantastic!
I think to work in Plone 6 it would need more love in JS and bootstrap. I'm trying to get it to work in Plone 5.2.
Now I'm treating the calendar tile: #633. When I was dealing with the calendar tile, I ran into a problem you already had: https://github.com/plone/Products.CMFPlone/pull/3012#issuecomment-1030342961. Can you take a look please?
@pbauer also wanting to make Cover work in Plone 6.
@wesleybl Ahhh, thanks for that... I was simply including the product as a dependency in my own buildout (coredev actually).
Just to be clear, I saw that this PR was merged https://github.com/collective/collective.cover/pull/900 so I assumed that support for Python 3, Plone 5.2 and Plone 6 was merged into master, this is not the case? and if so, do we have some list of missing parts? is it only the UI ?
Maybe you, me and @pbauer could join forces with this? mainly so we don't step on each other toes...
Just to be clear, I saw that this PR was merged https://github.com/collective/collective.cover/pull/900 so I assumed that support for Python 3, Plone 5.2 and Plone 6 was merged into master, this is not the case? and if so, do we have some list of missing parts? is it only the UI ?
Well, who did the PR was @pbauer. So he can answer better. I'm testing it on Plone 5.2, but it might be working on Plone 6.
Maybe you, me and @pbauer could join forces with this? mainly so we don't step on each other toes...
In Plone 5.2, I tested it and only the calendar tile is not working. I'm working on it. Then I'll try to make the robot test work. For now I don't have time to work on Plone 6, but I can help by reviewing something.
If you want, you can make a checklist.
I am trying to include cover in a Plone 6 instance, however I cannot make it work... First of all, is there some place where discussion is happening on the decisions being taken for upgrading? Maybe a document somewhere?
Several issues I'm finding:
Simply including the product and pulling it from source doesn't work. When you start the instance, you get an error
Looking inside this folder, it is in fact empty, with a README saying that content in that folder is generated by webpack automatically, and to check documentation.
Looking at documentation at https://github.com/collective/collective.cover#development it mentions several scripts that are nowhere to be found. I don't see them in
setup.py
so I am not sure where they are coming from, nor how they are supposed to be generated. For what I can infer, it appears the files insidebrowser/static
are generated by these missing scripts, but not sure...Going into the
webpack
folder, I runyarn install
but the process seems to fail when installingnode-gyp
withNot sure if I'm doing something wrong?
Was able to install by running
npm install
and I noticed that webpack 3.12 is pulled. Are there plans to use the latest version? Plone is going to be using 5.66 https://github.com/plone/mockup/blob/es6/package.json#L84Why is https://github.com/collective/sc.recipe.staticresources a dependency? can we move to maybe depend on
mockup
webpack config instead?Being that
mockup
bringsjquery
3.6.0 andbootstrap
5.1.1, do we still need to depend on packages likeplone.app.jquery
andcollective.js.bootstrap
?Speaking of
bootstrap
5, is cover UI already migrated to support it? or is this pending?I would like to contribute pushing the effort to have this product working in Plone 6... If you are already discussing all of this somewhere and you can point me to the details, that would be great !