Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
Nextcloud Notifier
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nimrod
Nextcloud Notifier
Compare revisions
75e333fde330d29062a1d1fd84318470786d0bf1 to 05933e4a2fae649954491362010ea4ae6ce2cbca
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
nimrod/nextcloud-notifier
Select target project
No results found
05933e4a2fae649954491362010ea4ae6ce2cbca
Select Git revision
Branches
master
1 result
Swap
Target
nimrod/nextcloud-notifier
Select target project
nimrod/nextcloud-notifier
1 result
75e333fde330d29062a1d1fd84318470786d0bf1
Select Git revision
Branches
master
1 result
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
Update pre-commit.
· 0b6117d1
nimrod
authored
2 years ago
0b6117d1
Update Nextcloud container name.
· 05933e4a
nimrod
authored
2 years ago
For some reason, Docker Compose changed from underscore to hyphen.
05933e4a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.pre-commit-config.yaml
+38
-9
38 additions, 9 deletions
.pre-commit-config.yaml
app.py
+1
-1
1 addition, 1 deletion
app.py
with
39 additions
and
10 deletions
.pre-commit-config.yaml
View file @
05933e4a
---
repos
:
-
repo
:
https://github.com/pre-commit/pre-commit-hooks.git
rev
:
v4.
0.1
rev
:
v4.
2.0
hooks
:
-
id
:
check-added-large-files
-
id
:
check-merge-conflict
-
id
:
check-shebang-scripts-are-executable
-
id
:
check-yaml
-
id
:
detect-private-key
-
id
:
end-of-file-fixer
...
...
@@ -18,7 +16,7 @@ repos:
-
id
:
codespell
-
repo
:
https://github.com/Yelp/detect-secrets.git
rev
:
v1.
1
.0
rev
:
v1.
2
.0
hooks
:
-
id
:
detect-secrets
...
...
@@ -30,7 +28,7 @@ repos:
exclude
:
LICENSE
-
repo
:
https://gitlab.com/devopshq/gitlab-ci-linter.git
rev
:
v1.0.
2
rev
:
v1.0.
3
hooks
:
-
id
:
gitlab-ci-linter
args
:
...
...
@@ -48,17 +46,17 @@ repos:
-
id
:
yamllint
-
repo
:
https://github.com/executablebooks/mdformat.git
rev
:
0.7.1
0
rev
:
0.7.1
4
hooks
:
-
id
:
mdformat
-
repo
:
https://github.com/AleksaC/hadolint-py.git
rev
:
v2.
8
.0
rev
:
v2.
10
.0
hooks
:
-
id
:
hadolint
-
repo
:
https://github.com/ambv/black.git
rev
:
2
1.10b
0
rev
:
2
2.3.
0
hooks
:
-
id
:
black
args
:
...
...
@@ -72,7 +70,7 @@ repos:
args
:
[
"
--filter-files"
,
"
--profile"
,
"
black"
]
-
repo
:
https://github.com/PyCQA/prospector.git
rev
:
1.
6.0
rev
:
1.
7.7
hooks
:
-
id
:
prospector
args
:
...
...
@@ -107,3 +105,34 @@ repos:
--doctests
additional_dependencies
:
-
flake8-bugbear
-
flake8-builtins
-
flake8-comprehensions
-
flake8-loopy
-
flake8-pie
-
flake8-tuple
-
flake8-warnings
-
repo
:
https://github.com/Lucas-C/pre-commit-hooks-safety.git
rev
:
v1.2.4
hooks
:
-
id
:
python-safety-dependencies-check
-
repo
:
https://github.com/asottile/pyupgrade.git
rev
:
v2.32.0
hooks
:
-
id
:
pyupgrade
-
repo
:
https://github.com/hadialqattan/pycln.git
rev
:
v1.3.2
hooks
:
-
id
:
pycln
-
repo
:
https://github.com/pycqa/pydocstyle.git
rev
:
6.1.1
hooks
:
-
id
:
pydocstyle
-
repo
:
https://github.com/PyCQA/docformatter.git
rev
:
v1.4
hooks
:
-
id
:
docformatter
This diff is collapsed.
Click to expand it.
app.py
View file @
05933e4a
...
...
@@ -12,7 +12,7 @@ client = docker.from_env()
NAME
=
os
.
getenv
(
"
NC_NAME
"
,
"
Nimrod Adar
"
)
CONTAINER_NAME
=
os
.
getenv
(
"
NC_CONTAINER
"
,
"
nextcloud
_
nextcloud
_
1
"
)
CONTAINER_NAME
=
os
.
getenv
(
"
NC_CONTAINER
"
,
"
nextcloud
-
nextcloud
-
1
"
)
@app.route
(
"
/ping
"
)
...
...
This diff is collapsed.
Click to expand it.