Comments (2)
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:
- What are the current limitations that we want to avoid / what is the motivation behind this issue?
- What would the concrete design look like (content in
pkg.toml
, supported features, etc.) - Would it be simpler to improve/extend our custom logic in the packages repo?
- Collect advantages and drawbacks (not really a question :D)
from butido.
@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)
- misleading error when not called from top-level package directory
- butido tree-of does not distinguish between build and runtime dependencies HOT 2
- option/flag to filter output of "butido db jobs" on used image HOT 2
- distro specific build/runtime deps HOT 2
- config.toml versioning decoupled from butido version
- warn if a phase is used without [phases] section HOT 1
- remove unwanted trace output
- silently create release stores (if not present yet)
- /script does not contain every information it uses (environment variable, complete submit line, ...) HOT 1
- Warn/Error out if the downloaded files are html
- Switch from bors-ng to the GitHub pull request merge queue (public beta) HOT 3
- [sources.src] url=nosource for metapackages HOT 1
- make butido aware of metapackages
- Idea: Reproducible-ish builds
- error on dependency names startint with numerals HOT 1
- option to make "error on other task" not fatal
- trigger 'source verify' every time after 'source download'
- butido tree-of --dot
- butido tree-of --serial-buildorder
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from butido.