Join the community today
Register Now

Stable Branch soften dmotd check_git_major_branch copy and add DMOTD_BRANCHCHECK to…

Discussion in 'Centmin Mod Github Commits' started by eva2000, May 20, 2026.

  1. eva2000

    eva2000 Administrator Staff Member

    59,481
    12,536
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,176
    Local Time:
    1:49 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    soften dmotd check_git_major_branch copy and add DMOTD_BRANCHCHECK toggle in 132.00stable

    Replaces the misleading "Older branch (X) — newer: 132.00stable or
    141.00beta01" line with an informational per-track notice.
    132.00stable was being labelled "newer" than 140.00beta01 despite being
    numerically older (only newer within the stable track), and 141.00beta01
    was being globally recommended even though it's an EL10 dev branch.

    This is the minimal backport — 132.00stable does not carry the
    _dmotd_push_status / _fancy_badge infrastructure from the beta branches,
    so the compact line is emitted as plain text rather than tagged info.

    Changes:
    - new DMOTD_BRANCHCHECK='y' toggle ('n' silences the notice; for admins
    who knowingly stay on a specific branch)
    - per-track latest assignments: _latest_stable constant; _latest_beta
    and _forum_url case-conditional (141 hosts get 141 + thread/29603,
    everyone else gets 140 + thread/25572)
    - compact line redundant " ! " prefix dropped, rewritten as:
    "Centmin Mod <branch> — latest stable: X / latest beta: Y — URL"
    - non-compact arm rewritten with aligned "Latest stable / Latest beta"
    labels and per-branch forum URL

    Continue reading...


    132.00stable branch