Skip to content

Código 0.8.0

Choose a tag to compare

@github-actions github-actions released this 27 Nov 15:32
· 2 commits to claude/project-thread-ma6s06 since this release
97735be

Novedades: GitLab llega a Código con el mismo trato que GitHub, con los iconos reales de las dos aplicaciones en la barra lateral, y las Preferencias ganan una página de Cuentas.

What's new: GitLab comes to Código with the same treatment as GitHub, with the two services' own marks in the sidebar, and Preferences gains an Accounts page.

Español

Novedades

  • GitLab, nativo. Un panel (Ctrl+Alt+L) con las solicitudes de fusión e incidencias abiertas
    del proyecto en el que estás, las que abriste o esperan tu revisión y tus proyectos. Una
    solicitud de fusión se abre en su ventana con la descripción, el estado del pipeline, los archivos
    cambiados con sus diferencias y la conversación; puedes comentar, aprobar o abrirla en GitLab.
    Crear una solicitud de fusión… sube la rama actual y la abre. Clonar un proyecto de GitLab…
    acepta una dirección o grupo/proyecto.

  • gitlab.com o tu propio servidor. El servidor se elige en Preferencias ▸ Cuentas. Se inicia
    sesión con un token de acceso personal (ámbito api; el panel enlaza a la página que lo crea).
    El token vive en el llavero del sistema, una entrada por servidor, solo se envía a ese servidor
    por HTTPS y nunca se escribe en un archivo ni aparece en un error.

  • Git con GitLab. Subir, bajar y clonar un proyecto del servidor en el que has iniciado sesión
    usan ese mismo token.

  • Los iconos reales. GitHub y GitLab llevan su propia marca en la barra lateral, tintada con
    el color de la interfaz.

  • Preferencias ▸ Cuentas. Quién tiene la sesión iniciada en GitHub y en GitLab y el servidor
    de GitLab.

  • El depurador se encuentra solo. Si falta, el panel Depurar dice qué instalar en tu sistema
    (el botón para las herramientas de desarrollo de Apple en macOS, o la línea de tu gestor de
    paquetes en Linux) con «Copiar el comando» y «Reintentar», en tu idioma. Código busca lldb-dap
    en Xcode, las herramientas de línea de comandos, Homebrew y /usr/lib/llvm-N/bin, y GDB 14.

  • Corregido: las pestañas de los paneles de GitHub y GitLab se dibujaban unas encima de otras;
    ahora cada una lleva su icono y su texto y se reparten en filas si no caben.

Notas

  • Probado en la aplicación real (Linux, X11): el panel y su pestaña con la marca, el aviso de depurador ausente con sus botones (simulando la ausencia), el inicio de
    sesión con un token incorrecto contra gitlab.com real (lo dice con claridad), la página Cuentas.
    Pruebas automáticas cubren la lectura de las respuestas de GitLab, las direcciones y remotos, la
    validación del servidor y que el token nunca aparezca en un error.
  • No probado contra una cuenta real: las listas, comentar, aprobar, crear una solicitud de
    fusión, el llavero y clonar un proyecto privado. macOS y Windows reales tampoco (ni el instalador de Apple, ni el hallazgo de lldb-dap en Xcode, ni la nueva fila de pestañas de GitHub en macOS; sí hay una prueba de que no se solapan).
  • Todavía no: iniciar sesión por el navegador (OAuth) en GitLab, ver y responder comentarios en
    una línea de las diferencias, e importar un tema de VS Code.

English

What's new

  • Native GitLab. A panel (Ctrl+Alt+L) with the open merge requests and issues of the project
    you are in, the ones you opened or that wait for your review, and your projects. A merge request
    opens in its own window with its description, pipeline status, changed files with their diffs and
    the conversation; you can comment, approve or open it on GitLab. Create a merge request… pushes
    the current branch and opens one. Clone a GitLab project… takes an address or group/project.

  • gitlab.com or your own server. The server is chosen in Preferences ▸ Accounts. You sign in
    with a personal access token (the api scope; the panel links to the page that creates it). The
    token lives in the system's keyring, one entry per server, is sent only to that server over HTTPS
    and is never written to a file or shown in an error.

  • Git with GitLab. Pushing, pulling and cloning a project on the server you are signed in to use
    that same token.

  • The real marks. GitHub and GitLab carry their own mark in the sidebar, tinted with the
    interface colour.

  • Preferences ▸ Accounts. Who is signed in to GitHub and GitLab, and the GitLab server.

  • The debugger finds itself. When it is missing, the Debug panel says what to install on your
    system (a button for Apple's developer tools on macOS, or your package manager's line on Linux)
    with "Copy the command" and "Try again", in your language. Código looks for lldb-dap in Xcode,
    the command line tools, Homebrew and /usr/lib/llvm-N/bin, and for GDB 14.

  • Fixed: the tabs of the GitHub and GitLab panels were drawn on top of one another; each now
    carries its icon and its text and they flow onto more rows when they do not fit.

Notes

  • Tried in the real app (Linux, X11): the panel and its tab with the mark, the missing-debugger notice with its buttons (simulating the absence), signing in with a
    wrong token against the real gitlab.com (it says so plainly), the Accounts page. Automatic tests
    cover reading GitLab's answers, addresses and remotes, validating the server and the token never
    appearing in an error.
  • Not tried against a real account: the lists, commenting, approving, creating a merge request,
    the keyring and cloning a private project. Real macOS and Windows neither (nor Apple's installer, nor finding lldb-dap in Xcode, nor the new GitHub tab row on macOS; a test does check the chips never overlap).
  • Not yet: browser (OAuth) sign-in for GitLab, seeing and answering comments on a line of the
    diff, and importing a VS Code theme.

Descargas · Downloads

Sistema · System Archivo · File
Linux (cualquier distribución · any distribution) codigo-0.8.0-linux-x86_64.AppImage
Debian, Ubuntu, Mint… codigo-0.8.0-linux-x86_64.deb
Fedora, openSUSE, RHEL… codigo-0.8.0-linux-x86_64.rpm
Linux, tarball codigo-0.8.0-linux-x86_64.tar.gz
macOS 11+ (Apple Silicon e Intel · Apple Silicon and Intel) codigo-0.8.0-macos-universal.dmg
Windows 10/11 x64 (instalador · installer) codigo-0.8.0-windows-x64.msi
Windows 10/11 x64 (portable) codigo-0.8.0-windows-x64-portable.zip

Sumas de comprobación · Checksums: SHA256SUMS (Linux), SHA256SUMS-macos, SHA256SUMS-windows.