>>> OpenPKG<[EMAIL PROTECTED]> 2005-11-28 23:56:24 >>>
>
>    OpenPKG Registry finally launched!
> 
Note the information below is valid for the openpkg-registry-0.1.x
and 0.2.x versions and is subject to change at any time without
notice.

Users with (semi)automatic deployment procedures might want to
automate the registration process. This is possible by preloading
certain information into the preparation step, thus avoiding the
interactive mode.

However, it is not possible to automate the association process.
This is intentional by design as it enforces users to visit the
website from time to time, allowing the Project to stay in touch
with them.

If you accept automatic posting of the prepared information, do:

 /bin/openpkg rpm --rebuild openpkg-registry-...
 /bin/openpkg rpm -Uvh openpkg-registry-...
 (
     echo "REGISTRY_USER=\"[EMAIL PROTECTED]""
     echo "REGISTRY_UUID=\"/etc/openpkg/uuid\""
     echo "REGISTRY_PREP=\"/etc/openpkg/register.prep\""
     echo "REGISTRY_TRAN=\"/etc/openpkg/register.tran\""
     echo "REGISTRY_UTIL=\"/etc/openpkg/register.util\""
     echo "REGISTRY_MODE=\"post\""
     echo "REGISTRY_ARGS=\"http://registry.openpkg.org/register\"";
 )
 >/etc/openpkg/register.conf
 /bin/openpkg register

If you want to review or modify the prepared information before
posting or if automatic posting does not work in your environment,
i.e. firewalls or private addresses prohibit communication, use
the stuff from above with fake mode:

        echo "REGISTRY_MODE=\"fake\""

This will do the preparation step but will not automatically post
the information online. It will also activate the URL rewriting
logic of the overloaded rpm, which will cause subsequent downloads
to fail until the prepared information is manually posted and the
instance is associated.

Review the /etc/openpkg/register.prep file which contains
prepared plain text information in XML format. This is exactly
what the automated post would have sumitted to the registry. You
can review and modifiy the information. It is also possible to
collect multiple files and join the <request ...> tags together
under a single <?xml ...> and <DOCTYPE ...> header, forming a
single large multirequest. Use the clipboard to paste it into the
DROPXML form in the registry and submit it manually. Note that
submission is a transaction and if any request fails the whole
submission is rejected.

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to