#727 Support 'mbs-build local' with an uncommitted yaml file
Closed: Fixed Opened by ralph.

We have lots of issues out there where people get easily confused by mbs-build local.

  • It is unclear that the yaml file has to be in cwd, and that it has to have the same name as the directory.
  • It is unclear that it has to be committed to git.

@thozza has made the point that it is unreasonable to expect developers to commit their yaml files before they can even do a local test build.


We should fix this. Let's allow mbs-build local to accept a bare yaml file, either on disk or at some url.

  • In this case, MBS cannot guess the stream name, since it is derived from the git branch. mbs-build local should grow a --stream option to allow the user to specify it.
  • MBS also cannot guess the version of the module, since it is derived from the git commit timestamp. The current time pulled from datetime.datetime.utcnow() should be used instead.

See also:

  • https://bugzilla.redhat.com/show_bug.cgi?id=1486346
  • https://bugzilla.redhat.com/show_bug.cgi?id=1486331

PR #753 addresses this

Metadata Update from @mprahl:
- Issue assigned to mcurlej
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/mbs/issues/727

Please continue any further discussion there.

Metadata