Skip to content

Commit

Permalink
Merge everything.
Browse files Browse the repository at this point in the history
  • Loading branch information
Donald Ephraim Curtis committed Dec 11, 2011
1 parent 57609f9 commit 9178c83
Show file tree
Hide file tree
Showing 4 changed files with 103 additions and 21 deletions.
21 changes: 0 additions & 21 deletions buildsync

This file was deleted.

50 changes: 50 additions & 0 deletions 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(/<!--list-of-packages-->/)
while((getline < "../buildlist")>0)
print "* " $0
else print}' index.tmpl > index.md
cd ..
echo
}

melpa_generate_html

13 changes: 13 additions & 0 deletions 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
40 changes: 40 additions & 0 deletions 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

<!--list-of-packages-->

0 comments on commit 9178c83

Please sign in to comment.