Don't do the magic dist-git map in staging. Work towards phasing it out.
This commit is contained in:
parent
a57d418bfb
commit
a9f1d0ca6f
2 changed files with 4 additions and 0 deletions
|
@ -131,6 +131,7 @@ if __name__ == '__main__':
|
||||||
(pkg, ACTIVE[branch])
|
(pkg, ACTIVE[branch])
|
||||||
)
|
)
|
||||||
|
|
||||||
|
{% if env != 'staging' %}
|
||||||
print ''
|
print ''
|
||||||
print 'repo %s%s' % (key, pkg)
|
print 'repo %s%s' % (key, pkg)
|
||||||
print '\n'.join(buffer)
|
print '\n'.join(buffer)
|
||||||
|
@ -139,6 +140,7 @@ if __name__ == '__main__':
|
||||||
print ' RWC refs/tags/ = %s' % ' '.join(writers)
|
print ' RWC refs/tags/ = %s' % ' '.join(writers)
|
||||||
if masters:
|
if masters:
|
||||||
print ' RWC = %s' % ' '.join(masters)
|
print ' RWC = %s' % ' '.join(masters)
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
# Bring backward compatibility while we keep the symlinks in place
|
# Bring backward compatibility while we keep the symlinks in place
|
||||||
# from the old to the new locations.
|
# from the old to the new locations.
|
||||||
|
|
|
@ -14,6 +14,7 @@ mv gitolite.conf /etc/gitolite/conf/
|
||||||
chown gen-acls:gen-acls -R /etc/gitolite/conf/
|
chown gen-acls:gen-acls -R /etc/gitolite/conf/
|
||||||
HOME=/srv/git /usr/bin/gitolite compile
|
HOME=/srv/git /usr/bin/gitolite compile
|
||||||
|
|
||||||
|
{% if env != 'staging' %}
|
||||||
# After compiling, we have to stick some magic into the gl-conf files of
|
# After compiling, we have to stick some magic into the gl-conf files of
|
||||||
# every repo so that gitolite will understand our symlinks from rpms/
|
# every repo so that gitolite will understand our symlinks from rpms/
|
||||||
cd /srv/git/repositories
|
cd /srv/git/repositories
|
||||||
|
@ -34,6 +35,7 @@ for repodir in *.git; do
|
||||||
echo '$one_repo{"rpms/'$repo'"} = $one_repo{"'$repo'"};' >> $glconf;
|
echo '$one_repo{"rpms/'$repo'"} = $one_repo{"'$repo'"};' >> $glconf;
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
cd /
|
cd /
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue