Received: from theta.ikke.info (theta.ikke.info [178.21.117.236]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id A993F7807A8 for <~alpine/devel@lists.alpinelinux.org>; Thu, 15 Sep 2022 16:38:25 +0000 (UTC) Received: from de73db9b708a (mutt_mutt_run_d5b8969499de.postfix_default [192.168.80.5]) by theta.ikke.info (Postfix) with ESMTPS id 5993714015E; Thu, 15 Sep 2022 16:36:42 +0000 (UTC) Date: Thu, 15 Sep 2022 16:36:42 +0000 From: Kevin Daudt To: "Ruck, Maximilian" Cc: "~alpine/devel@lists.alpinelinux.org" <~alpine/devel@lists.alpinelinux.org> Subject: Re: Patch Workflow: Applying patches Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Mon, Sep 12, 2022 at 03:54:49PM +0000, Ruck, Maximilian wrote: > Ah okay, and now the patches are directly shared with gitlab. And there is no need > to apply them in any form, since the abuild command will take care of it. > > Is there any way to see the source code of the patched file(s), with "applied" > patches? I am currently working in a security / software clearing project and would like > to derive some statistics from the source code after the diff is applied. > > Best > Max > Hello Max, We do not store the patched source for each project somehwere. During the build, the original source will be fetched, and then any patches defined in the APKBUILD will be applied. So if you want to see the sources after patching, you would need to unpack and prepare the aport (`abuild unpack prepare`), and then the source is available in src/. Hope this helps, Kevin