Commit automático inicial

This commit is contained in:
2025-09-11 03:49:32 +02:00
parent ba677af7bb
commit 7abee7b27c
2 changed files with 4 additions and 9 deletions
+2 -7
View File
@@ -50,17 +50,12 @@
{ {
"type": "stream", "type": "stream",
"name": "stdout", "name": "stdout",
"text": "\n\n" "text": "\n\n\n"
}, },
{ {
"type": "stream", "type": "stream",
"name": "stdout", "name": "stdout",
"text": "\n" "text": "[master ba677af] Commit autom\u00e1tico inicial\n 1 file changed, 1 insertion(+), 1 deletion(-)\n"
},
{
"type": "stream",
"name": "stdout",
"text": "[master 5498790] Commit autom\u00e1tico inicial\n 2 files changed, 14 insertions(+), 30 deletions(-)\n"
}, },
{ {
"type": "stream", "type": "stream",
+2 -2
View File
@@ -151,7 +151,7 @@ def _():
# --- Flujo principal --- # --- Flujo principal ---
resultado = crear_repo( resultado = crear_repo(
HOST, USERNAME, TOKEN, repo_name, HOST, USERNAME, TOKEN, repo_name,
private=True, private=False,
description=f"Repositorio generado automáticamente para {carpeta_actual}" description=f"Repositorio generado automáticamente para {carpeta_actual}"
) )
@@ -172,7 +172,7 @@ def _(mo):
@app.cell @app.cell
def _(HOST, TOKEN, USERNAME, requests): def _(HOST, TOKEN, USERNAME, requests):
NOMBRE_REPO = "" NOMBRE_REPO = "controlando_git_desde_python"
def borrar_repo(host, username, token, repo_name): def borrar_repo(host, username, token, repo_name):
"""Borra un repositorio en GitHub, GitLab o Gitea según el host. """Borra un repositorio en GitHub, GitLab o Gitea según el host.