Community
Participate
Working Groups
I just noticed that a plain text editor with a .stp file loaded has "Run rpmlint" in the context menu. We should restrict this to the .spec editor and RPM projects.
Created attachment 171837 [details] Test patch for 316648 Result: Only activate rpmlint action if the file was opened in the specfile editor. This means if a user manually chooses to open the .spec file with a different editor they will not see the rpmlint menu contribution in the editor's context menu. I'll keep looking for a way to grab the filename which would be better, the standard technique doesn't seem to be working.
Applied in r 25550.