<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in gen-diff-patch</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>c0414419 - kbuild: package: add -e and -u options to some shell scripts</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/package/gen-diff-patch#c0414419</link>
        <description>kbuild: package: add -e and -u options to some shell scriptsSet -e to make these scripts fail on the first error.Set -u because these scripts are invoked by Makefile, and do not workproperly without necessary variables defined.I tweaked mkdebian to cope with optional environment variables.Remove the explicit &quot;test -n ...&quot; from install-extmod-build.Both options are described in POSIX. [1][1]: https://pubs.opengroup.org/onlinepubs/009604499/utilities/set.htmlSigned-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Reviewed-by: Nicolas Schier &lt;nicolas@fjasle.eu&gt;

            List of files:
            /linux-6.15/scripts/package/gen-diff-patch</description>
        <pubDate>Tue, 02 Jul 2024 18:02:42 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>aa7d233f - kbuild: give up untracked files for source package builds</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/package/gen-diff-patch#aa7d233f</link>
        <description>kbuild: give up untracked files for source package buildsWhen the source tree is dirty and contains untracked files, packagebuilds may fail, for example, when a broken symlink exists, a filepath contains whitespaces, etc.Since commit 05e96e96a315 (&quot;kbuild: use git-archive for source packagecreation&quot;), the source tarball only contains committed files becauseit is created by &apos;git archive&apos;. scripts/package/gen-diff-patch triesto address the diff from HEAD, but including untracked files by thehand-crafted script introduces more complexity. I wrote a patch [1] tomake it work in most cases, but still wonder if this is what we shouldaim for.To simplify the code, this patch just gives up untracked files. Goingforward, it is your responsibility to do &apos;git add&apos; for what you want inthe source package. The script shows a warning just in case you forgotto do so. It should be checked only when building source packages.[1]: https://lore.kernel.org/all/CAK7LNAShbZ56gSh9PrbLnBDYKnjtTkHMoCXeGrhcxMvqXGq9=g@mail.gmail.com/2-0001-kbuild-make-package-builds-more-robust.patchFixes: 05e96e96a315 (&quot;kbuild: use git-archive for source package creation&quot;)Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Reviewed-by: Nicolas Schier &lt;nicolas@fjasle.eu&gt;

            List of files:
            /linux-6.15/scripts/package/gen-diff-patch</description>
        <pubDate>Mon, 10 Apr 2023 12:09:07 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>05e96e96 - kbuild: use git-archive for source package creation</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/package/gen-diff-patch#05e96e96</link>
        <description>kbuild: use git-archive for source package creationCommit 5c3d1d0abb12 (&quot;kbuild: add a tool to list files ignored by git&quot;)added a new tool, scripts/list-gitignored. My intention was to createsource packages without cleaning the source tree, without relying on git.Linus strongly objected to it, and suggested using &apos;git archive&apos; instead.[1] [2] [3]This commit goes in that direction - Remove scripts/list-gitignored.cand rewrites Makefiles and scripts to use &apos;git archive&apos; for buildingDebian and RPM source packages. It also makes &apos;make perf-tar*-src-pkg&apos;use &apos;git archive&apos; again.Going forward, building source packages is only possible in a git-managedtree. Building binary packages does not require git.[1]: https://lore.kernel.org/lkml/CAHk-=wi49sMaC7vY1yMagk7eqLK=1jHeHQ=yZ_k45P=xBccnmA@mail.gmail.com/[2]: https://lore.kernel.org/lkml/CAHk-=wh5AixGsLeT0qH2oZHKq0FLUTbyTw4qY921L=PwYgoGVw@mail.gmail.com/[3]: https://lore.kernel.org/lkml/CAHk-=wgM-W6Fu==EoAVCabxyX8eYBz9kNC88-tm9ExRQwA79UQ@mail.gmail.com/Fixes: 5c3d1d0abb12 (&quot;kbuild: add a tool to list files ignored by git&quot;)Fixes: e0ca16749ac3 (&quot;kbuild: make perf-tar*-src-pkg work without relying on git&quot;)Suggested-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;

            List of files:
            /linux-6.15/scripts/package/gen-diff-patch</description>
        <pubDate>Wed, 15 Mar 2023 15:50:18 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
</channel>
</rss>
