[05/11] reuse: Update file paths in REUSE.toml
diff mbox series

Message ID 20260405191443.1209948-6-laurent.pinchart@ideasonboard.com
State New
Headers show
Series
  • libcamera: Fix missing license information
Related show

Commit Message

Laurent Pinchart April 5, 2026, 7:14 p.m. UTC
Multiple files listed in REUSE.toml have moved within the repository
without any update to the REUSE.toml file. Fix it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 REUSE.toml | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

Comments

Jacopo Mondi April 7, 2026, 12:40 p.m. UTC | #1
Hi Laurent

On Sun, Apr 05, 2026 at 10:14:37PM +0300, Laurent Pinchart wrote:
> Multiple files listed in REUSE.toml have moved within the repository
> without any update to the REUSE.toml file. Fix it.
>
> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> ---
>  REUSE.toml | 17 +++++++++++++----
>  1 file changed, 13 insertions(+), 4 deletions(-)
>
> diff --git a/REUSE.toml b/REUSE.toml
> index 046ae4df22ce..36bfe506aa2c 100644
> --- a/REUSE.toml
> +++ b/REUSE.toml
> @@ -4,26 +4,35 @@ SPDX-PackageSupplier = "Laurent Pinchart <laurent.pinchart@ideasonboard.com>"
>  SPDX-PackageDownloadLocation = "https://git.libcamera.org/libcamera/libcamera.git/"
>
>  [[annotations]]
> -path = ["Documentation/binning.svg", "Documentation/camera-sensor-model.rst", "Documentation/sensor_model.svg", "Documentation/theme/static/libcamera-logo-text.svg"]
> +path = [
> +	"Documentation/binning.svg",
> +	"Documentation/camera-sensor-model.rst",
> +	"Documentation/images/rotation/**.svg",

Is the double * intentional ?

> +	"Documentation/sensor_model.svg",
> +	"Documentation/theme/static/libcamera-logo-text.svg",
> +]
>  precedence = "aggregate"
>  SPDX-FileCopyrightText = "Copyright 2023 Ideas On Board Oy"
>  SPDX-License-Identifier = "CC-BY-SA-4.0"
>
>  [[annotations]]
> -path = ["src/ipa/rpi/vc4/data/**.json", "utils/raspberrypi/ctt/ctt_config_example.json", "utils/raspberrypi/ctt/ctt_ref.pgm"]
> +path = ["src/ipa/rpi/vc4/data/**.json"]
>  precedence = "aggregate"
>  SPDX-FileCopyrightText = "2019-2020 Raspberry Pi Ltd"
>  SPDX-License-Identifier = "BSD-2-Clause"
>
>  [[annotations]]
> -path = "src/qcam/assets/feathericons/**.svg"
> +path = "src/apps/qcam/assets/feathericons/**.svg"
>  precedence = "aggregate"
>  SPDX-FileCopyrightText = "2019 Cole Bemis (and other Feather icons contributors)"
>  SPDX-License-Identifier = "MIT"
>  SPDX-FileComment = "https://feathericons.com/"
>
>  [[annotations]]
> -path = ["utils/ipc/mojo", "utils/ipc/tools"]
> +path = [
> +	"utils/codegen/ipc/mojo/**",
> +	"utils/codegen/ipc/tools/**",
> +]
>  precedence = "aggregate"
>  SPDX-FileCopyrightText = "Copyright 2013-2020 The Chromium Authors. All rights reserved."
>  SPDX-License-Identifier = "BSD-3-Clause"

Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>

Thanks
  j

