Skip to content

Improve GUL14 migration script#32

Merged
alt-graph merged 4 commits intomainfrom
feature/improve_migration_script
Jun 2, 2025
Merged

Improve GUL14 migration script#32
alt-graph merged 4 commits intomainfrom
feature/improve_migration_script

Conversation

@alt-graph
Copy link
Copy Markdown
Member

@alt-graph alt-graph commented Jun 2, 2025

These are a few improvements for the GUL14-to-GUL17 migration script. Among other things, the PR

  • adds a gul17.wrap file if there is a subprojects/ folder,
  • fixes the names of package dependencies in the Debian control file, and
  • corrects some replacements inside the meson.build files.

alt-graph added 3 commits June 2, 2025 14:05
[why]
We can simply replace all occurrences of 'libgul14' inside the
meson.build files by 'gul17'. This is correct for both wrap dependencies
and pkgconfig oned. The main dependency exported by GUL17's
meson.build is still called libgul_dep, not gul17_dep, so it is not
necessary to write a special case for it.

Signed-off-by: Lars Froehlich <lars.froehlich@desy.de>
[why]
To provide a fallback for GUL17.

Signed-off-by: Lars Froehlich <lars.froehlich@desy.de>
[why]
The dev-doocs-libgul14 dependency should be replaced by one to
gul17-dev.

Signed-off-by: Lars Froehlich <lars.froehlich@desy.de>
@alt-graph alt-graph self-assigned this Jun 2, 2025
@alt-graph alt-graph added the enhancement New feature or request label Jun 2, 2025
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR improves the migration script from GUL14 to GUL17 by updating dependency names and adding support for generating a gul17 wrap file when a subprojects folder exists.

  • Adds a new function to create a gul17.wrap file.
  • Updates the Debian control file to fix package dependency names.
  • Adjusts replacement patterns in meson.build files.

Copy link
Copy Markdown
Member

@Finii Finii left a comment

Choose a reason for hiding this comment

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

Nice simplified regex 👍

Proposed-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
Signed-off-by: Lars Froehlich <lars.froehlich@desy.de>
@alt-graph
Copy link
Copy Markdown
Member Author

Thanks for the review, @Finii!

@alt-graph alt-graph merged commit 3f4a98f into main Jun 2, 2025
3 checks passed
@alt-graph alt-graph deleted the feature/improve_migration_script branch June 2, 2025 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants