--
You received this message because you are subscribed to the Google Groups "Go Package Management" group.
To unsubscribe from this group and stop receiving emails from it, send an email to go-package-manag...@googlegroups.com.
To post to this group, send email to go-package...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I agree with Mario. I have a repo with a single main.go file for which I wanted to use this tool. I know it’s still early, but I expected `dep init` to do something like what `npm init`. But, what it did was writing a lock file and an empty manifest file which looks weird. I would really love to hash out the subcommands of this tool and make them more explicit and intuitive.Thanks--
Pavan Kumar SunkaraOn 25 January 2017 at 1:02:20 AM, mario.l....@gmail.com (mario.l....@gmail.com) wrote:
On Tuesday, January 24, 2017 at 8:34:48 AM UTC-8, Peter Bourgon wrote:
> ...
This looks like the start of something good. Having a community blessed package manager is sorely needed.
One thing that I like about yarn package manager is using explicit subcommands instead of overloading. Yarn makes it clear when you `install`, it means install dependencies from the lock file. To add dependencies, the subcommand is `add some_dep`. To upgrade dependencies the subcommand is `upgrade` or `upgrade some_dep@to_new_version`. I found it much simpler than npm which overloaded `install` to install, add, upgrade. It seems dep is overloading `ensure` from the examples in the README.
--
You received this message because you are subscribed to the Google Groups "Go Package Management" group.
To unsubscribe from this group and stop receiving emails from it, send an email to go-package-management+unsub...@googlegroups.com.
Is there precedent in another language for doing this? I know that
some Go developers feel strongly about not having these turds in the
root for their project, yet are silent on things like Makefiles,
Dockerfiles, travis.ymls, and so on.
On Wed, Jan 25, 2017 at 2:51 PM, <junkma...@gmail.com> wrote:
> Why not generated the manifest and lock files inside the vendor folder? Would be less clutter.
>
> vendor/
> lock.json
> manifest.json
>
> --
> You received this message because you are subscribed to the Google Groups "Go Package Management" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to go-package-management+unsub...@googlegroups.com.
I don't see a problem with coupling it to the vendor directory since that's the primary use case 99.99% of the time anyway. Perhaps you could provide a flag to specify a different directory if needed?
--
You received this message because you are subscribed to the Google Groups "Go Package Management" group.
To unsubscribe from this group and stop receiving emails from it, send an email to go-package-management+unsub...@googlegroups.com.
To post to this group, send email to go-package-management@googlegroups.com.
I don't see a problem with coupling it to the vendor directory since that's the primary use case 99.99% of the time anyway. Perhaps you could provide a flag to specify a different directory if needed?
--
You received this message because you are subscribed to the Google Groups "Go Package Management" group.
To unsubscribe from this group and stop receiving emails from it, send an email to go-package-management+unsub...@googlegroups.com.
To post to this group, send email to go-package-management@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Go Package Management" group.
To unsubscribe from this group and stop receiving emails from it, send an email to go-package-manag...@googlegroups.com.
To post to this group, send email to go-package...@googlegroups.com.
I kind of like to check in the vendor folder. It gives offline capability and speed that is hard to beat.
Keeping the files out of vendor allows for both approaches to be used so that makes sense.
--
You received this message because you are subscribed to the Google Groups "Go Package Management" group.
To unsubscribe from this group and stop receiving emails from it, send an email to go-package-management+unsub...@googlegroups.com.
To post to this group, send email to go-package-management@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.