Commit Graph

21612 Commits

Author SHA1 Message Date
fang
c0f1fe8433
king: improve code style in KingSubsite 2020-10-30 23:42:33 +01:00
fang
77fc886570
Merge branch 'release/next-vere' into pppf/eyre-slog 2020-10-30 23:30:00 +01:00
pilfer-pandex
6f0bb5990c
Merge pull request #3595 from urbit/pp/stateless
Implement stateless forwarding in the king
2020-10-30 14:48:38 -07:00
Joe Bryan
bafa1ef7f5
Merge pull request #3806 from urbit/release/next-ci
build: migrate to hercules ci, haskell.nix, and upgrade to ghc 8.8.4
2020-10-30 14:33:26 -07:00
Elliot Glaysher
e7192d9c47
Merge pull request #3823 from urbit/kh-eyre-shutdown
king: cancel http servers immediately on shutdown.
2020-10-30 10:23:25 -04:00
Brendan Hay
3e31aae7b9
build: default crossSystem to musl64 on linux if enableStatic 2020-10-30 13:07:08 +01:00
Brendan Hay
58094c265c
build: bludgeon write/EAGAIN stdout errors into submission 2020-10-30 12:00:56 +01:00
fang
3f9cd4a794
king: get rid of unnecessary helper 2020-10-29 23:22:48 +01:00
Brendan Hay
6ed18bb825
build: removing shell set options from inline buildPhase for tests 2020-10-29 17:43:23 +01:00
Brendan Hay
6599a85b99
king: ensure tests are enabled on ci and don't depend on lfs pills 2020-10-29 16:20:41 +01:00
Brendan Hay
50f66ce431
build: simplify make test and re-enable on darwin ci for testing 2020-10-29 13:17:05 +01:00
fang
5615b5dc1a
king: factor scrying logic into helper lib
Takes care of constructing the full scry path based off the given
components. Fills in timestamp with the current time. Logs errors on
result conversion failures.
2020-10-28 19:59:48 +01:00
fang
af225f673a
king: scry to check authentication of webslog reqs
Instead of giving webslogs to anyone who asks, only acknowledge requests
with valid session cookies. Send 403s to all others.
2020-10-28 19:33:21 +01:00
Elliot Glaysher
d1c5f97bd7 king: cancel http servers immediately on shutdown. 2020-10-28 14:24:52 -04:00
fang
418b9fda7e
king: add helper for escaping Text into @ta format
Behavior should match (scot %t the-text).
2020-10-28 19:13:23 +01:00
Brendan Hay
fada33dfe6
build: remove checkMaterialization flag 2020-10-28 18:19:53 +01:00
Brendan Hay
5c28d34300
build: removing extraneous '.' from object key 2020-10-28 12:55:29 +01:00
Brendan Hay
59709752eb
build: simplify pushed artefact naming and set object content-type 2020-10-28 12:13:05 +01:00
Brendan Hay
2c17f382ed
build: removing unused nix imports 2020-10-28 11:07:58 +01:00
Brendan Hay
689c0eb6a0
build: ensuring release tarball contains singular parent directory
This ensures parity with the current release tarballs.
2020-10-28 11:05:58 +01:00
Brendan Hay
155e367daa
build: correcting double hash in update-ivory-pill shebang 2020-10-28 10:04:56 +01:00
Brendan Hay
5aafa0c79f
build: abbreviate bootstrap.urbit.org/ci artefact system name 2020-10-27 16:24:27 +01:00
Elliot Glaysher
4e35a8eb8a
Merge pull request #3769 from urbit/kh-inject
king: implement -I and --inject-event-list
2020-10-27 10:44:33 -04:00
Brendan Hay
de17409fd6
king: various warning and -Werror related fixes
This also removes -Werror from racqure due to the sheer number
build failures arising from compiler warnings.
2020-10-27 14:28:08 +01:00
Brendan Hay
74db584ad7
king: simplify parser types to avoid invalid existential newtype 2020-10-27 14:28:08 +01:00
Brendan Hay
2b74a8edd6
king: disable overlapping patterns for deriveNoun/Void usage 2020-10-27 14:28:08 +01:00
Brendan Hay
d752256126
king: replace use of deprecated network/socket address lookup 2020-10-27 14:28:08 +01:00
Brendan Hay
c089f4c557
herb: removing unnecessary .gitattributes 2020-10-27 14:28:08 +01:00
Brendan Hay
a6e748627c
herb: correct python shebang
This ensures the shebang works and can be run or patched via nix.
2020-10-27 14:28:08 +01:00
Brendan Hay
8a830934b1
build: reorganising top-level .gitignore and add nix ignores 2020-10-27 14:28:07 +01:00
Brendan Hay
016b4a7244
vere: externalise version from configure script
This allows tooling such as ci expressions to easily inspect the
build's current version.
2020-10-27 14:28:05 +01:00
Brendan Hay
db3383ff67
build: update makefile and scripts to match new nix expressions 2020-10-27 13:57:05 +01:00
Brendan Hay
887a78920f
build: removing travis ci configuration 2020-10-27 13:57:00 +01:00
Brendan Hay
48aa77a2fa
build: adding nix, shell, and haskell code formatters
These need to be run through the top-level nix-shell/shell.nix
2020-10-27 13:56:24 +01:00
Brendan Hay
345bf2c39a
king: remove broken/unused regex-tdfa-text dependency
Text instances are now contained in the parent regex-tdfa package.
2020-10-27 13:56:17 +01:00
Brendan Hay
eeff3034cd
king: update stackage resolver to lts-16.15
This allows us to drop flat/urbit-hob as they're now in the package set,
web3/vinyl need to be added to account for urbit-azimuth's dependencies.
2020-10-27 13:56:04 +01:00
Brendan Hay
ce3cbf0857
build: rework all nix expressions to support hercules-ci builds
This also removes nixcrpkgs and OSX cross compilation in favour of
compiling on the target. x86_64/musl targets are still supported
on Linux.

