MariaDB:在服务器日志和客户端提示中推广以达到 10k GitHub 星标
MariaDB: Promote getting to 10k GitHub stars in server log and client prompt

原始链接: https://github.com/MariaDB/server/pull/4262

在 MariaDB 客户端的提示信息中增加一行内容,邀请用户为 MariaDB 点赞: 欢迎使用 MariaDB 监视器。命令以 ; 或 \g 结尾。 您的 MariaDB 连接 ID 为 33 服务器版本:12.2.0-MariaDB-1:12.2.0 mariadb.org 二进制发行版 版权所有 (c) 2000, 2018, Oracle, MariaDB Corporation Ab 及其他贡献者。 帮助他人发现 MariaDB。请在 GitHub 上为它点赞:https://github.com/MariaDB/server 输入 'help;' 或 '\h' 获取帮助。输入 '\c' 清除当前输入语句。 MariaDB [(none)]> 此外,在服务器日志中增加这一行: [Note] 帮助他人发现 MariaDB。请在 GitHub 上为它点赞:https://github.com/MariaDB/server 此项更改的设计方式便于向旧版本进行代码挑拣(cherry-pick),且后续可将文案更改为推广其他内容。 测试文件更新命令: nano --noconvert --nonewlines mysql-test/main/mysql-interactive.result

一则 Hacker News 上的讨论聚焦于 MariaDB 的一项决策:在服务器日志和客户端界面中加入提示,鼓励用户在 GitHub 上为该项目加星,以达到 10,000 个星标。 评论者对这种做法的看法存在分歧。一些用户认为这种推广方式可以接受且负责任,并建议更多软件项目应该利用类似(或许是随机触发)的方法来提升社区参与度。另一些人则认为这种做法多余或没必要,将其比作用户早已知晓的品牌宣传,就像鞋子上的标志一样。虽然讨论也涉及了该功能实施的时间点(指出该功能于 2025 年提交,但近期才被合并),但共识反映了关于在技术开发工具中进行自我推广是否得当的更广泛争论。
相关文章

原文
Ask users to give MariaDB a star by having an extra line in the MariaDB
client prompt:

    Welcome to the MariaDB monitor.  Commands end with ; or \g.
    Your MariaDB connection id is 33
    Server version: 12.2.0-MariaDB-1:12.2.0 mariadb.org binary distribution

    Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

    Help others discover MariaDB. Star it on GitHub: https://github.com/MariaDB/server
    Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

    MariaDB [(none)]>

Additionally, have this extra line in server logs:

    [Note] Help others discover MariaDB. Star it on GitHub: https://github.com/MariaDB/server

This change is done in a way that it is easy to cherry-pick to older
releases, and the text can later be changed to promote something else.

Test file updated with:
nano --noconvert --nonewlines mysql-test/main/mysql-interactive.result
联系我们 contact @ memedata.com