Comments (9)
We were just about to make changes to the configuration package today which would have caused a breaking change. I don't think we're ready to expose these as a stable interface yet. I'd like to propose that if we do this that we do it as one of the final steps before 1.0.
👍 on switching to dep
as an incremental step inside our own release
👎 (at the moment) of declaring parts of this as part of the public interface
from bpm-release.
I really like the idea of being able to use dep. I think it would be worth exploring whether there's a viable way to do that within a bosh release, allowing is to sidestep the need for a submodule.
we use dep in bosh-dns-release (https://github.com/cloudfoundry/bosh-dns-release/tree/master/src/bosh-dns). no problem afaik.
from bpm-release.
We have switched to dep in the latest release (you shouldn't notice any difference). I hope we can extract the main code repository (which should be trivial now) closer to 1.0.
from bpm-release.
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/153565798
The labels on this github issue will be updated when the story is started.
from bpm-release.
- BPM as a tool never needs to be built outside of a BOSH release.
At least the definition of bpm.yml could be interesting outside a BOSH release if someone would want to schedule BPM defined jobs on a different scheduler.
from bpm-release.
I really like the idea of being able to use dep
. I think it would be worth exploring whether there's a viable way to do that within a bosh release, allowing is to sidestep the need for a submodule.
This is a pattern many other teams use but having code split across submodules is a tax on productivity, except perhaps where that code is shared between many projects.
from bpm-release.
Even if we use dep
while keeping it in the same repository, the golang code for bpm
is very hard to import into other projects. This is because bpm-release
is a GOPATH
and currently bpm
imports itself as a top-level import. This would be fundamentally incompatible with how users would have to import our project i.e. import "github.com/cloudfoundry-incubator/bpm-release/src/bpm"
. I think no matter where we move bpm
on the bpm-release
GOPATH
this is still an issue due to the fact that golang's importing scheme is so closely tied to version control.
As said this may not be a supported use case, but as @loewenstein pointed out, there are use cases such as people importing bpm
for accessing it's configuration struct declarations.
from bpm-release.
That makes sense. I was kicking around an idea that we might be able to satisfy both the bosh-release directory layout, as well as the golang directory layout with some clever hack.
Seems like we should just bite the bullet and spin out a submodule for the bpm go code.
from bpm-release.
I'm closing this as I don't see a pressing need to solve this.
If there are consumers that want to consume bpm as a dependency, feel free to comment / open a new issue to address this.
from bpm-release.
Related Issues (20)
- cgroup-path HOT 5
- persistent_disk allow_executions ? HOT 3
- creation of pre-defined files? HOT 3
- Delete bpm/mounts package HOT 4
- `bpm run` does not delete pidfile after completion HOT 2
- Provide a default init binary HOT 2
- Allow collocated jobs to read indicators without also reading all of job credentials HOT 3
- Rolling Cells "sometimes" causes problems with rep and route_emitter starting HOT 20
- Support shared mount-only volumes HOT 11
- Rootless garden does not work with BPM 1.1.1 HOT 8
- Failed to start container caused by empty runc’s bundle directory HOT 5
- Different digest for bpm-release?v=1.0.4 HOT 7
- Pointing out minor difference between /bin/pre-start vs. bpm hooks pre_start HOT 2
- Share the host's process namespace with the Bosh BPM container HOT 2
- BPM fails attempting to allow access to /dev/console via runc in latest bosh-lite HOT 7
- Missing go dependencies mean internet access is required to compile BPM v1.1.11 HOT 8
- Consume current golang-version HOT 3
- bpm 1.2.1 fails to start processes HOT 6
- bpm release version 1.2.3 - bpm-runc compilation problem with stemcell 1.148 (currently latest) HOT 2
- github.com/golang/mock used by bpm is no longer maintained HOT 1
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 bpm-release.