Package Details: termux-language-server 0.0.22-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: 2
Popularity: 0.83
First Submitted: 2023-07-20 16:54 (UTC)
Last Updated: 2024-03-14 15:20 (UTC)

Latest Comments

« First ‹ Previous 1 2

MarsSeed commented on 2023-06-21 19:11 (UTC) (edited on 2023-06-21 19:16 (UTC) by MarsSeed)

Please kindly stop using python- name prefixes for language servers that are not for the Python language itself.

I have already linked the relevant Arch package naming rule for Python in my comment on the python-pkgbuild-language-server page.

Based on that, it is not just a preference of mine or of others, but an actual requirement for all Arch and AUR maintainers to adhere to.

MarsSeed commented on 2023-06-20 14:44 (UTC) (edited on 2023-06-20 17:06 (UTC) by MarsSeed)

My recommendation does not apply to cases like with python-requirements-language-server, of course.

As the package above is necessarily for Python's requirements listings and not for any other language's dependency definitions.

MarsSeed commented on 2023-06-20 14:38 (UTC) (edited on 2023-06-23 13:08 (UTC) by MarsSeed)

Please see excerpt from Arch wiki's Python package guidelines:

Package naming

For Python 3 library modules, use python-modulename. Also use the prefix if the package provides a program that is strongly coupled to the Python ecosystem (e.g. pip or tox). For other applications, use only the program name.

MarsSeed commented on 2023-06-20 14:25 (UTC) (edited on 2023-06-23 13:10 (UTC) by MarsSeed)

In Arch repo, none of the language servers that are implemented in a different language than what language they provide the server for have a name prefix for the implementing language:

https://archlinux.org/packages/?q=language-server

Most of them are made in nodejs or typescript.

This one is made in Python:

And on AUR, these are made in or with Python:

As a developer myself, I don't care which programming language implements a language server, as long as it works and serves its purpose.

But it is confusing to see python- prefix or nodejs- prefix for language servers for autoconf, pkgbuild, dockerfile, sql etc.

Imagine the following packages - aren't these names totally misleading when you see them?

:)

MarsSeed commented on 2023-06-20 13:48 (UTC)

Hi,

At least please don't continue to create new language server packages with the python- prefix.

python- packages in general are intended for other Python packages to use.

A language server is intended for any kind of application to use as a plugin.

Freed commented on 2023-06-20 06:58 (UTC)

@MarsSeed, I am not sure, I have many python-XXX-language-servers. If it must be renamed, I need to change all of them. I want to know if more people want it?

MarsSeed commented on 2023-06-19 15:44 (UTC)

Would you resubmit this package under the pkgbuild-language-server name, please?

MarsSeed commented on 2023-06-19 15:12 (UTC)

Hi,

I am very thankful to you for creating this language server.

I would like to suggest to you, though, that you remove the python- prefix from the name.

Many language servers are Python-based, but they don't have this prefix in their package name. The prefix just makes the name a bit more confusing.

Also, Arch only mandates python- prefix for Python libraries that are to be used as dependencies by other Python libraries or applications.

But a language server is a technology-independent plugin for the consuming application. So no need for the prefix as per Arch guidelines.