#update and dependency issue

1 messages ยท Page 1 of 1 (latest)

native bluff
#

Hi,
can you please you us your module.cue ?

tender heron
#

are you have a link to guide me how to define the module.cue file and use it?

native bluff
tender heron
#

I added my module to module.cue file like this:
module: "github.com/mlkmhd/dagger-maven"

and after that I ran the following command:
$ dagger project update

but it did not created the cue.mod/pkg/github.com/mlkmhd/dagger-maven directory!

I expected from dagger to download my module from Github. Am I doing something wrong?

native bluff
#

It should be: dagger project update github.com/mlkmhd/dagger-maven@tag, so dagger project update github.com/mlkmhd/dagger-maven@main or any other tag if you applied one

tender heron
#

it's working with dagger project update github.com/mlkmhd/dagger-maven@main command, but is it possible to just add this dependency in the cue.mod file and run dagger project update?

I mean something like go mod download...

native bluff
#

Helder from our team (on holidays this week) is working on the package manager. Cue currently doesn't have one

#

we share the same pain ๐Ÿ˜‡

tender heron
#

thank you ๐Ÿ™ I'll be wait for this feature. currently I'm gonna migrate our projects pipeline to dagger ๐Ÿ˜Ž

native bluff
#

Adding @hard wadi to the conversation. Did you have a chance to already talk to him ?
Please ask us any question, all the team is here to help transition to Dagger ๐Ÿ˜‡ Jeremy is the best person to help see how Dagger may fit perfectly with your pipelines

tender heron
#

thanks @native bluff

I found a issue on Github about this:
https://github.com/dagger/dagger/issues/2496

maybe I could help to code contribution to add this feature ๐Ÿ˜‰ because it's very necessary for me. I like to migrate ASAP from gitlab-ci templating to dagger

GitHub

Problem dagger project update, with no arguments, vendors the entire content of universe.dagger.io in ./cue.mod/pkg/. This causes surprise, confusion and frustration for our developers. Solution Mo...

tender heron
native bluff
white crown
tender heron
#

what's up here? is it going forward?

white crown
tender heron
#

The package manager for cue files. I have a github repository of cue files and I want to import that into the my project with "dagger project update" command

white crown
tender heron
#

@white crown

I added my module to module.cue file like this:
module: "github.com/mlkmhd/dagger-maven"

and after that I ran the following command:
$ dagger project update

but it did not created the cue.mod/pkg/github.com/mlkmhd/dagger-maven directory!

I expected from dagger to download my module from Github. Am I doing something wrong?

it's working with dagger project update github.com/mlkmhd/dagger-maven@main command, but is it possible to just add this dependency in the cue.mod file and run dagger project update?