Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow DC-files to be Symlinks #698

Open
fsundermeyer opened this issue Nov 18, 2022 · 1 comment
Open

Allow DC-files to be Symlinks #698

fsundermeyer opened this issue Nov 18, 2022 · 1 comment
Assignees

Comments

@fsundermeyer
Copy link
Member

DAPS currently resolves symlinks and assumes that the resulting rean directory is $PROJECT_DIR.
This behaviour is probably unexpected and in case it causes problems, hard to debug.
This also requires to copy DC-files into localization rather than just linking them from the source language.

Target: DAPS 4.0

@fsundermeyer
Copy link
Member Author

A link to a DC file could be anywhere in the file system and there would be no way to automatically determine $PRJ_DIR (the location of the source directories). The only possibility wouid be to always specify BUIDDIR, SRC_DIR, and IMG_SRC_DIR.
Solved this (at least temporarily) by not allowing symbolic links to DC-files with 7ede660

Leaving this open to find a better solution, because the root problem is the automatic detection of directories. If we assume that a DC-file is always located in PRJ_DIR, we should check if this is the case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant