GithubHelp home page GithubHelp logo

Comments (2)

primeos-work avatar primeos-work commented on June 26, 2024

Why are the system deps not configured in the same way as the packages that are butido built?

I've looked into this and Butido doesn't have a concept of system dependencies. For Butido, SYS_BUILD_DEPENDS_RH8 is just a normal environment variable. All of the logic that makes this work is implemented in our packages repository (we have a list of allowed environment variables configured in config.toml and the logic is implemented in phases scripts in pkg.toml that determine the OS and install packages based on the corresponding environment variables).

We could try to move this part into Butido itself, which would probably make sense as it's quite a useful and essential feature and we could even extend the functionality. A clean implementation might require major/fundamental changes though as Butido only knows about container images, or rather only image names. We could likely simply extend the docker.images setting to include OS information to make this work. A drawback would certainly be that Butido would then need to support a given set of operating systems. We could decide on a core set but ideally it should be kept extensible (probably not worth the additional time it would take to implement though).

Anyway, I guess the next important questions before we even start whether to move this logic into Butido or not would be the following:

  1. What are the current limitations that we want to avoid / what is the motivation behind this issue?
  2. What would the concrete design look like (content in pkg.toml, supported features, etc.)
  3. Would it be simpler to improve/extend our custom logic in the packages repo?
  4. Collect advantages and drawbacks (not really a question :D)

from butido.

primeos-work avatar primeos-work commented on June 26, 2024

@christophprokop do you still remember what we discussed here? Was the goal also to handle this via a preprocessor? And if so: Should we close this issue and #184 or should we leave them open for now?

from butido.

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.