> --
> Regards,
>
> Laurent Pinchart
>
Laurent Pinchart April 7, 2026, 1:04 p.m. UTC | #2
On Tue, Apr 07, 2026 at 02:40:16PM +0200, Jacopo Mondi wrote:
> On Sun, Apr 05, 2026 at 10:14:37PM +0300, Laurent Pinchart wrote:
> > Multiple files listed in REUSE.toml have moved within the repository
> > without any update to the REUSE.toml file. Fix it.
> >
> > Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> > ---
> >  REUSE.toml | 17 +++++++++++++----
> >  1 file changed, 13 insertions(+), 4 deletions(-)
> >
> > diff --git a/REUSE.toml b/REUSE.toml
> > index 046ae4df22ce..36bfe506aa2c 100644
> > --- a/REUSE.toml
> > +++ b/REUSE.toml
> > @@ -4,26 +4,35 @@ SPDX-PackageSupplier = "Laurent Pinchart <laurent.pinchart@ideasonboard.com>"
> >  SPDX-PackageDownloadLocation = "https://git.libcamera.org/libcamera/libcamera.git/"
> >
> >  [[annotations]]
> > -path = ["Documentation/binning.svg", "Documentation/camera-sensor-model.rst", "Documentation/sensor_model.svg", "Documentation/theme/static/libcamera-logo-text.svg"]
> > +path = [
> > +	"Documentation/binning.svg",
> > +	"Documentation/camera-sensor-model.rst",
> > +	"Documentation/images/rotation/**.svg",
> 
> Is the double * intentional ?

* matches everything except forward slashes (i.e. path separators).
** and **/ match everything including forward slashes (i.e. path separators).

It was intentional, but thinking more about it, I'll use a single star.

> > +	"Documentation/sensor_model.svg",
> > +	"Documentation/theme/static/libcamera-logo-text.svg",
> > +]
> >  precedence = "aggregate"
> >  SPDX-FileCopyrightText = "Copyright 2023 Ideas On Board Oy"
> >  SPDX-License-Identifier = "CC-BY-SA-4.0"
> >
> >  [[annotations]]
> > -path = ["src/ipa/rpi/vc4/data/**.json", "utils/raspberrypi/ctt/ctt_config_example.json", "utils/raspberrypi/ctt/ctt_ref.pgm"]
> > +path = ["src/ipa/rpi/vc4/data/**.json"]
> >  precedence = "aggregate"
> >  SPDX-FileCopyrightText = "2019-2020 Raspberry Pi Ltd"
> >  SPDX-License-Identifier = "BSD-2-Clause"
> >
> >  [[annotations]]
> > -path = "src/qcam/assets/feathericons/**.svg"
> > +path = "src/apps/qcam/assets/feathericons/**.svg"
> >  precedence = "aggregate"
> >  SPDX-FileCopyrightText = "2019 Cole Bemis (and other Feather icons contributors)"
> >  SPDX-License-Identifier = "MIT"
> >  SPDX-FileComment = "https://feathericons.com/"
> >
> >  [[annotations]]
> > -path = ["utils/ipc/mojo", "utils/ipc/tools"]
> > +path = [
> > +	"utils/codegen/ipc/mojo/**",
> > +	"utils/codegen/ipc/tools/**",
> > +]
> >  precedence = "aggregate"
> >  SPDX-FileCopyrightText = "Copyright 2013-2020 The Chromium Authors. All rights reserved."
> >  SPDX-License-Identifier = "BSD-3-Clause"
> 
> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Barnabás Pőcze April 13, 2026, 11:02 a.m. UTC | #3
2026. 04. 07. 15:04 keltezéssel, Laurent Pinchart írta:
> On Tue, Apr 07, 2026 at 02:40:16PM +0200, Jacopo Mondi wrote:
>> On Sun, Apr 05, 2026 at 10:14:37PM +0300, Laurent Pinchart wrote:
>>> Multiple files listed in REUSE.toml have moved within the repository
>>> without any update to the REUSE.toml file. Fix it.
>>>
>>> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
>>> ---
>>>   REUSE.toml | 17 +++++++++++++----
>>>   1 file changed, 13 insertions(+), 4 deletions(-)
>>>
>>> diff --git a/REUSE.toml b/REUSE.toml
>>> index 046ae4df22ce..36bfe506aa2c 100644
>>> --- a/REUSE.toml
>>> +++ b/REUSE.toml
>>> @@ -4,26 +4,35 @@ SPDX-PackageSupplier = "Laurent Pinchart <laurent.pinchart@ideasonboard.com>"
>>>   SPDX-PackageDownloadLocation = "https://git.libcamera.org/libcamera/libcamera.git/"
>>>
>>>   [[annotations]]
>>> -path = ["Documentation/binning.svg", "Documentation/camera-sensor-model.rst", "Documentation/sensor_model.svg", "Documentation/theme/static/libcamera-logo-text.svg"]
>>> +path = [
>>> +	"Documentation/binning.svg",
>>> +	"Documentation/camera-sensor-model.rst",
>>> +	"Documentation/images/rotation/**.svg",
>>
>> Is the double * intentional ?
> 
> * matches everything except forward slashes (i.e. path separators).
> ** and **/ match everything including forward slashes (i.e. path separators).
> 
> It was intentional, but thinking more about it, I'll use a single star.

Reviewed-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>


> 
>>> +	"Documentation/sensor_model.svg",
>>> +	"Documentation/theme/static/libcamera-logo-text.svg",
>>> +]
>>>   precedence = "aggregate"
>>>   SPDX-FileCopyrightText = "Copyright 2023 Ideas On Board Oy"
>>>   SPDX-License-Identifier = "CC-BY-SA-4.0"
>>>
>>>   [[annotations]]
>>> -path = ["src/ipa/rpi/vc4/data/**.json", "utils/raspberrypi/ctt/ctt_config_example.json", "utils/raspberrypi/ctt/ctt_ref.pgm"]
>>> +path = ["src/ipa/rpi/vc4/data/**.json"]
>>>   precedence = "aggregate"
>>>   SPDX-FileCopyrightText = "2019-2020 Raspberry Pi Ltd"
>>>   SPDX-License-Identifier = "BSD-2-Clause"
>>>
>>>   [[annotations]]
>>> -path = "src/qcam/assets/feathericons/**.svg"
>>> +path = "src/apps/qcam/assets/feathericons/**.svg"
>>>   precedence = "aggregate"
>>>   SPDX-FileCopyrightText = "2019 Cole Bemis (and other Feather icons contributors)"
>>>   SPDX-License-Identifier = "MIT"
>>>   SPDX-FileComment = "https://feathericons.com/"
>>>
>>>   [[annotations]]
>>> -path = ["utils/ipc/mojo", "utils/ipc/tools"]
>>> +path = [
>>> +	"utils/codegen/ipc/mojo/**",
>>> +	"utils/codegen/ipc/tools/**",
>>> +]
>>>   precedence = "aggregate"
>>>   SPDX-FileCopyrightText = "Copyright 2013-2020 The Chromium Authors. All rights reserved."
>>>   SPDX-License-Identifier = "BSD-3-Clause"
>>
>> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
>

