-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Regenerate PKGBUILD schema #26
Comments
Also note that the schema contains several invalid fields: termux-language-server/src/termux_language_server/assets/json/PKGBUILD.json Lines 885 to 896 in 9cab023
These come from the USING VCS SOURCES section in the man page which describes the format of specific |
Another outdated thing: the PKGBUILD.json schema allows termux-language-server/src/termux_language_server/assets/json/PKGBUILD.json Lines 672 to 675 in 9cab023
|
I was trying to regenerate the PKGBUILD schema but failed due to a couple of issues:
platformdirs
package and its site_data_path("man") function, which gives/usr/local/share/man
on Arch Linux. However, the true location is/usr/share/man
.init_schema
function tries to read licenses from/usr/share/licenses/common
:termux-language-server/src/termux_language_server/misc/pkgbuild.py
Line 212 in 9cab023
This directory does not exist anymore on Arch Linux so it fails with
FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/licenses/common'
The text was updated successfully, but these errors were encountered: