Skip to content

Latest commit

 

History

History
125 lines (96 loc) · 5.36 KB

README-en.org

File metadata and controls

125 lines (96 loc) · 5.36 KB

ELPA Mirror - Emacs China

https://elpa.emacs-china.org/downloads-badge.svg https://elpa.emacs-china.org/last-update.svg

ELPAURL
GNU ELPAhttp://elpa.emacs-china.org/gnu/
MELPAhttp://elpa.emacs-china.org/melpa/
MELPA Stablehttp://elpa.emacs-china.org/melpa-stable/
Marmaladehttp://elpa.emacs-china.org/marmalade/
Orghttp://elpa.emacs-china.org/org/
Sunrise Commander ELPAhttp://elpa.emacs-china.org/sunrise-commander/
user42 ELPAhttp://elpa.emacs-china.org/user42/

To use HTTPS, please replace http with https.

Usage

Adjust package-archives according to your own need, for example, to use GNU ELPA and MELPA:

(setq package-archives '(("gnu"   . "http://elpa.emacs-china.org/gnu/")
                         ("melpa" . "http://elpa.emacs-china.org/melpa/")))

Spacemacs

Put this to dotspacemacs/user-init() in the file .spacemacs:

(setq configuration-layer--elpa-archives
    '(("melpa-cn" . "http://elpa.emacs-china.org/melpa/")
      ("org-cn"   . "http://elpa.emacs-china.org/org/")
      ("gnu-cn"   . "http://elpa.emacs-china.org/gnu/")))

develop branch

Replace configuration-layer--elpa-archives with configuration-layer-elpa-archives, that is change -- to -.

(setq configuration-layer-elpa-archives
    '(("melpa-cn" . "http://elpa.emacs-china.org/melpa/")
      ("org-cn"   . "http://elpa.emacs-china.org/org/")
      ("gnu-cn"   . "http://elpa.emacs-china.org/gnu/")))

Add the following to your Cask:

(source "gnu"   "http://elpa.emacs-china.org/gnu/")
(source "melpa" "http://elpa.emacs-china.org/melpa/")

How does the mirror update?

We use rsync to update every 4 hours from upstreams for those who provide the service, such as GNU ELPA and MELPA; for the rest, we download all packages via HTTP to update every 8 hours.

Note that I understand that it’s not polite to download everything periodically, if you worry about this, please contact us via GitHub issue.

Mirroring the Emacs China ELPA Mirror via Rsync

rsync://elpa.emacs-china.org/elpa/

Our downstream, Tsinghua Mirrors’ ELPA Mirror, also provides the Rsync service:

rsync://mirrors.tuna.tsinghua.edu.cn/elpa/

You can visit ELPA Packages to find out all packages on the mirror.

News

  • 2017/01/16 Upgrade VPS bandwidth from 1 Mbps to 2 Mbps
  • 2016/12/02 Use new domain elpa.emacs-china.org. The original elpa.zilongshanren.com will keep working.
  • 2016/11/25 Support Sunrise Commander ELPA and user42 ELPA

Report Issue

https://github.com/emacs-china/elpa/issues