1:4c512d0ecec5
Anton Shestakov <av6@dwimlabs.net>, Mon, 13 Jun 2016 09:47:55 +0800
incoming: a script to run checks At the moment, it just clones source and then cleans up.

next change 5:eaa6df85550a
previous change 0:4dcbaa8e310c

incoming.py

Permissions: -rwxr-xr-x

Other formats: Feeds:
#!/usr/bin/env python
import os
from candolint.models import database, Project, Change, Check
rel = lambda *x: os.path.abspath(os.path.join(os.path.dirname(__file__), *x))
def main():
database.init(rel('database.sqlite'))
database.connect()
database.create_tables([Project, Change, Check], safe=True)
database.close()
if __name__ == '__main__':
main()