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

Looking for subfolders named "queries" #24

Closed
DimitrisAlivas opened this issue Aug 23, 2016 · 5 comments
Closed

Looking for subfolders named "queries" #24

DimitrisAlivas opened this issue Aug 23, 2016 · 5 comments

Comments

@DimitrisAlivas
Copy link

Not all projects have their queries in a separate repository but have the queries in a subfolder.

@albertmeronyo
Copy link
Member

@DimitrisAlivas could you point to a repo with such structure? I'm trying to recreate the issue, thanks!

@DimitrisAlivas
Copy link
Author

@albertmeronyo Hey Albert. Our trump repo used to have such a structure but Kathrin changed it.

In order to recreate the issue you just need a folder within a repository named "queries".
If you check https://github.com/TRUMP-project/documentation, apart from the folders named "data" etc I had a "queries" folder to store queries and that's when I encountered the issue!
Hope it helps :)

@albertmeronyo
Copy link
Member

Thanks! The problem is that grlc uses GitHub's content API, which doesn't scan the repo recursively (just lists what's in the root folder).

We could enable some sort of directory marking (e.g. a .grlc empty file) for directories from which the user wishes to expose queries (or a .grlc_ignore file for the opposite). I'm not quite sure to what extent this is a priority feature so we'll just wait until more users report about it.

@c-martinez
Copy link
Collaborator

This feature seems to be in demand.

@c-martinez
Copy link
Collaborator

This type of request should be possible using the subdir option or in the worst case with a specification yaml file.

Closing this issue -- if this is still needed and cannot be addressed with these options, please reopen.

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

3 participants