flatpak-builder icon indicating copy to clipboard operation
flatpak-builder copied to clipboard

EnhancementReq: Adding "include" option in moudles/sources/dir type in builder manifest.json

Open walking98 opened this issue 5 years ago • 2 comments

Linux distribution and version

ubuntu

Flatpak-builder version

1.0.9

Flatpak version

1.4.3

Description of the problem

Steps to reproduce

As the following snippet in doc http://docs.flatpak.org/en/latest/flatpak-builder-command-reference.html mentioned: 图片

It has provided the "skip" option, but I need another option, "include", to involve part of source from a huge directory.

make sense?

walking98 avatar Dec 06 '19 07:12 walking98

secondly, it will be group if adding the property "to-path", that is :

"sources"
[
  {
    "type": "dir",
    "path": "XXXXX",
    "skip": " something",
    "to-path": "new-dir in buildTarget",
    "include": "something as regexpr",
  }
]

walking98 avatar Dec 11 '19 02:12 walking98

secondly, it will be group if adding the property "to-path", that is :

Does dest not work?

It has provided the "skip" option, but I need another option, "include", to involve part of source from a huge directory.

Sounds reasonable to me, would you be interested in working on that?

TingPing avatar Dec 11 '19 02:12 TingPing