Patch
diff mbox series

diff --git a/REUSE.toml b/REUSE.toml
index 046ae4df22ce..36bfe506aa2c 100644
--- a/REUSE.toml
+++ b/REUSE.toml
@@ -4,26 +4,35 @@  SPDX-PackageSupplier = "Laurent Pinchart <laurent.pinchart@ideasonboard.com>"
 SPDX-PackageDownloadLocation = "https://git.libcamera.org/libcamera/libcamera.git/"
 
 [[annotations]]
-path = ["Documentation/binning.svg", "Documentation/camera-sensor-model.rst", "Documentation/sensor_model.svg", "Documentation/theme/static/libcamera-logo-text.svg"]
+path = [
+	"Documentation/binning.svg",
+	"Documentation/camera-sensor-model.rst",
+	"Documentation/images/rotation/**.svg",
+	"Documentation/sensor_model.svg",
+	"Documentation/theme/static/libcamera-logo-text.svg",
+]
 precedence = "aggregate"
 SPDX-FileCopyrightText = "Copyright 2023 Ideas On Board Oy"
 SPDX-License-Identifier = "CC-BY-SA-4.0"
 
 [[annotations]]
-path = ["src/ipa/rpi/vc4/data/**.json", "utils/raspberrypi/ctt/ctt_config_example.json", "utils/raspberrypi/ctt/ctt_ref.pgm"]
+path = ["src/ipa/rpi/vc4/data/**.json"]
 precedence = "aggregate"
 SPDX-FileCopyrightText = "2019-2020 Raspberry Pi Ltd"
 SPDX-License-Identifier = "BSD-2-Clause"
 
 [[annotations]]
-path = "src/qcam/assets/feathericons/**.svg"
+path = "src/apps/qcam/assets/feathericons/**.svg"
 precedence = "aggregate"
 SPDX-FileCopyrightText = "2019 Cole Bemis (and other Feather icons contributors)"
 SPDX-License-Identifier = "MIT"
 SPDX-FileComment = "https://feathericons.com/"
 
 [[annotations]]
-path = ["utils/ipc/mojo", "utils/ipc/tools"]
+path = [
+	"utils/codegen/ipc/mojo/**",
+	"utils/codegen/ipc/tools/**",
+]
 precedence = "aggregate"
 SPDX-FileCopyrightText = "Copyright 2013-2020 The Chromium Authors. All rights reserved."
 SPDX-License-Identifier = "BSD-3-Clause"