New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
+vats options #6395
+vats options #6395
Conversation
b990032
to
e46eadf
Compare
Hmm, also this doesn't build after latest rebase. 18205a7 appears to break +vats. /sur/hood/hoon::[76 14].[76 38]>
-need.@ud
- have
[ let=@ud
hit
?(
%~
[ n=[p=@ud q=@uvI]
l=?(%~ [n=[p=@ud q=@uvI] l=nlr([p=@ud q=@uvI]) r=nlr([p=@ud q=@uvI])])
r=?(%~ [n=[p=@ud q=@uvI] l=nlr([p=@ud q=@uvI]) r=nlr([p=@ud q=@uvI])])
]
)
lab
?(
%~
[ n=[p=@tas q=@ud]
l=?(%~ [n=[p=@tas q=@ud] l=nlr([p=@tas q=@ud]) r=nlr([p=@tas q=@ud])])
r=?(%~ [n=[p=@tas q=@ud] l=nlr([p=@tas q=@ud]) r=nlr([p=@tas q=@ud])])
]
)
]
nest-fail |
Here is my bug; you see the section of the output for %base is messed up.
|
Looks like the build fail is caused by the type changes from #6332. |
@elizasviel and @hoclun-rigsep: this architecture is cleaner than the other PR, so both of you, please focus your efforts on this one. Please also write some docs in the top of the generator to describe how to pass in the arguments. |
You probably need to make some small changes to the Clay types to get it to compile, due to the PR that @pkova mentioned. |
I get the compile error before I introduce any of my changes:
I assume CI builds everything before it gets merged, so what is going on here? Is there something wrong with my flow? |
I fail to reproduce your issue. Here are the exact commands I ran:
Note that you need to be on 0286ca7#diff-d2279d1657ac67537f222ce9b819365ba27aca4741becdce9d2f3f38e7f79f8cL76-R76 |
a4f34ba
to
f3c3550
Compare
@pkova thanks for checking that out. I am now on bleeding @belisarius222 looking more closely at this file there seems to be a ton of repeated code/unnecessary scries; I've basically refactored it. |
from the CI:
|
|
d88340a
to
9dc982d
Compare
I think this will pass now but maybe hold off, there's still something wrong with my terse output. |
cd5a483
to
720b8e0
Compare
@hoclun-rigsep I saw you posted a commit after saying to hold off. Should I still hold off, or is this ready for review? |
@belisarius222 Hold off please; I might as well get the |
720b8e0
to
a9b07f1
Compare
This commit refactors `sur/hood.hoon` and changes the signature of the `+vats` generator thus: ```hoon |= $: [now=@da eny=@uvj bec=beak] $@(~ [?(%suspended %running %blocking %nonexistent) ~]) $: verb=? show-suspended=? show-running=? show-blocking=? show-nonexistent=? == == ``` Called with a single positional argument, `+vats` will show only those desks fitting the description given, while keyword parameters allow finer-grained control over which desks are described. The `verb` parameter determines whether the full load of desk information be shown, or a subset thereof. Resolves urbit#6297.
a9b07f1
to
821f99a
Compare
This can be reviewed. Issue: if the terminal is wide enough, information about the desk prints out on one line, which is probably not what we want. If someone can explain idiomatic use of the tank/tang system I can conform to it. |
@hoclun-rigsep I just learned from @joemfb that removing the top-level Thank you for your hard work on this, @hoclun-rigsep. |
It’d be helpful if the details in the pr or release notes explained the options/showed basic usage and examples |
Also, I noticed that |
OK, I see that |
@tinnus-napbus would you mind working this into the Manual? Alternatively, would love if @hoclun-rigsep could help out with this. |
yeah I'll PR an update to the +vats entry in dojo tools in operators shortly |
Thank you @tinnus-napbus; also happy to take this task if you wish. |
With a hat tip to #6390, this pr also implements #6297.
Not quite ready to merge; in certain cases I don't understand, the formatting of the resulting tank gets messed up. Also I need to start getting my updates from ~binnec-dozzod-marzod. Will report back asap.