Replies: 9 comments 20 replies
-
I agree that the schema should be its own project, without the clutter that you are suggesting to pull out. I assume the documentation will be generated by a script as part of the release process? (i.e., you're not proposing to include generated HTML documentation in the repository itself). |
Beta Was this translation helpful? Give feedback.
-
@DeafBDoor if can point me to what you would recommend for filtering/cleaning the artifacts I'll gladly incorporate it into our processes. I'd like to do a posthumous rebuild of 5.11.2 using the initial commit to the OVAL-Community repository, partly to test the release process, and partly to allow for an easy way for anyone to compare 5.11.2 with 5.12. And @solind I think we will still want to move some of the OVAL Board directories to a different repository, as there's no reason to have them on the developmental branches for merges later on. The 'guidelines' directory likely needs to remain, as I think that's generated (somehow) on a per revision basis, but we'll want to filter it out, minus the HTML end product from the release. |
Beta Was this translation helpful? Give feedback.
-
@DeafBDoor and @A-Biggs, per our meeting yesterday, below is what I have deduced from the existing guidelines directory. I have been able to manual regenerate the .rst files, which appear to be what is used to generate the readthedocs files. There seems to be some residual, unused .md files in github that are red herrings, and that I think we need to delete, but wanted someone else to confirm. Require Python Modules: pip install -U sphinx Any XSLT tranform tool (I found this one worked, if you have Java) Genenerate .rst files from .xsd files (this is a powershell example) $files = Get-ChildItem "C:\Users\Jack\Documents\GitHub\OVAL\oval-schemas" -Filter *.xsd Run Make.bat make.bat html Note: In order to make it work correctly, I had to locally edit my OVAL\guidelines\conf.py source_suffix = '.rst', it appears that at some point the documentation switched from a a combination of .md and .rst to just .rst. |
Beta Was this translation helpful? Give feedback.
-
FYI I just received my credentials to ReadTheDocs, and am learning how it works. I no longer think I'll need to move the documentation to a new directory or repository in order to support multiple versions. We should be able to easily have documentation generated online for 5.11.2, 5.12 and 6.0 by just activating different branches of the OVAL repository. So as long as we have branches with valid data for each it should all work pretty easily. I'll start to play around with the develop branch 'as 5.12' and see if I can get it working as expected. Although it may still make sense going forward for any branch management to move the readthedocs stuff to a separate repository outside of OVAL, we can ponder that more later. |
Beta Was this translation helpful? Give feedback.
-
With creating the OVAL-Board repository for votes, I moved the OVAL-Board, Area Supervisors, and Email List Archives out of OVAL and into OVAL-Board. Not sure if this impacts the release/build scripts, I assume not, but wanted to give you a heads up. |
Beta Was this translation helpful? Give feedback.
-
I'm not being able to trigger a given action on release. Looked for info in the web and the common approach is to use the tag creation as the event which leds to a release instead. Never did this before on github, so some advice (maybe @A-Biggs) would be helpful. On the other hand, if we decide to use the approach of creating releases based on the tag creation event, we can have a solution which works roughly as following:
Any inputs on this flow (@vanderpol )? It does what the requirements demands and is also flexible enough to let the mantainers create a tag manually with other resources, which would also generate a new release automatically. Maybe there is also the possibility of restricting creation of releases based on the branch containing the tag. Would have to research more for that. |
Beta Was this translation helpful? Give feedback.
-
@DeafBDoor just FYI, if by chance while you are working on documentation, if you happen to figure out why this happens it would be a win, but not a show stopper. The issue I think is related to the fact that the tests in question exist with the same name in both Unix and Windows schema's, and somehow our generation process links the UNIX versions to Windows documentation. |
Beta Was this translation helpful? Give feedback.
-
@A-Biggs and @DeafBDoor, I apparently am missing some key point to making the build process work after merging everything with master. I did a pre-release build but I'm not seeing the docs etc.. https://github.com/OVAL-Community/OVAL/releases/tag/v5.12 |
Beta Was this translation helpful? Give feedback.
-
It triggers only on release and if you edit a release. It does not trigger
if you create a pre-release.
Feel free to test it on my forked repo. I fetched A-Biggs branch there.
Kind regards,
Richard Maciel Costa
Em ter., 3 de dez. de 2024 às 14:50, Jack Vander Pol <
***@***.***> escreveu:
… @A-Biggs <https://github.com/A-Biggs> and @DeafBDoor
<https://github.com/DeafBDoor>, I apparently am missing some key point to
making the build process work after merging everything with master. I did a
pre-release build but I'm not seeing the docs etc..
https://github.com/OVAL-Community/OVAL/releases/tag/v5.12
—
Reply to this email directly, view it on GitHub
<#167 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACDHXJRSELX7F7DRQXODFG32DWZJ3AVCNFSM6AAAAABPFXP3ASVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCNBUHA3TQMY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
@OVAL-Community/oval-board-members
We are planning to proceed with using github's release process to make each release. As such we should consider what files should be included in said release. Github includes every directory/file from the entire repository in the "source code.zip" file for each build.
Should we make a OVAL-Board repository contain non-OVAL schema related files such as?
I feel like the release should include
Feedback/thoughts?
Beta Was this translation helpful? Give feedback.
All reactions