[releng] Issue #7275: provide casync index and object storage files for
images on getfedora.org
by Basti Endres
sedrubal reported a new issue against the project: `releng` that you are following:
``
[casync](https://github.com/systemd/casync) is like a new and better rsync for directory trees, binary files and system images. It can speed up downloads if the user already has a similar image on his local machine.
For example if a user already has fedora 26 and he wants to download fedora 27 he can use fedora 26 as local seed and download only differences using casync. The same applies if he has fedora workstation and he wants to download fedora server.
It was great if you provide a `.caibx` index file for each image and a (global) `.castr` object storage on the fedora ftp mirrors.
``
To reply, visit the link below or just reply to this email
https://pagure.io/releng/issue/7275
4 years, 11 months
[releng] Issue #7300: Deny push / Implement git hook for unescaped macro in
%changelog
by Igor Gnatenko
ignatenkobrain reported a new issue against the project: `releng` that you are following:
``
```python
#!/usr/bin/python3
import re
import sys
replace = False
out = []
with open(sys.argv[1], "r"):
for l in open(sys.argv[1], "r"):
out.append(l)
if l.startswith("%changelog"):
replace = True
continue
if not replace:
continue
if l.startswith("%"):
replace = False
continue
if l.startswith("*"):
# XXX: HACK
continue
out[-1] = re.sub(r"([^%])%([^% \n\d])", r"\1%%\2", l)
with open(sys.argv[1], "w") as f:
f.writelines(out)
```
This is something I've been using for automatic fix myself. I think we should either prohibit pushing this or have git-hook which would fix it automatically.
``
To reply, visit the link below or just reply to this email
https://pagure.io/releng/issue/7300
4 years, 11 months