I use Stack with private git repos. If your git configuration is
correct (I never do anything manual, it's just ssh keypairs) then it
should work out of the box.
On Wed, Dec 28, 2016 at 4:50 PM, Damian Nadales
<damian....@gmail.com> wrote:
> Hi,
>
> I guess is a situation encountered quite often in practice. However
> I'm not sure what is the right way of using a private repository in
> stack as the source of Haskell packages. This is how far I've come:
> http://stackoverflow.com/questions/41370813/using-a-private-git-repository-with-stack
>
> Which approach do you use?
>
> Thanks in advance!
> Damian.
>
> --
> You received this message because you are subscribed to the Google Groups "Commercial Haskell" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to commercialhaskell+unsubscribe@googlegroups.com.
> To post to this group, send email to commercialhaskell@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/commercialhaskell/CAM7nXedTsWdQX0U8onuO%2BqMEkc2OBOzw%2BZ5Mo_S_ek2-HuvtJg%40mail.gmail.com.
--
Chris Allen
Currently working on http://haskellbook.com
--
You received this message because you are subscribed to the Google Groups "Commercial Haskell" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commercialhaskell+unsubscribe@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/commercialhaskell/CADnndOq_jgdDo8vh3O1_kj%2BU_j68ZxfgJfVOSsVYbmWNvFEboQ%40mail.gmail.com.
To post to this group, send email to commercialhaskell@googlegroups.com.
>> email to commercialhaskell+unsubscribe@googlegroups.com.
>> To post to this group, send email to commercialhaskell@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/commercialhaskell/CAM7nXedTsWdQX0U8onuO%2BqMEkc2OBOzw%2BZ5Mo_S_ek2-HuvtJg%40mail.gmail.com.
>> For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> Chris Allen
> Currently working on http://haskellbook.com
>
> --
> You received this message because you are subscribed to the Google Groups
> "Commercial Haskell" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to commercialhaskell+unsubscribe@googlegroups.com.
> To post to this group, send email to commercialhaskell@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/commercialhaskell/CADnndOq_jgdDo8vh3O1_kj%2BU_j68ZxfgJfVOSsVYbmWNvFEboQ%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Commercial Haskell" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to commercialhaskell+unsubscribe@googlegroups.com.
> To post to this group, send email to commercialhaskell@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/commercialhaskell/CAM7nXecHkFpHhWpD2157%3Df_Hju4RtZBEE9pjoNgL9dZx88C1wQ%40mail.gmail.com.
>
> For more options, visit https://groups.google.com/d/optout.
--
Chris Allen
Currently working on http://haskellbook.com
--
You received this message because you are subscribed to the Google Groups "Commercial Haskell" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/commercialhaskell/CADnndOrF7LakVAXKcNvXxc63subMt3G2qVGjDAutqg75dD_Bbg%40mail.gmail.com.To unsubscribe from this group and stop receiving emails from it, send an email to commercialhaskell+unsubscribe@googlegroups.com.
To post to this group, send email to commercialhaskell@googlegroups.com.
packages:
- '.'
- location:
git: ssh://git@urlprivate-git-repo.com:7999/project/subproject.git
commit: master
subdirs:
- subdir-of-the-private-package
extra-dep: true
--
Noon
To view this discussion on the web visit https://groups.google.com/d/msgid/commercialhaskell/CAM7nXecHkFpHhWpD2157%3Df_Hju4RtZBEE9pjoNgL9dZx88C1wQ%40mail.gmail.com.
On Fri, Jan 6, 2017 at 11:59 AM, Erik Hesselink <hess...@gmail.com> wrote:
> Another option that falls in between a monorepo and a git dependency is
> using git submodules. We did this for forks and open sourced libraries. You
> still need to point to a commit hash (since that's how submodules work) but
> as mentioned that's a good idea anyway. We then listed those submodule
> packages as 'extra-dep: true' to not have them treated as part of our own
> sources.
>
That also looks like a simple solution. How does this approach works
for you in practice? I've heard people advising against the use of
git-submodules (we don't use them currently).
>> >> email to commercialhaskell+unsubscribe@googlegroups.com.
>> >> To post to this group, send email to
>> >> To view this discussion on the web visit
>> >>
>> >> https://groups.google.com/d/msgid/commercialhaskell/CAM7nXedTsWdQX0U8onuO%2BqMEkc2OBOzw%2BZ5Mo_S_ek2-HuvtJg%40mail.gmail.com.
>> >> For more options, visit https://groups.google.com/d/optout.
>> >
>> >
>> >
>> > --
>> > Chris Allen
>> > Currently working on http://haskellbook.com
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups
>> > "Commercial Haskell" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> > an
>> > email to commercialhaskell+unsubscribe@googlegroups.com.
>> > To post to this group, send email to commercialhaskell@googlegroups.com.
>> > To view this discussion on the web visit
>> >
>> > https://groups.google.com/d/msgid/commercialhaskell/CADnndOq_jgdDo8vh3O1_kj%2BU_j68ZxfgJfVOSsVYbmWNvFEboQ%40mail.gmail.com.
>> > For more options, visit https://groups.google.com/d/optout.
>> >
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups
>> > "Commercial Haskell" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> > an
>> > email to commercialhaskell+unsubscribe@googlegroups.com.
>> > To post to this group, send email to commercialhaskell@googlegroups.com.
>> > To view this discussion on the web visit
>> >
>> > https://groups.google.com/d/msgid/commercialhaskell/CAM7nXecHkFpHhWpD2157%3Df_Hju4RtZBEE9pjoNgL9dZx88C1wQ%40mail.gmail.com.
>> >
>> > For more options, visit https://groups.google.com/d/optout.
>>
>>
>>
>> --
>> Chris Allen
>> Currently working on http://haskellbook.com
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Commercial Haskell" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to commercialhaskell+unsubscribe@googlegroups.com.
>> To post to this group, send email to commercialhaskell@googlegroups.com.