Closed joaoandre-avaiga closed 5 months ago
Before archiving each repo, we should set a Warning message on each repo to be merged to notify potential contributors that the code will move. Actually, we can do it right now.
At the top of each README.md, for example. Something like: "WARNING: Taipy team is performing a repository restructuration. This current repository (among others) is about to be merged into the main taipy repository. Once the merge is done, the current code base will be located in the taipy repository. "
What do you think?
I think it's a great idea. 👍
Can this ticket be closed as Done? cc: @jrobinAV @joaoandre-avaiga
Indeed, I believe we can set this as done. @joaoandre-avaiga Is it ok for you?
Yes!
Monorepo Migration
At this point in time we are moving the code from all the repositories into Taipy. After the move is done, there's a bit of work into making all the linters, actions and processes standard for all the repositories. I'll give a little more detail on the next steps bellow:
Testing
One of the steps in the migration proccess is to move all the unit tests from inside the package folder
src/taipy/core/tests
for example totests/core
. This enables the current test action on taipy to run all the unit tests in every PR. To improve on this, the proposal is:Packaging
Each taipy package will remain as a independent package when built, each of them will keep their setup.py, Pipfile and related project files. This is what needs to be checked on packaging after the merge is done:
version.json
file that was moved in the merge process, before it was situated in the same level as thesrc
folder and after the merge the file will be in the same level assetup.py
.Cleanup
In each package we have a lot of equal files, normally related to documentation or project configuration. The merge process brought everyone of them together, so that makes them redundant.
Archive
After everything is done, all the old taipy repositories should be archived on github with a message on their readme informing that everything migrated to taipy.