Skip to content

[Feature request] Allow platform-specific pkgdeps for non default pkgdeps files #35

@jim-bcom

Description

@jim-bcom

PROBLEM

  • When using remaken install/bundle*/info... commands, which require a pkgdeps file, if no pkgdeps file is specified, the tool expects a file named packagedependencies.txt.

  • The tool can also process platform-specific dependencies if files named packagedependencies-linux.txt or packagedependencies-win.txt exist, as described by the documentation here:

https://github.com/b-com-software-basis/remaken?tab=readme-ov-file#packagedependenciestxt-dependency-file

  • It is possible to explicitely specify a pkgdeps file to remaken, for example:
remaken info mypkgdeps.txt
remaken bundleXpcf --pkgdeps mypkgdeps.txt [...]
...
  • BUT, when specifying a custom pkgdeps, we lose the platform specific deps feature. Even if we explicitely pass a file named packagedependencies.txt, platform-specific files are then ignored. Only the deps listed in this file are processed.

SUGGESTED SOLUTION

But both of these approaches require knowing which one to pick, instead of having an automatic selection made by remaken like in the default case.

  • Add support for automatic selection of platform-specific pkgdeps files for custom pkgdeps as it is done for the default pkgdeps file.

The rule could be made general for exemple by searching for <pkgdeps file name>[-lin|-win|...] files, for example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions