#Daggerverse

1 messages · Page 1 of 1 (latest)

strange mulch
#

The thing about dagger/dagger/modules is that even though anyone can use them, they're mostly serving the dagger pipelines and I'm not sure how much thought is currently being put on keeping them generic enough. I.e: I see that the gha module has a scripts folder (https://github.com/dagger/dagger/tree/main/modules/gha/scripts) with a bunch of things that are very dagger engine build specific.

GitHub

An open-source runtime for composable workflows. Great for AI agents and CI/CD. - dagger/dagger

#

seems like we could use a robots.txt for dagger modules.

#

silently pinging @abstract ruin and @left meadow

left meadow
#

They're meant to be reusable, including gha. When my gha module was absorbed into dagger/dagger it was also refactored. But I think it remained equally reusable.

To me dagger/dagger/modules is an intermediary step towards a stdlib, like an incubator

summer sundial
left meadow
#

@summer sundial at a quick glance I don't see what's specific to dagger there

#

seems cleanly generic to me? but if we missed something we'll fix it

summer sundial
#

When I ran it against my app, the ListPackages didn't produce results. I didn't dig into it deep though. Maybe we have a non-standard folder structure? I ended up going with the featured go module in daggerverse. I can try test this again and see if I can spot anything specific.

past quail
summer sundial
#

yeah it's weird. I had to copy and change the code because I can't directly use the wolfi module which in using the alpine module which has the registry hardcoded to docker.io. So i replaced Wolfi() with Container().From(".../alpine:3"). Also, our project doesn't produce a binary. It's a framework module so maybe that affected this too. As I said, I didn't have a ton of time to dive deep. Mark's daggerverse go module fit better for my needs so I went with that.

past quail
#

right okay

#

yeah the part that sets the base looks to just be wrong

#

that logic should be applying even if base != nil