Skip to content

Running forge from a subdirectory will re-clone services #107

Description

@tristanpemble

demonstration:

λ tree
.
├── README.md
├── forge.yaml
├── k8s
├── service.yaml
└── workspace
    └── customer-portal
        ├── Dockerfile
        ├── k8s
        │   └── deployment.yaml
        └── service.yaml

4 directories, 6 files

λ forge pull
║ [.forge/message-broker] git pull
║ Already up-to-date.
║ [workspace/customer-portal] git pull
║ Already up-to-date.
║ [.forge/admin-portal] git pull
║ Already up-to-date.
║ [.forge/payment-processor] git pull
║ Already up-to-date.
║ git pull
║ Already up-to-date.
║ 42 tasks run, 0 errors
║

λ cd workspace/customer-portal

λ forge pull
║ cloning git@github.com:forge-playground/payment-processor.git->.forge/payment-processor
║ cloning git@github.com:forge-playground/message-broker.git->.forge/message-broker
║ git pull
║ Already up-to-date.
║ [.forge/payment-processor] git pull
║ Already up-to-date.
║ [.forge/message-broker] git pull
║ Already up-to-date.
║ 41 tasks run, 0 errors
║

I was expecting the second forge pull to use the services in ../../.forge

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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