chaotic-aur / packages

Read-only mirror of Chaotic-AUR's main repository. Issues and bug reports welcome! 📑
https://gitlab.com/chaotic-aur/pkgbuilds
GNU General Public License v3.0
337 stars 20 forks source link

[Request] amber-bash-git #3195

Closed rssrcr closed 5 months ago

rssrcr commented 5 months ago

Package:

https://aur.archlinux.org/packages/amber-bash-git

Purpose:

A high-level programming language that gets compiled to BASH.

Benefits:

Makes it easier and more user-friendly to write scripts in BASH.

Building:

No response

Copyright:

GPL3

Expected Interest:

Many

Already available?

No

Unique request?

Yes

Banned package?

No

More information:

No response

xiota commented 5 months ago

Interesting concept, but doesn't seem actually useful or beneficial. What is the case where someone would want a bash script that wasn't actually written in bash? Also, throws away most benefits of shell scripts, while lacking most benefits of compiled languages.

Package has some minor (non-blocking) defects and annoyances. Edit: defects are blocking; this package cannot be added in current state

xiota commented 5 months ago

@rssrcr Added a test build to the repo, in case you need a package to try and can't build yourself. Didn't add to package list because not convinced of benefit and metrics may be useful later.

rssrcr commented 5 months ago

How can using a higher level language to write bash scripts (that if wanted, compile down to bash itself!) more easily and effectively, not be useful? Perhaps you should have a look at:

https://news.itsfoss.com/amber-lang/

It's still in alpha phase, but including it as an installable package would make it easier to contribute to its evolution.

Well, I tried at least.

xiota commented 5 months ago

"more easily"

"and effectively"

rssrcr commented 5 months ago

I don't agree to a single word you've said, but I give up. Not worth it at this point.

xiota commented 5 months ago

I don't agree to a single word you've said, but I give up. Not worth it at this point.

There's nothing to give up. You didn't even attempt to provide a concrete use case, and I found none among the top search results.

Technetium1 commented 5 months ago

I would be in favor of adding amber (non-git) if it existed, but not from git unless it (unexpectedly) shot up in popularity. Unfortunately, there's only a -bin version available: amber-bash-bin. As it currently stands, it feels like it wouldn't be a good use of resources to add right now. Not really sure that we're here to judge if a language itself is valid to code with 🙃

xiota commented 5 months ago

The problem is the request and responses look like attempted evangelism. Adding packages with zero utility wastes maintainer effort.

rssrcr commented 5 months ago

In closing, I would just like to point out the following:

The goal is not to replace Bash entirely, but to provide a safer and more modern alternative for certain use cases.

xiota commented 5 months ago

... for certain use cases.

What use case? You still have not provided any actual case for which Amber is remotely useful. As far as I can tell, Amber is inherently unsuitable for any use case.

rssrcr commented 5 months ago

OK. Here are some potential use cases where Amber-bash can be particularly useful (just to to name a few):

These are just a few examples of potential use cases where Amber-bash can be particularly useful.

But to be honest, I am under the impression that you are heavily biased against anything that might be employed (even in a complementary way!) alongside Bash itself, perhaps for some ideological reason (the purity and perfection of Bash?).

xiota commented 5 months ago

Those are broad classifications of general computing contexts, not use cases. Show an actual instance of Amber being used in each of those contexts, or provide actual use cases, as has already been requested multiple times.

I am biased against adding useless packages that I will later have to waste time fixing or dropping because they are broken. I made a build of the package available for you to use and to collect metrics. I am dropping it now because you seem to have no need for it, and I have now noticed blocking defects in the package. So even if you somehow convinced me that Amber useful, it cannot be added because of packaging defects.

rssrcr commented 5 months ago

OK. Got it. Thank you.