chaoss / grimoirelab-elk

GNU General Public License v3.0
58 stars 121 forks source link

Fix mapping and bulk URL for ES 8.X and OS 2.X (and possibly future versions) #1091

Closed Rafaeltheraven closed 1 year ago

Rafaeltheraven commented 1 year ago

The way support for ES 7.X and OS 1.X was originally implemented meant that any major version that was not EXACTLY 7/1 would revert to old behavior. This is obviously wrong and simply changing this check to allow versions >= 7/1 seems to just work (at least in the context of using mordred to import git data from perceval).

I can not guarantee that everything works, and I know that at least kibash still needs some work as discussed here. But in any case, the check was wrong, and this PR should at least fix that.