All sources are now managed via niv (see nix/sources.json) and Haskell
package sets are provided/organised via IOHK's haskell.nix.

Some effort has been made to expose similar top-level attributes for
development, but in some cases there have been changes. Please see
the comments in the top-level default.nix and ci.nix files for usage.
2020-10-27 13:55:49 +01:00
Joe Bryan
75404376ba
Merge pull request #3764 from urbit/jb/ames-clean
vere: refactors ames i/o driver
2020-10-26 13:50:20 -07:00
Joe Bryan
9cc9a308bf vere: fix snprintf return-code check in ames 2020-10-26 13:32:56 -07:00
fang
2e7b2ceedb
Merge branch 'pp/stateless' into pppf/eyre-slog 2020-10-26 16:34:41 +01:00
Elliot Glaysher
759ac51f27 king: Don't hard error on injected event failure. 2020-10-26 10:57:07 -04:00
fang
828f88b737
Merge branch 'master' into release/next-vere 2020-10-26 14:54:06 +01:00
Joe Bryan
389ebe1f7e
Merge pull request #3794 from urbit/jb/faster-time
u3: remove timestamp printing in u3v_time()
2020-10-23 14:18:00 -07:00
Joe Bryan
b2c79860e0 u3: moves u3z of printed timestamp to u3m_boot() 2020-10-23 13:35:57 -07:00
Joe Bryan
347a1ffb66 u3: remove timestamp printing in u3v_time() 2020-10-23 11:02:07 -07:00
pilfer-pandex
e254c72788 king: address #3778 per joe 2020-10-23 00:10:33 -07:00
Matilde Park
235bfbbd2f release: urbit-os-v1.0.62 2020-10-22 22:30:34 -04:00
Matilde Park
6a97ebb54f Merge branch 'release/next-userspace' 2020-10-22 22:21:18 -04:00
Matilde Park
1930a75d73 glob: update to 0v2.1vtfh.0l23v.30s7f.n57l9.dpjvi 2020-10-22 22:19:58 -04:00
matildepark
d8c83f886f
Merge pull request #3773 from urbit/mp/landscape/dm-restoration
chat: create dm route, restore participants option
2020-10-22 22:12:17 -04:00