Comments (15)
@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.
@joemfb has there been any progress on this?
from vere.
should just fail if the pier doesn't exist and require -c
to boot a comet
from vere.
@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.
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.
Line 464 in 17c14ac
from vere.
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.
I would far prefer error behavior rather than implicit pier generation
from vere.
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.
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.
Changing this behavior would be a nice (easy?) win if we could get it into an upcoming release
from vere.
@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.
Bumping this one as it come up in UC: Help again. @jalehman can we get this in the next release?
from vere.
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.
Cool, thanks!
from vere.
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)
- Unable to build on MacOs due to undeclared inclusions even with clang version specified HOT 6
- unable to boot two ships running on same device HOT 1
- Gracefully handle cases where `urbit roll` didn't complete successfully HOT 6
- Correct u3_atom to u3_noun in two jets.
- Replace unsafe C functions like strcpy with safer alternatives HOT 1
- Invalid %slog kills running process. HOT 1
- loom: corrupt when running urbit 3.0-65f03b3, upgrading from 2.12 HOT 2
- king: flag to pass path to serf
- MDB_NOTFOUND: No matching key/data pair found after full disk HOT 12
- bail: foul after shutting down HOT 1
- http: graceful shutdown crashes after serving cached http responses
- Validate desk names from Clay effects HOT 1
- Can't use Vere 3.0 on Raspberry Pi HOT 8
- ~mopfel-winrux running into a memory issue HOT 1
- Ship unrecoverably crashed after hitting loom limit via HTTP file upload & eyre cache insertion HOT 1
- cannot build with flake.nix HOT 2
- ux: improve unhelpful error messages
- Ships failing to start with "disk: unknown epoch version" HOT 1
- loom: road can overflow when nearly out of memory
- time.c scale wrong in description
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 vere.