Richard Purdie 3993996279 bitbake: toaster/tests/buildtest: Switch to new CDN 12 小時之前
..
bin 2d7f5904a8 bitbake: bitbake: Update version to 2.12.0 for release 2 月之前
contrib fec201518b bitbake: contrib: vim: ftdetect: don't conflict with other filetypes 2 月之前
doc c807b703cd bitbake: doc: bitbake-user-manual-metadata: provide link to new doc 1 月之前
lib 3993996279 bitbake: toaster/tests/buildtest: Switch to new CDN 12 小時之前
.b4-config 64ef07f6c4 bitbake: b4-config: Add basic support for b4 contribution workflow 3 月之前
.gitattributes c5882f9212 bitbake: .gitattributes: Add to improve git diff for minified css/js files 6 年之前
AUTHORS 902b5da3f6 misc: Update the email address to a working one. 14 年之前
ChangeLog 8105d4381f *: Fix typo in documentation 15 年之前
LICENSE 79834a7144 bitbake: bitbake: Add initial pass of SPDX license headers to source code 6 年之前
LICENSE.GPL-2.0-only 79834a7144 bitbake: bitbake: Add initial pass of SPDX license headers to source code 6 年之前
LICENSE.MIT 79834a7144 bitbake: bitbake: Add initial pass of SPDX license headers to source code 6 年之前
README 0ac07ddf71 bitbake: doc: README: simpler link to contributor guide 1 年之前
SECURITY.md 3259f262c6 bitbake: SECURITY.md: add file 1 年之前
toaster-requirements.txt 3a09f0d184 bitbake: Update toaster-requirements to add django-log-viewer==1.1.7 1 年之前

README

Bitbake
=======

BitBake is a generic task execution engine that allows shell and Python tasks to be run
efficiently and in parallel while working within complex inter-task dependency constraints.
One of BitBake's main users, OpenEmbedded, takes this core and builds embedded Linux software
stacks using a task-oriented approach.

For information about Bitbake, see the OpenEmbedded website:
https://www.openembedded.org/

Bitbake plain documentation can be found under the doc directory or its integrated
html version at the Yocto Project website:
https://docs.yoctoproject.org

Bitbake requires Python version 3.8 or newer.

Contributing
------------

Please refer to our contributor guide here: https://docs.yoctoproject.org/contributor-guide/
for full details on how to submit changes.

As a quick guide, patches should be sent to bitbake-devel@lists.openembedded.org
The git command to do that would be:

git send-email -M -1 --to bitbake-devel@lists.openembedded.org

If you're sending a patch related to the BitBake manual, make sure you copy
the Yocto Project documentation mailing list:

git send-email -M -1 --to bitbake-devel@lists.openembedded.org --cc docs@lists.yoctoproject.org

Mailing list:

https://lists.openembedded.org/g/bitbake-devel

Source code:

https://git.openembedded.org/bitbake/

Testing
-------

Bitbake has a testsuite located in lib/bb/tests/ whichs aim to try and prevent regressions.
You can run this with "bitbake-selftest". In particular the fetcher is well covered since
it has so many corner cases. The datastore has many tests too. Testing with the testsuite is
recommended before submitting patches, particularly to the fetcher and datastore. We also
appreciate new test cases and may require them for more obscure issues.

To run the tests "zstd" and "git" must be installed.

The assumption is made that this testsuite is run from an initialized OpenEmbedded build
environment (i.e. `source oe-init-build-env` is used). If this is not the case, run the
testsuite as follows:

export PATH=$(pwd)/bin:$PATH
bin/bitbake-selftest

The testsuite can alternatively be executed using pytest, e.g. obtained from PyPI (in this
case, the PATH is configured automatically):

pytest