X Tutup
The Wayback Machine - https://web.archive.org/web/20210117184611/https://github.com/python/python-docs-es/pull/1186
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

Optimizada sincronización con CPython en CI #1186

Open
wants to merge 1 commit into
base: 3.8
from

Conversation

@mondeja
Copy link
Contributor

@mondeja mondeja commented Dec 21, 2020

Este pull optimiza la sincronización con CPython en el CI, ahorrando como mínimo 1 minuto. El problema es que la configuración actual realiza un clone completo (incluído historial GIT) de python/cpython, pero esto no es necesario y será cada vez más costoso a medida que más commits sean añadidos a CPython. Añadiendo --depth=1 a git submodule update y eliminando el comando redundante git submodule sync, obtenemos el mismo resultado que actualmente en menos tiempo.

@mondeja mondeja marked this pull request as draft Dec 21, 2020
@mondeja mondeja force-pushed the mondeja:speedup-cpython-sync branch 3 times, most recently from e210388 to 76bd613 Dec 21, 2020
@mondeja mondeja force-pushed the mondeja:speedup-cpython-sync branch from 76bd613 to 8c150f1 Dec 21, 2020
@mondeja mondeja marked this pull request as ready for review Dec 21, 2020
Copy link
Contributor

@eamanu eamanu left a comment

Me parece bien. Podrías cerrar y volver abrir el pr a ver si corre el CI? A nosotros nos interesa el proyecto no? No la historia git cierto? Se podría pensar en hacer algún wget para traer el proyecto?

@mondeja mondeja closed this Dec 24, 2020
@mondeja mondeja reopened this Dec 24, 2020
@mondeja
Copy link
Contributor Author

@mondeja mondeja commented Dec 24, 2020

Se podría pensar en hacer algún wget para traer el proyecto?

Probé a hacer un simple clone pero fallaba en el paso de construir la documentación con algunas directivas doctest, aunque no tengo ni idea de por qué. Si te interesa puedes ver las pruebas que hice acá. En teoría debería ser posible, pero al estar configurado como submódulo en el archivo .gitmodules, no creo que sea buena idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.
X Tutup