mirror of
https://github.com/IEEE-SB-Passau/pelican-deployment-system.git
synced 2017-09-06 16:35:38 +02:00
forgot #
This commit is contained in:
29
app.py
29
app.py
@@ -1,20 +1,19 @@
|
|||||||
|
|
||||||
Copyright 2016 Peter Dahlberg
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
|
|
||||||
#! /usr/bin/env python3
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
|
# Copyright 2016 Peter Dahlberg
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
from pelican_deploy import DeploymentRunner
|
from pelican_deploy import DeploymentRunner
|
||||||
from apscheduler.schedulers.background import BackgroundScheduler
|
from apscheduler.schedulers.background import BackgroundScheduler
|
||||||
from importlib.machinery import SourceFileLoader
|
from importlib.machinery import SourceFileLoader
|
||||||
|
|||||||
@@ -1,17 +1,16 @@
|
|||||||
|
# Copyright 2016 Peter Dahlberg
|
||||||
Copyright 2016 Peter Dahlberg
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
# you may not use this file except in compliance with the License.
|
||||||
you may not use this file except in compliance with the License.
|
# You may obtain a copy of the License at
|
||||||
You may obtain a copy of the License at
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
Unless required by applicable law or agreed to in writing, software
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# See the License for the specific language governing permissions and
|
||||||
See the License for the specific language governing permissions and
|
# limitations under the License.
|
||||||
limitations under the License.
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import logging
|
import logging
|
||||||
|
|||||||
@@ -1,17 +1,16 @@
|
|||||||
|
# Copyright 2016 Peter Dahlberg
|
||||||
Copyright 2016 Peter Dahlberg
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
# you may not use this file except in compliance with the License.
|
||||||
you may not use this file except in compliance with the License.
|
# You may obtain a copy of the License at
|
||||||
You may obtain a copy of the License at
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
Unless required by applicable law or agreed to in writing, software
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# See the License for the specific language governing permissions and
|
||||||
See the License for the specific language governing permissions and
|
# limitations under the License.
|
||||||
limitations under the License.
|
|
||||||
|
|
||||||
from pelican_deploy.deploy import DeploymentRunner
|
from pelican_deploy.deploy import DeploymentRunner
|
||||||
from pelican_deploy import gittool
|
from pelican_deploy import gittool
|
||||||
|
|||||||
@@ -1,17 +1,16 @@
|
|||||||
|
# Copyright 2016 Peter Dahlberg
|
||||||
Copyright 2016 Peter Dahlberg
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
# you may not use this file except in compliance with the License.
|
||||||
you may not use this file except in compliance with the License.
|
# You may obtain a copy of the License at
|
||||||
You may obtain a copy of the License at
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
Unless required by applicable law or agreed to in writing, software
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# See the License for the specific language governing permissions and
|
||||||
See the License for the specific language governing permissions and
|
# limitations under the License.
|
||||||
limitations under the License.
|
|
||||||
|
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from collections import namedtuple, deque
|
from collections import namedtuple, deque
|
||||||
|
|||||||
@@ -1,17 +1,16 @@
|
|||||||
|
# Copyright 2016 Peter Dahlberg
|
||||||
Copyright 2016 Peter Dahlberg
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
# you may not use this file except in compliance with the License.
|
||||||
you may not use this file except in compliance with the License.
|
# You may obtain a copy of the License at
|
||||||
You may obtain a copy of the License at
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
Unless required by applicable law or agreed to in writing, software
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# See the License for the specific language governing permissions and
|
||||||
See the License for the specific language governing permissions and
|
# limitations under the License.
|
||||||
limitations under the License.
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import errno
|
import errno
|
||||||
|
|||||||
@@ -1,17 +1,16 @@
|
|||||||
|
# Copyright 2016 Peter Dahlberg
|
||||||
Copyright 2016 Peter Dahlberg
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
# you may not use this file except in compliance with the License.
|
||||||
you may not use this file except in compliance with the License.
|
# You may obtain a copy of the License at
|
||||||
You may obtain a copy of the License at
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
Unless required by applicable law or agreed to in writing, software
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# See the License for the specific language governing permissions and
|
||||||
See the License for the specific language governing permissions and
|
# limitations under the License.
|
||||||
limitations under the License.
|
|
||||||
|
|
||||||
from bottle import route, template, request, post, Bottle, HTTPError, auth_basic
|
from bottle import route, template, request, post, Bottle, HTTPError, auth_basic
|
||||||
from pprint import pformat
|
from pprint import pformat
|
||||||
|
|||||||
@@ -1,17 +1,16 @@
|
|||||||
|
# Copyright 2016 Peter Dahlberg
|
||||||
Copyright 2016 Peter Dahlberg
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
# you may not use this file except in compliance with the License.
|
||||||
you may not use this file except in compliance with the License.
|
# You may obtain a copy of the License at
|
||||||
You may obtain a copy of the License at
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
Unless required by applicable law or agreed to in writing, software
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# See the License for the specific language governing permissions and
|
||||||
See the License for the specific language governing permissions and
|
# limitations under the License.
|
||||||
limitations under the License.
|
|
||||||
|
|
||||||
|
|
||||||
def exception_logged(func, log):
|
def exception_logged(func, log):
|
||||||
|
|||||||
@@ -1,17 +1,16 @@
|
|||||||
|
# Copyright 2016 Peter Dahlberg
|
||||||
Copyright 2016 Peter Dahlberg
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
# you may not use this file except in compliance with the License.
|
||||||
you may not use this file except in compliance with the License.
|
# You may obtain a copy of the License at
|
||||||
You may obtain a copy of the License at
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
Unless required by applicable law or agreed to in writing, software
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# See the License for the specific language governing permissions and
|
||||||
See the License for the specific language governing permissions and
|
# limitations under the License.
|
||||||
limitations under the License.
|
|
||||||
|
|
||||||
from bottle import route, run, template, request, post, Bottle, HTTPError
|
from bottle import route, run, template, request, post, Bottle, HTTPError
|
||||||
import logging
|
import logging
|
||||||
|
|||||||
Reference in New Issue
Block a user