From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 2EDC3D80CAA for ; Wed, 29 May 2024 22:00:44 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=zhDqtLVddzrUMxX6m+sjBlAKZAj47eKfPLuGxksFlMc=; c=relaxed/simple; d=groups.io; h=Message-ID:Date:MIME-Version:User-Agent:Subject:To:References:From:In-Reply-To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20240206; t=1717020044; v=1; b=C28PGxM/k2suuPI8s6d/Nb3cNr922tKCIjijsskc9uKYs8uLYXgMbO6NtrN75lSXSdC14nUo MAKSNiqev4tZt9o9RrqE/MYJCvbl0PSnplyegHYORrdsVawcFs1/6nl04sPlJSMQcYvYqxbqxap rs1u0Zt0M1Aip6D1VhGfXzVkneFwAQSywLdxIB6LmTeAQUWaEUss3ajN2PoWSOatzLgTr1v8L6f z4DNG62ToJ1v/sKEEMunIETWL4ObdU5gRBmJY8yqg/HJRUzbqSUzES+3FaCta3STxAqHr4e3Gv4 RokbJGLrkLYQkLsqi57cp9FWPLOuo/PUlF/hCJa57IpQg== X-Received: by 127.0.0.2 with SMTP id I8gtYY7687511x4lQVaaknEQ; Wed, 29 May 2024 15:00:43 -0700 X-Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) by mx.groups.io with SMTP id smtpd.web10.1810.1717020042359482519 for ; Wed, 29 May 2024 15:00:42 -0700 X-Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-42122ac2f38so930365e9.1 for ; Wed, 29 May 2024 15:00:41 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCWAjn715lENttEGkvdr9DBHR+pLADmMM/2dPziMHt2GK0KCWizDStJV1nSUinAb5kvKHUoYh/ozGANof3z3uJw0uHwLFA== X-Gm-Message-State: IRAtRTA4Fg7ZEsiMlqo3VvAex7686176AA= X-Google-Smtp-Source: AGHT+IGcl8tjKbZ3r1JS/3Rprj4RMi1XUUQbDyFO4CaGjmxBsUfqggbhW0D2i9Fs0CBuO5TDNkAxyw== X-Received: by 2002:a05:600c:4f4d:b0:418:9d4a:1ba5 with SMTP id 5b1f17b1804b1-421280dfabbmr791105e9.6.1717020040273; Wed, 29 May 2024 15:00:40 -0700 (PDT) X-Received: from [10.0.0.117] (ip-84-203-12-157.broadband.digiweb.ie. [84.203.12.157]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42127259e58sm5225095e9.9.2024.05.29.15.00.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 May 2024 15:00:39 -0700 (PDT) Message-ID: <65dc9eb6-a091-4abf-bf51-b190a62867f0@akeo.ie> Date: Wed, 29 May 2024 23:00:39 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [edk2-devel] libspdm Breaking Builds To: "Kinney, Michael D" , "devel@edk2.groups.io" , "Yao, Jiewen" , "mikuback@linux.microsoft.com" References: <82e90314-b068-49ec-b819-d0f9ba9d69e6@linux.microsoft.com> <51da0825-bed8-4d7f-8e33-0ad8059776aa@linux.microsoft.com> <17D1FC93E885E03F.15878@groups.io> From: "Pete Batard via groups.io" In-Reply-To: Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Wed, 29 May 2024 15:00:43 -0700 Resent-From: pete@akeo.ie Reply-To: devel@edk2.groups.io,pete@akeo.ie List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Language: en-GB Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b="C28PGxM/"; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=pass (policy=none) header.from=groups.io Thanks Michael, After working around some weird rate-limiting from GitHub, I was finally=20 able to apply your suggested workaround, and can validate that it indeed=20 works:=20 https://github.com/pbatard/UEFI-Shell/actions/runs/9293562444/job/255769789= 57 Still, I would assert that many people trying to use EDK2 as a submodule=20 dependency in automated workflow will want to avoid having juggling with=20 workarounds, so the sooner the breaking dependency is changed in EDK2,=20 the better. Regards, /Pete On 2024.05.29 20:40, Kinney, Michael D wrote: > Hi Pete, >=20 > I just tested this config command and it works when cryptomilk is down. >=20 > git config --global url."https://github.com/tianocore/edk2-cmocka.gi= t".insteadOf "https://git.cryptomilk.org/projects/cmocka.git" >=20 > I updated edk2-cmocka mirror last week. >=20 > I tested this with >=20 > git clone https://github.com/tianocore/edk2 --recursive >=20 > Best regards, >=20 > Mike >=20 >> -----Original Message----- >> From: Kinney, Michael D >> Sent: Wednesday, May 29, 2024 11:33 AM >> To: Pete Batard ; devel@edk2.groups.io; Yao, Jiewen >> ; mikuback@linux.microsoft.com >> Cc: Kinney, Michael D >> Subject: RE: [edk2-devel] libspdm Breaking Builds >> >> Hi Pete, >> >> There is another option for developers and CI agents. >> >> Git supports a URL insteadof option to redirect git requests. >> >> https://git-scm.com/docs/git-config#Documentation/git-config.txt- >> urlltbasegtinsteadOf >> >> We can use this to redirect a request from cryptomilk cmocka to the >> TianoCore mirror of cryptomilk cmocka. >> >> For developers, this can be a global config setting so it works >> for all edk2 trees on their system. >> >> For a CI agent, this could be ab early step in all CI jobs to perform >> a git config action. Perhaps a feature Stuart could adopt to support >> URL redirects. >> >> Mike >> >> >>> -----Original Message----- >>> From: Pete Batard >>> Sent: Wednesday, May 29, 2024 11:18 AM >>> To: devel@edk2.groups.io; Yao, Jiewen ; Kinney, >> Michael >>> D ; mikuback@linux.microsoft.com >>> Subject: Re: [edk2-devel] libspdm Breaking Builds >>> >>> Hello all, >>> >>> On 2024.05.24 03:13, Yao, Jiewen via groups.io wrote: >>>> Please let us know if the preference for libspdm submodule. (Below >> options) >>>> 1) Keep current libspdm official 3.3.0 release, and update to next >> release >>> at the beginning of July. >>>> 2) Update libspdm immediately with the new cmocka submodule, which is = NOT >>> an official release. >>> >>> Considering that I (and I expect anybody who tries to use EDK2 as a >>> submodule in their UEFI build projects with GitHub Actions), I have to >>> vote for option 2. >>> >>> An example of the current issue can be shown on a project that simply >>> attempts to build the UEFI Shell from the latest stable EDK2 release, >>> using EDK2 as a submodule, can be shown at >>> https://github.com/pbatard/UEFI- >> Shell/actions/runs/9290685065/job/25567879807 >>> or >>> https://github.com/pbatard/UEFI- >> Shell/actions/runs/9290988138/job/25568511355 >>> and as you can see, it makes building the project completely impossible >>> unless you ditch using EDK2 as a submodule (which isn't a viable option >>> IMO, because a build toolchain that cannot be used as a git submodule i= s >>> a very limiting toolchain). >>> >>> For information, there's only so much fine grained tuning GitHub Action= s >>> offers on submodules, and no matter how you try to play with the fetch >>> depth, the fact that one of the libspdm sub-dependency has essentially >>> become M.I.A. is something that should be addressed as a matter of urge= ncy. >>> >>> So I hope that a commit that updates libspdm to the new cmocka submodul= e >>> can find its way into EDK2 fairly soon, as it is currently halting a >>> projects that aims at producing trusted UEFI Shell releases. >>> >>> Regards, >>> >>> /Pete -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#119367): https://edk2.groups.io/g/devel/message/119367 Mute This Topic: https://groups.io/mt/106250971/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-