User:CRiSTiK24/GSoC22/Project

From BRL-CAD
< User:CRiSTiK24
Revision as of 16:53, 26 May 2022 by CRiSTiK24 (talk | contribs) (Created page with "=Intro= Development officially begins on June 13 and finishes on September 12 based on \url{https://developers.google.com/open-source/gsoc/timeline}. So I've decided to use th...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Intro

Development officially begins on June 13 and finishes on September 12 based on \url{https://developers.google.com/open-source/gsoc/timeline}. So I've decided to use the 13 weeks in between as timelines.

The creation of this proposal will have the following parts:

Coding of the Linux script (Week 1-2)

I have only built the project for windows, so the next step will be trying to build it for Linux. Best should be using Ubuntu as a distro since that is what will be used in the Linux Github runner. So I'll probably use WSL or an equivalent to try out the installation.

Once I get the project running, I can begin the automatization of the building. As in the windows one, I'll backtrack my steps to code it. Then I shall use the snap and AppImage to create the basic Appdir and Snap. I've noticed there is a similar process in the current version of Librecad in \href{https://github.com/LibreCAD/LibreCAD/tree/master/scripts}{the scripts folder}. So it'll be useful to not start from scratch.

Packaging the Windows install (Week 3-4)

As the automatization of the Windows build script currently works (only the last step which is using Visual's studio Gui to build is not, but using Cmake should be able to replace it), I'll have to code the Windows install script. Same as before, it seems that in Librecad's current version there is a Windows install script, and it seems that it uses \href{https://github.com/LibreCAD/LibreCAD/blob/master/scripts/build-windows.bat}{Qt} to deploy create the .exe.

Packaging the Linux Install (Week 5-6)

Here we'll use the documentation that I've stated in the Detailed Proposal subsection to create the AppImage and the Snap. Once I manage to get them I'll backtrack again and automate this step.

Github Actions (Week 7-9

Once I've managed to create the automatization scripts and a .exe, .AppImage and a snap, I'll be time to merge everything inside Github Actions. There I'll test every that script works inside the runners I'll code the Build workflow.

Testing and deploying (Week 10-11)

Once The workflow works, I'll add the final testing and will search on how to integrate it. I guess it should be something like (test app; if the last command line ended successfully: then deploy).

Also here Snap org profile should be created and LibreCAD3 name reserved to be able to push into the store.

Extra time for any unexpected event (Week 12-13)

During this time I'll have extra time to test everything that works well. I might be doing extra documentation if everything works fine or use this time to fix anything unexpected.