[PATCH] Document additional environmental variables

Kieran Bingham kieran.bingham at ideasonboard.com
Thu Jul 25 13:07:22 CEST 2024


Quoting Jacopo Mondi (2024-07-25 09:46:54)
> Hi Pablo
>   thanks for the patch and sorry for the delay. Don't be shy in
> pinging us if delays like this happens again in future ;)
> 
> On Wed, Jun 05, 2024 at 12:42:17PM GMT, Pablo Pita wrote:
> 
> We usually require a commit message, even if the change is simple.
> As a reference https://cbea.ms/git-commit/
> 
> Also you need to sign-off your change. Documentation/contributing.rst
> provides more details

I'd recommend something simple like:

"""
Documentation: Document additional environment variables

The LIBCAMERA_IPA_PROXY_PATH and LIBCAMERA_RPI_TUNING_FILE environment
variables have been added without providing documentation.

Add a description of each and a corresponding example.
"""

If you can reply with your Signed-off-by: Your Name <your.email at address.com>
then we can update while applying.


> 
> > ---
> >  Documentation/environment_variables.rst | 10 ++++++++++
> >  1 file changed, 10 insertions(+)
> >
> > diff --git a/Documentation/environment_variables.rst b/Documentation/environment_variables.rst
> > index 4e9fbb27..7cc13e9f 100644
> > --- a/Documentation/environment_variables.rst
> > +++ b/Documentation/environment_variables.rst
> > @@ -37,6 +37,11 @@ LIBCAMERA_IPA_MODULE_PATH
> >
> >     Example value: ``${HOME}/.libcamera/lib:/opt/libcamera/vendor/lib``
> >
> > +LIBCAMERA_IPA_PROXY_PATH
> > +   Define custom full path for a proxy worker for a given executable name.
> > +
> > +   Example value: ``${HOME}/.libcamera/proxy/worker:/opt/libcamera/vendor/proxy/worker``
> > +
> >  LIBCAMERA_PIPELINES_MATCH_LIST
> >     Define an ordered list of pipeline names to be used to match the media
> >     devices in the system. The pipeline handler names used to populate the
> > @@ -50,6 +55,11 @@ LIBCAMERA_RPI_CONFIG_FILE
> >
> >     Example value: ``/usr/local/share/libcamera/pipeline/rpi/vc4/minimal_mem.yaml``
> >
> > +LIBCAMERA_RPI_TUNING_FILE
> > +   Define a custom JSON tuning file to use in the Raspberry Pi.
> > +
> > +   Example value: ``/usr/local/share/libcamera/ipa/rpi/vc4/custom_sensor.json``
> > +
> 
> The path looks good to me
> Reviewed-by: Jacopo Mondi <jacopo.mondi at ideasonboard.com>

Agreed, the patch should be fine, but we need that signoff to be able to
merge it.


Reviewed-by: Kieran Bingham <kieran.bingham at ideasonboard.com>

> 
> >  Further details
> >  ---------------
> >
> > --
> > 2.43.0
> >


More information about the libcamera-devel mailing list