So, I sifted through the code and added the modules required in order to run it but I'm stuck at the version-info.yaml and other yaml files specified in the code. Seems the templates to these files aren't provided so I'm not too sure how the web structure should completely look like.
Steps Taken:A: Modules used, replaced fakefs with pyfakefs:
B: Then made the following edits:
- Switched all fakefs calls to pyfakefs
- Added a line 'flags.FLAGS(sys.argv)' to 'autobuild.py' as gflag errors were populating:
flags.FLAGS(sys.argv)
FLAGS = flags.FLAGS
C: I then populated a 'version-info.yaml' with random stuff in the root of apache for the code to pull down and read. Just not sure if I populated it correctly. By default I used what was in the 'autobuild_test.py'.
As stated, it would be nice to have template files to use since very little documentation if given. This way, I can just use those, tweak it to my needs and deploy as needed.
Example:
Web structure should look like this (forgive me, still trying to sift through code to understand). Possibly added to the Github in order for someone to just grab it and drop it into their apache/IS to use right away.:
- www
- version-info.yaml
- bin/
- config/
- stable/
- unstable/
Anywho, any direction on the yaml stuff would be great. I know you guys are still working on it, which is awesome! Just confused on what should live where and how should files look like.