Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uffd-socketmapd
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
Container 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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
uffd
uffd-socketmapd
Compare revisions
7d4c8ccc93793cd98046fbb34e8fca1aa472a087 to e3276700758cc751a871bcd960699abe06949df1
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
uffd/uffd-socketmapd
Select target project
No results found
e3276700758cc751a871bcd960699abe06949df1
Select Git revision
Loading items
Swap
Target
uffd/uffd-socketmapd
Select target project
uffd/uffd-socketmapd
1 result
7d4c8ccc93793cd98046fbb34e8fca1aa472a087
Select Git revision
Branches
deb-cleanup
inet_support
master
Tags
v0.1.0
v0.1.1
v0.2.0
6 results
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source
2
Update pylint to v2.16.2 for python3.11 compatibility
· ac21312d
Julian
authored
Oct 19, 2023
ac21312d
CI testing for Debian Bookworm
· e3276700
Julian
authored
Oct 19, 2023
e3276700
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+33
-8
33 additions, 8 deletions
.gitlab-ci.yml
.pylintrc
+2
-9
2 additions, 9 deletions
.pylintrc
with
35 additions
and
17 deletions
.gitlab-ci.yml
View file @
e3276700
image
:
registry.git.cccv.de/uffd/docker-images/b
uster
image
:
registry.git.cccv.de/uffd/docker-images/b
ookworm
variables
:
DEBIAN_FRONTEND
:
noninteractive
GIT_SUBMODULE_STRATEGY
:
normal
APT_API_URL
:
https://packages.cccv.de
APT_REPO
:
uffd
PYLINT_PIN
:
pylint~=2.1
0.0
PYLINT_PIN
:
pylint~=2.1
6.2
before_script
:
-
python3 -V
...
...
@@ -59,14 +59,27 @@ linter:bullseye:
reports
:
codequality
:
codeclimate.json
linter:bookworm
:
image
:
registry.git.cccv.de/uffd/docker-images/bookworm
stage
:
test
script
:
-
pip3 install $PYLINT_PIN pylint-gitlab pylint-flask-sqlalchemy
# this force-updates jinja2 and some other packages!
-
python3 -m pylint --exit-zero --rcfile .pylintrc --output-format=pylint_gitlab.GitlabCodeClimateReporter 'uffd-socketmapd' > codeclimate.json
-
python3 -m pylint --exit-zero --rcfile .pylintrc --output-format=pylint_gitlab.GitlabPagesHtmlReporter 'uffd-socketmapd' > pylint.html
-
python3 -m pylint --rcfile .pylintrc --output-format=text 'uffd-socketmapd'
artifacts
:
when
:
always
paths
:
-
pylint.html
reports
:
codequality
:
codeclimate.json
unittests:buster
:
image
:
registry.git.cccv.de/uffd/docker-images/buster
stage
:
test
script
:
-
python3-coverage run --include 'uffd-socketmapd' -m pytest --junitxml=report.xml ||
true
#- python3-coverage report -m
-
python3-coverage html
#- python3-coverage xml
artifacts
:
when
:
always
paths
:
...
...
@@ -74,17 +87,28 @@ unittests:buster:
-
htmlcov
expose_as
:
'
Coverage
Report'
reports
:
#coverage_report:
# coverage_format: cobertura
# path: coverage.xml
junit
:
report.xml
#coverage: '/^TOTAL.*\s+(\d+\%)$/'
unittests:bullseye
:
image
:
registry.git.cccv.de/uffd/docker-images/bullseye
stage
:
test
script
:
-
python3-coverage run --include 'uffd-socketmapd' -m pytest --junitxml=report.xml ||
true
-
python3-coverage html
artifacts
:
when
:
always
paths
:
-
htmlcov/index.html
-
htmlcov
expose_as
:
'
Coverage
Report'
reports
:
junit
:
report.xml
unittests:bookworm
:
image
:
registry.git.cccv.de/uffd/docker-images/bookworm
stage
:
test
script
:
-
python3-coverage run --include 'uffd-socketmapd' -m pytest --junitxml=report.xml ||
true
-
python3-coverage report -m
-
python3-coverage html
-
python3-coverage xml
...
...
@@ -117,5 +141,6 @@ publish:apt:
-
echo Update published repo for all distros
-
'
curl
--user
"${APTLY_API_USER}:${APTLY_API_PW}"
-X
PUT
-H
"Content-Type:
application/json"
--data
"{
}"
"${APT_API_URL}/api/publish/${APT_REPO}/buster"'
-
'
curl
--user
"${APTLY_API_USER}:${APTLY_API_PW}"
-X
PUT
-H
"Content-Type:
application/json"
--data
"{
}"
"${APT_API_URL}/api/publish/${APT_REPO}/bullseye"'
-
'
curl
--user
"${APTLY_API_USER}:${APTLY_API_PW}"
-X
PUT
-H
"Content-Type:
application/json"
--data
"{
}"
"${APT_API_URL}/api/publish/${APT_REPO}/bookworm"'
dependencies
:
-
build:apt
This diff is collapsed.
Click to expand it.
.pylintrc
View file @
e3276700
...
...
@@ -379,13 +379,6 @@ max-line-length=160
# Maximum number of lines in a module.
max-module-lines=1000
# List of optional constructs for which whitespace checking is disabled. `dict-
# separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}.
# `trailing-comma` allows a space between comma and closing bracket: (a, ).
# `empty-line` allows space-only lines.
no-space-check=trailing-comma,
dict-separator
# Allow the body of a class to be on the same line as the declaration if body
# contains single statement.
single-line-class-stmt=no
...
...
@@ -506,5 +499,5 @@ min-public-methods=2
# Exceptions that will emit a warning when being caught. Defaults to
# "BaseException, Exception".
overgeneral-exceptions=BaseException,
Exception
overgeneral-exceptions=
builtins.
BaseException,
builtins.
Exception
This diff is collapsed.
Click to expand it.