vmaljulin / fm-orchestrator

Forked from fm-orchestrator 5 years ago
Clone

cfe32af Rename LocalBuilder to SRPMBuilder and change type detection.

Authored and Committed by ralph 5 years ago
    Rename LocalBuilder to SRPMBuilder and change type detection.
    
    First, rename LocalBuilder to SRPMBuilder.  Reading the manpage for mock tells
    me that the `--rebuild` option is specifically for rebuilding a given srpm.
    The class was just named poorly (imo).
    
    Second, change the type detection.  The bug I'm trying to fix is if you try to
    pass a string for the `repository:` in your modulemd like
    `file:///home/user/repos/libfoo/`.  The old logic here would assume that it is
    an srpm since it didn't start with "git" or "http", but that's not correct.  We
    have people who want to experiment with building modules with components that
    are not publicly accessible over the network - which are only local.  This
    change allows that.