I want to have a way to publish “hotfixes” to my production projects.
Let’s assume I have 2 projects:
- Dev project
- Prod project
In a git-like environment, I would keep the main branch in the dev project to what is currently in production, while I work on feature on a branch.
Once the features/next “release” is ready, then I would merge it to master to be picked up for the next release on production project.
If an issue in production arises by then, I can directly fix the main branch in the dev project, repackage and deploy in production.
This works today in Foundry. I can develop in the “dev project” on a branch, once ready, merge to the main branch, package and push to production.
Now let’s assume I have 3 projects:
- Dev project
- Test project
- Prod project
Idea 1
In that case, I need to:
- Keep on the main branch of the dev project the version pushed to production
- Work on new feature on another branch in the dev project
- Package the branch in a marketplace product and install it in the “test project” for testing
- If this works well, merge the change from the feature branch of the dev project to the main branch
- Package from this main and install in both Test and Prod
If a hotfix needs to be applied, I can (most of the time) directly change the main branch of dev, repackage and redeploy to production.
Problem: Marketplace doesn’t seem to support today packaging from branches.
Idea 2
In that case, I need to:
- Work on new feature on a branch in the dev project
- Once happy with the changes, merge to the main branch of the dev project
- Package the main branch and install it to Test project
- Once happy with the changes, re-package from Test project and install to production.
If a hotfix needs to be applied, I can (at all time) directly redeploy the production version in the “Test project”, do the change, repackage from Test project and install with the hotfix in production.
- Package the branch in a marketplace product and install it in the “test project” for testing
- If this works well, merge the change from the feature branch of the dev project to the main branch
- Package from this main and install in both Test and Prod
Two issues there: 1/ I need to repackage from Test, which can be error prone and add friction 2/ I need to keep track of the mapping of versions between the first and the second marketplace product, so that I can reinstall the “latest production-equivalent product” in Test project
Are there better approaches available today to support those workflows ?





