GithubHelp home page GithubHelp logo

Comments (15)

joemfb avatar joemfb commented on June 3, 2024 2

@barter-simsum this behavior long pre-dates me. I think it was part of an early "just boot a comet and play around" onboarding push. -c is actually just a boolean flag ("create a new pier"), other things also toggle the same flag (-w, for instance). The pier name is an optional positional argument, set to the ship name if unspecified... The command-line arguments need plenty of cleanup -- lots of surprises and strangeness.

from vere.

tinnus-napbus avatar tinnus-napbus commented on June 3, 2024

@joemfb has there been any progress on this?

from vere.

tinnus-napbus avatar tinnus-napbus commented on June 3, 2024

should just fail if the pier doesn't exist and require -c to boot a comet

from vere.

zalberico avatar zalberico commented on June 3, 2024

@jalehman @vvisigoth - this is a pretty annoying one that should be an easy fix (though this issue probably now belongs in the vere repo).

from vere.

barter-simsum avatar barter-simsum commented on June 3, 2024

This seems to have been an intentional change ("make -c optional") introduced by @joemfb at some point. Joe, what do you think of requiring -c rather than implicitly creating a comet when the pier directory doesn't exist.

// make -c optional, catch invalid boot of existing pier

964a86e

from vere.

zalberico avatar zalberico commented on June 3, 2024

I've seen this behavior confuse users - they try to boot with their patp and don't understand what they're doing, they end up with a directory of a comet named after their patp which is very confusing for them (and us when they ask for help). This is despite it outputting text about booting a comet.

Or they try to use pack but get the command args in the wrong order and it starts a comet instead.

We should error out in this case or at a minimum require a Y/N interaction, but I think erroring is preferred.

from vere.

tacryt-socryp avatar tacryt-socryp commented on June 3, 2024

I would far prefer error behavior rather than implicit pier generation

from vere.

barter-simsum avatar barter-simsum commented on June 3, 2024

I agree. Booting a comet when a pier doesn't exist is strange behavior. But I'd like to know why it was introduced in the first place and if it's being used to prevent something else bad from occurring.

from vere.

zalberico avatar zalberico commented on June 3, 2024

Cool - sounds like we're good to fix this. When we do we'll want to be careful about how we do it and communicating it loudly. Anyone that has scripts making assumptions based on current argument behavior could be affected depending on the change and how they're using it.

from vere.

zalberico avatar zalberico commented on June 3, 2024

Changing this behavior would be a nice (easy?) win if we could get it into an upcoming release

from vere.

jalehman avatar jalehman commented on June 3, 2024

@zalberico It'll happen soon. @barter-simsum are you working on this? Or are we searching for a newer contributor to grab this one @vvisigoth?

from vere.

zalberico avatar zalberico commented on June 3, 2024

Bumping this one as it come up in UC: Help again. @jalehman can we get this in the next release?

from vere.

jalehman avatar jalehman commented on June 3, 2024

Short answer: Maybe.

Long answer: @barter-simsum is on it just as soon as he finishes his work on the 8gb loom, which takes priority. Bandwidth for this will depend on what comes up in testing. Last we spoke about it he had seemed to think that this was a fairly straightforward solution, so I'm confident it'll happen soon.

from vere.

zalberico avatar zalberico commented on June 3, 2024

Cool, thanks!

from vere.

zalberico avatar zalberico commented on June 3, 2024

This already merged, but itโ€™d be good to show usage on failure.

Often Iโ€™m trying to pack with loom 32 and get the arg order wrong and it starts trying to create a comet. An example on error of arg ordering would be good, but this is still way better than creating a comet (thanks).

from vere.

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.