Summary: | Updated online quotes from a binary package are not transferred to the current settings. | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | Ralf Habacker <ralf.habacker> |
Component: | importer | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | REPORTED --- | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 4.8.2 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | All | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=396797 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
screenshot of online quote editor located in alkima
kmymoney screenshot |
Description
Ralf Habacker
2018-07-27 10:54:52 UTC
Note: this is by design. The reason was that I don't want to override any user changes. Once we can detect if there is user modification of an entry provided by a binary then we can think about replacing the setting by the version found in the new binary if it is still unchanged and don't replace it if it was modified by the user. Better yet, is there any reasonable way to allow updating of the online sources without updating the software? Should this bug be changed to a wishlist: 1) If installing a new version of KMM includes any changes to the existing online sources, allow the user the option to a) ignore the udpates, b) replace any sources that have changed, or c) add changed sources with a new name. In all cases, any new sources should be added. If any sources have been deleted, the user should have the option of retaining or deleting them. 2) Provide an online source for online sources, so the above options become available through a menu choice (or plugin config dialog?). Perhaps the online source data can be isolated to a single file within the program source tree, and also made available for access in a similar way we get ofx direct connect source info. Created attachment 114223 [details] screenshot of online quote editor located in alkima (In reply to Jack from comment #2) > Better yet, is there any reasonable way to allow updating of the online > sources without updating the software? For alkimia an editor is under construction, with which online offers of an installation of financial applications like KMyMoney, Skrooge or others, can be checked, modified or downloaded from the KDE store (see screenshot). The plan is to design an api for finance applications (based on WebPriceQuote and friends) in the 'alk' namespace e.g AlkOnlineQuote to be able to deal with all use cases applications like KMyMoney requires in this area. Has there been any progress on this? It might be a good reason not to incorporate libalkimia directly into the KMM code base, as has been proposed. (See https://phabricator.kde.org/D14522) Yes, recent state is located at https://cgit.kde.org/alkimia.git/log/?h=work/397112-alkonlinequotes Created attachment 116290 [details] kmymoney screenshot The kmymoney 4.8 counterpart branch is https://cgit.kde.org/kmymoney.git/log/?h=4.8-alkimia-onlinequote. With these branches you are able to fetch a GHNS online source in the online quotes settings dialogs As you can see with https://cgit.kde.org/kmymoney.git/commit/?h=4.8-alkimia-onlinequote&id=a06b403b1bdb0acf46146d6ecd5e2b75bdff0913 the required changes are 1. setup AlkOnlineQuotesProfileManager 2. rename WebPriceQuote with AlkOnlineQuote and similar for other related classes Open stuff: 1 FinanceQuoteProcess related - I do not have a test case for this yet - any hints are welcome 2. I was currently not able to test Tools->prices and Tools->Update stock and currency prices because of missing test cases The mentioned kmymoney branch is intended for 4.8, a 5.x related will follow. The mentioned alkimia branch is buildable out of the box for 4.8 and 5.x/master. We need to release alkimia first before the kmymoney related changes could be applied I've installed libalkimia from it's git master, but will wait for a 5.x version to test. I can test updating stock prices. (I tried to get Finance::Quote to work a long time ago, and never did succeed.) (In reply to Jack from comment #7) > I've installed libalkimia from it's git master, but will wait for a 5.x > version to test. I can test updating stock prices. (I tried to get > Finance::Quote to work a long time ago, and never did succeed.) You are suggesting to remove this support ? I am not requesting or suggesting removal of anything. When we started with all the problems with online quotes (started when Yahoo stopped being easy to use) I thought Finance::Quote might be useful, but was unable to get it to work for me. At some point I'll try again - I agree it is good to have an alternate approach. What I meant was that I would wait to test per your Comment 6 that a 5.x related (patch?) will follow. I can't easily test with 4.x since I no longer have any 4.8 version. If it's important, I suppose I can dig in my backup kmy files for one that was never used with 5.x. > At some point I'll try again - I agree it is good to have an alternate approach This is what I want to know. > What I meant was that I would wait to test per your Comment 6 that a 5.x related (patch?) will follow. I guess you didn't read the note in comment 6: > The mentioned alkimia branch is buildable out of the box for 4.8 and 5.x/master. For qt5 you need to install knewstuff-devel and specify -DBUILD_QT4=OFF at cmake command line. In the provided standalone application alkonlinequoteeditor you are able to check GHNS support. BTW: The branch has been provided at review request https://phabricator.kde.org/D16973 I seem to have misunderstood something. I did build libalkimia from git-head, but now see I need to checkout the work branch. Also, I was waiting for a kmymoney branch based on 5.0. Aside from trying the standalone alkonlinequoteeditor, I'd like to be able to test against KMM 5, since I haven't been able to get any online quotes to work for me for a few months. >Also, I was waiting for a kmymoney branch based on 5.0.
This is in preparation and will coming soon.
(In reply to Ralf Habacker from comment #12) > >Also, I was waiting for a kmymoney branch based on 5.0. > This is in preparation and will coming soon. With this patch online quote support will be factored out of kmymoney into alkimia, not duplicated to avoid having whole kmymoney as dependency for the provided plasma widget. |