guix/guix/scripts
Maxim Cournoyer 83f8b6d32c
import: go: Append version to symbol name in the pinned version mode.
This allows importing packages with complicated version specific dependency
chains without the package symbol names colliding.

* doc/guix.texi (Invoking guix import): Document the --pin-versions option.
Mention that a specific version can be imported.  Remove the experimental
warning.
* guix/import/go.scm (go-module->guix-package-name)[version]: Add optional
argument.  Rewrite the character translation in terms of string-map.
(go-module->guix-package): Conditionally use dependencies whose symbol include
their version, based no the value of the PIN-VERSIONS? argument.
* guix/import/utils.scm (package->definition): Add a new case where the full
version string is appended to the package symbol.
* guix/scripts/import.scm (guix-import): Correctly print forms starting
with '(define-public [...]'.
* guix/scripts/import/go.scm (guix-import-go): Conditionally include the
version in the package symbols defined.
2021-04-09 23:02:37 -04:00
..
container
git
import import: go: Append version to symbol name in the pinned version mode. 2021-04-09 23:02:37 -04:00
system
archive.scm scripts: Scripts that defaulted to -v2 now default to -v3. 2021-03-31 16:08:05 +02:00
authenticate.scm
build.scm scripts: Scripts that defaulted to -v2 now default to -v3. 2021-03-31 16:08:05 +02:00
challenge.scm guix: Split (guix substitutes) from (guix scripts substitute). 2021-03-05 21:06:03 +00:00
container.scm
copy.scm scripts: Scripts that defaulted to -v2 now default to -v3. 2021-03-31 16:08:05 +02:00
deploy.scm
describe.scm scripts: describe: Replace 'args-fold*' by 'parse-command-line'. 2021-04-01 14:58:54 +02:00
discover.scm scripts: discover: Replace 'args-fold*' by 'parse-command-line'. 2021-04-01 14:58:54 +02:00
download.scm scripts: download: Replace 'args-fold*' by 'parse-command-line'. 2021-04-01 14:58:54 +02:00
edit.scm scripts: edit: Replace 'args-fold*' by 'parse-command-line'. 2021-04-01 14:58:54 +02:00
environment.scm environment: Allow compilation with Guile 2.2. 2021-03-01 17:45:50 +01:00
gc.scm
git.scm
graph.scm
hash.scm
import.scm import: go: Append version to symbol name in the pinned version mode. 2021-04-09 23:02:37 -04:00
install.scm
lint.scm
offload.scm
pack.scm profiles: 'package->manifest-entry' preserves transformations by default. 2021-03-05 12:49:27 +01:00
package.scm guix package: Autoload Guile-JSON and (guix describe). 2021-03-19 13:23:27 +01:00
perform-download.scm
processes.scm
publish.scm scripts: publish: Replace 'args-fold*' by 'parse-command-line'. 2021-04-01 14:58:54 +02:00
pull.scm pull: Expand help text for --{url,commit,branch}. 2021-03-05 19:07:31 +01:00
refresh.scm
remove.scm
repl.scm scripts: repl: Replace 'args-fold*' by 'parse-command-line'. 2021-04-01 14:58:54 +02:00
search.scm scripts: search: Replace 'args-fold*' by 'parse-command-line'. 2021-04-01 14:58:55 +02:00
show.scm scripts: show: Replace 'args-fold*' by 'parse-command-line'. 2021-04-01 14:58:55 +02:00
size.scm
substitute.scm daemon: 'guix substitute' replies on FD 4. 2021-04-09 17:46:38 +02:00
system.scm scripts: system: Activate system when switching generations. 2021-03-09 06:56:17 +01:00
time-machine.scm time-machine: Fail when unrecognized option. 2021-03-11 23:19:53 +01:00
upgrade.scm
weather.scm weather: Only show request statistics when requests were made. 2021-03-17 23:12:31 +00:00