GithubHelp home page GithubHelp logo

Comments (9)

xoebus avatar xoebus commented on June 11, 2024 1

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.

cppforlife avatar cppforlife commented on June 11, 2024 1

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.

xoebus avatar xoebus commented on June 11, 2024 1

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.

cf-gitbot avatar cf-gitbot commented on June 11, 2024

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.

loewenstein avatar loewenstein commented on June 11, 2024
  • 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.

aramprice avatar aramprice commented on June 11, 2024

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.

jfmyers9 avatar jfmyers9 commented on June 11, 2024

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.

aramprice avatar aramprice commented on June 11, 2024

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.

jfmyers9 avatar jfmyers9 commented on June 11, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.