X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=docs%2Fjjb%2Flf-python-jobs.rst;h=c179366ebb8c0c78f53b58df60e69797cb35832a;hb=0bc0e976068e17a1274aa3a7417c425cb2518660;hp=3b142647047aeaf2b981e3cd09879669bcb162ca;hpb=30a6dacd8befef0dc78942a53068fa52a101cc9f;p=releng%2Fglobal-jjb.git diff --git a/docs/jjb/lf-python-jobs.rst b/docs/jjb/lf-python-jobs.rst index 3b142647..c179366e 100644 --- a/docs/jjb/lf-python-jobs.rst +++ b/docs/jjb/lf-python-jobs.rst @@ -361,13 +361,13 @@ pyenv variables before running. export PYENV_ROOT="/opt/pyenv" export PATH="$PYENV_ROOT/bin:$PATH" -Installable package projects should consider using a directory layout -like the one shown below. All Python files are below a directory, and -the package source files are nested in a subdirectory. This layout -allows straightforward build-job triggers using the directory paths so -Jenkins jobs are triggered appropriately. For example, a PyPI merge -job should not be triggered by a non-Python change, because the job -cannot upload the same package twice. +Installable package projects should use the directory layout shown +below. All Python files are in a repo subdirectory separate from +non-Python files like documentation. This layout allows highly +specific build-job triggers in Jenkins using the subdirectory +paths. For example, a PyPI merge job should not run on a non-Python +file change such as documentation, because the job cannot upload the +same package twice. .. code-block:: bash @@ -392,7 +392,7 @@ cannot upload the same package twice. │ └── tox.ini │ ├── releases/ - │ └── release-helloworld.yaml + │ └── pypi-helloworld.yaml │ ├── .gitignore ├── LICENSE