From nobody Wed Apr 3 05:52:31 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4V8Ymz0w5fz5G45g; Wed, 3 Apr 2024 05:52:35 +0000 (UTC) (envelope-from mfechner@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4V8Ymy6xdgz4dlj; Wed, 3 Apr 2024 05:52:34 +0000 (UTC) (envelope-from mfechner@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712123555; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=bt8Nnoac0BuiDJg1ZuVcVB0Mr0bqQNOgNT6MMalZ3BY=; b=kgb3akC62EjJwKZsjBflcmb0/TUTIlAE68aR3B0/KtDLJXp5y77ebCZ4GDIkteR4lYFJz1 sYZa3U83xq7Ssccxmjmm59je88p7saYV9MlIQ1O3iKvgO+x/NZYle1+VmiKHc+TvSm3H1J 2Pbjy2LD+yYDwaBSp+QJy8DwXdkNkIsUlJbdbVHzJTbTeopfvb2bqLWJLlxLUpykNIn7xf ab5MYLvWhdp2z2Axb/BLRcdtOrOnCf9lBPpYS/3EhF3gMDCusR/F8Kmz8IFxKfqWy4aaRu MRkLLpXczf4iq9oYiQeLPa2amk64CUDjxxz497ptfZdzo81vKP/jPQiFMpTU0g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712123555; a=rsa-sha256; cv=none; b=MUdAxcYGOr12m3M7DsRnEeNFkG/NhDAbT6fVTYw2aG0n0UnoQvOyynPSCKx6/2DNsdTpQ/ 1tgRpVO63iL9+EloPMOJe+174SG6Iv91IzjQNci0NkQAqLTsKKLfAo0TvvPYlAxkT72jMk 2vcPG+hw7cSBUFdyUhxkzQ11IMnHafleIPlBpp9trv1P7Kg35+uEu821P0v2AbspTMc0bS rIkXNoCvNQ+SXqTOPvZVSFZJxQCyo+tVMQTX/iDIoXetE/GzQQ9IFQQBB9DM1jqOazGJXc WYseaKZJlC4MjGANkMoF28RRcEonELwVao/5x4mpARh8WX7B80czzH5HkkwCvw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712123555; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=bt8Nnoac0BuiDJg1ZuVcVB0Mr0bqQNOgNT6MMalZ3BY=; b=Yl7Gh8A/Xwr7pVZoSLRtK+BNCvQ6XOEaSS4rwITiYcIqIvF/lW9bVvuyUlY2E+ncsJmYE+ h35XUXh2gh7HkfILm+YGBWmuZpcGnB+CU8fhRtku9v84PcjIvdQpk8xkdFWSEIXiE2Y4vi hWnGwgU0P4i3yHtC3gv/V3ckFfm9STwkVTEBfuWUA8ApD77weGPxGjCs5c74IVU3+P9QN+ i0a+zN3NwUlGRTKLi3XsC9ok6KZyNMmHGdHro5DSNzz7pIBwUttGUDFir9x99jiMFc3gzY lp2OlWMLOrtcwsZLxDBQUSpzr4nH1jhotjkaugRWM2BDOUas2d+/qK+1R6ulUQ== Received: from [192.168.0.151] (unknown [212.108.137.72]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: mfechner) by smtp.freebsd.org (Postfix) with ESMTPSA id 4V8Ymx6kVgz11qb; Wed, 3 Apr 2024 05:52:33 +0000 (UTC) (envelope-from mfechner@freebsd.org) Content-Type: multipart/alternative; boundary="------------apwHfWsgcIRcd2Qn3V9lD9Th" Message-ID: Date: Wed, 3 Apr 2024 08:52:31 +0300 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: git: 81b6dcb645ee - main - databases/redis*: Refine ports To: Yasuhiro Kimura Cc: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org References: <202404030436.4334aLaq011132@gitrepo.freebsd.org> <9e19fb02-7aeb-48ad-a999-5f626200e755@freebsd.org> <20240403.140025.226010735618620137.yasu@FreeBSD.org> Content-Language: en-US From: Matthias Fechner In-Reply-To: <20240403.140025.226010735618620137.yasu@FreeBSD.org> This is a multi-part message in MIME format. --------------apwHfWsgcIRcd2Qn3V9lD9Th Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Am 03.04.2024 um 08:00 schrieb Yasuhiro Kimura: > From: Matthias Fechner > Subject: Re: git: 81b6dcb645ee - main - databases/redis*: Refine ports > Date: Wed, 3 Apr 2024 07:50:14 +0300 > >> Am 03.04.2024 um 07:36 schrieb Yasuhiro Kimura: >> >>> * Pet portclippy. >> just to learn something new, what is portclippy? >> >> Gruß >> Matthias > It is installed with ports-mgmt/portfmt and checks the order of > variables in Makefie. I use it as following. > > % cd /usr/port/category/name > % portclippy Makefile | diff -u Makefile - amazing, thanks a lot Yasuhiro. I added this now to my gitlab pipeline, so it run automatically in my tests. If someone is interested: # make sure package ports-mgmt/portfmt is installed to have portclippy available portclippy:   stage: test   needs: [ ]   allow_failure: true   script:     - git diff-tree --no-commit-id --name-only -r origin/$CI_DEFAULT_BRANCH $CI_COMMIT_SHA | grep -E '.*/.*/Makefile$' | sort -u | xargs -tL 1 portclippy   rules:     - if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH In this way, I just do my commits in a branch different to the default branch push the changes and check the pipeline, if everything is fine, merge the branch and push it to the FreeBSD repo. Gruß Matthias -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." -- Rich Cook --------------apwHfWsgcIRcd2Qn3V9lD9Th Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
Am 03.04.2024 um 08:00 schrieb Yasuhiro Kimura:
From: Matthias Fechner <mfechner@freebsd.org>
Subject: Re: git: 81b6dcb645ee - main - databases/redis*: Refine ports
Date: Wed, 3 Apr 2024 07:50:14 +0300

Am 03.04.2024 um 07:36 schrieb Yasuhiro Kimura:

* Pet portclippy.
just to learn something new, what is portclippy?

Gruß
Matthias
It is installed with ports-mgmt/portfmt and checks the order of
variables in Makefie. I use it as following.

% cd /usr/port/category/name
% portclippy Makefile | diff -u Makefile -
amazing, thanks a lot Yasuhiro. I added this now to my gitlab pipeline, so it run automatically in my tests.
If someone is interested:
# make sure package ports-mgmt/portfmt is installed to have portclippy available
portclippy:
  stage: test
  needs: [ ]
  allow_failure: true
  script:
    - git diff-tree --no-commit-id --name-only -r origin/$CI_DEFAULT_BRANCH $CI_COMMIT_SHA | grep -E '.*/.*/Makefile$' | sort -u | xargs -tL 1 portclippy
  rules:
    - if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH
In this way, I just do my commits in a branch different to the default branch push the changes and check the pipeline, if everything is fine, merge the branch and push it to the FreeBSD repo.
Gruß
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook
--------------apwHfWsgcIRcd2Qn3V9lD9Th--