summaryrefslogtreecommitdiff
path: root/guix/deprecation.scm
AgeCommit message (Expand)Author
2019-06-03deprecation: Use the 'warning' procedure for diagnostics....Until now, (guix deprecation) had its own warning mechanism, which was inconsistent (it did not use colors, etc.) * guix/deprecation.scm (deprecation-warning-port): Remove (source-properties->location-string): Remove. (warn-about-deprecation): Use 'warning' instead of 'format'. (define-deprecated, define-deprecated/alias): Adjust docstring. * guix/channels.scm (build-from-source): Refer to 'guix-warning-port' instead of 'deprecation-warning-port'. Ludovic Courtès
2019-06-03services: guix-publish: Allow for multi-compression....This is a followup to b8fa86adfc01205f1d942af8cb57515eb3726c52. * guix/deprecation.scm (warn-about-deprecation): Make public. * gnu/services/base.scm (<guix-publish-configuration>)[compression]: New field. [compression-level]: Default to #f. Add '%' to getter name. (guix-publish-configuration-compression-level): Define as deprecated. (default-compression): New procedure. (guix-publish-shepherd-service)[config->compression-options]: New procedure. Use 'match-record' instead of 'match'. * doc/guix.texi (Base Services): Remove 'compression-level' and document 'compression'. Ludovic Courtès
2019-01-21deprecation: Send warnings to (current-error-port) by default....* guix/deprecation.scm (deprecation-warning-port): Default to (current-error-port). Ludovic Courtès
2019-01-21deprecation: Add 'define-deprecated/alias'....* guix/deprecation.scm (define-deprecated/alias): New macro. Ludovic Courtès
2019-01-10Add (guix deprecation)....* guix/deprecation.scm: New file. * Makefile.am (MODULES): Add it. * po/guix/POTFILES.in: Add it. Ludovic Courtès