Indeed, godeps does already have this functionality. I should probably have announced it, sorry.
It does go-get packages you don't already have too. Our 'bot script now does something like: go get -d $ourpackage godeps -u $ourpackagedir/dependencies.tsv which means that we don't pull down any dependencies that we don't need to. cheers, rog. On 14 August 2014 16:31, Nate Finch <nate.fi...@canonical.com> wrote: > Godeps should pull down new revisions, as of a month or so ago. You just > need to do go get -u launchpad.net/godeps and you'll get the new revision. > I don't believe it go-gets packages you don't already have, though. > > > On Thu, Aug 14, 2014 at 11:27 AM, Dimiter Naydenov > <dimiter.nayde...@canonical.com> wrote: >> >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Hi all, >> >> Is it just me or others are also getting frustrated for the N-th time >> that godeps doesn't fetch new revisions when needed, and you need to >> manually go into each dependency's work dir, pull/fetch/update as >> needed, then run godeps again.. You know the drill all too well I guess :) >> >> Not anymore - check out these nifty scripts: >> >> run-godeps: http://pastebin.ubuntu.com/8046143/ >> up-dep: http://paste.ubuntu.com/8046172/ >> >> Put both of these somewhere in $PATH, chmod +x both of them, modify >> the *_DIR variables inside as needed. >> >> Then, from anywhere, just run: >> $ run-godeps >> >> It will go to your juju-core WORK_DIR, run godeps, catch errors like >> "missing import path" or "revision not found", do the right thing and >> re-run godeps as many times as needed, until all dependencies are updated. >> >> Sweet! :) >> >> I hope somebody else finds it useful, and I'd appreciate feedback for it. >> >> Cheers, >> - -- >> Dimiter Naydenov <dimiter.nayde...@canonical.com> >> juju-core team >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1 >> >> iQEcBAEBAgAGBQJT7NVmAAoJENzxV2TbLzHwlsEH/1GuYET5r/NvDQX7o9S3naEO >> rPlmAM3+jeU3k3Pte50Gn6xpIY0whIjiDnrGE+UJaHaqFTQo1W6hkwTpdFyhioLA >> lEaJmDD2yS6nilO1F/y0b4ny6SMSCCeBQxSic29gAJkNcRLRJSXUaAkMi3oyPaz5 >> N1aPout1xqOtb0ThZk9L4ZcUu4z5C83tck9E1VMGjFsgVJaNr/+5Gi1LCMWMe/aN >> BijG5oGiMW3oDtgz5iU8tFbaB3K5FXbyfhq5Od0kTyX69RNRhDzXOlIvC5CDgmX8 >> L+dIc5G2oUKLh+D+IF/Y5vvVN/IkMXTtuo6tUs/0O0zKxCr4Y0Y1ajXzOWsIp7U= >> =xSVd >> -----END PGP SIGNATURE----- >> >> -- >> Juju-dev mailing list >> Juju-dev@lists.ubuntu.com >> Modify settings or unsubscribe at: >> https://lists.ubuntu.com/mailman/listinfo/juju-dev > > > > -- > Juju-dev mailing list > Juju-dev@lists.ubuntu.com > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/juju-dev > -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev