Giter Club home page Giter Club logo

Comments (10)

cppforlife avatar cppforlife commented on August 20, 2024

@voelzmo cli requires config/final.yml to be present. are you proposing a better error message?

from bosh-cli.

voelzmo avatar voelzmo commented on August 20, 2024

The ruby CLI creates config/final.yml when the first final release is created. Until then I can just release dev releases in version 0+dev.x. With the go CLI that is not possible.

So here is my scenario:

  • I'm working on a new release
  • I haven't done a final release
  • I want to create a dev release

That should be possible somehow, currently it isn't.

from bosh-cli.

cppforlife avatar cppforlife commented on August 20, 2024

@voelzmo it's possible. just make a config.yml with a final_name. ideally we should rename final_name to really just name.

from bosh-cli.

voelzmo avatar voelzmo commented on August 20, 2024

What I mean is: this used to work without me having to do anything manually. The ruby CLI asked me for a release name and did its magic. The go cli doesn't do it. Why should I have to create such a file manually now?

from bosh-cli.

cppforlife avatar cppforlife commented on August 20, 2024

what would happen in the non-interactive case?

bosh init-release --dir my-fancy-new-release does create config/final.yml with base name as the default name. this only applies to existing releases that dont have the name.

from bosh-cli.

voelzmo avatar voelzmo commented on August 20, 2024

ah, so I might have done the bosh init-release with the ruby cli is what you're saying? That might be possible, damn. As long as the go cli is consistent, I guess its fine.

from bosh-cli.

voelzmo avatar voelzmo commented on August 20, 2024

One more thing: choosing the directory's name as release name is a problem:

  • Directories are named after github repos
  • those contain '-release' usually
  • release names shouldn't contain '-release'

So what about removing '-release' at the end before picking it as name?

from bosh-cli.

cppforlife avatar cppforlife commented on August 20, 2024

@voelzmo made a tiny commit after you closed the issue to address -release ;) will push tomorrow.

from bosh-cli.

cppforlife avatar cppforlife commented on August 20, 2024

Fixed by 6e0d8de

from bosh-cli.

addisflava avatar addisflava commented on August 20, 2024

this flag is not working at all tried with --release or -release . i have a release and the directory name is different than the release name

bosh init-release --release iptables
unknown flag `release'

Exit code 1

bosh init-release --dir=/mnt/deployments/cf-presagia/presagia_boshreleases/iptable-boshrelease/ -release iptable
unknown flag `r'

Exit code 1

from bosh-cli.

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.