<p>Kevin Harwell has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/8378">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">release_summary.py: Import referenced function and allow a remote_url<br><br>The release summary script cloned and checked out its own repository if needed.<br>However, the 'get_repo' function was not being imported. Also there was no way<br>to specify a remote_url so it would always use the default one.<br><br>This patch adds the import for 'get_repo' and also adds the remote_url as a<br>parameter that can be passed to the script.<br><br>Change-Id: I041bcb26c9ef2382879e1b8c39f2e99b6725ba68<br>---<br>M release_summary.py<br>1 file changed, 5 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/repotools refs/changes/78/8378/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/release_summary.py b/release_summary.py<br>index de475a8..9b4a77d 100755<br>--- a/release_summary.py<br>+++ b/release_summary.py<br>@@ -17,7 +17,7 @@<br> <br> from digium_jira import get_jira_client, DigiumJiraVersion<br> from digium_jira_user import AsteriskUser<br>-from digium_git import DigiumGitRepo<br>+from digium_git import get_repo, DigiumGitRepo<br> <br> # Maximum column width for diffstat and plain text output<br> MAX_WIDTH = 80<br>@@ -653,6 +653,9 @@<br>     parser.add_option("-l", "--local-root", action="store", type="string",<br>         dest="local_root", default="/tmp",<br>         help="Root location on disk to store Git repositories")<br>+    parser.add_option("-r", "--remote-url", action="store", type="string",<br>+                      dest="remote_url", help="The remote url",<br>+                      default="")<br>     parser.add_option("-s", "--start-tag", action="store", type="string",<br>         dest="start_tag", default="", help="Tag to start from")<br>     parser.add_option("-e", "--end-tag", action="store", type="string",<br>@@ -707,6 +710,7 @@<br>     release_options.local_root = options.local_root<br>     release_options.start_tag = options.start_tag<br>     release_options.end_tag = options.end_tag<br>+    release_options.remote_url = options.remote_url<br> <br>     summary = ReleaseSummary(release_options, jira=jira, debug=True)<br>     summary.to_html()<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/8378">change 8378</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/8378"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: repotools </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I041bcb26c9ef2382879e1b8c39f2e99b6725ba68 </div>
<div style="display:none"> Gerrit-Change-Number: 8378 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Kevin Harwell <kharwell@digium.com> </div>