SAService Architect Back to designer
SAService ArchitectDocumentation
Code generation 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.

CommandScopeDescription
make git-initWorkspace

Generate artifacts, publish component repositories and synchronize dependency coordinates.

make git-pushWorkspace

Generate and push modules, services and finally the orchestration repository.

make git-push-<service-name>Service

Push one service repository. <service-name> is Service.name lowercased with whitespace removed.

make git-push-<module.name>Module

Push one Module repository using its exact user-configured Module.name.

make git-push-projectWorkspace

Push the project-level orchestration repository.

make git-delete-<service-name>Service

Delete one service repository. <service-name> is derived from Service.name. This is destructive.

make git-delete-<module.name>Module

Delete one Module repository using its exact Module.name. This is destructive.

make git-delete-projectWorkspace

Delete the configured project orchestration repository. This is destructive.

make git-deleteWorkspace

Delete all generated remote repositories. This is destructive.

make merge ARCHIVE=/path/project.zipWorkspace

Merge a complete generator archive using generated-file ownership rules.

make merge-check ARCHIVE=/path/project.zipWorkspace

Preview ADD, UPD, OVR, SKP and STALE decisions without modifying files.

make merge-validateWorkspace

Check 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