summaryrefslogtreecommitdiff
path: root/guix
Commit message (Collapse)AuthorAgeFilesLines
* package: Adjust profile generation creation to current API.David Thompson2015-06-151-10/+15
| | | | | | | | * guix-web/package.scm (install-new-profile-generation): New procedure. (package-install): Use it. Call 'set-guile-for-build' before 'profile-derivation'. Written-By: Ludovic Courtès <ludo@gnu.org>
* package: Use the right state directory rather than a hardcoded one.David Thompson2015-06-151-2/+9
| | | | | | | * guix/web/package.scm (%profile): Use %STATE-DIRECTORY, as well as the 'USER' and 'LOGNAME' environment variables, like 'guix package' does. Written-By: Ludovic Courtès <ludo@gnu.org>
* I'm dumb.David Thompson2015-02-091-1/+1
|
* js: Overhaul UI with FRP!David Thompson2015-02-091-5/+4
| | | | | | | | | | | | | | | | | | | | * css/guix.css: New loading spinner. * js/lib/kefir.js: New file. * js/model/packages.js (guix.packages.Packages): Cache result. (guix.packages.Sorter, guix.packages.Pager): Delete. (guix.packages.installPackage): New function. * js/utils.js (K): New variable. (guix.withEmit, guix.withEmitAttr, guix.makeModule): New functions. * js/view/ui.js (guix.ui.paginate, guix.ui.spinUntil): New functions. (guix.ui.spinner): New variable. * js/controller/generations.js: Rewrite. * js/controller/packageInfo.js: Rewrite * js/controller/packages.js: Rewrite. * js/view/packages.js: Rewrite. * js/view/generations.js: Delete. * js/view/packageInfo.js: Delete. * js/routes.js: Use new modules. * guix/web/view/html.scm (javascripts): Update list.
* Move all modules into the 'guix web' namespace.David Thompson2015-01-3110-2/+920
| | | | | | | | | | | | | | | | | | | | | | | * guix-web/config.scm: Delete. * guix-web/controller.scm: Delete. * guix-web/package.scm: Delete. * guix-web/render.scm: Delete. * guix-web/server.scm: Delete. * guix-web/sxml.scm: Delete. * guix-web/util.scm: Delete. * guix-web/view/html.scm: Delete. * guix-web/view/json.scm: Delete. * guix/web/config.scm: New file. * guix/web/controller.scm: New file. * guix/web/package.scm: New file. * guix/web/render.scm: New file. * guix/web/server.scm: New file. * guix/web/sxml.scm: New file. * guix/web/util.scm: New file. * guix/web/view/html.scm: New file. * guix/web/view/json.scm: New file. * guix/scripts/web.scm: Tweak imports. * Makefile.am (SOURCES): Add new files and remove deleted ones.
* Make guix-web a subcommand of guix.David Thompson2015-01-311-0/+26
* scripts/guix-web: Delete. * guix/scripts/web.scm: New file. * Makefile.am (SOURCES): Add it. (dev-server): Delete. * README.md (Use): Tweak usage instructions.