#637 MBS doesn't cannot handle modules with no components
Closed Opened by psabata.

I've just submitted a module with no components, which should be okay according to the specification.

The submission passed and I can now see it in mbs-build overview but it seems to be stuck on 0/0 components being build. Furthermore, attempting to watch it with mbs-build watch crashes the tool with the following:

% mbs-build watch 781
Traceback (most recent call last):
  File "/usr/bin/mbs-build", line 473, in <module>
    main()
  File "/usr/bin/mbs-build", line 461, in main
    watch_build(args.server, args.build_id)
  File "/usr/bin/mbs-build", line 85, in watch_build
    tasks = data['tasks']['rpms']
KeyError: 'rpms'

Ok, the build's not stuck anymore -- it simply failed with No batch is in progress: 0. That's slightly better.

Metadata Update from @fivaldi:
- Issue assigned to fivaldi

See PR#640.

Metadata Update from @ralph:
- Issue status updated to: Closed (was: Open)

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

Please continue any further discussion there.

Metadata