Giter Club home page Giter Club logo

Comments (5)

danderson avatar danderson commented on June 15, 2024

Fabric is a make replacement, effectively. It's in python, so it lets me do things like use context managers and fancy string substitution that are harder to do in make. I am misusing it slightly, it's really designed for doing stuff over SSH to remote systems, I'm using the 10% of Fabric that lets you run local commands.

I'm not deeply committed to it, it's just a tool I'm comfortable with so I used it. If you think you can reproduce its current functionality in a makefile, I'm open to switching to make. But I am opposed to having makefile and fabfile, we should use one or the other, not both.

from metallb.

xnaveira avatar xnaveira commented on June 15, 2024

I know that you don't like both but what about calling makefiles from the fabfile? I mean, let makefiles do one thing only, which is the build, and then use the fabfile to build the stuff through calling the makefiles and then do the deploy which is what fabric is supposed to be doing anyway? Best of both worlds...

from metallb.

miekg avatar miekg commented on June 15, 2024

I mostly have .PHONY targets in the Makefile, so not really using that make feature :)

As long as someone is willing to rewrite my Makefiles to Python, I happy with it :)

from metallb.

danderson avatar danderson commented on June 15, 2024

@xnaveira We're both using Make and Fabric "wrong", as a way to run shell scripts with some forms of error handling. I don't think mixing both will get us anything useful :).

@miekg I'm more than happy to be on the hook for porting your build steps into fabfile.py, if you're okay using it. Now that 0.2.0 is released, my next focus is getting multi-arch builds into master.

from metallb.

miekg avatar miekg commented on June 15, 2024

sgtm.

happy to report the multi arch stuff is working (allthough everything is crashlooping :-) )

from metallb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.