Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MCOL-4057: Package ColumnStore 10.5 for Debian #1605

Merged
merged 1 commit into from Jul 11, 2020
Merged

Conversation

ottok
Copy link
Contributor

@ottok ottok commented Jun 24, 2020

No description provided.

@ottok ottok force-pushed the ok-10.5-cs branch 2 times, most recently from 967bffc to 340ef7c Compare June 26, 2020 19:36
@ottok ottok changed the title WIP: MCOL-4057: Package ColumnStore 10.5 for Debian MCOL-4057: Package ColumnStore 10.5 for Debian Jun 26, 2020
@ottok
Copy link
Contributor Author

ottok commented Jun 26, 2020

@drrtuy This is now ready for review.

debian/control Show resolved Hide resolved
debian/control Outdated
libsnappy1 | libsnappy1v5,
mariadb-server-10.5 (= ${binary:Version}),
net-tools,
python,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After a lot of thinking we decide this will be python3 since the next release not python2.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This references automatically the latest Python version. You cannot use Python 2 on new software anymore, it has been removed from Ubuntu and Debian.

Related, please update all scripts to have the header #!/usr/bin/python3, don't use deprecated env thing.

debian/mariadb-plugin-columnstore.install Outdated Show resolved Hide resolved
debian/mariadb-plugin-columnstore.postrm Show resolved Hide resolved
debian/rules Show resolved Hide resolved
@ottok
Copy link
Contributor Author

ottok commented Jun 27, 2020

Buildbot at http://buildbot.askmonty.org/buildbot/grid?branch=ok-10.5-cs&category=main&category=experimental is passing fine and also Travis-CI at https://travis-ci.org/github/ottok/mariadb/builds/702641457 is green. I am not aware of any regressions and I have no further work on this one planned.

Please review and merge on 10.5. This is kind of urgent, since the packaging was not done properly before the 10.5.4 release and should be fixed ASAP.

@ottok
Copy link
Contributor Author

ottok commented Jul 3, 2020

Rebased, fixed python dependency conflict. Ready to merge again. @drrtuy

@ottok ottok closed this Jul 4, 2020
@ottok ottok reopened this Jul 4, 2020
@ottok ottok force-pushed the ok-10.5-cs branch 4 times, most recently from c2011d0 to df9faad Compare July 8, 2020 16:10
- Add 'libboost-all-dev' and 'libreadline-gplv2-dev' as they were was found
  to be a compulsory build dependency for columnstore plugin.
- Add 'expect' as run-time dependencey for columnstore plugin as scripts
  use it:
    usr/bin/mcs_module_installer.sh: #!/usr/bin/expect
    usr/bin/remote_command.sh: #!/usr/bin/expect
    usr/bin/remote_command_verify.sh: #!/usr/bin/expect
    usr/bin/remote_scp_get.sh: #!/usr/bin/expect
    usr/bin/remote_scp_put.sh: #!/usr/bin/expect
    usr/bin/rsync.sh: #!/usr/bin/expect
- Properly define depends on Python. No Python 2 support needs to be
  considered, Python 3 has been around long enough. Fixes Lintian errors
    E: mariadb-plugin-columnstore: python-script-but-no-python-dep
    usr/bin/mcs-loadbrm.py #!python
    E: mariadb-plugin-columnstore: python-script-but-no-python-dep
    usr/bin/mcs-start-storagemanager.py #!python
- Partially revert undocumented and thus unjustified changes in commits
  d69a79d and
  c056566.
- Trigger ldconfig, otherwise Lintian complains:
    E: mariadb-plugin-columnstore: package-must-activate-ldconfig-trigger
    usr/lib/x86_64-linux-gnu/libwriteengineredistribute.so
- Update postinst to be compatible with new server binary mariadbd name.
- Properly detect systemd or fallback to sysv init in postrm script.
- Only attempt to build ColumnStore on amd64 and i386. Test builds on
  Launchpad.net showed the CMake plugin configure step will prevent even
  attempts to build on other platforms.
- Clean up and unify cmake build command in debian/rules.
- Explicitly list files not installed.
- Run 'wrap-and-sort -a -v'.
- Truncate build logs on Salsa-CI to keep under 4 MB. This is now needed
  as the ColumnStore build is so verbose.
  See https://jira.mariadb.org/browse/MCOL-4111.
- Update Travis-CI dependencies to match new debian/control.
@ottok
Copy link
Contributor Author

ottok commented Jul 11, 2020

This was done with urgency originally, but now stalled for weeks. There was already one review (just not re-review) and CI does not detect any regressions, so should be safe to merge. Proceeding with it now.

@ottok ottok merged commit 4393779 into MariaDB:10.5 Jul 11, 2020
@an3l an3l added this to the 10.5 milestone Jul 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants