Zoom Logo

Dagger Community Call - 10/27 - Shared screen with speaker view
Marcos Nils
01:26
can't hear you miranda?
Marcos Nils
01:37
I can heart the video audio though
Marcos Nils
01:45
I can now
ivorscott
03:29
hi
Kyle Penfound
03:34
hello!
Guillaume de Rouville
03:41
Will only be able to stay for 10 min, but nice to see you all
Kyle Penfound
07:09
1 sec loud noise
Harsh Thakur
16:12
This feels like the beginning to an end for complicated tools like bazzel. πŸ˜„
Kyle Penfound
16:20
YES πŸ™‚
Kyle Penfound
16:39
https://github.com/kpenfound/hello-monorepo
Chris Hunt
18:46
Services! Yes!
ivorscott
21:50
Yeah baby 🎡
playsted
25:12
is the directory caching logic controllable at all? eg. ignore or include file timestamps
Solomon
25:24
include/exclude are in a PR right now, coming soon
Solomon
26:05
everyone mute please
playsted
26:17
I don't mean files themself, but whether the cache should be invalidated if a file modified date changes but contents is the same
Mark Derricutt
26:59
It seemed to invalidate occasionally - if I'd changed steps. so not sure what was going on there.
Solomon
27:22
Ah sorry - I believe that is not configurable at the moment. Probably needs to be done at the buildkit level (our upstream dependency). I believe there's ongoing discussion about that.
Ringo De Smet
27:25
Gotta go. Until next time.
Jeremy Adams
27:40
thanks, Ringo!
Jeremy Adams
29:16
CacheVolume could def get a guide since it's a tricky subject and not all builds can take advantage of it.
Jeremy Adams
29:39
I say with 50% confidence πŸ˜†
Jeremy Adams
30:14
Maybe 75% β€” had some confidence in the cache
Solomon
30:17
Also not surprising that you didn't find a "cache volume" in the CUE SDK, we redesigned the API extensively for the 0.3 engine, which the Go SDK is based on (CUE SDK is still based on 0.2)
Solomon
31:06
@playsted would you mind opening an issue describing what you'd expect with timestamps and cache invalidation?
playsted
31:30
also, does the go sdk support external caching (eg. OCI repo)? I saw that for the old cuelang in some docs
Solomon
31:57
+1 on API consistency, we're looking for a fix (possibly extra annotation in the underlying graphql schema)
Kyle Penfound
32:17
Awesome!
Jeremy Adams
32:59
great demo and feedback
Jeremy Adams
34:20
the FS guide
Erik Sipsma
34:40
re: "also, does the go sdk support external caching" not yet but there's an early PR out with support, so in the pipeline :-)
Kyle Penfound
36:11
I've made that mistake as well, something with the fsutil package, we should have a stickied issue
Kyle Penfound
36:19
(the go get -u mistake)
Erik Sipsma
36:54
Blurb was added to docs this morning: https://github.com/dagger/dagger/commit/ef7162350947027ff8af5b61c0612c7bc229c66f
Kyle Penfound
37:15
Perfect
Brian Goff
37:40
Missed some of that discussion, but I think we'll be updating docker to increment major version numbers with each release and dropping the cal-ver that is incompatible with go.
Brian Goff
40:05
The other thing would be to make buildkit stop importing docker/docker
Alex Suraci
40:31
thought about that, but it seems hard lol: https://gist.github.com/vito/e783f8ea43c8ca15897025f2540cda24
Brian Goff
40:51
Yeah, we'll be semver soon.
Solomon
41:03
awesome news!
Solomon
43:55
more forking!
Mark Derricutt
44:25
Good to see Java's not the only ecosystem built on upstream layers πŸ™‚
Jeremy Adams
45:44
Harsh, do you use bazel today? Anything we could learn from your experiences there?
Miranda Carter
45:53
Link to Discord forum post for this discussion - https://discord.com/channels/707636530424053791/1034775679897718834
Jeremy Adams
46:32
Chris, have you looked-into/thought-about a dotnet SDK any more? πŸ™‚
Helder Correia
47:56
With Python it's not a dict.
Helder Correia
48:39
We could force keyword arguments but I do like the simple case of `from_(β€œalpine”)`, so I'd like to support positional as well and not force keyword arguments.
Helder Correia
49:24
In Typescript, it's an object but it's typed. You do get type hints.
Jeremy Adams
50:38
Dagger’s GoVemberfest month of code! All t-shirts size small.
Erik Sipsma
50:42
It would be bad if the args flipped but the types were the same, and so it continues to compile
Alex Suraci
50:55
yeah, I think we're lucky here since they're different
Mark Derricutt
51:02
https://comby.dev/ - Comby is a tool for searching and changing code structure
Mark Derricutt
51:31
eg: comby 'fmt.Println(:[args])' 'fmt.Println(fmt.Sprintf("comby says %s", :[args]))' .go
Alex Suraci
52:11
this might work: find . -name '*.go' | gofmt -l -w -r 'x.WithCacheMount(a, b) -> x.WithCacheMount(b, a)'
Kyle Penfound
52:39
Great conversation today πŸ™‚
Jossemar Cordero
52:50
thanks πŸ‘