Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Add a generic utility to get data dir #2
Conversation
didrocks
added some commits
Nov 23, 2015
added a commit
that referenced
this pull request
Nov 23, 2015
ximion
merged commit d8901a1
into
ximion:master
Nov 23, 2015
pushed a commit
to iainlane/appstream-dep11
that referenced
this pull request
Feb 19, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
didrocks commentedNov 23, 2015
Some functions in upstream code are checking first master, then virtualenv/system installed version and other functions are doing the opposite. Introduce a generic get data dir utility to ensure we always check first a possible checkout, and then virtualenv/system installed version.
Also, when using it, ensure we always look in the "default" directory, even for system templates, as this is what is installed (/share/dep11/templates/default). This fix a bug when the template won't be found.
Ensure we always look for default. Templating system will then be able to be implemented.
I'm opened to any suggestion if anything is needed :)