Summary: | Ability to sepecify kns:/providerHost/productId/linkId in order to download the 2nd or 3rd zip for a lookandfeel | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-frameworkintegration | Reporter: | Chris Holland <zrenfire> |
Component: | general | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | simonandric5 |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/frameworkintegration/35656828f12c72f7943a27ec59dab7332335f1a0 | Version Fixed In: | |
Sentry Crash Report: |
Description
Chris Holland
2017-10-06 06:07:08 UTC
Git commit 35656828f12c72f7943a27ec59dab7332335f1a0 by Chris Holland. Committed on 07/11/2017 at 01:35. Pushed by cholland into branch 'master'. Support downloading the 2nd or 3rd download link from a KNS product This lets LookAndFeel packages depend on specific versions of a KNS product. This patch adds the ability to specify which link to download with the ?linkid=3 query parameter. Eg: kns://plasmoids.knsrc/api.kde-look.org/1160672?linkid=3 Testing: alias knshandler='/usr/lib/x86_64-linux-gnu/libexec/kf5/kpackagehandlers/knshandler' Works: knshandler kns://plasmoids.knsrc/api.kde-look.org/1160672 knshandler kns://plasmoids.knsrc/api.kde-look.org/1160672?linkid=3 Errors: knshandler kns://plasmoids.knsrc/api.kde-look.org/1160672?linkid=test Installs first download link (since it wasn't specified): knshandler kns://plasmoids.knsrc/api.kde-look.org/1160672?rawr=blarg Differential Revision: https://phabricator.kde.org/D8636 M +15 -2 src/kpackage-install-handlers/kns/main.cpp https://commits.kde.org/frameworkintegration/35656828f12c72f7943a27ec59dab7332335f1a0 |