/usr/share/doc/python-pyexiv2-doc/release_procedure.html is in python-pyexiv2-doc 0.3.2-5ubuntu4build6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>pyexiv2 release procedure — pyexiv2 0.3.2 documentation</title>
<link rel="stylesheet" href="_static/classic.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '0.3.2',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
SOURCELINK_SUFFIX: '.txt'
};
</script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="shortcut icon" href="_static/pyexiv2.ico"/>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
</head>
<body>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">pyexiv2 0.3.2 documentation</a> »</li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<div class="section" id="pyexiv2-release-procedure">
<h1>pyexiv2 release procedure<a class="headerlink" href="#pyexiv2-release-procedure" title="Permalink to this headline">¶</a></h1>
<div class="section" id="release-branch">
<h2>Release branch<a class="headerlink" href="#release-branch" title="Permalink to this headline">¶</a></h2>
<p>Set the version number to release:</p>
<div class="highlight-bash"><div class="highlight"><pre><span></span><span class="nb">export</span> <span class="nv">VERSION</span><span class="o">=</span><span class="m">0</span>.3.1
<span class="nb">export</span> <span class="nv">D</span><span class="o">=</span>pyexiv2-<span class="nv">$VERSION</span>
</pre></div>
</div>
<p>Branch to release:</p>
<div class="highlight-bash"><div class="highlight"><pre><span></span>bzr branch lp:pyexiv2 <span class="nv">$D</span>
<span class="nb">cd</span> <span class="nv">$D</span>
</pre></div>
</div>
<p>Bump the version number: change the value of <code class="docutils literal"><span class="pre">version_info</span></code> in
<code class="docutils literal"><span class="pre">src/pyexiv2/__init__.py</span></code>.</p>
<p>Bump the version number in the Windows installer script: change the value of
<code class="docutils literal"><span class="pre">PYEXIV2_VERSION</span></code> in <code class="docutils literal"><span class="pre">win32-installer.nsi</span></code>.</p>
<p>Commit the changes:</p>
<div class="highlight-bash"><div class="highlight"><pre><span></span>bzr commit -m <span class="s2">"Bumped version number to </span><span class="nv">$VERSION</span><span class="s2">."</span>
</pre></div>
</div>
<p>Update the <code class="docutils literal"><span class="pre">NEWS</span></code> file with the changes since the last release:</p>
<ul class="simple">
<li>dependencies</li>
<li>changes</li>
<li>bugs fixed</li>
<li>contributors</li>
</ul>
<p>Commit and push the changes:</p>
<div class="highlight-bash"><div class="highlight"><pre><span></span>bzr commit -m <span class="s2">"Updated NEWS."</span>
bzr push lp:~osomon/pyexiv2/<span class="nv">$D</span>
</pre></div>
</div>
</div>
<div class="section" id="source-tarball">
<h2>Source tarball<a class="headerlink" href="#source-tarball" title="Permalink to this headline">¶</a></h2>
<p>Build pyexiv2:</p>
<div class="highlight-bash"><div class="highlight"><pre><span></span>scons
</pre></div>
</div>
<p>Build the HTML documentation:</p>
<div class="highlight-bash"><div class="highlight"><pre><span></span>scons doc
mv doc/_build doc/html
</pre></div>
</div>
<p>Create the tarball and sign it:</p>
<div class="highlight-bash"><div class="highlight"><pre><span></span><span class="nb">cd</span> ..
tar cvvjf <span class="nv">$D</span>.tar.bz2 <span class="nv">$D</span> --exclude-vcs <span class="se">\</span>
--exclude<span class="o">=</span>build --exclude<span class="o">=</span>.doctrees --exclude<span class="o">=</span>.buildinfo <span class="se">\</span>
--exclude<span class="o">=</span>objects.inv --exclude<span class="o">=</span>.sconsign.dblite --exclude<span class="o">=</span>*.pyc
gpg --armor --sign --detach-sig <span class="nv">$D</span>.tar.bz2
<span class="nb">cd</span> <span class="nv">$D</span>
</pre></div>
</div>
</div>
<div class="section" id="windows-installer">
<h2>Windows installer<a class="headerlink" href="#windows-installer" title="Permalink to this headline">¶</a></h2>
<p>Cross-compile:</p>
<div class="highlight-bash"><div class="highlight"><pre><span></span>./cross-compile.sh
</pre></div>
</div>
<p>Build the installer and sign it:</p>
<div class="highlight-bash"><div class="highlight"><pre><span></span>makensis win32-installer.nsi
gpg --armor --sign --detach-sig pyexiv2-<span class="nv">$VERSION</span>-setup.exe
</pre></div>
</div>
</div>
<div class="section" id="publication">
<h2>Publication<a class="headerlink" href="#publication" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>Create a release for the milestone
(e.g. at <a class="reference external" href="https://launchpad.net/pyexiv2/+milestone/0.3.1/+addrelease">https://launchpad.net/pyexiv2/+milestone/0.3.1/+addrelease</a>)</li>
<li>Upload the source tarball and the windows installer
e.g. at <a class="reference external" href="https://launchpad.net/pyexiv2/0.3.x/0.3.1/+adddownloadfile">https://launchpad.net/pyexiv2/0.3.x/0.3.1/+adddownloadfile</a></li>
<li>Change the status of all the bugs marked as “Fix Committed” in the milestone
to “Fix Released”</li>
</ul>
</div>
<div class="section" id="communication">
<h2>Communication<a class="headerlink" href="#communication" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>Write an announcement
<a class="reference external" href="https://launchpad.net/pyexiv2/+announce">on Launchpad</a></li>
<li>Send a mail to the
<a class="reference external" href="mailto:pyexiv2-developers%40lists.launchpad.net">pyexiv2-developers mailing list</a></li>
<li>Send a mail to the current distribution packagers
(Debian, Ubuntu, Fedora, …)</li>
<li>Write about the release on the
<a class="reference external" href="http://dev.exiv2.org/projects/exiv2/boards">exiv2 forums</a></li>
<li>Send a mail to the
<a class="reference external" href="mailto:python-announce-list%40python.org">Python announce mailing list</a></li>
<li>Blog about the release (optional)</li>
</ul>
</div>
<div class="section" id="web-site">
<h2>Web site<a class="headerlink" href="#web-site" title="Permalink to this headline">¶</a></h2>
<p>The branch for the website is at
<a class="reference external" href="https://code.launchpad.net/~osomon/pyexiv2/website">lp:~osomon/pyexiv2/website</a>.</p>
<ul class="simple">
<li>Update the download page with the new release</li>
<li>Update the online documentation</li>
</ul>
</div>
<div class="section" id="final">
<h2>Final<a class="headerlink" href="#final" title="Permalink to this headline">¶</a></h2>
<p>Merge back the release branch in the master branch and tag it:</p>
<div class="highlight-bash"><div class="highlight"><pre><span></span><span class="nb">cd</span> <local/path/to/master/>
bzr merge lp:~osomon/pyexiv2/<span class="nv">$D</span>
bzr commit -m <span class="s2">"Merge the </span><span class="nv">$VERSION</span><span class="s2"> release."</span>
bzr tag release-<span class="nv">$VERSION</span>
bzr push
</pre></div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<p class="logo"><a href="index.html">
<img class="logo" src="_static/pyexiv2-big-192x192.png" alt="Logo"/>
</a></p>
<h3><a href="index.html">Table Of Contents</a></h3>
<ul>
<li><a class="reference internal" href="#">pyexiv2 release procedure</a><ul>
<li><a class="reference internal" href="#release-branch">Release branch</a></li>
<li><a class="reference internal" href="#source-tarball">Source tarball</a></li>
<li><a class="reference internal" href="#windows-installer">Windows installer</a></li>
<li><a class="reference internal" href="#publication">Publication</a></li>
<li><a class="reference internal" href="#communication">Communication</a></li>
<li><a class="reference internal" href="#web-site">Web site</a></li>
<li><a class="reference internal" href="#final">Final</a></li>
</ul>
</li>
</ul>
<div role="note" aria-label="source link">
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="_sources/release_procedure.rst.txt"
rel="nofollow">Show Source</a></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
<h3>Quick search</h3>
<form class="search" action="search.html" method="get">
<div><input type="text" name="q" /></div>
<div><input type="submit" value="Go" /></div>
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">pyexiv2 0.3.2 documentation</a> »</li>
</ul>
</div>
<div class="footer" role="contentinfo">
© Copyright 2006-2017, Olivier Tilloy.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.6.5.
</div>
</body>
</html>
|