Repository navigation
feat(extensions): catalogo privado + proxy de extensiones de Echo - #71
Merged
Merged
Conversation
El dispositivo solo habla con CodeHub: el backend resuelve y reenvia el .eapk del origen, sin exponer nunca la URL/repositorio real. - backend/modules/extensions: GET /api/extensions (lista), GET /api/extensions/pkg/:id (proxy + check de update), POST /refresh (admin). Cachea catalogo (6h) y asset (30min); replica el criterio de Echo (tag != version, asset .apk con ABI preferido). Allowlist/blocklist por env. - echo: CODEHUB_BACKEND buildConfigField; CodeHubExtensions (catalogo privado); AppUpdater acepta URL del proxy; AddSheet carga el catalogo solo al abrir; updates de instaladas pasan por el proxy si el id esta en el catalogo. - deploy.yml: node --check de los modulos nuevos (gate previo al deploy de Render). - docs/ECHO-EXTENSIONS.md.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
🚀 Preview desplegado URL: https://code-fdkjvb1bs-wilson360-labs-697c8519.vercel.app Este preview se genera automáticamente con el commit |
El regex /\.apk(k)?(\?|$)/ no casaba con .eapk (hay una 'e' entre el punto y 'apk'), y el campo 'name' de la release (p.ej. jellyfin-8de7e92.eapk) se colaba como si fuera URL. Ahora se usa el mismo criterio que Echo (endsWith 'apk') exigiendo http(s) y ignorando query/fragmento. Se anade .github/workflows/extensions-check.yml: node --check + carga/exports del modulo en ramas feat/**, porque deploy.yml solo corre en main/PR.
Deploying codehub with
|
| Latest commit: |
6a18441
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://f0b0892f.codehub-1fr.pages.dev |
| Branch Preview URL: | https://feat-echo-extensions.codehub-1fr.pages.dev |
Contributor
|
🚀 Preview desplegado URL: https://code-1muf5j1s8-wilson360-labs-697c8519.vercel.app Este preview se genera automáticamente con el commit |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
El dispositivo solo habla con CodeHub: el backend resuelve y reenvia el .eapk del origen, sin exponer nunca la URL/repositorio real.