Only files in project/*/releases should be used for release file processing.
+1. So far there was no other data in there, so no additional checks were added.
BTW the file extension tested is yml but the message says md.
It used to be Markdown, but I switched it to YAML. Really we are adding config data (key/value) pairs.
Final question does this extension replace the DataDir extension or can they both be run in parallel?
TBH I was not aware of this extension, but now it makes sense. I was always wondering why we had this rather "complex" nested directory structure and all this custom building of hashes. My guess is that initially DataDir was used, but then it was replaced by some custom code which I finally moved into release_file_parser.rb. To answer your question, I guess it could work, but I think we might be better of separating these. Also DataDir seems to work Markdown files. What are you planning to do? Why do you want to use DataDir?
I can fix the release_file_parser.rb issues and potentially move things around a bit. Maybe after the Search 5 release!?
|