Comments (7)
working on this now
from open-service-broker-sdk.
The specific scenario under which I hit this issue does not yet work.
- clone project to some directory
- create a symlink to the project, locate the symlink in your GOPATH
- attempt to build
- fails
If I comment out the export GOPATH
line in the Makefile
everything works as I'd expect. I'm not sure if there are any other side effects of doing this though.
from open-service-broker-sdk.
- checkout code directly into GOPATH, WORKS
- checkout code directly into GOPATH, create symlink FROM another dir, WORKS
- checkout code outside GOPATH, create symlink IN GOPATH, FAILS
from open-service-broker-sdk.
In general symlinks + golang == failure. There are long standing incompatibilities with golang and symlinks which are constantly closed by the golang core team with an explanation that golang does not support symlinks. Whenever anything comes along that works the golang core team's answer is "great that works, but it might not tomorrow, you must follow the golang way"
kubernetes and openshift try to make symlink hacks work when we know they can, but in general we will not invest time into making it work. After enough hits on the head it becomes apparent that if one can not change the golang core team the only option is to conform.
from open-service-broker-sdk.
@eparis that's understandable. But if I comment out the export GOPATH
defined in the Makefile all three of my scenarios work fine. If it's not something we plan to fix, then I can close and just live with it.
from open-service-broker-sdk.
Fixed by PR #12
from open-service-broker-sdk.
closing since this was fixed, but we still have a bad "getting started" experience since we now rely on the user having a valid GOPATH defined, as well as a proper directory structure.
from open-service-broker-sdk.
Related Issues (14)
- Goal: be able to implement the user-provided service broker using this project HOT 6
- reason to commit vendor directory? HOT 3
- make images not working HOT 4
- support for creating openshift and kubernetes objects HOT 7
- ./provision.sh - the server could not find the requested resource HOT 8
- Support for an osb init tool to allow for different project structure. HOT 4
- Instructions/tests for running the service catalog in front of the broker SDK HOT 5
- openshift/brokersdk references? HOT 2
- Kubernetes translation of roles.yaml HOT 7
- example catalog service classes not working with service catalog
- Instructions/tools for registering broker with catalog HOT 4
- test-scripts/shared.sh: Fails to get broker service ip HOT 2
- Unit test breaks in master HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from open-service-broker-sdk.