-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update schemas to match latest changes #15
Comments
Hello! Please update [which] key is schema. It is updated in documentation, but causes formatter errors. |
Has there been a release including that change yet? I'm afraid we haven't implemented proper versioning so far and that means unfortunately the schemas will only be updated on new releases. |
You must have installed it from main, since that PR landed only two weeks ago whereas the latest release was three weeks ago. You can comment out the schema key until the next release. I apologize for the issue, I'm still considering the best way to deal with versioning. |
Perhaps we can just add it? If it is included in the user's configuration but not defined in our scheme, an error will occur; however, if it is included in our scheme but not defined by the user, no error occurs. |
That approach doesn't work for all changes though, but you are right it would be inconsequential in this instance. If a property is renamed though, I can't change it since it will likely break the schema for more users than it fixes it for. I don't think it makes sense for me to update the schema for some changes but not others because of that. |
We already know that "adding" will not be a problem, and the deletion occurs after our release, so there will be no problem either. |
I'm not sure I'm willing to manage the complexity and timing of adding/removing properties like you explained around a release schedule I don't control. |
This is based on the assumption that renaming is not expected to occur frequently. Renaming in the Yazi configuration file has only occurred once so far, renaming Most of the time, we simply add new fields or remove existing ones. |
Still seems like unnecessary complexity when the real goal here is a proper versioning system imo. See #17. |
Sorry, I don't understand, could you be more specific - what part do you think is complex? To me, it simply moves the "adding" work we do at release time to an earlier stage. For deletions, we can add comments like |
I'm not a fan of adding debt like that though where the schemes have to be updated so often. |
I don't understand why this would be "adding debt"
If it's because you don't have enough time, rather than "complexity", I can understand, and I will maintain it myself, as this is much easier than version control and won't require users to manually modify the scheme version in the configuration file every time they update Yazi - I'm not sure how many users would want to do this. |
You've completely misunderstood my point? That was one of the various things versioning allows. We can allow users to just use the latest, or maybe there is a Yazi bug that prevents them from upgrading and in that case they can update the schema URL to pin it at a version and not have issues. Let's continue this in #17. |
The schema is actually correctly informing you, though it is out of date (see #30). You are on Yazi 0.3.1, the new |
Thank you, I updated to the latest git package in the AUR and all |
This is a "living" issue and will update over time as changes are made in https://github.com/sxyazi/yazi.
The text was updated successfully, but these errors were encountered: