# FIXME: it'd be better to only rebuild the packages that have been
# modified, rather than rely on md5 to try and abort the refresh
# when we don't want it!
- if [ -r "$dst" ] && [ "$(md5sum <"$f")" = "$(md5sum <"$dst")" ]; then
- rm "$f"
- else
- mv "$f" "$dst"
+ # Actually, let's never overwrite an existing version. So changes can
+ # be installed without causing a new package to be build until the
+ # version field is changed.
+ if [ -r "$dst" ] # && [ "$(md5sum <"$f")" = "$(md5sum <"$dst")" ]
+ then rm "$f"
+ else mv "$f" "$dst"
fi
done
mv build/archive/"$latest" staging/
--- /dev/null
+This directory contains most of the source code of the GNU ELPA packages.
+
+Each directory in here corresponds to a package, which can be
+either a single-file package or a multifile package.
+
+A nightly cron job refreshes the GNU ELPA archive from this repository.
+
+This cron job only creates a new package when the "version" of a package
+is modified. This means that you can safely work on the next version here
+without worrying about the unstable code making it to GNU ELPA, and simply
+update the "version" when you want to release the new code.