2022-10-16 GnuCash IRC logs
00:02:55 *** dpchr has quit IRC
00:03:09 *** dpchr has joined #gnucash
00:03:09 *** ChanServ sets mode: +v dpchr
00:22:25 <chris> the capgains-acct option isn't being used to populate the spreadsheet; it's currently only being used for the txn-type heuristics
01:25:12 *** fell has quit IRC
01:26:32 *** fell has joined #gnucash
01:26:32 *** ChanServ sets mode: +o fell
01:33:12 *** sbluhm has joined #gnucash
01:52:57 *** FH_thecat has joined #gnucash
01:57:12 *** sbluhm has quit IRC
02:44:46 *** NoobAlice has quit IRC
03:24:08 *** chip_x has joined #gnucash
03:25:04 *** chipxxx has quit IRC
03:25:43 *** sbluhm has joined #gnucash
03:33:13 *** sbluhm has quit IRC
03:38:16 *** Gandalf has joined #gnucash
03:47:47 *** sbluhm has joined #gnucash
03:59:02 *** sbluhm has quit IRC
05:15:50 <chris> CDB-Man: I think if you agree capgains in SPY2 needs to be fixed, I'll merge the branch has the fix very soon. The reporting is a different issue: IIUC in the report capgains is being derived from the sale price and the ACB column.
05:23:05 *** gjanssens has joined #gnucash
05:23:05 *** ChanServ sets mode: +o gjanssens
05:26:31 *** storyjesse has joined #gnucash
05:45:13 <chris> CDB-Man: I think this relates to the capgains validator that I mentioned before - the XLS and report will use the capgains calculated assuming ACB rules
05:46:00 <chris> if we wanted we could add a "Variance" column which describes the diff between calculated capgain and recorded capgain; the Variance expected to always be <0.01
05:46:24 <chris> the advanced-portfolio report *does* include such a Variance column AFAIR
05:46:56 <chris> ^ it offers options fifo/lifo/average
05:47:22 <chris> gtg
05:54:24 *** bertbob has quit IRC
05:56:59 *** chip_x has quit IRC
05:59:10 *** bertbob has joined #gnucash
05:59:10 *** ChanServ sets mode: +v bertbob
06:50:12 *** jmdaemon has quit IRC
07:46:52 *** Gandalf has quit IRC
07:47:00 *** FH_thecat has quit IRC
07:47:39 *** FH_thecat has joined #gnucash
07:48:04 *** Gandalf has joined #gnucash
08:40:18 *** tj123 has joined #gnucash
08:50:49 <gjanssens> jralls: there's no 4.12 tag in the flathub repo. Do you have it locally, but forgot to push ?
09:02:01 *** Gandalf has quit IRC
10:03:34 *** tj123 has quit IRC
10:19:54 *** Gandalf has joined #gnucash
10:30:42 <gjanssens> jralls: I have chosen not to create it myself for now. I have instead jumped straight to 4.12-1 for the F::Q update.
10:31:36 <gjanssens> Do we want to make some kind of announcement for this newer package on flathub ?
11:43:12 <chris> CDB-Man: I've pushed fix to ensure +ve capgain in a short will still record as Cr in Income acct.
12:20:59 *** Gandalf has quit IRC
13:39:21 *** storyjesse has quit IRC
13:45:43 *** NoobAlice has joined #gnucash
14:03:11 *** sbluhm has joined #gnucash
14:19:41 *** sbluhm has quit IRC
14:35:11 <fell> gjanssens, I think we should as there have been several discussions about How zo update FQ in side FP
14:36:42 *** sbluhm has joined #gnucash
14:43:34 *** Aussie_matt has quit IRC
14:43:39 <gjanssens> Ok, I'm just not sure how to do so exactly. A formal gnucash release announcement ? Wouldn't that set expectations for other platforms ?
14:44:00 <gjanssens> The flathub build succeeded in any case and the new version is available there.
14:47:12 *** sbluhm has quit IRC
14:47:21 *** ericdm has quit IRC
14:47:56 *** ericdm4 has joined #gnucash
14:49:04 *** Aussie_matt has joined #gnucash
14:50:48 <gjanssens> fell: that aside, any objections to merging the remaining restructuring in gnucash-docs ? (PR #288)
14:51:18 <fell> No, I am awaiting them.
14:51:22 <gjanssens> I understand that needs wiki changes as well, which I'll do afterwards then.
14:52:17 <gjanssens> Ok, probably not today anymore though... but soon™
14:52:27 <fell> OK
15:00:19 <jralls> gjanssens, looks like I forgot to tag org.gnucash.Gnucash at all. Don't worry about expectations on other platforms for the announcements, all of the other platforms can update F::Q independently of GnuCash.
15:00:37 *** ericdm4 has quit IRC
15:01:54 <gjanssens> jralls: ok. Do you have a template for release announcements ? Also is it it sufficient to announce on the mailing lists or should we have an official news item on the website as well ?
15:02:41 *** sbluhm has joined #gnucash
15:03:17 <gjanssens> I'll add that with the flatpak-cpan-generator and jq combined, it was actually a breeze to update F::Q on flatpak.
15:03:47 <gjanssens> I have updated the README.md to reflect the current process.
15:05:42 <jralls> I think there should be a news item as well as an email. They can both have the same text, and I don't think you need to copy all of the boilerplate from a regular release. Just say something like "We've updated F::Q in the 4.12 flatpak, now available from flathub.org, just do `flatpak --update gnucash`".
15:08:19 <gjanssens> Ok. Let's see if I have the rights to send out an announcement. Do you cross-post this to all three lists at once ?
15:09:09 <jralls> Good to know that it's easy. I guess we should do it as part of the regular release process.
15:09:24 <gjanssens> That would be good indeed.
15:09:31 <CDB-Man> [23:21:49] <@chris> If so it's because in your XLS the gain is being derived as "proceeds + ACB-of-sale + (maybe) fee-on-purchase"
15:09:50 <CDB-Man> Yes, or more precisely proceeds minus ACB minus fees
15:10:20 <CDB-Man> So a validation column in IFRS report would be a good idea
15:10:54 <CDB-Man> The cap gain split would be compared for variance against the before fee gain (not the post fee gain)
15:11:03 <jralls> gjanssens, Different subject: I noticed a problem with retrieving the alphavantage key from gnucash-preferences with gnucash-cli. Is there anything needed besides calling gnc_prefs_init(); gnc_prefs_get_string();?
15:11:39 <gjanssens> Hmm, not that I am aware of ?
15:12:10 <jralls> OK, debugger time then.
15:12:16 <gjanssens> :(
15:25:55 <gjanssens> So my message to gnucash-announce is moderated... gnucash-user and gnucash-devel should have received it. Liz will eventually let it pass on announce I suppose.
15:36:02 <jralls> Yup, saw it on gnucash-devel. I wonder why it's in moderation for gnucash-announce. Mine used to be because of bcc'ing instead of cc'ing so I stopped doing that.
15:36:45 * gjanssens was probably never added as authorized poster on that list...
15:47:48 <jralls> Oh, maybe, because you've never done releases. Maybe warlord can fix that.
16:01:55 <warlord> Let me check.
16:03:48 <jralls> fell, in manual/C/tips-appedix.xml what is the <releaseinfo> block for and should be getting updated with every release? It currently says "Version 2.6.20 + Finance::Quote Version 1.47, March 2018" and has older releases commented out.
16:06:00 <warlord> I approved and un-moderated the address, but ... Are you subscribed? (I appear NOT to be subscribed to the announce list!)
16:06:34 <warlord> Looks like you are -- and you are no longer moderated. So you should be set for next time, gjanssens
16:07:41 <jralls> fell, nvm, I guess it's the last time the table of F::Q sources has been updated.
16:12:35 <gjanssens> warlord: thanks!
16:42:28 <jralls> gjanssens, I figured out the prefs problem. It's probably unique to macOS, where preferences are stored in ~/Library/Preferences/foo.plist. I had foo = org.gnucash.Gnucash and gnucash. The former applied to launches from the app bundle where Info.plist sets the preferences domain and the latter to running from a regular unix install where there isn't an Info.plist. That's derived from the executable name that isn't gnucash-cli. `cp ~/Library/Prefe
16:42:28 <jralls> rences/gnucash.plist ~/Library/Preferences/gnucash-cli.plist` to match the gnucash-cli command name allowed macOS to find the api key.
16:46:17 <gjanssens> Nice. Does that mean that gnucash and gnucash-cli have their own preferences set ? That would defeat the whole effort of having gnucash and gnucash-cli sharing the API key (and possibly other settings in other contexts)
16:47:23 <jralls> It does mean that until I can figure out a way for it not to. :-/
16:47:43 <gjanssens> Oh, ok.
16:53:41 *** sbluhm has quit IRC
17:07:52 *** chipxxx has joined #gnucash
17:28:27 *** jmdaemon has joined #gnucash
17:31:25 *** David has joined #gnucash
17:41:39 <fell> jralls the releaseinfo was my first trial to store metadata not in comments, but a reusable form.
17:42:19 <fell> And yes, it contains the status of this chapter.
17:46:51 *** gjanssens has quit IRC
17:54:11 <jralls> fell, OK, though it seems a strange place to document what modules (an old version of) F::Q supports. Wouldn't it be better to point the user at F::Q's own documentation?
17:56:44 <fell> That is mostly more ancient. On a recent PR I asked the contributor successfull to update that module's doc.
17:58:25 <fell> Usually while updatung engine.c, I simultanous update our docs.
17:59:45 <fell> But I should consider to send PRs to FQ, now as we all are using the same tools.
18:25:19 *** JayC has quit IRC
18:49:49 *** JayC has joined #gnucash
18:49:49 *** ChanServ sets mode: +v JayC
19:08:17 *** chf has quit IRC
19:27:42 *** chf has joined #gnucash
19:39:00 *** Bjrn[m] has joined #gnucash
19:45:02 *** Aussie_matt has quit IRC
19:56:12 *** chf has quit IRC
20:17:58 *** chf has joined #gnucash
20:27:21 <chris> CDB-Man: I'm glad we can agree on "Variance" terminology. I'll add it after the two gain-pre/post-commission column?
20:35:01 *** gjanssens has joined #gnucash
20:35:02 *** ChanServ sets mode: +o gjanssens
20:44:58 *** chf has quit IRC
21:09:13 *** chf has joined #gnucash
21:10:53 <chris> jralls: re MVC-ization I think #1442 does the maximum it can... gtk calls places some limits how much can be converted into cpp struct
21:35:04 *** gjanssens has quit IRC
21:42:13 *** chf has quit IRC
21:59:27 <chris> CDB-Man: rather tricky to set up the "variance" formula because of fx...
22:03:47 *** chf has joined #gnucash
23:02:23 *** Ragnor has joined #gnucash
23:02:23 *** ChanServ sets mode: +v Ragnor
23:03:04 *** Ragnor_ has quit IRC
23:53:14 *** Aussie_matt has joined #gnucash
23:59:25 *** FH_thecat has quit IRC