| 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 | |
| 8 | Copying and distribution of this file, with or without modification, |
| 9 | are permitted in any medium without royalty provided the copyright |
| 10 | notice and this notice are preserved. |
| 11 | |
| 12 | * Add `guix publish' to publish the store using Guile's web server |
| 13 | |
| 14 | Generate narinfos and nars on the fly, upon HTTP GET requests. |
| 15 | Ideally, extend .nix-cache-info to include the server's public key, and also |
| 16 | reply to requests for .narinfo.sig. |
| 17 | Optionally, use Guile-Avahi to publish the service. |
| 18 | |
| 19 | * MAYBE Add a substituter that uses the GNUnet DHT or [[http://libswift.org][libswift]] |
| 20 | |
| 21 | Would be neat if binaries could be pushed to and pulled from the GNUnet DHT or |
| 22 | rather libswift (since DHTs aren’t suited for large payloads). Guix users |
| 23 | would sign their binaries, and define which binaries they trust. |
| 24 | |
| 25 | Use UPnP and similar to traverse NAT, like ‘filegive’ does. |
| 26 | |
| 27 | * user interface |
| 28 | ** add guile-ncurses interface |
| 29 | |
| 30 | * extend <package> |
| 31 | ** add ‘recommends’ field |
| 32 | |
| 33 | For instance, glibc, binutils, gcc, and ld-wrapper would recommend each other. |
| 34 | ‘guix package -i’ could ask interactively (?), or allow users to follow all or |
| 35 | none of the recommendations. |
| 36 | |
| 37 | ** add a ‘user-environment-hook’ |
| 38 | |
| 39 | This should specify builder code to be run when building a user |
| 40 | environment with ‘guix-package’. For instance, Texinfo’s hook would |
| 41 | create a new ‘dir’. |
| 42 | |
| 43 | ** extend ‘propagated-build-inputs’ with support for multiple outputs |
| 44 | |
| 45 | #+BEGIN_SRC scheme |
| 46 | (outputs '("out" "include")) |
| 47 | (propagated-build-inputs |
| 48 | `(((("i1" ,p1 "o1") |
| 49 | ("i2" ,p2)) |
| 50 | => "include") |
| 51 | ("i3" ,p3))) |
| 52 | #+END_SRC |
| 53 | |
| 54 | * synchronize non-GNU package descriptions with the [[http://directory.fsf.org][FSD]] |
| 55 | |
| 56 | Meta-data for GNU packages, including descriptions and synopses, can be |
| 57 | dumped from the FSD: |
| 58 | http://directory.fsf.org/wiki?title=GNU/Export&action=purge . |
| 59 | We could periodically synchronize with that. |
| 60 | |
| 61 | * add a guildhall build system |
| 62 | |
| 63 | The Guildhall is Guile’s packaging system. It should be easy to add a |
| 64 | ‘guildhall-build-system’ that does the right thing based on guildhall |
| 65 | recipes. |
| 66 | |
| 67 | * union |
| 68 | |
| 69 | Support sophisticated collision handling when building a union: honor |
| 70 | per-package priorities, etc. |
| 71 | |
| 72 | * add GUIX_ALLOW_EXPENSIVE_TESTS |
| 73 | |
| 74 | Tests that need to download stuff or otherwise take a long time would only be |
| 75 | run when that is defined. |
| 76 | |
| 77 | * add "guix challenge" |
| 78 | |
| 79 | Would download a substitute, and compare its contents against a (hopefully |
| 80 | locally-built) copy. |
| 81 | |
| 82 | * guix build utils |
| 83 | ** MAYBE Change ‘ld-wrapper’ to add RPATH for libs passed by file name |
| 84 | |
| 85 | ** MAYBE Add equivalent to chrpath that uses [[https://gitorious.org/guile-dlhacks/guile-dlhacks/][guile-dlhacks]] |
| 86 | |
| 87 | ** MAYBE Add a hash-rewriting thing for deep dependency replacement without rebuild |
| 88 | |
| 89 | See [[https://github.com/NixOS/nixpkgs/commit/d1662d715514e6ef9d3dc29f132f1b3d8e608a18][Shea Levy's `replace-dependency' in Nixpkgs]]. |
| 90 | |
| 91 | * distro |
| 92 | ** port to GNU/Hurd, aka. ‘i686-gnu’ |
| 93 | |
| 94 | Problems include that current glibc releases do not build on GNU/Hurd. |
| 95 | In addition, there haven’t been stable releases of GNU Mach, MiG, and |
| 96 | Hurd, which would be a pre-condition. |
| 97 | |