Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-38371

Deb: Format files with debputy reformat --style black

    XMLWordPrintable

Details

    • Not for Release Notes

    Description

      This formats and sorts the files the same way they are in the official Debian packaging, making it easier to compare the files in Debian vs upstream using commands such as git difftool --dir-diff main – debian. Comparing the contents at least once a year is important in ensuring all packaging improvements get their way into both Debian official and upstream Debian packaging.

      See https://salsa.debian.org/mariadb-team/mariadb-server/-/tree/debian/latest/debian

      The formatting done by debputy reformat --style black is basically the same as running wrap-and-sort -vast.

      There are no functional changes, this is a pure formatting change.

      This is intentionally done on the main branch in MariaDB. The stable release branches are unlikely to ever get any changes in the debian/control file, and thus formatting or maintaining it is irrelevant. The merges from stable releases to latest main should not bring any debian/control file changes, as adding or removing dependencies, changing Debian compat levels or other changes are invasive and shouldn't be done in stable releases at all.

      Pull request: https://github.com/MariaDB/server/pull/4481

      Attachments

        Activity

          People

            danblack Daniel Black
            gkodinov Georgi Kodinov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.