47fac22230
- .claude/CLAUDE.md - .claude/commands/subagentes.md - .claude/rules/INDEX.md - .mcp.json - bash/functions/cybersecurity/analyze_dns.md - bash/functions/cybersecurity/audit_http_headers.md - bash/functions/cybersecurity/audit_ssh_config.md - bash/functions/cybersecurity/check_firewall.md - bash/functions/cybersecurity/detect_suspicious_users.md - bash/functions/cybersecurity/encrypt_file.md - ... Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2.7 KiB
2.7 KiB
name, kind, lang, domain, version, purity, signature, description, tags, uses_functions, uses_types, returns, returns_optional, error_type, imports, params, output, tested, tests, test_file_path, file_path
| name | kind | lang | domain | version | purity | signature | description | tags | uses_functions | uses_types | returns | returns_optional | error_type | imports | params | output | tested | tests | test_file_path | file_path | |||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| full_git_push | pipeline | bash | pipelines | 1.0.0 | impure | full_git_push(commit_message?: string) -> stdout: tabla resumen | Push automatico de fn_registry + todos los sub-repos + fn sync. Descubre repos, escanea secrets (aborta si detecta), auto-inicializa apps/analyses sin .git via ensure_repo_synced, auto-commitea dirty trees, pushea solo repos adelantados, pushea ~/.password-store sin commitear, y ejecuta fn sync. |
|
|
false | error_go_core |
|
tabla resumen por stdout: commits creados por repo, push status de cada repo, estado de pass-secrets, resultado de fn sync | false | bash/functions/pipelines/full_git_push.sh |
Ejemplo
# Push con mensaje automatico
fn run full_git_push
# Push con mensaje fijo para todos los repos
fn run full_git_push "chore: sync desde home-wsl"
# Directo
bash bash/functions/pipelines/full_git_push.sh "feat: nueva funcion"
Flujo
discover_git_repos— lista todos los repos bajo$FN_REGISTRY_ROOT- Auto-init — para cada app/analysis sin
.git, llamaensure_repo_synced(requiereGITEA_URL/GITEA_TOKENviapass_get) scan_secrets_in_dirty— escanea cada repo; si hay matches aborta todo y lista los archivosgit_auto_commit_dirty— commitea dirty trees con mensaje fijo o generadogit_push_if_ahead— pushea solo repos con commits locales (sin tocar la red para los up-to-date)- Push de
~/.password-store— solo push (sin commit; pass se autocommitea) fn sync— sincroniza proposals, apps, projects, analysis, vaults, pc_locations con registry_api
Variables de entorno
FN_REGISTRY_ROOT— raiz del registry; default/home/lucas/fn_registryGITEA_URL,GITEA_TOKEN— se cargan depass agentes/gitea-urlypass gitea/dataforge-git-tokenFN_REGISTRY_API,REGISTRY_API_TOKEN— se cargan depass registry/*
Notas
El unico motivo para abortar antes de commitear es la deteccion de secrets. Cualquier otro error (push rechazado por non-fast-forward, fn sync no disponible) se reporta en el resumen y el pipeline continua con el resto de repos. Modo completamente no-interactivo.