#Public repo ref

1 messages ยท Page 1 of 1 (latest)

bright needle
#

Hello, I am back home in 30 min, will check on my computer ๐Ÿ™

#

It returns a 404 when I click on the link, is there a typo ?

snow crag
#

Try again, sorry... just tried removing and pushing a new..

#

I can see errors in "dagger.gen.go" I removed ContainerEcho and GrepDir, the default functions

#

looks like "dagger develop " did the trick

#

hmm, dagger.gen.go is in .gitignore

north sage
#

same for when you pull in local modules you may have changed, you can run dagger develop to refresh it, but those never need commiting

snow crag
#

Ok, thanks

north sage
#

and when someone pulls your "module" or repo, they'll only need to call dagger functions, and i believe dagger will produce the gen code

snow crag
north sage
#

worked for me, but its not arguments, so i removed your --get-hello with get-hello and it weorked

snow crag
#

Ok, that is strange... thanks, good to know ๐Ÿ‘

north sage
#

you defined it as a function so its expected/normal.

snow crag
#

Can it be some bad caching I have

north sage
#

if you add a parameter to your go function, then i would do:

dagger -m git://yourmodule call get-hello --name=patrick

#

its working fine

snow crag
#

Ahh right

north sage
#

you'll be pumping out modules and dagger functions in no time ๐Ÿ˜›

snow crag
#

He he ๐Ÿ™‚

#

Do you know, if there is a way to remove local cache

north sage
#

good question

#

i havent actually tried myself yet ๐Ÿ˜„

#

There's this in the cookbook

snow crag
#

I will have a look, thanks

north sage
#

yeah, but im using both sometimes

#

i have linux dagger on wsl installed and also windows dagger

bright needle
#

Thanks Patrick ๐Ÿ™

#

Did you manage to make it work ?

snow crag
#

Well, kind of... i fI create other repos and make them public ๐Ÿ™‚

#

Should the token have special Permissions maybe? The token I have is working for FluxCD... and it is for all repos.

bright needle
snow crag
#

Good information, thanks... I will try that

bright needle
#

This will authenticate you against the private repo