[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cinnamon 4.2, salsa and master branch



On 2019-10-01 10:38, Norbert Preining wrote:
On Tue, 01 Oct 2019, Maximiliano Curia wrote:
In the wiki page you can also see the ci status, which only works when all the dependencies are already uploaded or using an external repository with
the required packages. To use the last part I wrote:
https://salsa.debian.org/maxy/qt-kde-ci/blob/tooling/salsa_drive_build.py

Thanks! How would I use that?

$ salsa_drive_build.py --help

usage: salsa_drive_build.py [-h] [-u URL] [-t TOKEN] [-p PROJECT_PREFIX]
                            [--project-ref PROJECT_REF]
                            [--extra-repository EXTRA_REPOSITORY]
[--extra-repository-key FILE] [-e ENV_VARIABLE]
                            [--repo-distribution REPO_DISTRIBUTION]
[--upload-host UPLOAD_HOST] [-o OUTPUT] [--debug]
                            package_dirs [package_dirs ...]

Drive a salsa build from a set of interdependant packages. This is intended to be used with a group of packages that are part of a release group, such as the kde frameworks packages, that have interdependencies among them and all the packages are released at the same time and require to be built against the just released versions. As such a topological order needs to be followed to
build the packages.

positional arguments:
  package_dirs          Debian package directories

optional arguments:
  -h, --help            show this help message and exit
  -u URL, --url URL
  -t TOKEN, --token TOKEN
  -p PROJECT_PREFIX, --project-prefix PROJECT_PREFIX
  --project-ref PROJECT_REF
                        branch, tag or treeish to trigger pipelines
  --extra-repository EXTRA_REPOSITORY
Additional apt repository to use in the pipelines
  --extra-repository-key FILE
Filename of the extra repository key in armor format
  -e ENV_VARIABLE, --env-variable ENV_VARIABLE
                        Additional variable to pass to the jobs
  --repo-distribution REPO_DISTRIBUTION
                        Staging repository distribution to use
  --upload-host UPLOAD_HOST
                        Upload host name as configured in dput
  -o OUTPUT, --output OUTPUT
                        Output file
  --debug

:)

In particular:
./salsa_drive_build.py --token $SALSA_API_TOKEN \
--extra-repository 'deb http://repository_url unstable main' --extra-repository-key repository_key.asc \
                       --upload-host repository_as_configured_in_dput \
                       ~/debian/cinnamon/*

The script receives paths where you have the packages checked out, that's what it uses to discover the interdependencies.

Anyway, as mentioned by Fabio, muffin needs to be reuploaded.

First we need to find the reason for the breakage.

The underlying issue seems to be that g-ir-scanner doesn't understand the syntax used in cdesktop-menu.h to define media_keys, which is a mapping from the enums to a descriptive string.

The fix that Fabio added simply ignores the g-ir-scanner warning (instead of treating it as an error).

Happy hacking,
--
Saludos /\/\ /\ >< `/

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: