<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/bitbake/lib/bb/fetch2, branch master-next</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=master-next</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=master-next'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2025-11-07T13:15:35+00:00</updated>
<entry>
<title>bitbake: bitbake/bzr: Drop check for unset .revision after .setup_revisions()</title>
<updated>2025-11-07T13:15:35+00:00</updated>
<author>
<name>Uwe Kleine-König</name>
<email>u.kleine-koenig@baylibre.com</email>
</author>
<published>2025-10-06T14:02:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=711b86f6fae4fd205357738bdf374ada164c9f57'/>
<id>urn:sha1:711b86f6fae4fd205357738bdf374ada164c9f57</id>
<content type='text'>
FetchMethod.latest_revision() expects three parameters, so the call
`self.latest_revision(ud, d)` triggers an exception.

Drop that error path that obviously isn't used.

(Bitbake rev: 205bf5501a51be256c203d9d6b41bae24a288b93)

Signed-off-by: Uwe Kleine-König &lt;u.kleine-koenig@baylibre.com&gt;
Signed-off-by: Mathieu Dubois-Briand &lt;mathieu.dubois-briand@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: fetch2: ensure lockfiles are unlocked on exception</title>
<updated>2025-11-07T13:15:35+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@arm.com</email>
</author>
<published>2025-09-20T15:08:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=acd190f2d92efd241061bc8c3db49b6ece2a9552'/>
<id>urn:sha1:acd190f2d92efd241061bc8c3db49b6ece2a9552</id>
<content type='text'>
Ensure that every time a lockfile is created, it is also unlocked in a
finally: block. Otherwise, the lock file remains open and Python warns:

ResourceWarning: unclosed file &lt;_io.FileIO
name='/tmp/bitbake-fetch-srfv29ek/download/git2/git.openembedded.org.bitbake.lock'
mode='ab+' closefd=True&gt;

(Bitbake rev: 53faa18c1cff139ed46ca0b00a22c1f5ccd33a66)

Signed-off-by: Ross Burton &lt;ross.burton@arm.com&gt;
Signed-off-by: Mathieu Dubois-Briand &lt;mathieu.dubois-briand@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: fetch2: gitsm: remove indirection and nesting</title>
<updated>2025-11-07T13:15:35+00:00</updated>
<author>
<name>Stefan Herbrechtsmeier</name>
<email>stefan.herbrechtsmeier@weidmueller.com</email>
</author>
<published>2025-09-05T06:20:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=8b123e2422b255b671176fe1c39672a0bcaae241'/>
<id>urn:sha1:8b123e2422b255b671176fe1c39672a0bcaae241</id>
<content type='text'>
Use a single fetch object to reuse the fetch functionality. Remove
indirection, nesting and duplicate code.

(Bitbake rev: ed48050668189af43041f89e101140f3fe935e94)

Signed-off-by: Stefan Herbrechtsmeier &lt;stefan.herbrechtsmeier@weidmueller.com&gt;
Signed-off-by: Mathieu Dubois-Briand &lt;mathieu.dubois-briand@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: fetch2: gitsm: use TemporaryDirectory instead of mkdtemp</title>
<updated>2025-11-07T13:15:34+00:00</updated>
<author>
<name>Stefan Herbrechtsmeier</name>
<email>stefan.herbrechtsmeier@weidmueller.com</email>
</author>
<published>2025-09-05T06:20:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=a823b0846362d1692aba48f4dee1bb5cd04849db'/>
<id>urn:sha1:a823b0846362d1692aba48f4dee1bb5cd04849db</id>
<content type='text'>
(Bitbake rev: dfcc0d8ed9f70ba363a7a16e8b9e727f08357d96)

Signed-off-by: Stefan Herbrechtsmeier &lt;stefan.herbrechtsmeier@weidmueller.com&gt;
Signed-off-by: Mathieu Dubois-Briand &lt;mathieu.dubois-briand@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: fetch2: gitsm: remove useless need_update check</title>
<updated>2025-11-07T13:15:34+00:00</updated>
<author>
<name>Stefan Herbrechtsmeier</name>
<email>stefan.herbrechtsmeier@weidmueller.com</email>
</author>
<published>2025-09-05T06:20:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=d49e091accec46012d409cae790e75ea1431b587'/>
<id>urn:sha1:d49e091accec46012d409cae790e75ea1431b587</id>
<content type='text'>
The need_update check is useless to decide if the clone directory or
temporary directory should be used to parse the submodules. If the git
repository needs an update, it does not help to unpack the git archive
and use it instead of the clone directory. Furthermore, it is useless
to call the function of the class itself because it bypasses the check
itself.

(Bitbake rev: f9f3d3be82c3f5a2a1d5eaeaccb9a24ffbac7d56)

