Recommended workflow
The recomended workflow goes like this:
- Always fresh. Do not reuse images. Install
Mapless
or the instructions of the guides here in fresh image. - Always autoformat. Custom formatting in a per team basis would be ideal. While that isn’t the norm, use the autoformatter to remove friction in PR reviews.
- Commit changes. Consider saving the image a transient convenience and consider actual saved code to be the last commit you did using Pharo Git tool in the right branch.
- Embrace Gitflow. Develop features and fixes in new branches that you can merge on
develop
while maintaining official versions in themaster
branch earning trust from the community. - Emrbace semantic versioning. Use other engineers expectations about progres, fixes, improvements and compatibility between APIs of newer versions to your advantage embracing semantic versioning tagging commits. For Pharo versions you can create a specific additional tag like
pharo9
,pharo10
andpharo11
, etc beside keeping the numbered ones and alatest
to move the progress of your most recent one. - Smalltalk CI. And GitHub Actions.
- Docker. Do not make hard to use the final outcome of your work. Keep your development process easy for the next step to happen by making a containerizable build so it can be used as input in some devops process.