<?xml version="1.0" encoding="UTF-8" standalone="yes"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-us"><id>https://blog.pgxn.org/tags/sudo/</id><title>Sudo</title><updated>2011-05-02T00:59:37Z</updated><link rel="self" type="application/atom+xml" href="https://blog.pgxn.org/tags/sudo/feed.xml"/><link rel="alternate" type="text/html" href="https://blog.pgxn.org/tags/sudo/"/><author><name>The PGXN Maintainers</name></author><generator uri="https://gohugo.io/" version="0.167.0">Hugo</generator><entry><id>https://blog.pgxn.org/post/5118152273</id><title type="html">New release for the PGXN client</title><link rel="alternate" type="text/html" href="https://blog.pgxn.org/2011/new-release-for-the-pgxn-client/"/><updated>2026-10-07T16:13:48Z</updated><published>2011-05-02T00:59:37Z</published><author><name>Daniele Varrazzo</name></author><category scheme="https://blog.pgxn.org/tags" term="pgxn" label="PGXN"/><category scheme="https://blog.pgxn.org/tags" term="client" label="Client"/><category scheme="https://blog.pgxn.org/tags" term="release" label="Release"/><category scheme="https://blog.pgxn.org/tags" term="uninstall" label="Uninstall"/><category scheme="https://blog.pgxn.org/tags" term="drop" label="Drop"/><category scheme="https://blog.pgxn.org/tags" term="sudo" label="sudo"/><summary type="html"><![CDATA[<p>During the last days I&rsquo;ve done some lightweight hacking on the PGXN client,
and I&rsquo;ve just released the last package on PyPI, with the still very shy
version number of 0.1a4.</p>
<p>First change: the package name. The package is now called <code>pgxnclient</code>,
without the point. As <a href="https://blog.pgxn.org/post/5026314153/writing-a-client-for-pgxn#dsq-comments">Marti has commented</a>, the point in the name could
create problems to some distributions which may have needed to munge it into a
shape fitting their naming constraints. So, in order to install the last
release you will need the command:</p>]]></summary><content type="html" xml:base="https://blog.pgxn.org/" xml:space="preserve"><![CDATA[<p>During the last days I&rsquo;ve done some lightweight hacking on the PGXN client,
and I&rsquo;ve just released the last package on PyPI, with the still very shy
version number of 0.1a4.</p>
<p>First change: the package name. The package is now called <code>pgxnclient</code>,
without the point. As <a href="https://blog.pgxn.org/post/5026314153/writing-a-client-for-pgxn#dsq-comments">Marti has commented</a>, the point in the name could
create problems to some distributions which may have needed to munge it into a
shape fitting their naming constraints. So, in order to install the last
release you will need the command:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-console" data-lang="console"><span class="line"><span class="cl"><span class="gp">$</span> easy_install pgxnclient
</span></span></code></pre></div><p>The name of the entry point script is still <code>pgxn</code> and it shouldn&rsquo;t change.</p>
<p>One of the new features in this release is the addition of commands <code>drop</code>, to
remove the the extensions of a distribution from a database (opposite of the
<code>load</code> command) and <code>uninstall</code>, to remove installed files from the system
(opposite of <code>install</code>).</p>
<p>Another change is the ability to work on a local zip or directory instead of
using the API to get metadata and package from PGXN. The main goal of this
feature is to help the packagers to test their packages with the client before
submission, verifying that the data uploaded can be used in an automatized
way.</p>
<p>A third change is in the <code>install</code> command: it previously required to be run
as root if, as likely, the PostgreSQL directories are system ones. I was
feeling this need slightly scary as download and build phases would have been
run as root too, so now <code>sudo</code> is invoked by the script only when installing,
with command line options allowing its customization.</p>
<p>What I feel mostly missing now is documentation: I know that adding it will
force a big review of the code, adding missing comments, add tests to enforce
what documented&hellip; so it&rsquo;s something I will start tomorrow. Once documentation
and code have converged there will also be a more sound basis to discuss about
the client features. And dare version 0.2, maybe :)</p>
<p>Thanks everybody for the feedback. If you want to have a chat about the client
or PGXN in general, the best place is <a href="https://groups.google.com/group/pgxn-users">the PGXN group</a>. See you there!</p>
]]></content></entry></feed>