Signed-off-by: Stefan Herbrechtsmeier &lt;stefan.herbrechtsmeier@weidmueller.com&gt;
Signed-off-by: Mathieu Dubois-Briand &lt;mathieu.dubois-briand@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: fetch2: gitsm: remove redundant check</title>
<updated>2025-11-07T13:15:34+00:00</updated>
<author>
<name>Stefan Herbrechtsmeier</name>
<email>stefan.herbrechtsmeier@weidmueller.com</email>
</author>
<published>2025-09-05T06:20:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=9c53f61d3fbaf7b15ec5cf012084be0b8a51cda1'/>
<id>urn:sha1:9c53f61d3fbaf7b15ec5cf012084be0b8a51cda1</id>
<content type='text'>
(Bitbake rev: 7d329f8ec8b7044c2a243414c9996144e93523f7)

Signed-off-by: Stefan Herbrechtsmeier &lt;stefan.herbrechtsmeier@weidmueller.com&gt;
Signed-off-by: Mathieu Dubois-Briand &lt;mathieu.dubois-briand@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: fetch2: gitsm: handle submodules inside submodule unpack</title>
<updated>2025-11-07T13:15:34+00:00</updated>
<author>
<name>Stefan Herbrechtsmeier</name>
<email>stefan.herbrechtsmeier@weidmueller.com</email>
</author>
<published>2025-09-05T06:20:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=ecc038f786ec5ef6eec64ad5a534102a741bae64'/>
<id>urn:sha1:ecc038f786ec5ef6eec64ad5a534102a741bae64</id>
<content type='text'>
Handle the git submodule setup inside the unpack function of the
submodule to simplify the loop.

(Bitbake rev: 75f6d8e4d6c7245a0df33cc7a5b2e6ea291bd655)

Signed-off-by: Stefan Herbrechtsmeier &lt;stefan.herbrechtsmeier@weidmueller.com&gt;
Signed-off-by: Mathieu Dubois-Briand &lt;mathieu.dubois-briand@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: fetch2: gitsm: add parentdir parameter</title>
<updated>2025-11-07T13:15:34+00:00</updated>
<author>
<name>Stefan Herbrechtsmeier</name>
<email>stefan.herbrechtsmeier@weidmueller.com</email>
</author>
<published>2025-09-05T06:20:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=dc164812a26856160d835234ff78abcbc2c60545'/>
<id>urn:sha1:dc164812a26856160d835234ff78abcbc2c60545</id>
<content type='text'>
Add a parentdir parameter to pass the destination directory of the
submodule parent to the submodule.

(Bitbake rev: 707dc112797e598bd9eed13767e21a06d75f1450)

Signed-off-by: Stefan Herbrechtsmeier &lt;stefan.herbrechtsmeier@weidmueller.com&gt;
Signed-off-by: Mathieu Dubois-Briand &lt;mathieu.dubois-briand@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: fetch2: gitsm: use subdir parameter for submodule</title>
<updated>2025-11-07T13:15:34+00:00</updated>
<author>
<name>Stefan Herbrechtsmeier</name>
<email>stefan.herbrechtsmeier@weidmueller.com</email>
</author>
<published>2025-09-05T06:20:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=f87318c16d10af4482e177f20242187a6c0dda14'/>
<id>urn:sha1:f87318c16d10af4482e177f20242187a6c0dda14</id>
<content type='text'>
Use the subdir parameter to pass the destination directory to the unpack
function.

(Bitbake rev: f2abfb6c6336ca06eb96e4c8adbf3787844a85e4)

Signed-off-by: Stefan Herbrechtsmeier &lt;stefan.herbrechtsmeier@weidmueller.com&gt;
Signed-off-by: Mathieu Dubois-Briand &lt;mathieu.dubois-briand@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: fetch2: gitsm: remove duplicate code</title>
<updated>2025-11-07T13:15:34+00:00</updated>
<author>
<name>Stefan Herbrechtsmeier</name>
<email>stefan.herbrechtsmeier@weidmueller.com</email>
</author>
<published>2025-09-05T06:20:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=2f9dfeeb11db8db83da28dcc6edd099285b732a3'/>
<id>urn:sha1:2f9dfeeb11db8db83da28dcc6edd099285b732a3</id>
<content type='text'>
Remove the duplicate append of the nobranch parameter from the loops and
move duplicate append of the bareclone parameter from the loops to the
URL creation.

(Bitbake rev: 75b6d0e6c3352f25a0712e6c2559120b6c3bd3bd)

Signed-off-by: Stefan Herbrechtsmeier &lt;stefan.herbrechtsmeier@weidmueller.com&gt;
Signed-off-by: Mathieu Dubois-Briand &lt;mathieu.dubois-briand@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
