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

Path policy #187

Open
MartinKl opened this issue Jan 2, 2024 · 3 comments
Open

Path policy #187

MartinKl opened this issue Jan 2, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@MartinKl
Copy link
Collaborator

MartinKl commented Jan 2, 2024

All import modules should link paths in the graph either via absolute paths or paths relative to the runtime directory. Each exporter is then in charge of expressing the path relative to the target directory (or copying and re-linking the files, respectively).

@MartinKl MartinKl added the enhancement New feature or request label Jan 2, 2024
@MartinKl MartinKl self-assigned this Jan 2, 2024
@MartinKl
Copy link
Collaborator Author

MartinKl commented Jan 2, 2024

Additionally, a graph op could be provided to perform the rewrites of annis::file annotations.

@MartinKl
Copy link
Collaborator Author

MartinKl commented Jan 2, 2024

This policy could actually be generalized to obliging export modules to define their:

  • file handling (e. g., copy linked files)
  • path resolution (as a consequence of the first point)

@thomaskrause
Copy link
Member

We should consider to make the path not relative to the runtime directory, but to the folder where the TOML configuration file is located.

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

No branches or pull requests

2 participants