~ach/hermes

hermes/TODO.txt -rw-r--r-- 2.7 KiB
b2599991Andrew Chambers Add pkg_tree builtin. 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# Redo build locks, just block where it makes sense.

# Add code to cleanup gcroots directly. e.g. remove temporary roots after build and shell.

# Download cache indexes upfront, offline lookup?

# Hash cache for the fetch builtin.

When using hermes like a build tool, we shouldn't need to rehash every file when a stat and
lookup would suffice.

#  hscript path literals

Shorthand ./foo.c is far nicer than local_file("./foo.c").

# Break hermes-pkgstore dependency on interpreter.

pkgstore is totally independant of the interpreter. We should make the code
reflect this to shrink binary size.

# Make init idempotent.

# Add back Scanned References to hermes package info.

It seems useful to see it regardless. This is a maybe as it is bad for performance.

# Misc/unsorted

- Make export an unpriviliged command. Create just a GC root in a temp dir then delete it.
- Missing shebang error should be made more user friendly.
- Store path should not be allowed to contain newline, backslash or quote, perhaps whitespace too.
  This simplifies quotation of package paths in build scripts dramatically ??
- Delay backoff on build lock contention. ??
- Tests for concurrent builds with a package cache.
- Tests for concurrent builds with imports
- Cache download, we should show progress...
- progress when copying?
- fetch from http urls.
- hscript context cancellation.
- Refactor parallel build logic.
- parallel build jumbled logging.
- patch has reference to bootstrap ed.
- shell args should be more consistent with build args. --module is strange.
- add-root should take a -o --out-link flag to be consistent with build.
- rename subcommands to use dash consistently. pkgstore etc.
- add config to prefer content server.
- Fixed output packages should be fetchable from the content mirror.
- Content mirror override on command line.
- Add content mirror directly to pkgstore so it can bypass the clients internet.
- content index should walk recursively.
- Seed currently uses activate.sh instead of activate.
- Remove failed package build dirs by default.
- Remove flags from commands that don't use them.
- Rename cache-server to package-server.
- Import cache for loading from packages, don't invoke the pkg-store more than needed. We can just freeze the value before we cache.
- build_users in config should be something like "sandbox_privsep_accounts"
- Interactive debug should include filesystem forwarding somehow.
  Possibly via a builtin command that can be run. @{builtins}/debug
- Interactive debug should perhaps be automatically entered on failure?.
- Make C++ runtime it's own package somehow?
- Error messages for bad loads.

Maybe:

- gzip store info?



Issues from sr.ht...

BUG: 

hash='sha256:...' causes crash.
hermes hangs if hermes is not in path on remote build.

BUG: hermes