tarantool / mkrepo

Maintain DEB and RPM repositories on S3
69 stars 24 forks source link

rpm: fix primary.xml #71

Closed urbanchef closed 1 year ago

urbanchef commented 1 year ago
  1. Adding “primary” files into primary.xml. The rpm-software-management/createrepo_c source code. Doing it the right way using FILEMODES rpm header field. With FILEMODES, we can distinguish files (symlinks, regular files) from directories.
  2. Converting flags to string exactly as rpm-software-management/createrepo_c does, RPMSENSE_SENSEMASK bit mask is set to 15.
  3. Fix rpmrepo.py when it is going to be run as a separate script (convenient for debugging on local file system).