#31 Fix goname generation to match versioning guildelines
Merged by eclipseo. Opened by eclipseo.
GoSIG/ eclipseo/go2rpm alt_fix_goname  into  master

Download 31.patch

We add a flag to use new versioning for new packages, which is enabled by default.
We now hardcode the Name field to the value of goname,

rebased onto b489b1e196b1be73e01167315f658d0c1c1c8b3b

rebased onto 59ffa56c887d1c9312068fb18bc367ee4e88b30e

rebased onto a288fd369f8b17a9b8239b70bbc7c93dd69ac479

rebased onto c2fd8c024aadc6670d20cf64496920ec599d9e30

rebased onto 564bcf56223fc1b5793d5f0958b4bbaec9c16a6e

rebased onto 52c49b225a8dcb0e4c4dc4ff21b6bc04aa630ab8

([%.0-9]+) should be ([\.0-9]+). It looks like there was a copy-paste error between here and the lua implementation.

I don't think this'll do what you want. As of now, there is no way to disable --use-new-versioning. If you change action="store_true to action=argparse.BooleanOptionalAction, you should get both a --use-new-versioning and a --no-use-new-versioning flag.

rebased onto 7fccc9e359a1be8513cfaafe4bbd0ba14027181b

rebased onto 6770c7c39b2afdc6caabe0abd407c8dfa43cff51

rebased onto 8b6977dbeca1a7e54921bfe08136520a039b279f

Ok this is reworked with a group (add_mutually_exclusive_group) and I fixed the regex.

Ack. Let's ship it!

Pull-Request has been merged by eclipseo

Metadata