Configure extensions in separate file

Abierto
#5 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
65/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
json, shell
Área
tooling

Línea de trabajo

Start by reading the script that hard-codes the three extensions and trace how it fetches and interprets remote versions, checks local versions, and builds the xcaddy --with arguments. Define a JSON data format for those four pieces of information and update the script to use it; done means the extensions can be changed through the data file instead of editing the script.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

enhancement help wanted

Currently, the script hard-codes information about three extensions.

To make this script generally more useful to others that are not using the exact same extensions as me, defining the extensions in a data document such as a JSON file would likely be a better approach.

The file would at least need to include a few pieces of information:

  • URL to fetch version information
  • Command to interpret version information
  • Command to retrieve local version information
  • xcaddy --with argument to install the extension
Lenguaje dominante
Shell
Estrellas
2
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de TechnologyClassroom/caddy-update

Todos los issues de TechnologyClassroom/caddy-update

Issues similares

Más issues de Shell/Bash

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.