security-dashboards-plugin icon indicating copy to clipboard operation
security-dashboards-plugin copied to clipboard

[BUG] Repo name doesn't adhere to plugins naming convention

Open mnkugler opened this issue 2 years ago • 4 comments

This repo is named "security-dashboards-plugin"

As per https://github.com/opensearch-project/opensearch-plugins/blob/main/CONVENTIONS.md#opensearch-plugins, the repo name should not include the word "plugin", and the name should be prefixed with "dashboards-".

Referred to here: https://github.com/opensearch-project/opensearch-plugins/issues/174

mnkugler avatar Nov 30 '22 19:11 mnkugler

Hi, I wanted to follow-up on this issue. Can someone provide a status update?

mnkugler avatar Apr 06 '23 15:04 mnkugler

Hi @mnkugler! We have not yet dedicated time to look into this one.

@RyanL1997 could you please take a look at a rough level of effort for this rename? are we talking about a few hours of search-replace work, or is this more involved?

If it turns out to not be too bad, we can try to slot in as time permits so that it goes in by 3.0. If on the other hand this is a non-trivial change, we can bring this back and have the discussion with the teams for whether the "juice is worth the squeeze" for existing plugins, or we could potentially grandfather them in.

davidlago avatar Apr 07 '23 00:04 davidlago

Hi @mnkugler, thanks for follow this up. I just had a rough look and it seems like this one is not too bad for renaming. However, question from my side is that if we rename this one should we also rename the other associated directory such as in functional test repo? In generally, I agree with @davidlago. Since we don't have enough bandwidth for now, we can try to make that into 3.0.

RyanL1997 avatar Apr 07 '23 05:04 RyanL1997

Thanks for the quick turnaround, @RyanL1997! For consistency's sake, I think it makes sense to rename the functional test repo as well (plus of course make the appropriate changes there after the rename of the plugin itself).

Do you have a high level bullet list of all the places we will have to change with this rename? not looking for the places in the code, but more at a high level like 1/ file names 2/ code references 3/ build/CI scripts 4/ functional testing repo...

davidlago avatar Apr 07 '23 12:04 davidlago