contrib: add packaging for the contrib subproject#768
Merged
joergsteffens merged 25 commits intomasterfrom Apr 7, 2022
Merged
Conversation
joergsteffens
added a commit
that referenced
this pull request
Mar 23, 2021
18ab6c8 to
919e8e0
Compare
joergsteffens
added a commit
that referenced
this pull request
Mar 23, 2021
00b44ea to
60db5fb
Compare
Contributor
|
Hope this work is finished asap and leads to packages in https://download.bareos.org/bareos/contrib/. |
Member
Author
|
This PR depends on improving the Bareos Python packaging, which is handled as separate task. As soon, as this is fixed, work on this PR can continue. |
joergsteffens
added a commit
that referenced
this pull request
Dec 22, 2021
60db5fb to
c52128b
Compare
c52128b to
146c929
Compare
joergsteffens
added a commit
that referenced
this pull request
Dec 23, 2021
372debb to
35bf863
Compare
joergsteffens
added a commit
that referenced
this pull request
Dec 23, 2021
35bf863 to
d6eaf10
Compare
joergsteffens
added a commit
that referenced
this pull request
Dec 23, 2021
d6eaf10 to
ae478e9
Compare
joergsteffens
added a commit
that referenced
this pull request
Feb 4, 2022
aa25377 to
eff7d71
Compare
joergsteffens
added a commit
that referenced
this pull request
Feb 4, 2022
eff7d71 to
f0f410b
Compare
joergsteffens
added a commit
that referenced
this pull request
Feb 9, 2022
705f5ad to
f4005fe
Compare
joergsteffens
added a commit
that referenced
this pull request
Feb 9, 2022
58da2d6 to
d20fda8
Compare
joergsteffens
added a commit
that referenced
this pull request
Apr 6, 2022
de3661d to
e08eefd
Compare
joergsteffens
added a commit
that referenced
this pull request
Apr 6, 2022
589bd26 to
b773da7
Compare
Member
Author
Done. |
and adapted for Python >= 3
Renamed bareos-tasks-plugins to bareos_tasks. Adapt file names to PEP8 (lowercase, no - in names). Adapt bareos_tasks.pssql to Bareos >= 20.
... and adapted it to Python 3. Uses sudo instead of subprocess preexec_fn function, which is not supported in subprocessors in Python 3.
Added option defaultsfile. Renamend option mysql_user to user, as the system user is meant, not the database user.
Cover the case of empty databases.
Added the contrib/fd-plugins path to PYTHONPATH, in order to test the Python modules by systemtests.
Add test for the contrib bareos_mysql_dump python module.
Adds Python 2 und 3 tests for the contrib bareos_tasks.mysql plugin.
Currently 4 systemtests do start/stop a MySQL/MariaDB daemon to perform their testing. This commits unifies the required functions. MariaDBs are treated as MySQL databases. Unfortenatly, initialisation differs. With this change, initialisation works with both databases.
b773da7 to
dbbdd5a
Compare
pstorz
pushed a commit
to arogge/bareos
that referenced
this pull request
Apr 26, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add packages
* bareos-contrib-director-python-plugins.install
* bareos-contrib-filedaemon-python-plugins.install
* bareos-contrib-tools
Renamed triggerjob to bareos-triggerjob to indicate, that it belongs to Bareos.
Removed support for RHEL4 from SPEC file. It is no longer used.
OP#4820
Thank you for contributing to the Bareos Project!
Please check
If you have any questions or problems, please give a comment in the PR.
Helpful documentation and best practices
Checklist for the reviewer of the PR (will be processed by the Bareos team)
General
Source code quality
check-sources --since-mergedoes not report any problemsgit statusshould not report modifications in the source tree after building and testingTests