From 9178c8326b70d4c5de5d9e84b0daad0fcfa27c05 Mon Sep 17 00:00:00 2001 From: Donald Ephraim Curtis Date: Sat, 10 Dec 2011 18:53:39 -0600 Subject: [PATCH] Merge everything. --- buildsync | 21 ------------------- melpa | 50 ++++++++++++++++++++++++++++++++++++++++++++++ pkglist | 13 ++++++++++++ webpage/index.tmpl | 40 +++++++++++++++++++++++++++++++++++++ 4 files changed, 103 insertions(+), 21 deletions(-) delete mode 100755 buildsync create mode 100755 melpa create mode 100644 pkglist create mode 100644 webpage/index.tmpl diff --git a/buildsync b/buildsync deleted file mode 100755 index 8ac5ff6af32..00000000000 --- a/buildsync +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash - -echo "Updating epkgs..." -cd epkgs -git pull -cd .. - - -echo -echo "*** Clearing the archives folder..." -rm archives/* - - -echo -echo "*** Building all packages..." -./buildarchive magit yasnippet markdown-mode markdown-mode+ deft gist hl-sentence ido-ubiquitous haskell-mode color-theme-solarized full-ack evil undo-tree - -echo -echo "*** Pushing changes to the server..." -./sync - diff --git a/melpa b/melpa new file mode 100755 index 00000000000..afa5f20fcec --- /dev/null +++ b/melpa @@ -0,0 +1,50 @@ +#!/bin/bash + +function melpa_update_epkgs { + echo "Updating epkgs..." + cd epkgs + git pull + cd .. + echo +} + +function melpa_clear_archives { + echo "*** Clearing the archives folder..." + rm archives/* + echo +} + + +function melpa_build_pkglist { + echo "*** Building all packages..." + for pkg in `echo pkglist`; do + ./buildarchive + done + echo +} + +function melpa_build_archive { + echo "Building package: $pkg" + emacs --batch -l package-build.el -u dcurtis --eval "(package-build-archive \"$1\")" + echo +} + +function melpa_sync { + echo "*** Pushing changes to the server..." + rsync -avz --delete archives/ milkbox.net:webapps/melpa/packages + echo +} + +function melpa_generate_html { + echo "*** Building webpage..." + cd webpage + awk '{ if(//) +while((getline < "../buildlist")>0) +print "* " $0 +else print}' index.tmpl > index.md + cd .. + echo +} + +melpa_generate_html + diff --git a/pkglist b/pkglist new file mode 100644 index 00000000000..a69cae66bd1 --- /dev/null +++ b/pkglist @@ -0,0 +1,13 @@ +magit +yasnippet +markdown-mode +markdown-mode+ +deft +gist +hl-sentence +ido-ubiquitous +haskell-mode +color-theme-solarized +full-ack +evil +undo-tree \ No newline at end of file diff --git a/webpage/index.tmpl b/webpage/index.tmpl new file mode 100644 index 00000000000..8e7b7460b86 --- /dev/null +++ b/webpage/index.tmpl @@ -0,0 +1,40 @@ +% milkypostman's ELPA for HEAD + +# Melpa + +Melpa is a repository for development versions of Emacs packages (hot +from the repo). + +## Installing + +To add the repository put this before the call to `package-initialize` +in your `init.el` file. + + (add-to-list 'package-archives + '("melpa" . "http://melpa.milkbox.net/packages/") t) + + +## Known Issues + +Due to the way the HTTP routing works on my provider, the HTTP/1.1 +connection will time out for long package installs -- where the +package is large and takes a while to compile -- like *magit* or *evil*. + + (setq url-http-attempt-keepalives nil) + +This makes things a tad more slow but means that the install goes OK. + + +## Development + +[https://github.com/milkypostman/melpa](https://github.com/milkypostman/melpa) + +Contributions are welcome. Currently, the builder only supports +packages using git, subversion, mercurial, and darcs. This covers +most of the packages that I am interested in. + + +## List of Packages + + +