#868 allow force for pkglist_add
Merged by mikem. Opened by tkopecek.
tkopecek/koji issue867  into  master

Download 868.patch

Using force option will allow 'pre-blocking' of packages which are not
in tag inheritance yet, but could cause a problem if they'll get to
inheritance chain somehow. In such case we don't have an owner for
package and using 'force' allows admin to introduce blocked package with
him as an owner.

Fixes: https://pagure.io/koji/issue/867

I don't think the help string is correct:

+    parser.add_option("--force", action='store_true', default=False, help=_("Override owner if necessary"))

The force option does more than this, even in the block case.

rebased onto 38cc6370c49a35051bbce7c0d8f6877ce8a8dade

help string extended

New unit test has unqualified import unittest2

1 new commit added

  • use unittest2 only if available

Commit f37e2038 fixes this pull-request

Pull-Request has been merged by mikem

Metadata