<p><br>
On May 12, 2011 2:09 PM, &quot;Toshio Kuratomi&quot; &lt;<a href="mailto:a.badger@gmail.com">a.badger@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; On Thu, May 12, 2011 at 01:42:16PM -0600, Kevin Fenzi wrote:<br>
&gt; &gt; I have 2 items (feel free to vote on them separately if you prefer, as<br>
&gt; &gt; they are independent).<br>
&gt; &gt;<br>
&gt; &gt; 1. The patched gitolite we had installed on pkgs01 in the recent outage<br>
&gt; &gt; was incomplete. When someone tries to push changes on an old style<br>
&gt; &gt; branch it says:<br>
&gt; &gt;<br>
&gt; &gt; remote:  refs/heads/f15/master<br>
&gt; &gt; remote: Please see URL for more info<br>
&gt; &gt; remote: error: hook declined to update refs/heads/f15/master<br>
&gt; &gt;<br>
&gt; &gt; But has no actual URL in it. ;)<br>
&gt; &gt; The updated patch says:<br>
&gt; &gt;<br>
&gt; &gt; remote: NOTE: Branch naming scheme has changed.  You attempted to push<br>
&gt; &gt; remote: to: refs/heads/f15/master<br>
&gt; &gt; remote: Please see <a href="https://fedoraproject.org/wiki/Dist_Git_Branch_Redux">https://fedoraproject.org/wiki/Dist_Git_Branch_Redux</a> for more info.<br>
&gt; &gt;<br>
&gt; &gt; Fixing this requires us to upgrade gitolite to the new patched version.<br>
&gt; &gt;<br>
&gt; I take it this is the only change to the package?  If so, +1.<br>
&gt;<br>
&gt; If not, let&#39;s apply this as a hotfix via puppet instead.<br>
&gt;<br>
&gt; &gt; 2. The pkgdb2branch.py script on pkgs01 still creates new packages with the old style branch names,<br>
&gt; &gt; causing them to not work at all for maintainers. ;(<br>
&gt; &gt;<br>
&gt; &gt; This fix to the script fixes that:<br>
&gt; &gt;<br>
&gt; &gt; ---<br>
&gt; &gt;  modules/gitolite/files/distgit/pkgdb2branch.py |    3 ++-<br>
&gt; &gt;  1 files changed, 2 insertions(+), 1 deletions(-)<br>
&gt; &gt;<br>
&gt; &gt; diff --git a/modules/gitolite/files/distgit/pkgdb2branch.py b/modules/gitolite/files/distgit/pkgdb2branch.py<br>
&gt; &gt; index dee7e4e..8bc0503 100755<br>
&gt; &gt; --- a/modules/gitolite/files/distgit/pkgdb2branch.py<br>
&gt; &gt; +++ b/modules/gitolite/files/distgit/pkgdb2branch.py<br>
&gt; &gt; @@ -187,7 +187,8 @@ class Brancher(object):<br>
&gt; &gt;                      (branch, pkgname))<br>
&gt; &gt;<br>
&gt; &gt;          # Add the master to the branch<br>
&gt; &gt; -        branch = &#39;%s/master&#39; % branch<br>
&gt; &gt; +        # No longer add this after the new branching setup.<br>
&gt; &gt; +        #branch = &#39;%s/master&#39; % branch<br>
&gt; &gt;          # If branchFrom is None, this is an EOL release<br>
&gt; &gt;          # If the directory already exists, no need to invoke mkbranch<br>
&gt; &gt;          if branchFrom:<br>
&gt;<br>
&gt; +1<br>
&gt;</p>
<p>It is the only change. I built the package. I also hotfixed the system before realizing that we were in an outage. </p>