Skip to content
Snippets Groups Projects
  1. Feb 28, 2024
  2. Feb 27, 2024
    • Maxime Ripard's avatar
      dim: Handle drm.git move to Gitlab automatically · 9ab59fc4
      Maxime Ripard authored
      
      As part of the transition of DRM from cgit to Gitlab, we updated
      drm-rerere's nightly.conf file to reflect the new URL.
      
      However, dim updates drm first and drm-tip lasts, so if you update the
      git remote URL like we instructed before running dim update-branches (or
      any command that fetch all remotes), it will error out before it has the
      chance to retrieve the nightly.conf file.
      
      If the user doesn't update the git remote URL, then dim update-branch
      will run, fetch drm through the cgit repo, update nightly.conf. On the
      second run, it will detect that the URL doesn't match anymore, but since
      there's already a drm remote setup, it will fail to add the remote.
      
      So, in either case, dim's broken.
      
      Add a bit of logic that detects the drm remote URL and will update
      remote url if we're using our legacy URLs.
      
      Co-developed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Signed-off-by: Maxime Ripard's avatarMaxime Ripard <mripard@kernel.org>
      9ab59fc4
    • Lucas De Marchi's avatar
      dim: make dry-run a bit more useful for pull requests · 88cd73ca
      Lucas De Marchi authored
      dim -d pull-request was failing with:
      
      	Using drm/drm-next as the upstream
      	../maintainer-tools/dim: line 2225: gitk: command not found
      	git tag -F- drm-xe-next-2024-02-27 drm-xe-next@{upstream}
      	git tag -a -f drm-xe-next-2024-02-27
      	error: src refspec drm-xe-next-2024-02-27 does not match any
      	error: failed to push some refs to 'ssh://gitlab.freedesktop.org/drm/xe/kernel.git'
      
      Make it a little bit more useful. Probably we shouldn't skip that much,
      but that can be left for later. Same command now shows:
      
      	Using drm/drm-next as the upstream
      	../maintainer-tools/dim: line 2229: gitk: command not found
      	git tag -F- drm-xe-next-2024-02-27 drm-xe-next@{upstream}
      	git tag -a -f drm-xe-next-2024-02-27
      	To ssh://gitlab.freedesktop.org/drm/xe/kernel.git
      
      
      	 * [new tag]                     b2121f2bd2232cd0556b2182078d159d81497885 -> drm-xe-next-2024-02-27
      	Skip.
      	neomutt -s [PULL] drm-xe-next -i /tmp/tmp.eu5PC10boN -c Jani Nikula <jani.nikula@linux.intel.com> -c Joonas Lahtinen <joonas.lahtinen@linux.intel.com> -c Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com> -c Rodrigo Vivi <rodrigo.vivi@intel.com> -c Thomas Zimmermann <tzimmermann@suse.de> -c Maarten Lankhorst <maarten.lankhorst@linux.intel.com> -c Maxime Ripard <mripard@kernel.org> -c Thomas Hellström <thomas.hellstrom@linux.intel.com> -c Oded Gabbay <ogabbay@kernel.org> -c Lucas De Marchi <lucas.demarchi@intel.com> -c dri-devel@lists.freedesktop.org -c intel-gfx@lists.freedesktop.org -c intel-xe@lists.freedesktop.org -c dim-tools@lists.freedesktop.org Dave Airlie <airlied@gmail.com> Daniel Vetter <daniel.vetter@ffwll.ch>
      
      Signed-off-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
      88cd73ca
    • Lucas De Marchi's avatar
      dim: Pull requests to use https:// · b7cc9a0c
      Lucas De Marchi authored
      Not all repos have a git:// protocol enabled. Once upon a time the
      justification to use it was due to bad performance of the https backend.
      https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols
      
       still
      marks it as "the best on performance", but with the Smart HTTP backend,
      the cons start to have a bigger role. Also worth noting that it's not
      available on Github and Gitlab anymore due to security issues.
      
      Signed-off-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
      b7cc9a0c
    • Maxime Ripard's avatar
      doc: Update DRM main repository · d0ddc5b3
      Maxime Ripard authored
      
      The main repository has been moved to Gitlab, so update the URL in the
      documentation.
      
      Signed-off-by: Maxime Ripard's avatarMaxime Ripard <mripard@kernel.org>
      Verified
      d0ddc5b3
  3. Feb 26, 2024
  4. Feb 23, 2024
    • Lucas De Marchi's avatar
      Drop qf · 2dd5e541
      Lucas De Marchi authored
      
      This tool is not being used and not being maintained anymore. Remove it
      so we don't have to keep solving new issues shown by shellcheck like:
      
      	In qf line 81:
      		branch=${quilt_branch#$QUILT_PREFIX}
      				      ^-----------^ SC2295 (info): Expansions inside ${..} need to be quoted separately, otherwise they match as patterns.
      
      Signed-off-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
      2dd5e541
  5. Feb 01, 2024
  6. Jan 29, 2024
  7. Jan 26, 2024
  8. Jan 23, 2024
  9. Jan 11, 2024
  10. Jan 10, 2024
  11. Dec 29, 2023
  12. Nov 28, 2023
    • Jani Nikula's avatar
      dim: fix From: matching in apply patch · 6030b24c
      Jani Nikula authored
      
      I occasionally bounce patches to intel-gfx@ to get CI for patches that
      were only sent to dri-devel@ or were caught in the moderation
      queue. This results in a Resent-From: header being added.
      
      Applying such a patch leads to the From: match in apply_patch() to match
      Resent-From: rather than the actual From:. If whoever bounced the patch
      is also applying the patch, their Signed-off-by won't be automatically
      added.
      
      Match From: from the beginning of the line to fix this.
      
      Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
      6030b24c
  13. Sep 05, 2023
  14. Jun 08, 2023
  15. May 22, 2023
  16. Mar 30, 2023
  17. Mar 29, 2023
  18. Feb 06, 2023
    • Jani Nikula's avatar
      docs: updated rules for topic/core-for-CI commit management · 5e8fab5c
      Jani Nikula authored
      
      Introduce stricter rules for topic/core-for-CI management. Way too many
      commits have been added over the years, with insufficient rationale
      recorded in the commit message, and insufficient follow-up with removing
      the commits from the topic branch.
      
      New rules:
      
      1. Require maintainer ack for rebase. Have better gating on when rebases
         happen and on which baselines.
      
      2. Require maintainer/committer ack for adding/removing commits. No
         single individual should decide.
      
      3. Require gitlab issues for new commits added. Improve tracking for
         removing the commits.
      
      Also use the stronger "must" for commit message requiring the
      justification for the commit being in topic/core-for-CI.
      
      Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
      Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
      Cc: David Airlie <airlied@gmail.com>
      Cc: Daniel Vetter <daniel@ffwll.ch>
      Cc: intel-gfx@lists.freedesktop.org
      Cc: dri-devel@lists.freedesktop.org
      Cc: dim-tools@lists.freedesktop.org
      Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Acked-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
      Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
      5e8fab5c
  19. Jan 03, 2023
    • Rodrigo Vivi's avatar
      dim: Consider fix-of-fix for -fixes cherry picking. · 28155089
      Rodrigo Vivi authored
      
      In case a fix was not propagated yet to upstream, the
      original commit sha won't be found hence the fix of this
      fix will be missed during the cherry-pick.
      
      Since dim cherry-picks reliably adds the -x "(cherry picked
      from" message, let's also grep in the log to see if that
      was the case, before we give up and forget.
      
      Also, if that's the case, let's then fix the 'Fixes:' tag.
      
      v2: Actually replaces the 'Fixes:' tag, otherwise dim doesn't
      allow us to push giving the following message:
      "Fixes: SHA1 in not pointing at an ancestor:"
      "dim: ERROR: issues in commits detected, aborting"
      
      v3: - Also consider fix of fixes in drm-intel-fixes besides
            the drm-intel-next-fixes.
          - Use intel_remote branches instead of local.
          - And run the check unconditionally as suggested by Daniel.
      
      Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
      Acked-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      28155089
  20. Nov 11, 2022
  21. Oct 26, 2022
Loading