Oliver, I get your point and I agree with it. I think the best thing is to look at how other projects did this. I started a discussion here: https://github.com/openwisp/openwisp-dev-env/issues/2
Gitlab has a tool called Gitlab Development Kit, which is called with a command line tool named gdk, so commands look like "gdk init", "gdk update" and so on. I like this approach, but I would like to find out more examples before deciding. If I'm not wrong, if we use a Makefile we necessarily have to call "make" from the directory in which the Makefile is saved, right? Or not? F. On Thu, May 21, 2020 at 5:08 PM Oliver Kraitschy <[email protected]> wrote: > Additionally, an ansible playbook is harder to read and to maintain than a > shellscript. It's also harder to implement a certain logic. > > Am Freitag, 22. Mai 2020 00:06:30 UTC+2 schrieb Oliver Kraitschy: >> >> Am Montag, 18. Mai 2020 20:44:50 UTC+2 schrieb Federico Capoano: >>> >>> Hi everyone, >>> >>> so just to wrap this up, these are the points I got from this discussion: >>> >>> - there's some consensus on using ansible to set up the development >>> environment >>> >>> >> I doubt that ansible is the right tool. It's mostly for administration >> and configuration management. But we want to set up and manage a local >> development environment. Most people will run the tool either locally on >> their machine or in a virtual machine.I think there are faster tools for >> that job. I would prefer a shellscript or a makefile in combination with a >> shellscript. Idempotence can be easily achieved through the logic in the >> shellscript. >> >> Just my two cents :-) >> >> Greetings, >> Oliver >> > -- > You received this message because you are subscribed to the Google Groups > "OpenWISP" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web, visit > https://groups.google.com/d/msgid/openwisp/f79a4200-d750-4fb9-b393-a8b767d11857%40googlegroups.com > <https://groups.google.com/d/msgid/openwisp/f79a4200-d750-4fb9-b393-a8b767d11857%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "OpenWISP" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/CAERYH6VG_ak0RrnZ-iCsAR%2B7OD9J%3Dv4jN_-kyjVs40rNuFgPnA%40mail.gmail.com.
