gnu: adms: Update to 2.3.7.
[jackhill/guix/guix.git] / TODO
1 -*- mode: org; coding: utf-8; -*-
2
3 #+TITLE: What's left to do?
4 #+STARTUP: content hidestars
5
6 Copyright © 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org>
7 Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
8
9 Copying and distribution of this file, with or without modification,
10 are permitted in any medium without royalty provided the copyright
11 notice and this notice are preserved.
12
13 * MAYBE Add a substituter that uses the GNUnet DHT or [[http://libswift.org][libswift]]
14
15 Would be neat if binaries could be pushed to and pulled from the GNUnet DHT or
16 rather libswift (since DHTs aren’t suited for large payloads). Guix users
17 would sign their binaries, and define which binaries they trust.
18
19 Use UPnP and similar to traverse NAT, like ‘filegive’ does.
20
21 * user interface
22 ** add guile-ncurses interface
23
24 * extend <package>
25 ** add ‘recommends’ field
26
27 For instance, glibc, binutils, gcc, and ld-wrapper would recommend each other.
28 ‘guix package -i’ could ask interactively (?), or allow users to follow all or
29 none of the recommendations.
30
31 ** add a ‘user-environment-hook’
32
33 This should specify builder code to be run when building a user
34 environment with ‘guix-package’. For instance, Texinfo’s hook would
35 create a new ‘dir’.
36
37 ** extend ‘propagated-build-inputs’ with support for multiple outputs
38
39 #+BEGIN_SRC scheme
40 (outputs '("out" "include"))
41 (propagated-build-inputs
42 `(((("i1" ,p1 "o1")
43 ("i2" ,p2))
44 => "include")
45 ("i3" ,p3)))
46 #+END_SRC
47
48 * synchronize non-GNU package descriptions with the [[http://directory.fsf.org][FSD]]
49
50 Meta-data for GNU packages, including descriptions and synopses, can be
51 dumped from the FSD:
52 http://directory.fsf.org/wiki?title=GNU/Export&action=purge .
53 We could periodically synchronize with that.
54
55 * add a guildhall build system
56
57 The Guildhall is Guile’s packaging system. It should be easy to add a
58 ‘guildhall-build-system’ that does the right thing based on guildhall
59 recipes.
60
61 * union
62
63 Support sophisticated collision handling when building a union: honor
64 per-package priorities, etc.
65
66 * add GUIX_ALLOW_EXPENSIVE_TESTS
67
68 Tests that need to download stuff or otherwise take a long time would only be
69 run when that is defined.
70
71 * guix build utils
72 ** MAYBE Change ‘ld-wrapper’ to add RPATH for libs passed by file name
73
74 ** MAYBE Add equivalent to chrpath that uses [[https://gitorious.org/guile-dlhacks/guile-dlhacks/][guile-dlhacks]]
75
76 ** MAYBE Add a hash-rewriting thing for deep dependency replacement without rebuild
77
78 See [[https://github.com/NixOS/nixpkgs/commit/d1662d715514e6ef9d3dc29f132f1b3d8e608a18][Shea Levy's `replace-dependency' in Nixpkgs]].
79
80 * distro
81 ** port to GNU/Hurd, aka. ‘i686-gnu’
82
83 Problems include that current glibc releases do not build on GNU/Hurd.
84 In addition, there haven’t been stable releases of GNU Mach, MiG, and
85 Hurd, which would be a pre-condition.
86
87 * Installer
88 ** Fix impossibility to restart on error after cow-store has been started
89 See https://lists.gnu.org/archive/html/guix-devel/2018-12/msg00161.html.
90 - Force reboot upon installer failure
91 - Unshare the installer process
92 - Run the installer process in a separate namespace
93 ** Partitioning
94 *** Add RAID support
95 *** Add more partitioning schemes
96 The actual schemes are taken from Debian Installer but some are not
97 implemented yet: like "Separate partitions for /home /var and /tmp".
98 *** Replace wait page "Partition formating is in progress, please wait"
99 Create a new waiting page describing what's being done:
100
101 [ 20% ]
102 Running mkfs.ext4 on /dev/sda2 ...
103
104 [ 40% ]
105 Running mkfs.ext4 on /dev/sda3 ...
106 *** Add a confirmation page before formating/partitioning
107 ** Desktop environments
108 *** Allow for no desktop environments
109 Propose to choose between "headless server" and "lightweight X11" in a new
110 page.
111 *** Add services selection feature
112 Add a services page to the configuration. Ask for services to be installed
113 like SSH, bluetooth, TLP in a checkbox list?
114 ** Locale and keymap
115 *** Try to guess user locale and keymap by probing BIOS or HW (dmidecode)
116 ** Timezone
117 *** Regroup everything in one single page
118 Under the form:
119 (UTC + 1) Europe/Paris
120 (UTC + 2) Africa/Cairo
121 ...
122 ** Display issue
123 *** Investigate display issue described here:
124 https://lists.gnu.org/archive/html/guix-devel/2019-01/msg00305.html