xf86-video-ati: Branch 'master' - 3 commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Jul 30 17:35:12 UTC 2022


 .gitlab-ci.yml               |   56 ++++++++++++++++++++++++++++++++++++++++++-
 src/radeon_glamor_wrappers.c |    8 +++---
 2 files changed, 59 insertions(+), 5 deletions(-)

New commits:
commit 983a779b7a5b2153d995727a0ed3da09732e15d5
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat Jul 23 18:39:20 2022 -0700

    radeon_glamor_wrappers.c: Convert from ISO-8859-1 to UTF-8
    
    Allows Flawfinder to analyze source instead of erroring out on encoding
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

diff --git a/src/radeon_glamor_wrappers.c b/src/radeon_glamor_wrappers.c
index edffd9ad..bc47cc89 100644
--- a/src/radeon_glamor_wrappers.c
+++ b/src/radeon_glamor_wrappers.c
@@ -1,12 +1,12 @@
 /*
- * Copyright © 2001 Keith Packard
+ * Copyright © 2001 Keith Packard
  *             2010 Intel Corporation
  *             2012,2015 Advanced Micro Devices, Inc.
  *
- * Partly based on code Copyright © 2008 Red Hat, Inc.
- * Partly based on code Copyright © 2000 SuSE, Inc.
+ * Partly based on code Copyright © 2008 Red Hat, Inc.
+ * Partly based on code Copyright © 2000 SuSE, Inc.
  *
- * Partly based on code that is Copyright © The XFree86 Project Inc.
+ * Partly based on code that is Copyright © The XFree86 Project Inc.
  *
  * Permission to use, copy, modify, distribute, and sell this software and its
  * documentation for any purpose is hereby granted without fee, provided that
commit a25ca015e6b46bcf6560abe273cfb529c4bdd287
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat Jul 23 18:35:08 2022 -0700

    gitlab CI: enable gitlab's builtin static analysis
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9e4afb41..52f9d491 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -28,6 +28,7 @@ include:
   - project: 'freedesktop/ci-templates'
     ref: *template_sha
     file: '/templates/ci-fairy.yml'
+  - template: Security/SAST.gitlab-ci.yml
 
 
 stages:
commit 7b940097545ea60e5089ae67f593311f136ae271
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat Jul 23 18:29:13 2022 -0700

    gitlab CI: enable commit & merge request checks
    
    Uses ci-fairy from freedesktop/ci-templates
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f7891323..9e4afb41 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,3 +1,5 @@
+# vim: set expandtab shiftwidth=2 tabstop=8 textwidth=0 filetype=yaml:
+
 # FDO_DISTRIBUTION_TAG is the tag of the docker image used for the build
 # jobs. If the image doesn't exist yet, the docker-image stage generates it
 # or copies it from upstream (this is all handled by the templates).
@@ -12,21 +14,72 @@ variables:
   FDO_DISTRIBUTION_TAG: "2021-05-10"
   FDO_UPSTREAM_REPO: xorg/driver/xf86-video-ati
 
+#
+# This CI uses the freedesktop.org ci-templates.
+# Please see the ci-templates documentation for details:
+# https://freedesktop.pages.freedesktop.org/ci-templates/
+
+.templates_sha: &template_sha 34f4ade99434043f88e164933f570301fd18b125 # see https://docs.gitlab.com/ee/ci/yaml/#includefile
+
 include:
   - project: 'freedesktop/ci-templates'
-    ref: 290b79e0e78eab67a83766f4e9691be554fc4afd
+    ref: *template_sha
     file: '/templates/debian.yml'
+  - project: 'freedesktop/ci-templates'
+    ref: *template_sha
+    file: '/templates/ci-fairy.yml'
+
 
 stages:
   - docker-image
   - build
+  - test
 
+#
+# Verify that commit messages are as expected
+#
+check-commits:
+  extends:
+    - .fdo.ci-fairy
+  stage: test
+  script:
+    - ci-fairy check-commits --junit-xml=results.xml
+  except:
+    - master@$FDO_UPSTREAM_REPO
+  variables:
+    GIT_DEPTH: 100
+  artifacts:
+    reports:
+      junit: results.xml
+  allow_failure: true
 
+#
+# Verify that the merge request has the allow-collaboration checkbox ticked
+#
+check-merge-request:
+  extends:
+    - .fdo.ci-fairy
+  stage: test
+  script:
+    - ci-fairy check-merge-request --require-allow-collaboration --junit-xml=results.xml
+  artifacts:
+    when: on_failure
+    reports:
+      junit: results.xml
+  allow_failure: true
+
+
+#
+# Build a container with the given tag and the packages pre-installed.
+# This only happens if/when the tag changes, otherwise the existing image is
+# re-used.
+#
 container-build:
   extends:
     - .fdo.container-build at debian
   stage: docker-image
   variables:
+    GIT_STRATEGY: none
 
 
 # The default build instructions


More information about the xorg-commit mailing list