-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
PROBLEM
-
When using
remaken install/bundle*/info...commands, which require a pkgdeps file, if no pkgdeps file is specified, the tool expects a file namedpackagedependencies.txt. -
The tool can also process platform-specific dependencies if files named
packagedependencies-linux.txtorpackagedependencies-win.txtexist, as described by the documentation here:
- 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
- A workaround can be to write one complete pkgdeps file per platform, thus duplicating the common part.
- If [bundleXpcf/bundle] Accept multiple configuration files/packagedependency files #32 leads to being able to pass multiple files, then we'd be able to explicitely pass the common part and the platform specific part, removing the duplication.
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels