Commit graph

89 commits

Author SHA1 Message Date
Robert O'Connor 3f7dab0eeb Change elpa to use http.
GNU is having issues with HTTPS right now.

Fixes #2596
2015-08-09 21:52:47 -04:00
syl20bnr b7205ebd49 core: fix load file error with dotspacemacs-additional-packages 2015-08-09 14:47:19 -04:00
syl20bnr 88143a33fa core: correctly handle packages owned by the dotfile
i.e. packages listed it dotspacemacs-additional-packages
2015-08-09 11:38:15 -04:00
syl20bnr 9ac2d54423 core: correctly make excluded packages 2015-08-09 11:34:35 -04:00
syl20bnr 51807654a1 core: package-list-v2 fix packages update
Ready to be merged in develop
2015-08-09 00:59:13 -04:00
syl20bnr 64be291221 core: rename some function arguments to more explicit pkg-name 2015-08-09 00:59:13 -04:00
syl20bnr 88a6ddbe37 core: package-list-v2 fix orphan deletion 2015-08-09 00:59:12 -04:00
syl20bnr f0985162c6 core: package-list-v2 fix helm-spacemacs 2015-08-09 00:59:12 -04:00
syl20bnr 00fc8f9502 core: package-list-v2 fix install of packages 2015-08-09 00:59:11 -04:00
syl20bnr b887a21bb6 core: package-list-v2 working loading, still error at install time 2015-08-09 00:59:11 -04:00
syl20bnr aa2669ee9c core: package-list-v2 install and orphan detection
Still need to clean the orphan detection though

Packages are not configured for now
2015-08-09 00:58:48 -04:00
syl20bnr e4748ea692 core: package-list-v2 sort package list 2015-08-09 00:58:33 -04:00
syl20bnr e145f73b8b core: package-list-v2 fix layer variables 2015-08-09 00:58:02 -04:00
syl20bnr f484c2594a core: package-list-v2 new class cfgl-package 2015-08-09 00:55:46 -04:00
syl20bnr a0cbcd4a5d core: fix error when a layer is not found 2015-07-26 20:41:06 -04:00
syl20bnr faa18f49df core: start to use eieio
Replace the alist of layer by a list of layer objects.
2015-07-26 00:41:41 -04:00
syl20bnr 844f2026ac core: rename declare-layers and declare-layer funcs
renamed to declare-used-layers and declare-used-layer respectively
2015-07-25 22:59:54 -04:00
syl20bnr 55f13db2b7 core: fix error when dotspacemacs-directory is nil 2015-07-23 22:59:45 -04:00
justbur 252f26d555 Make default private layer directory explicit 2015-07-23 22:28:26 -04:00
justbur e1eed07c30 Add option for .spacemacs.d/init.el .spacemacs file
Setting SPACEMACSDIR overrides location of .spacemacs.d

Add dotspacemacs-directory variable

Add dotspacemacs-directory to layer search path
2015-07-23 22:25:39 -04:00
syl20bnr 5e1c5319e9 core: put MELPA at the top of the list of archives 2015-07-02 00:38:47 -04:00
Travis B. Hartwell e236d5a280 core: add optional argument to configuration-layer/update-packages
So if called using the universal argument or with a parameter yes is
assumed to the question to update packages.  Useful for calling Emacs
in batch mode to update Spacemacs.
2015-07-01 01:45:37 -04:00
zimbatm b5a732220a Use SSL to contact elpa repositories when possible
* ELPA: Certificate for different domain. HTTPS redirects to HTTP.
* gnu: yes
* melpa: N/A
* org: N/A
* marmalade: Certificate expired. HTTP redirects to HTTPS.
2015-06-22 23:09:18 -04:00
syl20bnr 86c94a2c7f core: auto-discover categories
Categories are directories whose names start with `!`
2015-06-05 22:47:23 -04:00
Eivind Fonn a5a294cb33 Locate layers in arbitrary subdirectories
Conflicts:
	core/core-configuration-layer.el
