Joe Bryan
c78f6e98ba
vere: implements prep
(for upgrade) subcommand
2022-05-24 09:59:39 -04:00
Joe Bryan
b9404c32e3
vere: implements --no-dock to disable binary copying/linking
2022-05-24 09:59:39 -04:00
Joe Bryan
05b817a207
vere: only define actively used architecture strings
2022-05-24 09:59:39 -04:00
Joe Bryan
ed234bfd41
vere: switches upgrade to subcommand (next
instead of --next
)
2022-05-24 09:59:33 -04:00
Joe Bryan
c7f970fb7b
vere: adds mass
as synonym for grab
subcommand
2022-05-23 17:04:48 -04:00
Joe Bryan
d2f24b4a93
vere: plugs leak, notes TODOs
2022-05-21 01:14:29 -04:00
Philip Monk
f674e8db14
Merge remote-tracking branch 'origin/jb/path-insanity' into philip/tomb
2022-05-20 21:49:45 -07:00
Joe Bryan
86002baa4a
vere: backs out overly zealous path canonicalization assertions
2022-05-21 00:47:48 -04:00
Philip Monk
01965eed21
vere: bump version to 1.9-rc3
2022-05-20 17:43:44 -07:00
Philip Monk
c3b48e3c6e
vere: bump version to 1.9-rc1
2022-05-20 17:06:04 -07:00
Joe Bryan
5036d53834
vere: copy binary instead of link on boot
2022-05-20 15:15:04 -04:00
Joe Bryan
302024330c
vere: get binary self-path with whereami lib
2022-05-20 12:58:39 -04:00
Joe Bryan
a8a4393f92
vere: temporarily "vendors" whereami lib
2022-05-19 13:34:10 -04:00
Joe Bryan
c70e8ed167
vere: copy argv[0] before calling dirname()
2022-05-19 09:29:40 -04:00
Joe Bryan
a9233493d3
vere: compat: link binary at $pier/.run.exe on windows
2022-05-19 09:29:13 -04:00
Joe Bryan
baf690c85a
vere: compat: polyfill link() on windows
2022-05-19 09:28:55 -04:00
Joe Bryan
45d4c5ef68
vere: link binary on boot
2022-05-18 15:53:05 -04:00
Joe Bryan
f97e186e61
vere: refactor _king_get_vere()
2022-05-18 15:53:05 -04:00
Joe Bryan
c5269773d5
vere: implements upgrade
2022-05-18 15:52:45 -04:00
Joe Bryan
55bda20abb
vere: adds support for configurable release channels
2022-05-16 20:34:17 -04:00
Joe Bryan
89955af8a8
vere: fixes up get next version
2022-05-16 18:47:01 -04:00
Joe Bryan
0eb4d3319c
vere: support restarting with implicit pier (at $pier/.run)
2022-05-16 13:10:04 -04:00
Philip Monk
705aa18f45
vere: correctly measure .urb/put path
2022-05-15 01:20:10 -07:00
Philip Monk
0f657ebb1e
conn: remove printf
2022-05-14 23:17:43 -07:00
Philip Monk
e6d61c0236
Merge remote-tracking branch 'origin/next/vere' into philip/tomb
2022-05-14 23:02:37 -07:00
Joe Bryan
e845f71b89
jets: plug leak in (slaw %p ...)
2022-05-14 22:54:35 -07:00
Philip Monk
833c413cbb
vere: add low water mark debug printf
2022-05-10 20:33:48 -07:00
Philip Monk
3f211f8ab9
vere: bump kelvin to 329/418
2022-05-10 03:24:27 -07:00
Peter McEvoy
72bc029914
u3: comment use of X macro in interpreter
2022-05-05 18:30:39 +00:00
Joe Bryan
4d25a0577d
vere: implements check for next version
2022-05-03 22:29:50 -04:00
Joe Bryan
b8a2db81dc
vere: factors out generic curl get from pill download
2022-05-03 21:08:48 -04:00
Peter McEvoy
5cd72d7052
u3: unify interpreter opcode information using X macro
2022-05-03 21:40:46 +00:00
dkmike
a008bc8c04
build: fix after rebase
2022-05-01 21:20:38 +03:00
dkmike
c42b1f679e
build: resurrect the openbsd build
2022-05-01 21:15:29 +03:00
Joe Bryan
92657762ed
vere: stubs out --next upgrade flag
2022-04-22 22:03:00 -04:00
Joe Bryan
1c6feb7b0f
Merge pull request #5708 from urbit/m/bout-format
...
u3: improve %bout time printing
2022-04-22 21:59:07 -04:00
Joe Bryan
ab0381447c
Merge pull request #5717 from urbit/jb/one-vere
...
vere: removes urbit-worker
2022-04-22 21:58:45 -04:00
Joe Bryan
36f284c548
vere: refactors serf i/o initialization
2022-04-22 16:45:28 -04:00
Joe Bryan
618f92360a
vere: restores ctrl-c on windows, fixes latent handle precision bug
2022-04-22 16:32:56 -04:00
Joe Bryan
7cd05b2bf9
vere: adds runtime status endpoint (reflecting current spinner state)
2022-04-21 15:26:17 -04:00
Joe Bryan
7741179c02
vere: refactors http request socket stealing
2022-04-21 15:25:55 -04:00
Joe Bryan
75b5f51a45
vere: temporarily disables ctrl-c on windows
2022-04-20 22:43:01 -04:00
Joe Bryan
9b947a7159
vere: removes obsolete windows binary extension handling
2022-04-20 22:43:01 -04:00
Joe Bryan
032ce14d86
vere: opens event log to aquire pier lock in all stateful utilities
2022-04-14 09:14:25 -04:00
fang
3deea4df0e
u3: improve %bout time printing
...
Now prints micro-, milli-, or full seconds, in the style of
u3a_print_memory (|mass).
2022-04-11 00:43:45 +02:00
Joe Bryan
cbfbfc3247
vere: removes all reference to urbit-worker
2022-04-09 22:52:09 -04:00
Joe Bryan
810f90c8d6
vere: adds lmdb/disk info to cmd
2022-04-09 22:48:22 -04:00
Joe Bryan
1f33b20a47
vere: removes urbit-worker
2022-04-09 22:48:16 -04:00
Joe Bryan
2d2ced0a0b
vere: refactors urbit-worker argument parsing
2022-04-09 22:23:52 -04:00
Jōshin
654ff1f4cb
conn: add --no-conn option
...
Might be handy on Windows in case of running multiple fakezods.
2022-03-25 15:30:11 -06:00
Jōshin
b1392f0f72
conn: windows
2022-03-25 15:16:40 -06:00
Jōshin
d5a182ab38
conn: clean up whitespace
2022-03-25 15:16:39 -06:00
Jōshin
66ee870461
conn: extract _conn_make_cran()
2022-03-25 15:16:39 -06:00
Jōshin
133ef8c779
repo: fix ent build on mingw
2022-03-25 15:16:39 -06:00
Jōshin
469c597310
conn: send errors on bail
2022-03-23 10:50:23 -06:00
Jōshin
8e1842df69
conn: condense _conn_moor_poke
...
- Saves a call to `+scot`.
- Removes `else` blocks from `if` statements that return.
- Handles missing %khan as a normal bail.
2022-03-23 10:19:37 -06:00
Jōshin
9649c35e47
conn: add %peel /who
2022-03-21 14:38:39 -06:00
Jōshin
0ce83ce68b
disk: %read info
2022-03-21 14:29:54 -06:00
Jōshin
1d97e6464a
vere: remove short flags from header comment
2022-03-21 14:27:31 -06:00
Jōshin
74578f80d5
conn: futureproof comment
2022-03-21 14:25:32 -06:00
Jōshin
b5df46d0e9
conn: don't u3z(u3_none)
...
Empirically this seemed to work before (maybe hind events were never
getting sent?), but `u3a_lose` takes a `u3_noun` so it seems best to
follow the specified API.
2022-03-21 14:13:23 -06:00
Jōshin
6c386ce946
http: print port in error message
2022-03-21 13:18:14 -06:00
Jōshin
05046f756b
vere: long-only opt for http/s port
...
Also includes in usage.
2022-03-21 13:15:37 -06:00
Jōshin
4f124c5911
http: abort increment/bind loop on manual port
...
Also moves the per_s / pes_s reset out of _http_write_ports_file and
into the bind loop itself.
2022-03-21 12:45:11 -06:00
Jōshin
fb5dd0026e
vere: add http/s port flags
2022-03-21 11:10:08 -06:00
Jōshin
07e50da237
conn: use %bail instead of %fail
2022-03-19 08:26:41 -06:00
Jōshin
1210832d1b
conn: refcounts
2022-03-19 08:13:19 -06:00
Jōshin
9a656e0dae
vere: drivers in driver link-order
2022-03-18 16:51:29 -06:00
Jōshin
50de7b45b0
Merge branch 'next/vere' into jo/khan-c3
2022-03-18 16:50:16 -06:00
Jōshin
81f4254893
vere: guarantee unique concatenated names
2022-03-06 16:45:55 -05:00
Jōshin
a480b2a91f
vere: lord info
2022-03-06 16:33:53 -05:00
Jōshin
3400e55b2d
vere: disk info
...
Fixes an apparent infinite loop in u3_disk_slog if red_u is not 0.
2022-03-06 15:31:03 -05:00
Jōshin
382f06efe9
vere: info measurements as $mass
2022-03-06 12:33:30 -06:00
Jōshin
df25781c37
conn: update header comment
2022-03-03 16:26:09 -06:00
Jōshin
1e77271afc
Merge pull request #5616 from urbit/jo/sort-motes
...
vere: sort motes
2022-03-02 19:52:35 -08:00
Jōshin
b598eb2815
vere: prune wrong motes
...
verified using vim regex search (and corresponding regexes for the 3, 2,
and 1 letter motes):
/c3__\(.\)\(.\)\(.\)\(.\) *c3_s4\(('\1','\2','\3','\4')\)\@!
2022-03-02 21:19:52 -06:00
Jōshin
039bc7a975
vere: remove unused and wrong mote
2022-03-02 21:09:34 -06:00
Jōshin
6ed6fdfc6e
Merge pull request #5575 from urbit/jo/unix-sane
...
vere/unix: sane(r) path handling
2022-03-02 10:00:05 -08:00
Jōshin
f1da3f12d2
vere: sort motes
...
just piped the whole body through !sort in vim.
2022-03-01 17:43:44 -06:00
Jōshin
7d9ac764a7
conn: document /info type
2022-03-01 17:40:53 -06:00
Jōshin
33fb7ff86a
vere: u3_pier_info (and use in conn)
2022-03-01 17:35:21 -06:00
Joe Bryan
75b64f5b3e
Merge pull request #5515 from DaneBettis/dane.bettis/stacktrace-hints
...
Dane.bettis/stacktrace hints
2022-03-01 17:59:40 -05:00
Jōshin
5825cbde71
test: move _test_lily into noun_tests
2022-03-01 16:23:23 -06:00
DaneBettis
ad2e6975af
changes in response to code review
2022-03-01 21:27:33 +00:00
DaneBettis
7fa53169f2
vere: add hela and nara hints
2022-03-01 21:24:11 +00:00
DaneBettis
ee46c6a0dd
vere: add %nara %hela hints, add a hoon test module for hints
...
nara: swedish for near, provides a trace from the start of the nearest virtualization
to the statement wrapped by the nara hint.
hela: swedish for whole, provides a trace from the start of the event
to the statement wrapped by the hela hint.
The eventual goal is to present these traces in a way that is most salient & useful to developers
and in a way that is aesthetically pleasing as the bout hint is useful and nice looking.
For this pull request the goal is to provide the actual functionality in code that we can feel
safe and comfortable adding to the master branch. To this end, I've added a trivial set of tests for
nara and hela in pkg/arvo/tests/run/hints.hoon - they only prove that invoking these hints will not
crash the runtime, but I'm open to ideas for how I can test these hints further.
2022-03-01 21:24:11 +00:00
DaneBettis
0917f694c9
vere: add %near and %hela tracing hints
2022-03-01 21:24:11 +00:00
Joe Bryan
9dc5d7b178
jets: plug leak in (slaw %p ...)
2022-03-01 11:14:06 -05:00
Jōshin
af1f2da161
vere: resolve /vars type
...
the full type output by vars is now:
(list [cord (list [cord (list [cord @])])])
it's a mouthful, but a consistent mouthful. the first layer of the list
is the IO driver name, nam_m. the second layer is the instance name,
either %all or some driver-relevant identifier (e.g. http instance.) the
third layer is the list of labels and values.
2022-02-21 23:07:32 -08:00
Jōshin
dfd744d08a
conn: basic http server info
...
This actually raises difficult questions about the schema for the /vars
peel. One level of nesting makes sense to aggregate per IO driver, but
multiple levels is confusing.
The current output is extremely unprincipled: you just have to know that
there are multiple http servers and handle the output accordingly.
Options would be:
1. collapse the ambiguity to the top level, i.e. 'http-0i8080',
'http-global', etc.
2. collapse the ambiguity to the inner level, i.e. '0i8080-connections'.
3. create a proper recursive data type that e.g. uses an $each.
3b. send some kind of schema.
5. recognize that we have entered a terrifying hall of mirrors and back
out the entire approach of nested metrics in favor of just a bigass
flat list of labels with values like borgmon does.
2022-02-20 00:15:37 -08:00
Jōshin
5a5518f7f0
conn: indentation
2022-02-19 00:27:59 -08:00
Jōshin
fedd2710ee
ames: comment
2022-02-19 00:02:05 -08:00
Jōshin
dc9f645e72
conn: typo
2022-02-18 23:48:07 -08:00
Jōshin
b6d101d651
conn: read http / https ports from pier
...
also read peels against the pier that this conn is associated with.
2022-02-18 23:44:53 -08:00
Jōshin
86eb32d933
vere: implement noun-style info in conn %vars
2022-02-18 23:28:12 -08:00
Jōshin
c291add2b3
vere: s/info/slog/
2022-02-18 22:50:25 -08:00
Jōshin
7f53686e39
Revert "conn: provides ames metrics"
...
This reverts commit 80d4400d53
.
2022-02-18 22:46:02 -08:00
Jōshin
a3edf17895
conn: alignment
2022-02-18 22:39:44 -08:00
Jōshin
2cbe30395e
newt: use 0x0 instead of 0x9
2022-02-18 12:36:31 -08:00
Jōshin
fde6c95b34
conn: don't send %work
2022-02-18 12:16:12 -08:00
Jōshin
c89bb66949
conn: peel is (unit), not (unit (unit))
2022-02-18 12:06:05 -08:00
Jōshin
31d195a264
conn: hopefully clarify bail termination
2022-02-18 11:55:46 -08:00
Jōshin
22b2dd4373
conn: remove args from help list
2022-02-18 11:35:52 -08:00
Jōshin
fae633a32f
vere: per-block indentation
2022-02-18 11:32:51 -08:00
Jōshin
23d94f1828
conn: fix break style
2022-02-18 11:29:56 -08:00
Jōshin
c1a739b2d3
vere: ivory.h u3 header convention
2022-02-18 11:10:59 -08:00
Jōshin
286f77e301
Revert "conn: produce command line arguments"
...
This reverts commit c2bc47a399
.
2022-02-18 11:09:38 -08:00
Jōshin
4e312379ec
conn: remove cram
2022-02-11 22:24:55 -08:00
Jōshin
c8f3dd65af
conn: remove unused inn_u
2022-02-11 00:15:43 -08:00
Jōshin
69c29e5b31
conn: u3i_chub in ames stats
2022-02-11 00:00:47 -08:00
Jōshin
171ee877e4
Merge branch 'next/vere' into jo/khan-c3
2022-02-10 23:52:17 -08:00
Jōshin
ee8a21e166
conn: more docs cleanup, describe %ovum updates
2022-02-10 23:32:21 -08:00
Jōshin
f1b5e6a0dc
conn: cleanup docs, document %peel
2022-02-10 23:21:30 -08:00
Jōshin
80d4400d53
conn: provides ames metrics
2022-02-10 23:14:19 -08:00
Jōshin
e66345e04d
Merge pull request #5510 from mrdomino/jo/secp-c3
...
vere: schnorr signature jets
2022-02-09 13:01:21 -08:00
Jōshin
ed0c66a43c
vere: comments around fs wrappers and unix.c
2022-02-09 14:56:10 -06:00
Jōshin
3124d0815a
conn: cleanup peel response
2022-02-08 15:16:44 -06:00
Jōshin
54bc16626c
Merge branch 'next/vere' into jo/unix-sane
2022-02-08 14:29:02 -06:00
Jōshin
d07c063c44
vere: remove unused declarations from vere.h
2022-02-05 22:04:11 -06:00
Jōshin
0d0ac4edbf
conn: peel: /help, /mass stub, /vars stub
...
Also make /live return u3K.pir_u->liv_o.
2022-02-05 22:03:00 -06:00
Jōshin
259c7e535c
vere: remove log lines
2022-02-05 19:57:59 -06:00
Jōshin
c2bc47a399
conn: produce command line arguments
...
Involves saving a copy of the arguments in _main_getopt.
2022-02-05 18:53:21 -06:00
Jōshin
c6a147257a
conn: extract %peel response
2022-02-05 15:13:42 -06:00
Jōshin
3e3f9c553c
conn: add port request
...
Also make peel requests respond with $unit.
2022-02-05 09:06:26 -06:00
Jōshin
f47b77faae
vere: mv ivory header out of ur
2022-02-05 09:03:50 -06:00
Philip Monk
66fd3073d7
Merge pull request #5568 from urbit/m/galaxy-dawn
...
vere: do not use eth-mainnet for galaxy booting
2022-02-03 17:28:50 -07:00
Jōshin
330c433f27
jets: remove sosi/sove testing flags
...
N.B. `tot` appears to not be used anywhere currently, so I removed it
from `sosi`.
2022-02-03 13:45:50 -06:00
Jōshin
08ca0cf0c7
jets: mark schnorr jets non-perfect
...
also marks %sosi as non-total, since it conceivably could punt.
2022-02-02 20:32:46 -06:00
Jōshin
8d3f19aba9
Merge branch 'next/vere' into jo/secp-c3
2022-02-02 17:57:51 -06:00
Jōshin
74b71f35cc
Merge branch 'next/vere' into jo/unix-sane
2022-02-02 12:27:25 -06:00
fang
5588953d84
Merge branch 'next/vere' into m/--vere-args
2022-02-02 19:26:17 +01:00
Jōshin
bd67814a95
Merge branch 'next/vere' into jo/khan-c3
2022-02-02 12:24:55 -06:00
Jōshin
f34f6a91e9
conn: comment format
2022-02-02 12:24:36 -06:00
Jōshin
997544eb11
conn: describe +fyrd interface to %khan
2022-02-02 12:24:36 -06:00
Jōshin
7fcdf6ef54
noun: go ahead and enforce that invariant ( #5579 )
...
* noun: go ahead and enforce that invariant
* mingw: sysconf compat wrapper
2022-02-02 08:06:05 -06:00
Joe Bryan
60fc5c1389
u3: refines snapshot system docs
2022-02-01 20:11:40 -05:00
Jōshin
1183634501
unix: knot mapping that is not a valid @ta
...
'~.' was a pun with the @ta encoding, which could cause people to get
confused about how the mapping actually worked.
I had previusly wanted the escape sequence to be a valid @ta, since I
had wanted to check that path components were (sane %ta) prior to doing
$knot conversion. However @joemfb mentioned that it was desirable to
have it not be a valid @ta so that if someone messed up the encoding in
the future, the paths would be detectably wrong.
This necessitates calling _unix_knot_to_string on unsanitized input,
which means we can no longer assume that it won't contain non-(sane %ta)
characters, which means we can no longer assert that '\\' is not in the
string on Linux.
Also added a seemingly forgotten null byte to _unix_knot_to_string.
2022-02-01 12:56:50 -06:00
Jōshin
7b6e89fc15
unix: comment with suggestions for future
2022-01-31 23:07:13 -06:00
Jōshin
4a74b9b13f
unix: fix regression in _unix_scan_mount_point
...
We previously checked for '#' at strlen(out_u->d_name) - 1 here. So just
go ahead and do (sane %ta) on the whole out_u->d_name.
2022-01-31 20:52:42 -06:00
Jōshin
46a1139e70
main: repath cleanup
2022-01-31 17:26:07 -06:00
Jōshin
5591752f9c
main: support files in cwd
2022-01-31 17:02:18 -06:00
Jōshin
0375646a93
unix: cane before root removal
2022-01-31 16:34:09 -06:00
Jōshin
6c5d7133f1
unix: fix compile warning
2022-01-31 14:25:22 -06:00
Jōshin
eaf47d95c5
unix: test cases
2022-01-31 14:23:39 -06:00
Jōshin
3f1c526d2e
main: repath scry path
2022-01-31 14:19:27 -06:00
Jōshin
8191955eff
unix: reorder checks
2022-01-31 14:18:22 -06:00
Jōshin
c83d9b9c1e
unix: hard-code %put base directory
2022-01-31 14:03:34 -06:00
Jōshin
2b05fa2ebe
unix: use $ for types
2022-01-31 13:53:22 -06:00
Jōshin
9172b3dfe8
unix: c3_
2022-01-31 13:52:44 -06:00
Jōshin
6b5361d7df
unix: code review feedback
2022-01-31 13:49:51 -06:00