https://bugs.kde.org/show_bug.cgi?id=432375
Bug ID: 432375 Summary: Fails to fetch translations (regexp produces incorrect repository name) Product: extra-cmake-modules Version: 5.78.0 Platform: Other OS: Other Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: ecm-bugs-n...@kde.org Reporter: j...@kdenlive.org Target Milestone: --- SUMMARY The current releasescript fails to fetch translations for Kdenlive. STEPS TO REPRODUCE 1. Configure Kdenlive using the cmake param: -DKDE_L10N_SYNC_TRANSLATIONS=ON 2. On terminal it prints: found 0 elements for kdenlive OBSERVED RESULT No translations are downloaded/installed. EXPECTED RESULT Translations working Problem is that our invent repository is: multimedia/kdenlive But the ecm regexp filters out '/', so we end up with reponame=kdenlive. Changing the regexp in KDECMakeSettings.cmake line 310: string(REGEX MATCHALL ".+kde\\.org[:\\/]([-A-Za-z0-9\\/]+)(.git)?\\s*" "" ${giturl}) to (remove the "/" filter): string(REGEX MATCHALL ".+kde\\.org[:]([-A-Za-z0-9\\/]+)(.git)?\\s*" "" ${giturl}) Produces a correct repo name (multimedia/kdenlive) and translations are then correctly installed. If it helps, the command: git remote get-url --all origin produces this output: g...@invent.kde.org:multimedia/kdenlive.git SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.