2023-02-19 GnuCash IRC logs

01:16:02 *** fell has quit IRC
01:17:22 *** fell has joined #gnucash
01:17:22 *** ChanServ sets mode: +o fell
02:00:32 *** NoobAlice has quit IRC
02:44:27 *** gandalf has joined #gnucash
07:56:29 *** warlord has quit IRC
08:42:06 *** robert has joined #gnucash
08:43:13 *** robert has quit IRC
08:52:55 *** Aussie_matt has quit IRC
09:56:57 *** cliff has quit IRC
10:48:15 <chris> jralls: apparently guile compiles on mingw64 nowadays
10:51:58 <chris> https://git.savannah.gnu.org/cgit/guile.git/tree/NEWS#n553
12:05:57 *** NoobAlice has joined #gnucash
12:05:58 *** ChanServ sets mode: +v NoobAlice
12:27:38 <jralls> chris, cool, I'll give it a try. BTW I tried on macOS a couple of weeks ago and it built but made GnuCash crash. I haven't dug into why yet.
12:40:54 *** jervin has joined #gnucash
13:08:13 <jralls> chris, Well, that's bad. It BSODed.
13:53:35 *** warlord has joined #gnucash
13:55:26 <jralls> chris, try 2: BOOTSTRAP(stage0) GUILEC ice-9/eval.go | guile: uncaught exception: attempt to include relative file name but could not determine base dir
13:55:53 <jralls> chris, so no, guile 3 doesn't compile on MinGW64 these days.
14:33:15 *** palerider has joined #gnucash
14:33:56 *** palerider has left #gnucash
14:37:41 *** CDB-Man has quit IRC
14:57:31 *** ChanServ sets mode: +qo warlord warlord
14:57:32 <warlord> .
15:07:03 <warlord> So, checking out the website was easy. Getting it to /display/ seems to be much harder. It doesn't seem to want to render the phtml files.
15:22:26 <warlord> jralls, okay, code.gnucash.org/website is now displaying the website.
15:23:14 <warlord> next step is to get git push to update it..
15:23:17 <jralls> \o/ Good Job!
15:24:11 <jralls> warlord, You also need to install gnucash-htdocs-docs in it.
15:25:12 <warlord> Oh. Where does that live?
15:29:54 <warlord> jralls, in viewdocs I see:
15:29:54 <warlord> $basepath = \DEFAULT_URL."docs";
15:32:15 <jralls> warlord, I think that's where it goes.
15:33:28 <warlord> so if the path is website then I need to check it out into websitedocs ?
15:34:39 <jralls> There's a docs/ in the website. That's where I've got it cloned in my test website here.
15:41:21 <warlord> so website/docs ?
15:41:40 <warlord> I'm just trying to figure out where it needs to be checked-out
15:42:35 <jralls> if website is the name of where you cloned gnucash-htdocs then yes, website/docs.
16:12:58 *** gandalf has quit IRC
16:13:02 *** jralls changes topic to "Free GPL Personal and Small Business Accounting || Moderated mode: To get a voice, register with NickServ and then re-join. || Please don't ask to ask, just ask and wait! (Possibly a few hours!!) || publicly-logged channel https://code.gnucash.org/logs || latest stable: 4.13 || code.gnucash.org/website || wiki.gnucash.org/wiki/"
16:20:02 <warlord> jralls, okay, checked out there...
16:21:01 <warlord> Not sure if it's working..
16:23:54 <warlord> jralls, it says "www.gnucash.org took too long to respond". Is something trying to redirect there?
16:47:38 <jralls> Not that I know about offhand, looking.
16:49:29 *** CDB-Man has joined #gnucash
16:49:29 *** ChanServ sets mode: +v CDB-Man
17:02:34 <jralls> warlord, in externals/global_params.php change DEFAULT_URL.
17:03:27 <jralls> Or you could put in a redirect in your apache/ngix config.
17:03:43 <jralls> s/redirect/rewrite/
17:05:00 <warlord> Is there a "local" global_params override file? I'm worried that if I change it, then it might cause a merge failure later if it gets modified in git
17:06:04 <warlord> Anyways, I changed DEFAULT_URL in that file, and now the docs work.
17:07:31 <jralls> Right, plus some other stuff. I think go ahead and commit and push that change. You can put it back when linas is back on line and the knocker works.
17:08:25 <warlord> Eh, if nobody else changes the file in git then there wont be a merge conflict, so I'm not going to worry about it.
17:08:35 <jralls> OK.
17:08:36 <warlord> I still need to work on the auto-update.
17:11:09 <jralls> Oh, wait, not OK. That file gets changed every release.
17:16:30 <warlord> Yes, but WHERE in the file?
17:18:23 <warlord> So long as the changes are > ~5 lines above, the git merge will work.
17:19:45 <jralls> They are, but only if you commit the change and set up your script to merge instead of pull and are OK with intervening if somebody does a force-push.
17:20:35 <jralls> but it will work only if...
17:21:06 <warlord> Then we should change the code so that at the end of the file it does something like "if file_exists global_params_local.php then include global_params_local.php"
17:22:10 <jralls> That might be a nice enhancement.
17:24:38 <warlord> I suppose I could go figure out how to add that..
17:24:47 <warlord> Or ask someone who knows PHP better than I for it
17:24:55 <jralls> All of the hews articles have hard-coded href="https://www.gnucash.org/" I guess we should change them all to say DEFAULT_URL instead.
17:24:59 *** jervin has quit IRC
17:25:26 <jralls> I always have to look up php functions...
17:51:39 <jralls> All the links in the wiki are converted to a template that points to the temporary URL.
17:59:24 <warlord> ok.
17:59:44 <warlord> I still need to write a script to automate the pull
18:04:42 <warlord> done. Although it is currently manual; Need to set it up as a service.
18:13:11 *** ChanServ sets mode: +v starman
18:20:23 <warlord> Fixed that, too.
18:20:32 <warlord> So care to try to push an update to the website?
18:27:45 <warlord> Basically, once you push an update, the update will get pulled within 60 seconds.
18:28:07 <warlord> (I could reduce that delay if necessary)
18:30:22 <jralls> Don't really have anything, so I merged master->beta and pushed that. Unfortunately code.gnucash/website/beta doesn't work so that wasn't a useful test.
18:32:13 <jralls> I guess that's not too surprising, either. It would take a separate checkout of gnucash-htdocs's beta branch. Not really worth the effort.
18:32:49 <warlord> Yeah, I'm not pulling from beta.
18:32:50 <jralls> I'll make an announcement of the temporary website for News.
18:32:54 <warlord> Sure.
18:41:56 <chris> jralls: I've never been able to build myself... but seems they require very specific tooling: https://git.savannah.gnu.org/cgit/guile.git/tree/build-aux/guix/guile-package.scm#n30
18:46:07 <jralls> warlord, Pushed, and it shows up on the website. \o/
18:47:19 <jralls> chris, I don't see anything unusual there except that it seems to be for building guile 3.0.99 which I imagine is development. The release notes you pointed at were for 3.0.9 and I tried to build that from the tarball.
19:01:52 <warlord> jralls, YAY
19:12:59 <jralls> warlord, I've changed the URL on github and sourceforge. Can you think of anywhere else it needs to be changed?
19:19:38 <warlord> In the application? ;)
19:19:50 <warlord> (can't think of anywhere else offhand)
19:25:28 <jralls> I hope it doesn't become sufficiently permanent that we need to change the instances in the code.
19:30:21 <jralls> gtg, time to make dinner.
19:34:19 *** Aussie_matt has joined #gnucash
19:40:35 *** jervin has joined #gnucash
19:41:58 *** jervin has quit IRC
19:52:38 <warlord> I hope so, too. have a good evening.
21:00:45 *** Aussie_matt has quit IRC
21:41:13 *** bumblebee has joined #gnucash