#553 Fix rpkg container-build ignoring values when same argument is specified multiple times
Merged by onosek. Opened by abisoi.
abisoi/rpkg args-fix  into  master

Download 553.patch

Presently, in container-build --arg1 X --arg1 Y equals --arg1=Y, which ignores X and any other previous values. This MR accumulates all such values under the common argument.

JIRA: RHELCMP-4112
Resolves: pagure #537

Signed-off-by: Aditya Bisoi abisoi@redhat.com

rebased onto 65f199686e43614213a476456fdcb759451fc468

rebased onto 211f93833e3fa6aebf53e1b0441f79c40d80fdc9

rebased onto 64be4bc8553993ab59eace1fcc9a3387b409e6c0

rebased onto 0768104d663689959c513d775a5c89b8c5569867

rebased onto e30103901be7ca785f5ec0f42d88bbd2e6c3c26b

pretty please pagure-ci rebuild

rebased onto c50c083c4fc1ad74a008eff8dd84863483b053f8

pretty please pagure-ci rebuild

rebased onto ade3df087f83be5d3dc9a1086a56dffa1c007e65

pretty please pagure-ci rebuild

rebased onto d907b7e5503ecd97c534507b92f3f4ae51c8ffb4

rebased onto 26e555979e8a7a07b48ea02fb3c1778f871cd0bc

rebased onto 16bc6cf0d234c63344a8837d3d77f1d7e3b1da15

rebased onto 7c7e2b604349e1879ec0c3b1b217004392af83cb

pretty please pagure-ci rebuild

pretty please pagure-ci rebuild

The commit changes the behaviour of some specific arguments for subcommand container-build (and flatpak-build):

  • --arches
  • --repo-url
  • --compose-id (not applicable for flatpak-build)
  • --replace-dependency (not applicable for flatpak-build)

Currently, both approaches (and even their combination) are possible:

  • --arg X Y
  • --arg X --arg Y

Pull-Request has been merged by onosek

Metadata