#39 Add rpms namespace for checkouts without namespace
Merged by lsedlar. Opened by lsedlar.
legacy-checkout  into  master

Download 39.patch
no initial comment

When user has an old checkout predating dist-git namespaces, the URL submitted to koji will have double slash before the module name, leading to failure. This patch adds a default "rpms" namespace.

I think we should strip one of the / from the url. we can not assume all users of rpkg have namespaced dist-git

The namespacing is configured by a switch that needs to be set in the downstream. Fedpkg sets it to True, rhpkg keeps it at default False.

Pull-Request has been updated

The updated pull request works in this way:

  • for dist-git without namespaces: no changes
  • for dist-git with namespaces:
    • if .git/config mentions namespace, no change
    • else print suggestion about updating config and use default rpms namespace

Pull-Request has been merged by lsedlar

Metadata