From nobody Tue Feb 27 23:49:42 2024 X-Original-To: ports@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 4TkvNX02VSz5Bx2b for ; Tue, 27 Feb 2024 23:49:48 +0000 (UTC) (envelope-from hubert.tournier@gmail.com) Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TkvNW54GQz4Qkq for ; Tue, 27 Feb 2024 23:49:47 +0000 (UTC) (envelope-from hubert.tournier@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-412a9457b2eso1744305e9.1 for ; Tue, 27 Feb 2024 15:49:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709077784; x=1709682584; darn=freebsd.org; h=content-transfer-encoding:in-reply-to:cc:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=KzR1/8L3e8kYAjlzpX3nLls8sUYVF1FuzxYMiIeLpAY=; b=nneMgK5J50NOGNKU6EwRuntrBmuyrsqegn1O2mfGjpHFGrvrQWFLISNMrYTi5UMNkZ 6aPUqoxKsshhGWWrKKAu6LVt9cKceVEvGIqd/RlMZote5yrZ4FIUX7pmsuDoRcvRRNEz GIqaunmq9zDhVvx0auiMpV22FuL0K60oAMwxexL8mYSHVya8YIeZjr1AeU+O0DNokIyU 9Atpz+uH4eKxDXIARpxVLZze3Vbl8jgSikwlpDHwq4OZ9oGTF4IlIDqAHaytHoVM0ofo ReDqvQB2VV0KqcbkqYoYyLFWyL5f11jlpxwmx9Yrz2GLmyxhgvmfZZTOs4BGfxs8I8hh dBYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709077784; x=1709682584; h=content-transfer-encoding:in-reply-to:cc:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=KzR1/8L3e8kYAjlzpX3nLls8sUYVF1FuzxYMiIeLpAY=; b=vTbShNDSc+2wmDDvFvRbS3zfUrXE4DPhQ49h8huxSL01HXgUuZQDqmmS3qWcqvGBo/ UeuaB6xuEMKAuO2er4tTHl6nnqLYFhp3cVlpSjYdLPixQ+LiftXKxXrVR/yZyFBXoNOd Lhq3AcrCRnUztOUB5jHytrS1ThWbAhKG+sY2KiTBqpOHkJnNAV1JKp0BHNVWxwfDn19T MVx2jto9Vha1x3nOSAWHBx05RiaxRJ/oxZbwg9A0bH2Nd4InLvqZVBgG2bfLbY1T1KJl 2fzhERkF+5w1U0g7xhXvfa/E+Ve3Ej/c4eRn5Reu8wthcAkmS7uO2oHQdRt7c4qaBAn2 WjNA== X-Gm-Message-State: AOJu0Yw/UrBuWFNV1qBLO6HDZYNj2rrL/RA/d7oCfNfwKyYqrN7IUtQ+ DTfHiBUVpeY4mVSJXxt4em5KGPcu+k/tAWekHR83jOHPQHsc742Tjq1kyclLwHw= X-Google-Smtp-Source: AGHT+IEBdrXaLIEAJSf+gLMXh3CqISakDdJIKGpvNWM5NKCcrZ2QvmmwUHfeyZhNvS15Gd/pijn1Zw== X-Received: by 2002:a05:600c:4fc9:b0:412:a477:253f with SMTP id o9-20020a05600c4fc900b00412a477253fmr670935wmq.3.1709077784098; Tue, 27 Feb 2024 15:49:44 -0800 (PST) Received: from ?IPV6:2a01:e0a:80d:9d80:1db2:5037:305f:e60f? ([2a01:e0a:80d:9d80:1db2:5037:305f:e60f]) by smtp.gmail.com with ESMTPSA id ch12-20020a5d5d0c000000b0033dabeacab2sm12914851wrb.39.2024.02.27.15.49.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 27 Feb 2024 15:49:43 -0800 (PST) Message-ID: Date: Wed, 28 Feb 2024 00:49:42 +0100 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Port tree linter To: portmaster@bsdforge.com References: <92ef9ee5-9ab7-4b33-94b2-e567618833cf@gmail.com> Content-Language: fr From: Hubert Tournier Cc: ports@freebsd.org In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Queue-Id: 4TkvNW54GQz4Qkq Hello, Le 27/02/2024 à 23:54, Chris a écrit : > On 2024-02-27 09:50, Hubert Tournier wrote: >> It's called portlint2 (https://github.com/HubTou/portlint2), and it >> checks the >> ports Index file and the port's makefiles, for the whole port tree, >> or for >> selected categories / maintainers / ports. > While I haven't (yet) tried it out. I'm grateful for your work. It'll > potentially save a > bunch of work, Thanks! There's an example of output on a whole up-to-date port tree and index there:     https://www.frbsd.org/xch/stdout.txt     https://www.frbsd.org/xch/stderr.txt And an example run on your own 171 ports here:     https://www.frbsd.org/xch/chris.txt On a not up-to-date index, you would notice lots of non existing port-path and description-file, which is what caught my eye in the first place. That's because the portsnap method that I use to sync my port tree doesn't update the Index at all. The tool design is modular, so if additional checks are useful to someone, they could probably be added quite easily (use the GitHub page for these interactions). > Shouldn't this make it to ports-mgmt/ as portlinter? If it's deemed useful, I could make the port next week-end. Best regards, Hubert