Gitlab CI - Inbound
Ben Cooksley
bcooksley at kde.org
Tue Sep 7 11:21:59 BST 2021
On Tue, Sep 7, 2021 at 10:14 PM Vlad Zahorodnii <vlad.zahorodnii at kde.org>
wrote:
> On 9/7/21 12:22 PM, Ben Cooksley wrote:
> > On Tue, Sep 7, 2021 at 8:48 PM Vlad Zahorodnii <vlad.zahorodnii at kde.org
> > <mailto:vlad.zahorodnii at kde.org>> wrote:
> >
> > On 9/5/21 3:18 PM, David Faure wrote:
> > > On dimanche 5 septembre 2021 12:26:50 CEST Ben Cooksley wrote:
> > >> On Sun, Sep 5, 2021 at 10:22 PM David Faure <faure at kde.org
> > <mailto:faure at kde.org>> wrote:
> > >>> For frameworks, I think we should be able to write a one-time
> > script that
> > >>> generates .kde-ci.yml files using the dependencies listed in
> > kde-build-
> > >>> metadata (and the platforms listed in metainfo.yaml) ?
> > >>
> > >> Yes, that should work nicely (although that information now
> lives in
> > >> sysadmin/repo-metadata, dependencies folder)
> > >
> > > All done for Frameworks.
> > >
> > > The script that collects platforms from metainfo.yaml won't be
> > useful for
> > > other KDE modules, but the script that collects deps from
> > dependency-data-kf5-
> > > qt5 is attached, in case it's useful to anyone else.
> >
> > Is there a file that maps legacy project paths to gitlab project
> paths?
> > dependency-data-kf5-qt5 lists projects with their legacy paths.
> >
> >
> > The individual project YAML files in sysadmin/repo-metadata contain this
> > information.
> > The legacy project path can be found under 'projectpath' while the
> > Gitlab paths are under 'repopath'
>
> Thanks! I've attached a quick and dirty python script that parses
> project dependencies from repo-metadata and prints corresponding gitlab
> project paths.
>
> Example usage
>
> python project-deps.py --repo-metadata
> /data/projects/src/repo-metadata/ kde/workspace/kwin
>
> Output
>
> Dependencies:
> 'requires':
> 'frameworks/extra-cmake-modules': '@stable'
> 'plasma/kdecoration': '@stable'
> 'plasma/kscreenlocker': '@stable'
> 'plasma/kwayland-integration': '@stable'
> 'plasma/breeze': '@stable'
> 'plasma/kwayland-server': '@stable'
>
Please note that the above is missing a 'on' section as required for each
Dependencies section in the .kde-ci.yml file.
> Cheers,
> Vlad
>
Cheers,
Ben
> >
> >
> > Cheers,
> > Ben
> >
> >
> > >> Once we've transitioned across to the .kde-ci.yml files the
> existing
> > >> dependency metadata and branch group files will no longer be
> > required.
> > >> (We'll need to work out a way of exporting this information for
> easy
> > >> consumption by kdesrc-build and other clients before it can be
> > removed
> > >> though)
> > >
> > > OK. Duplication is bad so I agree :)
> > >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20210907/19dc2614/attachment-0001.htm>
More information about the Kde-frameworks-devel
mailing list