2022-04-29 GnuCash IRC logs

00:08:25 *** kyew3 has joined #gnucash
00:08:46 *** ChanServ sets mode: +v kyew3
00:15:46 *** kyew2 has quit IRC
00:17:00 *** kyew3 has quit IRC
00:18:21 *** kyew2 has joined #gnucash
00:18:21 *** ChanServ sets mode: +v kyew2
00:21:42 *** kyew2 has quit IRC
00:46:10 *** smartner__ has quit IRC
00:51:33 *** kyew2 has joined #gnucash
00:51:33 *** ChanServ sets mode: +v kyew2
01:01:47 *** kyew3 has joined #gnucash
01:01:47 *** ChanServ sets mode: +v kyew3
01:02:09 *** kyew3 has quit IRC
01:06:59 *** kyew has quit IRC
01:08:04 *** fell has quit IRC
01:09:24 *** fell has joined #gnucash
01:09:24 *** ChanServ sets mode: +o fell
01:12:53 *** sbluhm has joined #gnucash
02:18:32 *** AdrienM has quit IRC
04:34:04 *** chris has joined #gnucash
04:34:04 *** ChanServ sets mode: +v chris
04:34:04 *** gncbot sets mode: +o chris
04:34:29 *** chris has quit IRC
04:37:32 *** jralls_afk has joined #gnucash
04:37:32 *** ChanServ sets mode: +o jralls_afk
04:37:32 *** jralls has quit IRC
06:00:34 *** gjanssens has joined #gnucash
06:00:34 *** ChanServ sets mode: +o gjanssens
06:03:17 *** Aussie_matt has joined #gnucash
06:27:55 *** bertbob has quit IRC
06:29:13 *** bertbob has joined #gnucash
06:29:13 *** ChanServ sets mode: +v bertbob
07:54:29 *** CDB-Man has quit IRC
08:24:23 *** Jimraehl1 has joined #gnucash
08:35:02 *** sbluhm has quit IRC
09:08:44 *** sbluhm has joined #gnucash
09:15:30 *** sbluhm has quit IRC
09:44:36 *** chris has joined #gnucash
09:44:37 *** ChanServ sets mode: +v chris
09:44:37 *** gncbot sets mode: +o chris
09:52:45 *** Aussie_matt has quit IRC
09:56:27 *** smartner__ has joined #gnucash
10:02:22 *** sbluhm has joined #gnucash
10:20:37 <chris> anyone clever with docker? is it feasible to have a Dockerfile --> image --> container which makes a Linux build?
10:25:26 <fell> Some of our CIs on github are using docker
10:26:16 <chris> that's not what i meant
10:30:12 <warlord> I'm not sure I understand the question, chris. What exactly are you trying to do?
10:31:22 <chris> from a pristine linux with docker (or WSL2 with docker), clone from code, run a container which has all dependencies, build, generate binary, run
10:32:23 <warlord> Certainly Docker can do everything up to the last part. Not sure about the 'run' portion of it.
10:34:21 <chris> Well, a Dockerfile up to the last part would be a good start. Thus the dev environment will be replicable anywhere.
10:35:26 <chris> "would be nice" to have such a Dockerfile in the code somewhere as a starting point
10:36:16 <chris> but i don't know enough docker to make one
10:45:20 <warlord> Me either.
10:45:37 <warlord> I know github CI is using docker. I don't know where those images come from.
10:50:03 <fell> Perhaps from the distribution maintainers
10:52:04 <chris> AFAIU the images are maintained by Docker, Inc... all I'd need to know is what to write in Dockerfile to grab images, dl dependencies, clone repo from local machine, and start build
10:53:04 *** chris has quit IRC
10:53:28 <fell> Chris, something different: There are several unanswered report related questions on the user list like https://lists.gnucash.org/pipermail/gnucash-user/2022-April/100804.html. Can you check and answer them?
10:54:03 *** chris has joined #gnucash
10:54:03 *** ChanServ sets mode: +v chris
10:54:03 *** gncbot sets mode: +o chris
10:54:38 *** David has joined #gnucash
10:56:11 <fell> Chris, https://lists.gnucash.org/logs/2022/04/29.html#T10:53:28
11:03:04 *** chris has quit IRC
11:03:18 *** chris has joined #gnucash
11:03:18 *** ChanServ sets mode: +v chris
11:03:18 *** gncbot sets mode: +o chris
11:03:30 *** chris has quit IRC
11:04:50 *** chris has joined #gnucash
11:04:50 *** ChanServ sets mode: +v chris
11:04:51 *** gncbot sets mode: +o chris
11:05:17 *** Vafa has joined #gnucash
11:05:18 *** ChanServ sets mode: +v Vafa
11:12:30 *** sbluhm has quit IRC
11:14:44 *** chris has quit IRC
11:20:00 *** chris has joined #gnucash
11:20:00 *** ChanServ sets mode: +v chris
11:20:00 *** gncbot sets mode: +o chris
11:23:25 <chris> hm docker would create new images whenever the repo was modified...
11:34:00 *** chris has quit IRC
11:54:21 *** guak has joined #gnucash
11:56:52 *** David has quit IRC
11:57:02 *** David has joined #gnucash
12:01:16 *** smartner__ has quit IRC
12:35:14 <jralls_afk> @tell chris I think what you're asking for is .github/workflows/ci-docker.yml does.
12:35:14 <gncbot> jralls_afk: The operation succeeded.
12:35:19 *** jralls_afk is now known as jralls
12:37:00 <jralls> @tell chris I started to answer https://bugs.gnucash.org/show_bug.cgi?id=798518 but it looks like you got rid of the nearest in time price source. Did you just change its name?
12:37:00 <gncbot> jralls: The operation succeeded.
12:44:01 *** sbluhm has joined #gnucash
13:09:14 *** smartner__ has joined #gnucash
13:09:31 *** sbluhm has quit IRC
13:34:13 <Simon> @tell chris with docker you'd mount the source code from outside the image, so the image doesn't need to change every time
13:34:13 <gncbot> Simon: The operation succeeded.
13:34:59 *** sbluhm has joined #gnucash
14:00:04 *** Hamaryns has joined #gnucash
14:00:04 *** ChanServ sets mode: +v Hamaryns
14:58:40 *** David has quit IRC
15:02:53 *** David has joined #gnucash
15:44:26 *** Hamaryns has quit IRC
16:25:14 *** sbluhm has quit IRC
16:25:53 *** gjanssens has quit IRC
17:01:29 *** jmdaemon has joined #gnucash
17:03:41 *** AdrienM has joined #gnucash
17:03:41 *** ChanServ sets mode: +v AdrienM
18:06:22 *** kyew has joined #gnucash
18:06:23 *** ChanServ sets mode: +v kyew
18:15:36 *** field^Mop has joined #gnucash
18:53:56 *** Vafa has quit IRC
19:00:14 *** chris has joined #gnucash
19:00:14 *** ChanServ sets mode: +v chris
19:00:20 *** gncbot sets mode: +o chris
19:01:48 <chris> Simon jralls yeah getting somewhere with Dockerfile but still haven't found the right magic
19:02:22 <chris> jralls didnt' remove any price source
19:05:42 <chris> also Dockerfile container should remain persistent so that ninja doesn't need to recompile 1000 files
19:06:38 <jralls> I don't think docker works that way.
19:07:55 <jralls> IIUC the stuff that's compiled *into* the container persists but what you do *in* the container is lost when you quit Docker.
19:09:38 <jralls> I think if you want to persist your work you need a full-on VM. But I've learned exactly enough Docker stuff to make that CI workflow work.
19:24:48 <jralls> chris, And sorry, yes, it was fell who changed the price-source names. I mixed it up with you're adding the most-recent-before option.
19:29:07 *** PT has joined #gnucash
19:59:38 *** field^Mop has quit IRC
21:48:25 <chris> Simon jralls ok; at best then Docker image defines the dependencies, runs the build script from a folder mounted from host
22:41:51 *** guak has quit IRC
22:45:10 *** kyew has quit IRC
22:47:57 *** kyew has joined #gnucash
22:47:57 *** ChanServ sets mode: +v kyew