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

change target file locations for "targets" role #90

Open
jku opened this issue May 26, 2023 · 0 comments
Open

change target file locations for "targets" role #90

jku opened this issue May 26, 2023 · 0 comments

Comments

@jku
Copy link
Owner

jku commented May 26, 2023

currently target files (in the targets directory) are stored like this:

file.1txt
delegated/file2.txt

Here file1.txt is in role "targets" and has targetpath "file1.txt", and file2.txt is in role "delegated" with targetpath "delegated/file2.txt". In practice filepaths and targetpaths are always "ROLENAME/FILENAME" except for toplevel targets where paths are "FILENAME".

This leads to special cases all over the code: We could move the target files in top level targets to a subdirectory as well. So original example would then be

targets/file.1txt
delegated/file2.txt

I think this is still pretty understandable?

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

No branches or pull requests

1 participant