Comments (3)
as well as the schemas falling behind the newest changes
I'm not sure if you meant to phrase it like this but the schemas are and have been update to date with the latest version for a while now. There is a brief delay when a new version is release where i have to update the schemas but this is usually resolved within a day - there are no outstanding issues with the schema at the moment.
I would like to propose an approach where the schemas are generated automatically.
Sure! schemars
looks okay, @sxyazi do you think that is something we can consider? We should transfer this issue over to the main repository if so. I'm curious how the size compares though? These schemas are pretty refined and reuse a lot of shared types and definitions, not sure how complex of conditions it can handle. Also for the record I don't think this solves our versioning issues?
from schemas.
Oh, sorry if it came off badly - I have had 0 issues with yazi's schemas myself. I no longer remember what I meant, but maybe it's not that important.
If the current way of updating works - great 👍🏻. If this suggestion seems worth trying, great too 🙂
I don't think this solves our versioning issues?
I think you're correct - one schema applies for one version as far as I am aware.
Right now I think yazi has a latest stable release as well as a constantly changing bleeding edge. As long as the latest release is bound to either a git tag or branch, the schema's url in the configuration file can point to that and it should stay up to date.
not sure how complex of conditions it can handle
Hmm this is a good point. The schemas I worked on for presenterm were quite simple. Maybe a small proof-of-concept could be a good idea.
from schemas.
I don't think this solves our versioning issues?
I think you're correct - one schema applies for one version as far as I am aware.
Right now I think yazi has a latest stable release as well as a constantly changing bleeding edge. As long as the latest release is bound to either a git tag or branch, the schema's url in the configuration file can point to that and it should stay up to date.
I believe I mentioned branching/tagging in #17 but for some reason we didn't land on it. Anyway, sure yeah that sounds doable.
not sure how complex of conditions it can handle
Hmm this is a good point. The schemas I worked on for presenterm were quite simple. Maybe a small proof-of-concept could be a good idea.
Definitely, would appreciate that!
from schemas.
Related Issues (10)
- Autogenerated documentation HOT 2
- Add proper minimum and maximum values for numeric options HOT 7
- Add sxyazi/yazi as Git submodule to keep track of updates HOT 2
- Update to latest sxyazi/yazi configuration file changes HOT 2
- Add schemas to yazi-rs.github.io/ HOT 21
- Update schemas to match latest changes HOT 15
- Implement versioning system HOT 9
- errors after setting .toml /configs
- prepend and append rules keys missing in `open` section HOT 2
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 schemas.