You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feluda has multiple python packages in a single github repo, we could not find any existing tool/GitHub actions that can help us release and do semantic versioning of multiple packages in a monorepo. Hence we had to write our own custom script that does this for us. This is the GitHub action that trigger’s the workflow for semantic versioning - link
I think there are some way’s to make this script more efficient, so the task of the issue is do a short spike to explore on way’s to make it efficient. Some possible improvements could be
We are opening and loading the pyproject.toml file in multiple function’s - code1 - code2 - code3 - code4. This is a bit error prone and can be handled better.
We should also add a function that checks if each pyproject.toml file has a name, version and tag_format
We should lint and format the pyproject.toml file better
Feluda has multiple python packages in a single github repo, we could not find any existing tool/GitHub actions that can help us release and do semantic versioning of multiple packages in a monorepo. Hence we had to write our own custom script that does this for us. This is the GitHub action that trigger’s the workflow for semantic versioning - link
Link to the script - link
I think there are some way’s to make this script more efficient, so the task of the issue is do a short spike to explore on way’s to make it efficient. Some possible improvements could be
pyproject.toml
file has a name, version and tag_formatpyproject.toml
file betterThe changes to the script can be tested in this dummy repo - https://github.com/aatmanvaidya/feluda-versioning-check/
The text was updated successfully, but these errors were encountered: