Skip to content

Support post clone hooks #62

Description

@msteiner-google

What is your feature suggestion?

I am trying to build a template with different variants (for Googlers, code is available at go/msteiner-adk-template ).

My specific use case
While I managed to do it through symlinks, each template "variant" that uses the shared logic has to resort to relative imports, which, many linters don't like. If there was a way to run a script after the setup was done to sed the relative imports to absolute ones that would be amazing.

What will this enable you to do?

Having access to a hook to perform custom actions after the template has been "initiazlied" (ie after everything else is done, cloning, setting up,...) it would be amazing and solve my use case, but potentially open a lot of possibilities.

For instance, I am also working on a use case where the agents are deployed to GKE and the codebase is in a git "monorepo". I would like to express the logic that when someone adds an agent to the repo I can trigger a script to modify the kustomize definitions automatically to include the new agent or similar things.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions