[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ELPA-diffs] /srv/bzr/emacs/elpa r322: * update-archive.sh: Allow archiv
From: |
Stefan Monnier |
Subject: |
[ELPA-diffs] /srv/bzr/emacs/elpa r322: * update-archive.sh: Allow archive-contents to be updated! |
Date: |
Fri, 07 Dec 2012 11:37:50 -0500 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 322
committer: Stefan Monnier <address@hidden>
branch nick: elpa
timestamp: Fri 2012-12-07 11:37:50 -0500
message:
* update-archive.sh: Allow archive-contents to be updated!
modified:
admin/update-archive.sh
=== modified file 'admin/update-archive.sh'
--- a/admin/update-archive.sh 2012-12-05 15:31:58 +0000
+++ b/admin/update-archive.sh 2012-12-07 16:37:50 +0000
@@ -81,13 +81,12 @@
# Move new files into place but don't throw out old package versions.
for f in build/archive/packages/*; do
dst="staging/packages/$(basename "$f")"
- # 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!
# 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")" ]
+ # be installed without causing a new package to be built until the
+ # version field is changed. Some files need to be excluded from the
+ # "immutable" policy, most importantly "archive-contents".
+ if [ -r "$dst" ] &&
+ [ ! "archive-contents" = "$(basename "$dst")" ]
then rm "$f"
else mv "$f" "$dst"
fi
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [ELPA-diffs] /srv/bzr/emacs/elpa r322: * update-archive.sh: Allow archive-contents to be updated!,
Stefan Monnier <=