[mb-commits] branch, beta, updated. Merge branch 'other-17' into beta OTHER-17: Add a LATEST file whose contents ...
MusicBrainz Git Server <[email protected]>
| Newsgroups | gmane.comp.audio.musicbrainz.cvs |
|---|---|
| Message-ID | <E1Tdm5M-0006pn-8c@wiley> |
The branch, beta has been updated
via http://git.musicbrainz.org/gitweb/?p=musicbrainz-server/core.git;a=commit;h=a2a2f115a57d711a2678af4d202b49ad525e5d0a (commit)
via http://git.musicbrainz.org/gitweb/?p=musicbrainz-server/core.git;a=commit;h=1fef68d7706a50679fba548d83e27d17f3d30dcf (commit)
from http://git.musicbrainz.org/gitweb/?p=musicbrainz-server/core.git;a=commit;h=e5cc1ba0571bbd19cd9be2dbf38f8ba09fc329cb (commit)
Summary of changes:
admin/RunExport | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit a2a2f115a57d711a2678af4d202b49ad525e5d0a
Merge: e5cc1ba 1fef68d
Author: Ian McEwen <[email protected]>
Date: Wed Nov 28 11:08:08 2012 -0700
Merge branch 'other-17' into beta
commit 1fef68d7706a50679fba548d83e27d17f3d30dcf
Author: Ian McEwen <[email protected]>
Date: Fri Nov 2 12:12:22 2012 -0700
OTHER-17: Add a LATEST file whose contents are the latest update + \n
diff --git a/admin/RunExport b/admin/RunExport
index acef231..1930e8f 100755
--- a/admin/RunExport
+++ b/admin/RunExport
@@ -99,6 +99,12 @@ then
chmod "$FTP_FILE_MODE" "$FTP_DATA_DIR"/fullexport/latest-is-"$EXPORT_STAMP"
chown "$FTP_USER:$FTP_GROUP" "$FTP_DATA_DIR"/fullexport/latest-is-"$EXPORT_STAMP"
+ # Finally finally, create a LATEST file whose *contents* are this export's tag
+ rm -rf "$FTP_DATA_DIR"/fullexport/LATEST
+ echo "$EXPORT_STAMP" > "$FTP_DATA_DIR"/fullexport/LATEST
+ chmod "$FTP_FILE_MODE" "$FTP_DATA_DIR"/fullexport/LATEST
+ chown "$FTP_USER:$FTP_GROUP" "$FTP_DATA_DIR"/fullexport/LATEST
+
$mb_server/bin/delete-old-fullexports -k -r "$BACKUP_DIR"/fullexport "$FTP_DATA_DIR"/fullexport
$mb_server/bin/rsync-fullexport-files
fi
-----------------------------------------------------------------------
hooks/post-receive
--
mb_server