Comments (6)
Counter-proposal to the comment by @zenith391:
{
"dependencies": {
"didot-window": [ "didot-x11", "didot-glfw" ]
}
}
Which would allow a package manager to also prompt the user which package to install, but also list available and checked options. Note that this should not be an enforcement, but a hint. You should be able to override the selection anyways
from repository.
My proposal is a bit unusual but here is what i propose: in a case where a package depends on another package but not its implementation (for example it might depend on a windowing package, but it might be a glfw
or an x11
package), there should be a way for the user to choose which to use. Maybe for those case the dependency package name might be null, for example:
{
"author": "zenith391",
"description": "OpenGL module for Didot",
"git": "https://github.com/zenith391/didot",
"root_file": "/didot-opengl/graphics.zig",
"dependencies": {
"didot-window": null
},
"tags": [
"game",
"graphics"
]
}
When installing that package, the package manager should so something like prompt the user to select a package to install, and the user could type didot-x11
, didot-glfw
or any other windowing package he wants.
from repository.
As it seems people agreed on it, shouldn't this issue start getting implemented?
from repository.
As it seems people agreed on it, shouldn't this issue start getting implemented?
True! If you have the time, go ahead, implement it and make a PR! I will happily click merge!
from repository.
It seems that current design doesn’t consider versions, which is important for reproducible build
from repository.
Yes, but i refuse to do version tracking before Zig 1.0.0, as i consider that wasted energy, as your Zig code might break tomorrow anyways.
from repository.
Related Issues (5)
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 repository.