OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Thomas Lotterer Root: /v/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-registry Date: 24-Aug-2007 14:02:45 Branch: HEAD Handle: 2007082413024500 Modified files: openpkg-registry register.sh Log: remove legacy code which had the side effect of the REGISTRY_UUID file being touched hourly; update documentation Summary: Revision Changes Path 1.65 +1 -20 openpkg-registry/register.sh ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-registry/register.sh ============================================================================ $ cvs diff -u -r1.64 -r1.65 register.sh --- openpkg-registry/register.sh 21 Mar 2007 10:02:32 -0000 1.64 +++ openpkg-registry/register.sh 24 Aug 2007 12:02:45 -0000 1.65 @@ -72,14 +72,6 @@ { [ ".$REGISTRY_CONF" = . ] && return if [ -r "$REGISTRY_CONF" ]; then - - # upgrade safety for changed variable name - # please remove this code after 2007-06 snapshot - "$PREFIX/lib/openpkg/shtool" subst \ - -e 's;^\( *REGISTRY_UUID *= *"[^/].*\)$;#\1;' \ - "$REGISTRY_CONF" \ - >/dev/null 2>&1 || true - sanitycheck "$REGISTRY_CONF" && . "$REGISTRY_CONF" fi } @@ -88,14 +80,6 @@ { [ ".$REGISTRY_UUID" = . ] && return if [ -r "$REGISTRY_UUID" ]; then - - # upgrade safety for changed variable name - # please remove this code after 2007-06 snapshot - "$PREFIX/lib/openpkg/shtool" subst \ - -e 's;^ *REGISTRY_UUID *=;REGISTRY_DBID=;' \ - "$REGISTRY_UUID" \ - >/dev/null 2>&1 || true - sanitycheck "$REGISTRY_UUID" && . "$REGISTRY_UUID" fi } @@ -729,13 +713,10 @@ used by administrators to register an instance with the OpenPKG Registry for later association. -Automatic association is intentionally not possible and login to the web form -on http://registry.openpkg.org/ is required. - After association, B<openpkg register> can be used for repetitive reregistrations which update the heartbeat of the instance on the Registry server, avoiding premature depature from the database. It is assumed that -every instance will be reregistered every quarter of the year. Dormant +every instance will be reregistered daily. Dormant instances might be discarded from the Registry, revoking their access to additional resources. @@ . ______________________________________________________________________ OpenPKG http://openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org