[MDEV-22522] RPM packages have meaningless summary/description Created: 2020-05-10 Updated: 2021-11-24 Resolved: 2021-11-24 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Packaging, Platform RedHat |
| Affects Version/s: | 10.1, 10.2, 10.3, 10.4, 10.5 |
| Fix Version/s: | 10.8.0, 10.2.42, 10.3.33, 10.4.23, 10.5.14, 10.6.6, 10.7.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Alexey Bychko (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
All MariaDB RPM packages (server, client, engines, etc.) have the same summary and description:
which is not helpful at all, especially when it comes to not-so-obvious packages, like shared vs compat vs common or alike. I am looking at 10.5 and didn't actually check that 10.1-10.4 have the same problem, but I suppose they do, so setting all of them as affected versions. |
| Comments |
| Comment by Alexey Bychko (Inactive) [ 2021-10-22 ] | |||||||||||||||||||||||||||||||
|
CPACK_PACKAGE_DESCRIPTION_SUMMARY is used if no description is defined for package. | |||||||||||||||||||||||||||||||
| Comment by Alexey Bychko (Inactive) [ 2021-10-23 ] | |||||||||||||||||||||||||||||||
|
Summary seems corrected:
| |||||||||||||||||||||||||||||||
| Comment by Alexey Bychko (Inactive) [ 2021-10-24 ] | |||||||||||||||||||||||||||||||
|
ralf.gebhardt@mariadb.com serg maybe some descriptions should be corrected or rephrased | |||||||||||||||||||||||||||||||
| Comment by Alexey Bychko (Inactive) [ 2021-10-25 ] | |||||||||||||||||||||||||||||||
|
seems done | |||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2021-10-25 ] | |||||||||||||||||||||||||||||||
|
There should be no parts related to columnstore and other packages which aren't in the version. You are going to push it into the source code, so it's version-specific, not universal. Also please check which packages really exist in which version. And why does it require a separate file? | |||||||||||||||||||||||||||||||
| Comment by Alexey Bychko (Inactive) [ 2021-10-25 ] | |||||||||||||||||||||||||||||||
|
serg is it OK to have cpack_rpm.cmake for logic and new cpack_rpm_descriptions.cmake file for text data? | |||||||||||||||||||||||||||||||
| Comment by Sergei Golubchik [ 2021-10-25 ] | |||||||||||||||||||||||||||||||
|
cpack_rpm.cmake is mostly declarative, these's very little actual code logic there.
etc — those are all declarations. So I'd suggest to put more declarations in the same file, not in a new one. | |||||||||||||||||||||||||||||||
| Comment by Alexey Bychko (Inactive) [ 2021-10-26 ] | |||||||||||||||||||||||||||||||
|
summary/description is added to cpack_rpm.cmake file. | |||||||||||||||||||||||||||||||
| Comment by Alexey Bychko (Inactive) [ 2021-10-26 ] | |||||||||||||||||||||||||||||||
|
https://github.com/MariaDB/server/commit/71b290d77629c850116f3ee0b395e274e153fbc5 | |||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2021-10-26 ] | |||||||||||||||||||||||||||||||
|
Shall we ask someone from the documentation team to check the wording? | |||||||||||||||||||||||||||||||
| Comment by Sergei Golubchik [ 2021-10-26 ] | |||||||||||||||||||||||||||||||
|
I'd think RPM and DEB packages should have similar descriptions | |||||||||||||||||||||||||||||||
| Comment by Alexey Bychko (Inactive) [ 2021-10-26 ] | |||||||||||||||||||||||||||||||
|
I gathered descriptions from debians | |||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2021-11-01 ] | |||||||||||||||||||||||||||||||
|
Indeed, and DEBs also have a very generic description for general packages (like client, dev etc.), so for those one generic has changed to another.
The former seems somewhat more informative (with the links to the KB and JIRA), so maybe it makes sense to keep it? Summaries got better though, and for extra packages also descriptions. However, one seems to have gotten lost.
And with the change, it is that generic
Unless the former one was wrong, it seems to be more specific, so it would make sense to keep it. | |||||||||||||||||||||||||||||||
| Comment by Alexey Bychko (Inactive) [ 2021-11-05 ] | |||||||||||||||||||||||||||||||
|
about libmariadb3 description:
| |||||||||||||||||||||||||||||||
| Comment by Alexey Bychko (Inactive) [ 2021-11-05 ] | |||||||||||||||||||||||||||||||
|
updated according to elenst's comments | |||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2021-11-07 ] | |||||||||||||||||||||||||||||||
|
Looks okay to me, except for one small thing.
Now it is
I've checked some random third-party packages and it's not done anywhere, so it's not standard. Better to remove it. After that okay to push to 10.2 from my side, but please remember to either merge it up yourself, adding whatever is needed for higher versions, or provide precise instructions for the future merge. | |||||||||||||||||||||||||||||||
| Comment by Alexey Bychko (Inactive) [ 2021-11-08 ] | |||||||||||||||||||||||||||||||
|
fixed and rebased on latest 10.2 | |||||||||||||||||||||||||||||||
| Comment by Alexey Bychko (Inactive) [ 2021-11-08 ] | |||||||||||||||||||||||||||||||
|
pushed to 10.2 | |||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2021-11-08 ] | |||||||||||||||||||||||||||||||
|
please remember to either merge it up yourself, adding whatever is needed for higher versions, or provide precise instructions for the future merge. And please set the fix versions accordingly. | |||||||||||||||||||||||||||||||
| Comment by Alexey Bychko (Inactive) [ 2021-11-15 ] | |||||||||||||||||||||||||||||||
|
marko is merging the fixes from 10.2 to other versions. it's enough to merge to 10.2 | |||||||||||||||||||||||||||||||
| Comment by Marko Mäkelä [ 2021-11-15 ] | |||||||||||||||||||||||||||||||
|
I had already merged this change up to 10.8 a week ago. | |||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2021-11-15 ] | |||||||||||||||||||||||||||||||
|
Except that this patch alone is not enough for higher versions which have more packages. Each version which has new packages needs to have an extra patch on top of the merge. The merger cannot possibly know it, but the committer should. | |||||||||||||||||||||||||||||||
| Comment by Alexey Bychko (Inactive) [ 2021-11-15 ] | |||||||||||||||||||||||||||||||
|
elenst you're right. | |||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2021-11-15 ] | |||||||||||||||||||||||||||||||
|
And providers in 10.7. Possibly something else | |||||||||||||||||||||||||||||||
| Comment by Alexey Bychko (Inactive) [ 2021-11-15 ] | |||||||||||||||||||||||||||||||
|
could you please review 7b3e666ce81af7976db1a8dbbe14ca925865c79c ? | |||||||||||||||||||||||||||||||
| Comment by Sergei Golubchik [ 2021-11-15 ] | |||||||||||||||||||||||||||||||
|
May be, consider this change:
| |||||||||||||||||||||||||||||||
| Comment by Sergei Golubchik [ 2021-11-22 ] | |||||||||||||||||||||||||||||||
|
normally, plugins should leave no traces outside of their own source directory. As it's already pushed, let's keep 10.2-10.4 the way you've done it, but in 10.5, please, move all plugin-specific SET's to corresponding plugins' CMakeLists.txt. | |||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2021-11-22 ] | |||||||||||||||||||||||||||||||
|
It was only pushed, not released, so we can still just as well move it in 10.2, why not? | |||||||||||||||||||||||||||||||
| Comment by Alexey Bychko (Inactive) [ 2021-11-22 ] | |||||||||||||||||||||||||||||||
|
yes, it's possible to move descriptions off from cpack_rpm.cmake, except rocksdb:
probably FB will not add such patch to code | |||||||||||||||||||||||||||||||
| Comment by Sergei Golubchik [ 2021-11-22 ] | |||||||||||||||||||||||||||||||
|
rocksdb packaging is in storage/rocksdb/CMakeLists.txt, which isn't in a submodule | |||||||||||||||||||||||||||||||
| Comment by Alexey Bychko (Inactive) [ 2021-11-22 ] | |||||||||||||||||||||||||||||||
|
actually it's possible to do for rocks also. testing | |||||||||||||||||||||||||||||||
| Comment by Alexey Bychko (Inactive) [ 2021-11-22 ] | |||||||||||||||||||||||||||||||
|
added a safeguard to cmake/Internal/CPack/CPackRPM.cmake | |||||||||||||||||||||||||||||||
| Comment by Alexey Bychko (Inactive) [ 2021-11-22 ] | |||||||||||||||||||||||||||||||
|
please review 346cdd635ca019b77874a991ef6dfec7e0f114d9 | |||||||||||||||||||||||||||||||
| Comment by Sergei Golubchik [ 2021-11-22 ] | |||||||||||||||||||||||||||||||
|
Looks good, thanks! | |||||||||||||||||||||||||||||||
| Comment by Alexey Bychko (Inactive) [ 2021-11-23 ] | |||||||||||||||||||||||||||||||
|
pushed as fe065f8d90b05c05ad9ca63a773a8f933b19e4eb to 10.2 | |||||||||||||||||||||||||||||||
| Comment by Alexey Bychko (Inactive) [ 2021-11-23 ] | |||||||||||||||||||||||||||||||
|
pushed bb-10.5- | |||||||||||||||||||||||||||||||
| Comment by Sergei Golubchik [ 2021-11-24 ] | |||||||||||||||||||||||||||||||
|
No, please, don't. Let's have your 10.2 commit fe065f8d90b05c05ad9ca63a773a8f933b19e4eb merged up from 10.2 to 10.5 and 10.7 |