From nobody Mon Nov 15 10:21:34 2021 X-Original-To: dev-commits-ports-main@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 370D9189FD12; Mon, 15 Nov 2021 10:21:41 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (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 4Ht4x10rgWz4Smt; Mon, 15 Nov 2021 10:21:41 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: by mail-wm1-f54.google.com with SMTP id c71-20020a1c9a4a000000b0032cdcc8cbafso11983624wme.3; Mon, 15 Nov 2021 02:21:41 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=DRTuSohZ1DMpsTSIknOMoETnP6mbp9616F79OzryaXE=; b=z9jB2mrSMF688lYGbernIi9uccxMLwv0AIHRMZ7ppiBCXgt2d7jw6slFiFg26iHx2C 6Y5Qf9nfR9msvALVcKeUL+kPKUnzIcf/V2Ra0P14afNB1yNF0JV/Lgbm9+s6hUAvX2gM IZsBsY+dCMvXg6TIq5oKvwQvolc6KwjakSXVeOtyfEonk6ApvqRO5vbI9Yv++QY6OOm/ HQlG9txqnjDmCRs4tJhF7cYD4xWsXEnPUlf2tyfoGoQLbdWtHhl25kK2vRqzfhi7EeUE Mww+QcMb3Q3uOf5UAcJoLOykrPfaA+2tc3rZ2vayJsqu9Fd/preUJLzJSYeBrpLPh+HW 4Tgw== X-Gm-Message-State: AOAM533CE+a4RxjDiNHHdOX58piX96fMcrMdSXH6BC39SZZTEzWTNPLH 06B3uv5m5RoFP7qRSHN2nbhFgAkXFe4= X-Google-Smtp-Source: ABdhPJxmVECNt6mGevXymhZQlwlTo5Tczw2fo8LxIv0oWI7zbg6kb7u95TpWYqWbotk0t70Gbcgofg== X-Received: by 2002:a7b:ce0f:: with SMTP id m15mr40101795wmc.149.1636971693717; Mon, 15 Nov 2021 02:21:33 -0800 (PST) Received: from [192.168.0.194] (ip5f5bd4f7.dynamic.kabel-deutschland.de. [95.91.212.247]) by smtp.gmail.com with ESMTPSA id j40sm15230928wms.16.2021.11.15.02.21.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 15 Nov 2021 02:21:33 -0800 (PST) Message-ID: Date: Mon, 15 Nov 2021 11:21:34 +0100 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: git: 0c8d8ebb7b3e - main - Tools/scripts: Add new script update_crates to replace CARGO_CRATES block Content-Language: en-US To: Rodrigo Osorio , ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org References: <202111142331.1AENVjaR046946@gitrepo.freebsd.org> From: Mateusz Piotrowski <0mp@FreeBSD.org> In-Reply-To: <202111142331.1AENVjaR046946@gitrepo.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4Ht4x10rgWz4Smt X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On 15/11/2021 00:31, Rodrigo Osorio wrote: > The branch main has been updated by rodrigo: > > URL: https://cgit.FreeBSD.org/ports/commit/?id=0c8d8ebb7b3e218ca8a8445785266d33b4d3c8ff > > commit 0c8d8ebb7b3e218ca8a8445785266d33b4d3c8ff > Author: Rodrigo Osorio > AuthorDate: 2021-11-12 22:22:31 +0000 > Commit: Rodrigo Osorio > CommitDate: 2021-11-14 22:45:25 +0000 > > Tools/scripts: Add new script update_crates to replace CARGO_CRATES block > > Simple shell script to help updating Makefile CARGO_CRATES variable > returned by make cargo-crates. > > simplest way to use it : > make cargo-crates | update_crates Makefile > NewMakefile Isn't it what portedit from the portfmt package is for? This is what I use:         make cargo-crates; make cargo-crates | portedit merge -i Makefile I run cargo-crates twice because on the first run there are some logs in stdout, which confuse portedit.