repo_info table stores urls that may change and are not monitored

Abierto
#537 0 comentarios 0 reacciones 0 asignados Ver en GitHub

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
35/100
Tipo de issue
Refactorización
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python
Área
database

Línea de trabajo

Read the contributing_file and repo table definitions and the existing task that checks for changed URLs; the issue does not name their files or tests. Trace how contributing files are stored and how cross-repository files are handled, then decide whether they can be stored relative to a repository root and how uncollected repositories should be requested. Done means the storage and collection behavior matches that decision.

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

Descripción

tech debt

Originally posted by @MoralCode in https://github.com/chaoss/CollectOSS/issues/525#issuecomment-6105741768

hmm, im not a fan of how contributing_file stores the full URL, and can store the URL to other repos that we may not be collecting

URLs are quite volatile and subject to change. we already have a task for checking for when these change and updating the repo table, but I don't think extending those updates to this table is good either. IMO these files should be stored as relative to the repo root.

As suggested in #534 (i think), this may be a good opportunity to detect that a file exists outside the repo, check if we are already collecting that repo (file a collection request to another part of the system if we aren't), and just move on.

Lenguaje dominante
Python
Estrellas
17
Forks
30
Merge medio
6 h 16 min
PR fusionados (30 d)
9

Preparar el entorno

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 chaoss/CollectOSS

Todos los issues de chaoss/CollectOSS

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.