Skip to content

Jupyterlab Desktop version tagging does not match installed version from the deb #1968

Description

@philclifford

jupyterlab-desktop seems to be available to download

JupyterLab Desktop
  Package:	jupyterlab-desktop
  Repository:	01-main
  Updater:	deb-get
  Installed:	No
  Published:	4.6.2-1
  Architecture:	amd64
  Download:	https://github.com/jupyterlab/jupyterlab-desktop/releases/download/v4.6.2-1/JupyterLab-Setup-Debian-x64.deb
  Website:	https://github.com/jupyterlab/jupyterlab-desktop
  Summary:	JupyterLab desktop application, based on Electron

🤷

what version to you have installed. The package claims it is "Version: 4.6.2~1" this may indeed be "lower" than the tag of the release "4.6.2-1"
If you copy the definition into /etc/deb-get/99-local.d/
and add VERSION_PUBLISHED="${VERSION_PUBLISHED/-/\~}" after the first assignment does that fix the problem ?

DEFVER=1
get_github_releases "jupyterlab/jupyterlab-desktop" "latest"
if [ "${ACTION}" != "prettylist" ]; then
    URL=$(grep "browser_download_url.*.deb" "${CACHE_FILE}" | cut -d '"' -f 4)
    VERSION_PUBLISHED=$(cut -d '/' -f 8 <<< "${URL//v/}")
    VERSION_PUBLISHED="${VERSION_PUBLISHED/-/\~}"
fi
PRETTY_NAME="JupyterLab Desktop"
WEBSITE="https://github.com/jupyterlab/jupyterlab-desktop"
SUMMARY="JupyterLab desktop application, based on Electron"

Originally posted by @philclifford in #1963

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions