diff --git a/buildsync b/buildsync deleted file mode 100755 index 8ac5ff6a..00000000 --- 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 00000000..afa5f20f --- /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 00000000..a69cae66 --- /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 00000000..8e7b7460 --- /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 + + +