| Summary: | setTargetPref allows bogus values | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Miles Parker <milesparker> |
| Component: | Buckminster | Assignee: | buckminster.core-inbox <buckminster.core-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | thomas |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Miles Parker
It's not uncommon that a build assumes that the target platform is non-existent and should be created and provisioned as part of the build. As part of that, Buckminster creates the directory if it's missing. Changing this behavior would break several builds. Would it be sufficient if a warning was issued? Something like: "WARNING: Target platform directory '/Users/foo/bogus' does not exist and will be created" Yes, it makes sense that this should be an allowed value. (In reply to comment #1) > Would it be sufficient if a warning was issued? Something like: > > "WARNING: Target platform directory '/Users/foo/bogus' does not exist and will > be created" Yes, that would be great. Even if it simply added that information to the line reporting the setting, e.g. "targetPlatformPath set to the value '/Users/foo/bogus' (warning: no platform exists at that location)" I made two alterations: 1. I added an explicit warning message since the "targetPlatform set to the value ..." message was a generic message printed on stdout by all setpref commands. 2. I changed the generic message to be a logger debug message. The fix is committed to helios-maintenance, rev 11505. |