[frameworks-frameworkintegration] [Bug 385429] Ability to sepecify kns:/providerHost/productId/linkId in order to download the 2nd or 3rd zip for a lookandfeel

2017-11-09 Thread Simon Andric
https://bugs.kde.org/show_bug.cgi?id=385429

Simon Andric  changed:

   What|Removed |Added

 CC||simonandr...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-frameworkintegration] [Bug 385429] Ability to sepecify kns:/providerHost/productId/linkId in order to download the 2nd or 3rd zip for a lookandfeel

2017-11-06 Thread Chris Holland
https://bugs.kde.org/show_bug.cgi?id=385429

Chris Holland  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
  Latest Commit||https://commits.kde.org/fra
   ||meworkintegration/35656828f
   ||12c72f7943a27ec59dab7332335
   ||f1a0
 Resolution|--- |FIXED

--- Comment #1 from Chris Holland  ---
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   -2src/kpackage-install-handlers/kns/main.cpp

https://commits.kde.org/frameworkintegration/35656828f12c72f7943a27ec59dab7332335f1a0

-- 
You are receiving this mail because:
You are watching all bug changes.