Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Test cover Inplace with both SCM_TARGET_PATH and PROJECT setting #664

Closed
suwatch opened this issue Jun 16, 2013 · 3 comments
Closed

Test cover Inplace with both SCM_TARGET_PATH and PROJECT setting #664

suwatch opened this issue Jun 16, 2013 · 3 comments
Assignees
Labels
Milestone

Comments

@suwatch
Copy link
Member

suwatch commented Jun 16, 2013

The scenario is to deploy from a subfolder of repo to a subfolder of wwwroot.

@suwatch
Copy link
Member Author

suwatch commented Jun 16, 2013

Three interesting scenarios.

  • same folder
  • two unrelated folders
  • two related folders

@ghost ghost assigned krolson and yaminij Jun 27, 2013
@yaminij
Copy link
Contributor

yaminij commented Jul 3, 2013

Tried the following combinations

  1. SCM_REPOSITORY_PATH=wwwroot
    PROJECT = .
    SCM_TARGET_PATH = wwwroot/subfolder
    Behavior:
    This results in the infinite loop bug at Test cover InPlace and SCM_TARGET_PATH (deploy to) #666

  2. SCM_REPOSITORY_PATH = repository/subfolder
    PROJECT=.
    SCM_TARGET_PATH=wwwroot/subfolder
    Behavior:
    Deployment failed with "Only paths relative to the repository root path are supported, path provided:
    C:\DWASFiles\Sites\mysite10\VirtualDirectory0\site\repository\subfolder"

  3. SCM_REPOSITORY_PATH = repository/subfolder
    PROJECT = .
    SCM_TARGET_PATH = wwwroot
    Behavior:
    Deployment failed with "Only paths relative to the repository root path are supported, path provided:
    C:\DWASFiles\Sites\mysite10\VirtualDirectory0\site\repository\subfolder"

  4. SCM_REPOSITORY_PATH = repository/subfolder
    PROJECT = .
    SCM_TARGET_PATH = .
    Behavior:
    Deployment failed with "Only paths relative to the repository root path are supported, path provided:
    C:\DWASFiles\Sites\mysite10\VirtualDirectory0\site\repository\subfolder"

  5. SCM_REPOSITORY_PATH = repository
    PROJECT = .
    SCM_TARGET_PATH = .
    Behavior: Deployment succeeded.

  6. SCM_REPOSITORY_PATH = repository
    PROJECT = .
    SCM_TARGET_PATH = wwwroot/repository
    Behavior: Deployment succeeded.

Summary:

  1. Deploying from a subfolder under repository doesn't work. This is what (2)- (5) scenarios outline.
  2. Deploying from wwwroot to a subfolder in wwwroot results in an infinite loop
  3. Deploying from root of the repository to a subfolder under wwwroot works

@yaminij
Copy link
Contributor

yaminij commented Jul 12, 2013

Fixed in 40c846e

@yaminij yaminij closed this as completed Jul 12, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants