[aur-general] Is it OK to package oneliners?

Xyne xyne at archlinux.ca
Sun Sep 1 13:30:44 EDT 2013


>> Deleted with the following message:
>>
>>>A single-line shell command is not worth its own package, let alone a project on git hub. Such commands are better off as aliases.
>>
>> Seeing that was definitely a skypalming wtf moment.
>>
>> Regards,
>> Xyne
>>
>>
>
>Please remove some other oneliners by that user:
>* https://aur.archlinux.org/packages/owns-git/
>* https://aur.archlinux.org/packages/wordcount-git/notify/
>* https://aur.archlinux.org/packages/asciicam-git/
>* https://aur.archlinux.org/packages/current-network-git/
>
>He has a few other packages that are "fewliners" e.g.
>* https://aur.archlinux.org/packages/dzen-clock-git/
>* https://aur.archlinux.org/packages/changed-files-git/
>* https://aur.archlinux.org/packages/export-chrome-bookmarks-git/
>* https://aur.archlinux.org/packages/random-git/
>* https://aur.archlinux.org/packages/noise-git/
>* https://aur.archlinux.org/packages/webcam-picture-git/
>* https://aur.archlinux.org/packages/retry-git/
>
>IMHO at least some of them should be removed too.


I have removed those packages and am CC'ing the former maintainer.

@Vanceza
One-liners and trivial few-liners do not deserve their own packages. I think
the best place for these would be a bashrc file, i.e. instead of hosting a
separate git project for each trivial script, host a single project with all of
them included as aliases (one-liners) or bash functions (few-liners) in a
single file. Interested users could then clone the repo in their user
directory, and source the file from their bashrc file (e.g.
"source /path/to/git/repo/bashrc").

Updating would be as simple as cd'ing in the repo and running "git fetch...".
It's actually even easier than updating packages from the AUR.

I do not doubt that your intention is good and I hope that my actions and
remarks will not discourage you from further contributions. 

Regards,
Xyne


More information about the aur-general mailing list