Bug 9593 - Enable workspace folder to be changed
Summary: Enable workspace folder to be changed
Status: RESOLVED FIXED
Alias: None
Product: CROPS
Classification: Yocto Project Subprojects
Component: crops-default (show other bugs)
Version: 2.1
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 2.2
Assignee: brian avery
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-05-04 23:35 UTC by Henry Bruce
Modified: 2016-10-24 22:13 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henry Bruce 2016-05-04 23:35:26 UTC
Expected behavior
-----------------
Check out a project to /path/to/projectA. Configure CROPS to use that workspace. Work with project as expected. Check out a project to /different/path/to/projectB. Configure CROPS to use that workspace. Work with project as expected.

Observed behavior
-----------------
CROPS workspace is preset to $HOMEPATH/crops-workspace. Project must be in that folder before they can be built.
Comment 1 Todor Minchev 2016-06-17 18:26:19 UTC
This doesn't apply to crops-py. The crops installer is obsolete and won't be maintained going forward.
Comment 2 Todor Minchev 2016-06-23 17:57:30 UTC
reopening
Comment 3 Tim Orling 2016-06-23 19:45:58 UTC
The current plan for the eclipse-crops plugin is to spin up a new CROPS toolchain container for each workspace, perhaps even for each build. The host/container mapping would then be setup for each specific instance of running container. Or do we also want a CLI/RESTful API path for this?
Comment 4 brian avery 2016-10-24 22:13:01 UTC
This is fixed by using the samba containers and docker volumes. Bug 10452 is still needing to be done to fully flesh out the options but currently you can solve this by using subdirectories of the volume for different attached containers. within those subirectories, multiple workspaces function.