Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove language:Go from search query #58

Closed
wants to merge 2 commits into from

Conversation

mmatur
Copy link
Member

@mmatur mmatur commented Jun 12, 2024

Description

This Pr removes the language:Go from query search

Fixes #57

Related to: traefik/plugindemowasm#6

Copy link
Contributor

@mloiseleur mloiseleur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From 429 to 434 results without language:Go.

To see all repository without language:Go :
https://github.com/search?q=topic%3Atraefik-plugin+archived%3Afalse+is%3Apublic+-language%3AGo+&type=repositories

I suggest to

  1. remove traefik-plugin topic from traefik/seo-doc
  2. filter out deas/teectl and GDGVIT/securum-exire which are not plugins

@mloiseleur mloiseleur removed the request for review from ldez June 24, 2024 13:43
@ldez
Copy link
Contributor

ldez commented Jun 24, 2024

I suggest not removing the constraints but creating a specific label and a second search query.

@mmatur
Copy link
Member Author

mmatur commented Jun 25, 2024

@ldez thanks for your feedback.

I have added a new condition to skipped yaegi plugins that are not developed in Go. It avoid to create a second query.

I don't see the benefit to create a second search query and a new label

@@ -273,6 +273,11 @@ func (s *Scrapper) process(ctx context.Context, repository *github.Repository) (
}

default:
if repository.GetLanguage() != "Go" {
log.Info().Str("repo_name", repository.GetFullName()).Msg("Yaegi plugin is not developed in Go")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
log.Info().Str("repo_name", repository.GetFullName()).Msg("Yaegi plugin is not developed in Go")
log.Info().Str("repo_name", repository.GetFullName()).Msg("This plugin is not developed in Go")

Copy link
Contributor

@mloiseleur mloiseleur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a little suggestion to improve log.
Otherwise, LGTM.

@mmatur
Copy link
Member Author

mmatur commented Jun 26, 2024

Closed in favor of #66

@mmatur mmatur closed this Jun 26, 2024
@mmatur mmatur deleted the fix/language-search branch June 26, 2024 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Plugin Catalog: WASM plugins that are not Go code are not found from GitHub
3 participants