2015-06-05 21:36:43 -04:00
Keshav Kini 696f2d461a Use weirder-looking templating variables
It's important to make templating variables something unique-looking so
that you don't accidentally write template variables where you don't
mean to.  For example, in extensions.template, "package names go here"
was being replaced with "package <name of package>s go here", etc.
Also Search case-insensitively for good measure
2015-06-02 22:50:51 -04:00
syl20bnr 0846591934 Catch layer variable errors at startup 2015-06-01 00:29:38 -04:00
syl20bnr 4489de827b Now :variables values must be quoted like in setq sexps
Fixes #1596
2015-05-31 20:55:46 -04:00
justbur 33e439e9cc Add option to select other layer directories in create-layer 2015-05-27 23:56:11 -04:00
Tristan Hume eecb250a55 Prefix categories with ! 2015-05-25 00:50:38 -04:00
syl20bnr 0a71214d68 Use archive instead of package-alist to detect orphans
Fixes #1538
2015-05-20 02:05:58 -04:00
et2010 ecc555e917 Add org elpa repository
so that org-plus-contrib package is included in package list.
2015-05-18 02:01:18 -04:00
syl20bnr 744b9ef656 core: better warning message with duplicated layers 2015-05-10 19:01:31 -04:00
syl20bnr 56a0a94377 Warn about duplicated layers 2015-05-09 21:59:03 -04:00
syl20bnr 32529256e5 Refactor discovery of layers
More robust exclusion of category directories
2015-04-25 01:26:22 -04:00
syl20bnr c82857d767 Move some layers to vim category 2015-04-25 00:07:58 -04:00
syl20bnr 670415a145 Move perspective in window-management category 2015-04-25 00:00:12 -04:00
syl20bnr 5930597e50 New variable: dotspacemacs-additional-packages
Adding packages to this list will install them without
needing them to be wrapped in a layer.
Ideal for niche languages of any package that don't need
any configuration.
2015-04-21 00:33:23 -04:00
syl20bnr 1dd129ef59 Move gnus layer to email category
defvar --> setq for package lists
2015-04-20 23:42:53 -04:00
syl20bnr fdd4e944ef Reload dotfile and layer anywhere with SPC f e R
Replace `SPC m c c` and `C-c C-c` in the dotfile

Resolve #1210
2015-04-18 23:40:24 -04:00
syl20bnr 57f802619b Don't consider used themes as orphans if they don't belong to a layer
Now it is not required to use the themes-megapack layer or define
a private layer to use a theme that is not in the spacemacs layer.
2015-04-14 15:50:29 -04:00
syl20bnr b8e617c886 New function spacemacs/warning 2015-04-12 12:25:53 -04:00
syl20bnr dac29ce71c Namespace spacemacs buffer functions with spacemacs-buffer prefix 2015-04-12 00:24:03 -04:00
syl20bnr cce8d5382d Contrib category "config"
Move puppet, ansible and dockerfile layer there
2015-04-10 22:58:14 -04:00
syl20bnr 3107d5d9f8 Fix two important bugs in Update/Rollback
- correctly detect package dependencies to update
- rollback is now an idempotent action
2015-04-07 23:51:08 -04:00
syl20bnr d96da88d8a Fix helm-spacemacs for unused layers 2015-04-04 01:39:27 -04:00
syl20bnr 57fcb93799 Rename *-declarep functions to *-usedp functions
Makes more sense from a user view point.
2015-04-03 19:13:52 -04:00
syl20bnr 69a45ce353 Don't load extensions.el files twice 2015-04-03 18:09:40 -04:00
syl20bnr 318bd23dc4 Add pre and post init functions support to configuration-layers
Now in addition to the <layer>/init-<pkg> function there are
- <layer>/pre-init-<pkg> (executed before <layer>/init-<pkg>)
- <layer>/post-init-<pkg> (executed after <layer>/init-<pkg>)

The init function is mandatory, if it is not present then the
package is ignored and not installed.

This mechanism allows soft (implicit) cross layers dependencies
between packages (see company for more info).

It is now possible to remove flycheck from spacemacs layer and
move it to its own syntax-checking layer.
2015-04-03 17:12:56 -04:00
syl20bnr 2905190dc8 Fix double loading of packages.el files 2015-04-02 23:13:21 -04:00