Commit Graph

2 Commits

Author SHA1 Message Date
Bob Van Landuyt 55457b2c16 Make Gitlab::GlRepository#types an instance method
Having this as an instance method makes it easier to override in the
prepended `EE` module.

If we try to override this method on the module itself, it would not
be overridden correctly, depending on the load order.
2019-04-30 17:17:08 +02:00
Bob Van Landuyt d36415b754 Allow multiple repositories per project
This changes the repository type from a binary `wiki?` to a type. So
we can have more than 2 repository types.

Now everywhere we called `.wiki?` and expected a boolean, we check
that type.
2019-03-26 13:21:03 +01:00