From d60dedc5371cb54e7191b0d3192caa7d07bb009f Mon Sep 17 00:00:00 2001 From: Jauhien Piatlicki Date: Tue, 20 Oct 2015 21:26:48 +0200 Subject: [docs, config] temporary fix for issue #6 --- README.md | 8 ++++++++ docs/gs-elpa.8 | 10 ++++++++++ docs/gs-elpa.8.rst | 7 +++++++ gs-elpa.json | 2 +- 4 files changed, 26 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 51d20b7..e50aab2 100644 --- a/README.md +++ b/README.md @@ -87,3 +87,11 @@ See man page of **gs-elpa** for further information. the generation. To enable their generation you need to edit `/etc/g-sorcery/gs-elpa.json` file: remove packages you need from the `exclude` list in the `common_config` inside this config file. + +* **Excluding packages from dependencies**: + If you ever find bugs like [this one](https://github.com/jauhien/gs-elpa/issues/6), + you can exclude packages from dependencies adding their name to the "external" object + in the "common-config" section of `/etc/g-sorcery/gs-elpa.json` config file. + For the example issue it would be (together with already added packages): + + "external": {"emacs": "virtual/emacs", "cl-lib": "virtual/emacs", "eieio": "virtual/emacs"} diff --git a/docs/gs-elpa.8 b/docs/gs-elpa.8 index 234ce71..d1201e9 100644 --- a/docs/gs-elpa.8 +++ b/docs/gs-elpa.8 @@ -159,6 +159,16 @@ Some packages in \fBmarmalade\fP , \fBmelpa\fP, \fBmelpa\-stable\fP depend on pa commands will fail on them as dependencies between overlays are not supported currently. So the recommended way of using gs\-elpa is using it with layman. Even doing so you should always add gnu\-elpa repository: \fBlayman \-a gnu\-elpa\fP\&. +.sp +If you ever find bugs like \fI\%https://github.com/jauhien/gs\-elpa/issues/6\fP, +you can exclude packages from dependencies adding their name to the "external" object +in the "common\-config" section of \fI/etc/g\-sorcery/gs\-elpa.json\fP config file. +For the example issue it would be (together with already added packages): +.INDENT 0.0 +.INDENT 3.5 +"external": {"emacs": "virtual/emacs", "cl\-lib": "virtual/emacs", "eieio": "virtual/emacs"} +.UNINDENT +.UNINDENT .SH SEE ALSO .sp \fBgs\-pypi\fP(8), \fBg\-sorcery.cfg\fP(8), \fBportage\fP(5), \fBemerge\fP(1), \fBlayman\fP(8) diff --git a/docs/gs-elpa.8.rst b/docs/gs-elpa.8.rst index 457e585..0e8b847 100644 --- a/docs/gs-elpa.8.rst +++ b/docs/gs-elpa.8.rst @@ -145,6 +145,13 @@ commands will fail on them as dependencies between overlays are not supported cu recommended way of using gs-elpa is using it with layman. Even doing so you should always add gnu-elpa repository: **layman -a gnu-elpa**. +If you ever find bugs like https://github.com/jauhien/gs-elpa/issues/6, +you can exclude packages from dependencies adding their name to the "external" object +in the "common-config" section of `/etc/g-sorcery/gs-elpa.json` config file. +For the example issue it would be (together with already added packages): + + "external": {"emacs": "virtual/emacs", "cl-lib": "virtual/emacs", "eieio": "virtual/emacs"} + SEE ALSO ======== diff --git a/gs-elpa.json b/gs-elpa.json index b2037b0..9d95f6f 100644 --- a/gs-elpa.json +++ b/gs-elpa.json @@ -53,6 +53,6 @@ "vhdl-mode", "view-process", "vm", "volume", "w3mnav", "wanderlust", "whine", "wikipedia-mode", "xclip", "xrdb-mode", "xslide", "yaml-mode", "yasnippet", "yatex", "yc", "zenburn", "yyzenirc" ], - "external": {"emacs": "virtual/emacs", "cl-lib": "virtual/emacs"} + "external": {"emacs": "virtual/emacs", "cl-lib": "virtual/emacs", "eieio": "virtual/emacs"} } } -- cgit v1.2.3-65-gdbad