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

change /usr/share/mysql to /usr/share/mariadb

Details

    Description

      To facilitate the removal of mysql naming in MariaDB products changing this directory name is part of it.

      These appear to be largely internally used covering

      • mysql-test (rename to mariadb-test at same time?)
      • minibenchmark
      • translations of error messages
      • install/ upgrade scripts used by mariadb-install-db
      • example files
      • galera/mroonga/apparmor/selinux/systemd files
      • /usr/share/mysql/mysql.init

      Attachments

        Issue Links

          Activity

            danblack Daniel Black added a comment - CI tests in progress: https://salsa.debian.org/grooverdan/mariadb-server/-/pipelines/469269 https://github.com/MariaDB/server/pull/2370
            danblack Daniel Black added a comment -

            pr: https://github.com/MariaDB/server/pull/2370

            Will need corp bb changes that use /usr/share/mysql/mysql-test and mysql-test-run.pl directly.

            Same debian CI warnings https://salsa.debian.org/illuusio/mariadb-server/-/pipelines/469916 as the 10.11 baseline https://salsa.debian.org/illuusio/mariadb-server/-/pipelines/469916

            On 10.4 upgrade packging fix related to '/usr/share/mariadb/mysql.init': No such file or directory but otherwise ok.

            danblack Daniel Black added a comment - pr: https://github.com/MariaDB/server/pull/2370 Will need corp bb changes that use /usr/share/mysql/mysql-test and mysql-test-run.pl directly. Same debian CI warnings https://salsa.debian.org/illuusio/mariadb-server/-/pipelines/469916 as the 10.11 baseline https://salsa.debian.org/illuusio/mariadb-server/-/pipelines/469916 On 10.4 upgrade packging fix related to '/usr/share/mariadb/mysql.init': No such file or directory but otherwise ok.
            danblack Daniel Black added a comment - replaced with PR https://github.com/MariaDB/server/pull/2392

            danblack, internal files don't matter, of course, do whatever you like. But installed scripts and particularly directories — should there be compatibility symlinks too?

            serg Sergei Golubchik added a comment - danblack , internal files don't matter, of course, do whatever you like. But installed scripts and particularly directories — should there be compatibility symlinks too?
            danblack Daniel Black added a comment -

            The closest ones I though could potentially use a symlink, I don't think its worth the effort:

            • mini-benchmark
            • usr/share/mariadb/ {locale}

              I consider internal

            • usr/share/mariadb/maria_add_gis_sp_bootstrap.sql
            • usr/share/mariadb/mariadb_performance_tables.sql
            • usr/share/mariadb/mariadb_sys_schema.sql
            • usr/share/mariadb/mariadb_system_tables.sql
            • usr/share/mariadb/mariadb_system_tables_data.sql
            • usr/share/mariadb/mariadb_test_data_timezone.sql
            • usr/share/mariadb/mariadb_test_db.sql
            • usr/share/mariadb/mariadb-test/m* (scripts)

            If you agree on no-compatibility links, I'll rebase, and get a PR ready for BB (corp) on https://github.com/MariaDB/mariadb.org-tools/tree/master/buildbot to handle the MTR location change.

            danblack Daniel Black added a comment - The closest ones I though could potentially use a symlink, I don't think its worth the effort: mini-benchmark usr/share/mariadb/ {locale} I consider internal usr/share/mariadb/maria_add_gis_sp_bootstrap.sql usr/share/mariadb/mariadb_performance_tables.sql usr/share/mariadb/mariadb_sys_schema.sql usr/share/mariadb/mariadb_system_tables.sql usr/share/mariadb/mariadb_system_tables_data.sql usr/share/mariadb/mariadb_test_data_timezone.sql usr/share/mariadb/mariadb_test_db.sql usr/share/mariadb/mariadb-test/m* (scripts) If you agree on no-compatibility links, I'll rebase, and get a PR ready for BB (corp) on https://github.com/MariaDB/mariadb.org-tools/tree/master/buildbot to handle the MTR location change.
            danblack Daniel Black added a comment -

            Rebase PR. No significant changes. Still couldn't think of anything worth a symlink compat package.

            Corp BB pr so it doesn't fall over upon merge created - https://github.com/MariaDB/mariadb.org-tools/pull/169 and will be a prerequisite for merge.

            danblack Daniel Black added a comment - Rebase PR. No significant changes. Still couldn't think of anything worth a symlink compat package. Corp BB pr so it doesn't fall over upon merge created - https://github.com/MariaDB/mariadb.org-tools/pull/169 and will be a prerequisite for merge.

            People

              danblack Daniel Black
              danblack Daniel Black
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.