Let the mail transport be chosen instead of hardcoded
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 18/100
Línea de trabajo
Start in buildMailSender in cmd/alphone/mail.go (around line 33), which calls smtp.New unconditionally, then read how wireFieldProviders and wireCredentialProviders in cmd/alphone/run.go collect from plugins. The sdk's MailSenderConsumer is the existing plugin-facing type, and the issue says no reverse seam exists yet. Done would mean transport selection comes from configuration and a provider seam exists, but the issue does not define the seam's shape or name a test, so agree on the design with maintainers first.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Only one mail transport can ever run, because the composition root names it directly. A second transport is unreachable wherever its code lives.
Current state: buildMailSender in cmd/alphone/mail.go:33 calls smtp.New unconditionally, and the only choice is whether an SMTP host is set. Settings are read once from the environment at boot. The sdk declares MailSenderConsumer, which hands a sender down to plugins, and no seam pointing the other way, although wireFieldProviders and wireCredentialProviders in cmd/alphone/run.go already collect from plugins that way.
Proposal: pick the transport from configuration first, and add the missing provider seam. A selector in the settings screen follows once settings move to a table.
Trigger: before a second transport ships.
- Lenguaje dominante
- Go
- Estrellas
- 287
- Forks
- 64
- Merge medio
- 12 h 44 min
- PR fusionados (30 d)
- 66
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de gopherium/AlphOne
-
help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
gopherium/AlphOne#296 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
good first issue help wanted javascript
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
bug help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
bug help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
Todos los issues de gopherium/AlphOne
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
blinklabs-io/dingo#5636 ·
Los mantenedores suelen responder en 1 día
-
automated-analysis bug cookie safe-outputs tool-improvement workflow-issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
github/gh-aw#71952 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
JetBrains/youtrack-cli#130 ·
Los mantenedores suelen responder en 1 día
-
Cloudflare Pages secret sync throws TypeError when deployment_configs[environment] is undefinedAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Infisical/infisical#8892 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
windvane requests one more page than it needsPosiblemente ocupada @TassioSales la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
projectdiscovery/subfinder#1979 ·
Los mantenedores suelen responder en 3 días