Does the plugin directory support github forks?

Hi! First of all, thank you for all of your hard work, Traefik is my favorite reverse proxy on the market.

My question is does the plugin directory support forks of existing plugins?

I've customized a plugin for speed on: GitHub - madebymode/traefik-modsecurity-plugin: Traefik plugin to proxy requests to owasp/modsecurity-crs:nginx container, which is a fork of GitHub - acouvreur/traefik-modsecurity-plugin: Traefik plugin to proxy requests to owasp/modsecurity-crs:apache container and can run it locally, but it doesn't seem to be registered in the plugin directory

Steps to reproduce

  1. I can run my plugin locally
  2. But when I try to download it from the traefik plugin registry I get
 msg="Plugins are disabled because an error has occurred." error="failed to download plugin github.com/madebymode/traefik-modsecurity-plugin: error: 404: {\"error\":\"Unknown plugin: github.com/madebymode/traefik-modsecurity-plugin@v1.4.0\"}\n"

I've follow the trouble-shooting guide here: Developing Traefik Plugins

and have tagged my plugin [traefik-plugin ]

and my issues are open - but I haven't gotten a submission describing why the plugin can't be added

thanks


Version: 5.0 (Macintosh)

Hello,

soft forks are not allowed because it's impossible to distinguish a fork related to a PR from a real fork.

You have to create a hard fork if you want to publish your plugin.

1 Like

@ldez ty so much for your quick reply and solution!

I've opened a ticket on github to detach my fork

Creating a hard fork is simple:

  • keep locally your fork
  • delete your current fork from GitHub
  • create a new GitHub repo with the same name as your fork
  • and then push your local repo to this new repo (without modifying the git content)
1 Like

thanks @ldez, really appreciate all your help and insight!

i've created a hard-fork on my repo here: GitHub - madebymode/traefik-modsecurity-plugin: Traefik plugin to proxy requests to owasp/modsecurity-crs:nginx container

but i'm still experiencing 404s when trying to download it

traefik-modsecurity-plugin-traefik-1           | time="2023-04-30T00:43:38Z" level=error msg="Plugins are disabled because an error has occurred." error="failed to download plugin github.com/madebymode/traefik-modsecurity-plugin: error: 404: {\"error\":\"Unknown plugin: github.com/madebymode/traefik-modsecurity-plugin@v1.4.1\"}\n"

and it shows up here: traefik-plugin · GitHub Topics · GitHub

do you think there could be an issue with the plugin cache? or should I use a different naming standard?

looks like it was a caching issue, can install my plugin from the directory now!

ty so much for your help

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.