diff --git a/config.py.example b/weboob-ci/config.py.example similarity index 100% rename from config.py.example rename to weboob-ci/config.py.example diff --git a/models.py b/weboob-ci/models.py similarity index 88% rename from models.py rename to weboob-ci/models.py index 77523fa..a2ede69 100644 --- a/models.py +++ b/weboob-ci/models.py @@ -10,7 +10,7 @@ class ModuleStatus(peewee.Model): module = peewee.CharField(max_length=255) # Module name origin = peewee.CharField(max_length=255) # Origin of the update datetime = peewee.DateTimeField( - default=arrow.utcnow().replace(microsecond=0)) + default=arrow.utcnow().replace(microsecond=0).datetime) is_good = peewee.BooleanField() # True if good, False if bad class Meta: diff --git a/server.py b/weboob-ci/server.py similarity index 100% rename from server.py rename to weboob-ci/server.py diff --git a/static/css/style.css b/weboob-ci/static/css/style.css similarity index 100% rename from static/css/style.css rename to weboob-ci/static/css/style.css diff --git a/static/index.html b/weboob-ci/static/index.html similarity index 100% rename from static/index.html rename to weboob-ci/static/index.html diff --git a/static/js/main.js b/weboob-ci/static/js/main.js similarity index 100% rename from static/js/main.js rename to weboob-ci/static/js/main.js diff --git a/static/js/views/indexView.js b/weboob-ci/static/js/views/indexView.js similarity index 100% rename from static/js/views/indexView.js rename to weboob-ci/static/js/views/indexView.js diff --git a/static/js/views/moduleView.js b/weboob-ci/static/js/views/moduleView.js similarity index 100% rename from static/js/views/moduleView.js rename to weboob-ci/static/js/views/moduleView.js diff --git a/static/vendor/cal-heatmap/cal-heatmap.css b/weboob-ci/static/vendor/cal-heatmap/cal-heatmap.css similarity index 100% rename from static/vendor/cal-heatmap/cal-heatmap.css rename to weboob-ci/static/vendor/cal-heatmap/cal-heatmap.css diff --git a/static/vendor/cal-heatmap/cal-heatmap.min.js b/weboob-ci/static/vendor/cal-heatmap/cal-heatmap.min.js similarity index 100% rename from static/vendor/cal-heatmap/cal-heatmap.min.js rename to weboob-ci/static/vendor/cal-heatmap/cal-heatmap.min.js diff --git a/static/vendor/d3/d3.min.js b/weboob-ci/static/vendor/d3/d3.min.js similarity index 100% rename from static/vendor/d3/d3.min.js rename to weboob-ci/static/vendor/d3/d3.min.js diff --git a/static/vendor/hint/hint.min.css b/weboob-ci/static/vendor/hint/hint.min.css similarity index 100% rename from static/vendor/hint/hint.min.css rename to weboob-ci/static/vendor/hint/hint.min.css diff --git a/static/vendor/moment/moment.min.js b/weboob-ci/static/vendor/moment/moment.min.js similarity index 100% rename from static/vendor/moment/moment.min.js rename to weboob-ci/static/vendor/moment/moment.min.js diff --git a/static/vendor/normalize/normalize.min.css b/weboob-ci/static/vendor/normalize/normalize.min.css similarity index 100% rename from static/vendor/normalize/normalize.min.css rename to weboob-ci/static/vendor/normalize/normalize.min.css diff --git a/static/vendor/polyfills/fetch.min.js b/weboob-ci/static/vendor/polyfills/fetch.min.js similarity index 100% rename from static/vendor/polyfills/fetch.min.js rename to weboob-ci/static/vendor/polyfills/fetch.min.js diff --git a/static/vendor/polyfills/promise.min.js b/weboob-ci/static/vendor/polyfills/promise.min.js similarity index 100% rename from static/vendor/polyfills/promise.min.js rename to weboob-ci/static/vendor/polyfills/promise.min.js