#3839 basic vim syntax highlighting for hub policy
Merged by tkopecek. Opened by tkopecek.
tkopecek/koji policy-syntax  into  master

Download 3839.patch

It is not behaving correctly in some cases (allow/deny reasons, subpolicies), but better than nothing - can help to catch some basic errors.

rebased onto a399db22fcfea2662fd0ab44e769d178d55508af

I'm not sure how feasibly this can be done properly because there is so little actual syntax to policy, and it is typically embedded inside an ini format file.

I guess I'm ok with providing this as-is in devtools with the caveat that it's experimental and limited. We should add a comment to that effect in at the top

Also, in terms of naming, policy is not just on the hub. The gc uses the same policy code locally.

rebased onto f42464820d3b8f0b5958e9643f20e14f3576272a

Commit 7134f6bd fixes this pull-request

Pull-Request has been merged by tkopecek

Metadata