[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdelibs-bugs
Subject:    [frameworks-frameworkintegration] [Bug 385429] Ability to sepecify kns:/providerHost/productId/linkI
From:       Chris Holland <bugzilla_noreply () kde ! org>
Date:       2017-11-07 2:12:44
Message-ID: bug-385429-90985-Gem3UCdLmN () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=385429

Chris Holland <zrenfire@gmail.com> 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 <zrenfire@gmail.com> ---
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

-- 
You are receiving this mail because:
You are the assignee for the bug.=
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic