#Public repo ref
1 messages ยท Page 1 of 1 (latest)
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 ?
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
when you make changes locally, you can run dagger develop, it's always going to produce the same outcome each time, so that file doesnt need commiting into the repo
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
Ok, thanks
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
Ok... can you do: dagger -m github.com/JCzz/projects call --get-hello
worked for me, but its not arguments, so i removed your --get-hello with get-hello and it weorked
Ok, that is strange... thanks, good to know ๐
you defined it as a function so its expected/normal.
Can it be some bad caching I have
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
Ahh right
you'll be pumping out modules and dagger functions in no time ๐
good question
i havent actually tried myself yet ๐
There's this in the cookbook
I will have a look, thanks
Are you on windows? I am on: dagger version
dagger v0.12.7 (registry.dagger.io/engine:v0.12.7) darwin/arm64
yeah, but im using both sometimes
i have linux dagger on wsl installed and also windows dagger
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.
You should be able to clone it with: dagger -m git@github.com:JCzz/projects.git call get-hello using the SSH ref style. Please make sure to have your SSH agent running and to have exported the SSH_AUTH_SOCK
Good information, thanks... I will try that
This will authenticate you against the private repo