<html>
<head>
<base href="https://wiki.asterisk.org/wiki">
<link rel="stylesheet" href="/wiki/s/en/2176/25/9/_/styles/combined.css?spaceKey=AST&forWysiwyg=true" type="text/css">
</head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
<h2><a href="https://wiki.asterisk.org/wiki/display/AST/Repotools">Repotools</a></h2>
<h4>Page <b>added</b> by <a href="https://wiki.asterisk.org/wiki/display/~jrose">Jonathan Rose</a>
</h4>
<br/>
<div class="notificationGreySide">
<h1><a name="Repotools-MergeTools"></a>Merge Tools</h1>
<p>The repotools Makefile installs the merge tools which are useful for simplifying the merging process for commits to Asterisk's various branches.<br/>
Installation requires that you have repotools checked out (or otherwise available) and that you have expect. On Ubuntu/Debian, expect can be<br/>
installed trivially with apt-get (usually with default repositories)</p>
<p>$ sudo apt-get install expect</p>
<p>Once expect is installed, the mergetools can be installed with the following steps:</p>
<p>$ svn co <a href="http://svn.asterisk.org/svn/repotools" class="external-link" rel="nofollow">http://svn.asterisk.org/svn/repotools</a><br/>
$ cd repotools<br/>
$ ./configure<br/>
$ sudo make install</p>
<h1><a name="Repotools-OtherRequirements"></a>Other Requirements</h1>
<p>In addition to the mergetools, there are a number of scripts in repotools that we use for a variety of purposes. Some examples are automated<br/>
commit message template generators, an IRC bot that reacts to JIRA issue names and spits out descriptions, and a tool for generated release<br/>
notes. Some of these tools require some additional dependencies.</p>
<h2><a name="Repotools-jirapython"></a>jira-python</h2>
<p>Scripts that retrieve issue information from JIRA now require the jira-python module. This is most easily obtained by using pip, which is<br/>
basically a python-specific package manager. Like expect, it is usually obtainable through default repositories if you use Ubuntu or Debian.</p>
<p>$ sudo apt-get install python-pip</p>
<p>Once pip is installed, installing jira-python is simple (and similar)<br/>
$ sudo pip install jira-python</p>
<h2><a name="Repotools-pysvn%2Cdiffstat%2Candlinks2"></a>pysvn, diffstat, and links2</h2>
<p>If you want to run the release summary building script, these tools are necessary. Like with most tools mentioned here, getting them with<br/>
your default package manager is usually simplest. Ubuntu/Debian example:</p>
<p>$ sudo apt-get install python-svn diffstat links2</p>
</div>
<div id="commentsSection" class="wiki-content pageSection">
<div style="float: right;" class="grey">
<a href="https://wiki.asterisk.org/wiki/users/removespacenotification.action?spaceKey=AST">Stop watching space</a>
<span style="padding: 0px 5px;">|</span>
<a href="https://wiki.asterisk.org/wiki/users/editmyemailsettings.action">Change email notification preferences</a>
</div>
<a href="https://wiki.asterisk.org/wiki/display/AST/Repotools">View Online</a>
|
<a href="https://wiki.asterisk.org/wiki/display/AST/Repotools?showComments=true&showCommentArea=true#addcomment">Add Comment</a>
</div>
</div>
</div>
</div>
</div>
</body>
</html>