Package Details: termux-language-server 0.0.27-1

Git Clone URL: https://aur.archlinux.org/termux-language-server.git (read-only, click to copy)
Package Base: termux-language-server
Description: Language server for build.sh, PKGBUILD, ebuild
Upstream URL: https://github.com/termux/termux-language-server
Licenses: GPL3
Conflicts: pkgbuild-language-server, portage-language-server
Provides: pkgbuild-language-server, portage-language-server
Replaces: pkgbuild-language-server, portage-language-server
Submitter: Freed
Maintainer: Freed (CodingThunder, grimler)
Last Packager: Freed
Votes: 4
Popularity: 0.192636
First Submitted: 2023-07-20 16:54 (UTC)
Last Updated: 2024-10-15 12:40 (UTC)

Latest Comments

1 2 Next › Last »

txtsd commented on 2024-12-03 09:22 (UTC)

Can I please have co-maintainer on this?

kemelzaidan commented on 2024-10-02 20:34 (UTC) (edited on 2024-10-02 20:36 (UTC) by kemelzaidan)

Server is not running. I'm having the following error:

Traceback (most recent call last):
  File "/usr/sbin/termux-language-server", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/lib/python3.12/site-packages/termux_language_server/__main__.py", line 87, in main
    from .finders import DIAGNOSTICS_FINDER_CLASSES, FORMAT_FINDER_CLASSES
  File "/usr/lib/python3.12/site-packages/termux_language_server/finders.py", line 28, in <module>
    from .utils import get_query, get_schema
  File "/usr/lib/python3.12/site-packages/termux_language_server/utils.py", line 18, in <module>
    parser.set_language(language)
    ^^^^^^^^^^^^^^^^^^^
AttributeError: 'tree_sitter.Parser' object has no attribute 'set_language'

I have opened the following bug report upstream but packaging may have some relation to it: https://github.com/termux/termux-language-server/issues/22

Spixmaster commented on 2024-03-08 15:19 (UTC)

The dependency python-shtab is missing.

halfhorn commented on 2023-11-29 16:37 (UTC) (edited on 2023-11-29 16:44 (UTC) by halfhorn)

python-tree-sitter-languages should be python-tree-sitter-languages-bin

Should also provide termux-language-server so optional dependencies aren't orphaned.

MarsSeed commented on 2023-07-20 16:43 (UTC) (edited on 2023-07-20 16:55 (UTC) by MarsSeed)

I don't think that source code hosting has anything to do with AUR package names.

Just create a new pkgbuild-language-server package on AUR, and submit either a deletion request for the old one, or an AUR merge request from the old to the new package.

You can edit your PKGBUILDs at any time, including changing source URLs.

You can also set up a GitHub pipeline to automatically update any of your AUR packages.

Freed commented on 2023-07-20 16:21 (UTC)

Sorry for late. There are some CI/CD code in upstream repository (These repositories are updated by CI/CD, not me), I need to find them to fix them. I am waiting https://github.com/openlawlibrary/pygls/issues/344 because it will change the repository URL (Yes, I project to move these repositories to a new organization, which means all URLs, homepage information need to be changed.), which maybe break some CI/CD.

MarsSeed commented on 2023-07-08 13:59 (UTC) (edited on 2023-07-20 16:54 (UTC) by MarsSeed)

It isn't that hard to rename a package.

Actually a new package needs to be created with the pkgbuild-language-server name.

Edit: once that is done, an AUR package merge request can be submitted from the older package to the new one, and once accepted by TU, the comments and votes will be transferred to the target package.

SaltRockLamp commented on 2023-07-08 03:40 (UTC)

For whatever it's worth, I agree with MarsSeed that the python- prefix is both unnecessary and confusing.

That said, thank you for creating this package!