make git-* / make merge-*Repository and merge commands
Generated targets publish independent repositories and safely reconcile a new archive with an existing workspace.
When to use
Use this reference when generating, reviewing or operating a Service Architect project.
Behavior
- Component-specific targets are emitted for every service and module in the graph.
- Publish order keeps module/service dependencies available before the root repository is pushed.
- Merge targets implement the generated-basename and explicit overwrite-list contract.
Repository and merge command reference
Commands generated from modulePath, repoPath and the merge contract.
make git-initWorkspaceGenerate artifacts, publish component repositories and synchronize dependency coordinates.
make git-pushWorkspaceGenerate and push modules, services and finally the orchestration repository.
make git-push-<service-name>ServicePush one service repository. <service-name> is Service.name lowercased with whitespace removed.
make git-push-<module.name>ModulePush one Module repository using its exact user-configured Module.name.
make git-push-projectWorkspacePush the project-level orchestration repository.
make git-delete-<service-name>ServiceDelete one service repository. <service-name> is derived from Service.name. This is destructive.
make git-delete-<module.name>ModuleDelete one Module repository using its exact Module.name. This is destructive.
make git-delete-projectWorkspaceDelete the configured project orchestration repository. This is destructive.
make git-deleteWorkspaceDelete all generated remote repositories. This is destructive.
make merge ARCHIVE=/path/project.zipWorkspaceMerge a complete generator archive using generated-file ownership rules.
make merge-check ARCHIVE=/path/project.zipWorkspacePreview ADD, UPD, OVR, SKP and STALE decisions without modifying files.
make merge-validateWorkspaceCheck that generated runtime interfaces still match preserved business makers and handlers.
Regenerate and publish
make merge-check ARCHIVE=/tmp/example.zip
make merge ARCHIVE=/tmp/example.zip
make merge-validate
make git-push