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

Implement changes from INSPIRE schema migration to PostNAS alignments #26

Merged
merged 8 commits into from
Feb 18, 2025

Conversation

annat2022
Copy link
Member

SVC-1974

@annat2022 annat2022 requested a review from JohannaOtt February 11, 2025 09:58
@annat2022 annat2022 force-pushed the migrate-newInspireSchemas branch from 1533545 to 8936a3c Compare February 11, 2025 10:01
Copy link
Member

@JohannaOtt JohannaOtt left a comment

Choose a reason for hiding this comment

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

commit message a84beae - I assume a "not is missing": "Additionally, changes in groovy script could not be applied automatically, therefore the groovy scripts were adapted manually."

Also, the comments in the diff files seem to be cut - commented at some places where that happened but stopped when I realised it is a systematic issue.

For the content: I roughly reviewed as far as I could but I am not familliar with the tool. So if you feel like a strict content review is needed, it would be great, if you could add Florian as a reviewer.

@annat2022
Copy link
Member Author

annat2022 commented Feb 17, 2025

commit message a84beae - I assume a "not is missing": "Additionally, changes in groovy script could not be applied automatically, therefore the groovy scripts were adapted manually."

Indeed, adapted it accordingly.

Also, the comments in the diff files seem to be cut - commented at some places where that happened but stopped when I realised it is a systematic issue.

That's not an issue at all as far as I can say. That's just how the diff file is generated automatically. I'm not super familiar with that, but for me it looks like that these lines are the header, defining the row where the change refers to and the content of this row. If the row is too long, seems the sentence is cut (but we can ignore that, that's not a change at all):
@@ -5511,18 +5552,46 @@ Für alle anderen 'bauwerksfunktion'en, Referenzen auf andere Objekte oder auch

For the content: I roughly reviewed as far as I could but I am not familliar with the tool. So if you feel like a strict content review is needed, it would be great, if you could add Florian as a reviewer.

I assume this should be sufficient. IIRC when Florian reviewed similar tasks he did re-run the migration-tasks and checked if there are more changes (there should be none) and reviewed the manual changes. In this case I mainly ran the automatic migration, only if needed adapted the existing diff-file to apply it correctly, but all in all there were nearly no manual changes needed.
Depends on how much challenging and QA we want.

And one additional thing: Seems that I missed to add the diff-files for lc and tn-ra previously. I added them now.

@annat2022 annat2022 force-pushed the migrate-newInspireSchemas branch from 6e4fbb9 to 916cdbd Compare February 17, 2025 14:23
@annat2022 annat2022 requested a review from JohannaOtt February 17, 2025 14:28
Copy link
Member

@JohannaOtt JohannaOtt left a comment

Choose a reason for hiding this comment

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

LGTM

No manual changes were needed, only the automatic migration was run.

SVC-1974
Namespaces in the existing diff file were updated and the existing diff file was applied.

Additionally, changes in groovy script could not be applied automatically, therefore the groovy
scripts were adapted manually.
Changes due to the new INSPIRE schema in the groovy scripts to 'functionalClass' and
'verticalPosition' were applied manually.

SVC-1974
Namespace were adapted in the existing manual-diff manually. With this
the existing diff file was applied cleanly.
No further manual changes were needed, the automatic migration ran successfully.

SVC-1974
Namespace were adapted in the existing manual-diff manually. With this
the existing diff file was applied cleanly.
No further manual changes were needed, the automatic migration ran successfully.

SVC-1974
Automatic migration ran successfully, no manual changes were needed.

SVC-1974
Namespace were adapted in the existing manual-diff manually. With this
the existing diff file was applied cleanly.
No further manual changes were needed, the automatic migration ran successfully.

SVC-1974
Automatic migration ran successfully, no manual changes were needed.

Additionally the diff-file was adapted manually for the change related to the cell with
id="C8dac57f2-ccc4-4666-997a-6900aedfd82a". Here a value for'AdministrativeUnit.UpperLevelUnit'
is assigned. When running the migration with windows the respective change is added
automatically (and there it is contained in the updated alignment). But when running the
task with Linux it was necessary to add the change manually. There the namepsace in the diff-file
was adapted manually and kept.

SVC-1974
@annat2022 annat2022 force-pushed the migrate-newInspireSchemas branch from 916cdbd to edbe5f8 Compare February 18, 2025 15:22
@annat2022 annat2022 merged commit ccc4bc7 into master Feb 18, 2025
1 check passed
@annat2022 annat2022 deleted the migrate-newInspireSchemas branch February 18, 2025 15:23
Copy link

we-release bot commented Feb 21, 2025

🎉 This PR is included in version 7.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@we-release we-release bot added the released label Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants