FINERACT-2481: Remove Pentaho reports from initial data#5501
FINERACT-2481: Remove Pentaho reports from initial data#5501Kenzy-Ragab wants to merge 2 commits intoapache:developfrom
Conversation
|
Hi @IOhacker, thank you for the feedback. I understand the requirement now. I will revert the Java changes and the sample data SQL files, keeping only the Liquibase migration for the data cleanup. I will also ensure the commit is signed and the PR title follows the convention. I'll push the updates shortly. |
|
All committers already have PGP/GPG keys, so just make sure you're also
signing commits. You can add this to your ~/.gitconfig (or equivalent) to
do it automatically:
[commit]
gpgSign = true
Upload your public key to github <https://github.com/settings/keys> to make
the verified badges green.
More info: FINERACT-2177
<https://issues.apache.org/jira/browse/FINERACT-2177>, PR #5431
<#5431>.
Hints: 1) try it locally before pushing. 2) have git run it for you: Create
.git/hooks/pre-push with:
#!/bin/sh
scripts/verify-signed-commits.sh --strict
Be sure to make that script executable.
El dom, 15 feb 2026 a las 13:25, Kenzy Ragab ***@***.***>)
escribió:
… *Kenzy-Ragab* left a comment (apache/fineract#5501)
<#5501 (comment)>
Hi @IOhacker <https://github.com/IOhacker>, thank you for the feedback. I
understand the requirement now. I will revert the Java changes and the
sample data SQL files, keeping only the Liquibase migration for the data
cleanup. I will also ensure the commit is signed and the PR title follows
the convention. I'll push the updates shortly.
—
Reply to this email directly, view it on GitHub
<#5501 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALD2ZAQONZN7W4QLJFJVNFL4MDB3RAVCNFSM6AAAAACVGA6F72VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTSMBVGA2DIMJVGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
33f5c22 to
8c3b97a
Compare
|
Hi @IOhacker, I have updated the PR according to your feedback. |
|
@Kenzy-Ragab I suggest to update the PR description. The SQL I think that could be more explicit about the report names. |
|
Hi @IOhacker, Thank you for the guidance. I'm currently refining the SQL to be more explicit as requested. However, I have a quick architectural question before I push the final list: Given that we have over 40+ Pentaho-related entries (between reports and permissions), listing them all explicitly in the IN clause will make the Liquibase script quite lengthy and harder to maintain if any similar legacy data is found later. What do you think of this balanced approach?
This keeps the code clean and DRY while remaining explicit about the target group. Or would you prefer every single report name to be hardcoded in the script for maximum safety? |
|
@Kenzy-Ragab my request about explicit setting the name of the Pentaho report is because the DB could have another custom reports with PENTAHO in its name. |
|
@IOhacker Got it! That makes total sense to avoid accidental deletion of custom reports. I have compiled the explicit list of the 44 core reports and updated the migration accordingly. Pushing the changes now. |
8c3b97a to
c7998d9
Compare
|
Hi @IOhacker, I have updated the migration with the explicit list of 44 reports and handled the permissions as discussed. I see some CI failures; could you please check if these are related to existing tests depending on this legacy data, or if it's an environment issue? Thank you for your patience! |
|
Hi @IOhacker, I've closed this PR to provide a fresh, cleaner version that consolidates all the discussed changes into a single, well-structured commit. I’ll link the new PR shortly. Thank you for the great feedback so far! |
|
You can do that with a simple rebase |
Description
This PR removes 44 legacy Pentaho report entries from the initial system data to clean up the reporting metadata.
Changes Proposed
0210_remove_pentaho_legacy_data.xml.m_report_parameterandstretchy_reportfor targeted removal.m_permissionusing pattern matching.Impact
Checklist