Skip to content

Commit 9bec6a2

Browse files
authored
Merge pull request #168 from marcus67/master
Release 0.4.19
2 parents f8d4ab3 + 586a140 commit 9bec6a2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+2727
-1921
lines changed

.circleci/config.yml

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2019 Marcus Rickert
1+
# Copyright (C) 2019-2022 Marcus Rickert
22
#
33
# See https://github.com/marcus67/python_base_app
44
#
@@ -22,54 +22,53 @@
2222
##################################################################################
2323

2424
version: 2.0
25+
2526
jobs:
2627
build:
2728
#working_directory: ~
2829
docker:
29-
- image: accso/docker-python-app:latest
30+
- image: marcusrickert/docker-python-app:latest
3031
steps:
3132
- checkout
3233

3334
# Check out all sub modules
3435
# See https://circleci.com/docs/2.0/configuration-reference/#checkout
3536
- run: git submodule sync
3637
- run: git submodule update --init
37-
3838
- run: PYTHONPATH=contrib/python_base_app python3 ci_toolbox.py --execute-stage BUILD --use-dev-dir=.
3939
- run: PYTHONPATH=contrib/python_base_app python3 ci_toolbox.py --execute-stage INSTALL
4040
- run: PYTHONPATH=contrib/python_base_app python3 ci_toolbox.py --execute-stage TEST --use-dev-dir .
4141
- run: codecov
4242
- store_artifacts:
4343
path: htmlcov
4444
- store_artifacts:
45-
path: debian/little-brother_0.4.12_112.deb
45+
path: debian/little-brother_0.4.19_121.deb
4646
- persist_to_workspace:
4747
root: debian
4848
paths:
49-
- little-brother_0.4.12_112.deb
49+
- little-brother_0.4.19_121.deb
5050
build_pypi:
5151
#working_directory: ~
5252
docker:
53-
- image: accso/docker-python-app:latest
53+
- image: marcusrickert/docker-python-app:latest
5454
steps:
5555
- checkout
5656

5757
# Check out all sub modules
5858
# See https://circleci.com/docs/2.0/configuration-reference/#checkout
5959
- run: git submodule sync
6060
- run: git submodule update --init
61-
6261
- run: PYTHONPATH=contrib/python_base_app python3 ci_toolbox.py --execute-stage BUILD --use-dev-dir=.
6362
- store_artifacts:
64-
path: "dist/little-brother-0.4.12.tar.gz"
63+
path: "dist/little-brother-0.4.19.tar.gz"
6564
- persist_to_workspace:
6665
root: dist
6766
paths:
68-
- "little-brother-0.4.12.tar.gz"
67+
- "little-brother-0.4.19.tar.gz"
6968
install_pypi:
7069
#working_directory: ~
7170
docker:
72-
- image: accso/docker-python-app:latest
71+
- image: marcusrickert/docker-python-app:latest
7372
steps:
7473
- checkout
7574
- attach_workspace:
@@ -79,7 +78,6 @@ jobs:
7978
# See https://circleci.com/docs/2.0/configuration-reference/#checkout
8079
- run: git submodule sync
8180
- run: git submodule update --init
82-
8381
- run: PYTHONPATH=contrib/python_base_app python3 ci_toolbox.py --execute-stage INSTALL-PYPI-PACKAGE --use-dev-dir=.
8482
- run: PYTHONPATH=contrib/python_base_app python3 ci_toolbox.py --execute-stage TEST --use-dev-dir .
8583
- run: codecov
@@ -88,7 +86,7 @@ jobs:
8886
publish_pypi:
8987
#working_directory: ~
9088
docker:
91-
- image: accso/docker-python-app:latest
89+
- image: marcusrickert/docker-python-app:latest
9290
steps:
9391
- checkout
9492
- attach_workspace:
@@ -98,11 +96,10 @@ jobs:
9896
# See https://circleci.com/docs/2.0/configuration-reference/#checkout
9997
- run: git submodule sync
10098
- run: git submodule update --init
101-
10299
- run: PYTHONPATH=contrib/python_base_app python3 ci_toolbox.py --execute-stage PUBLISH-PYPI-PACKAGE --use-dev-dir=.
103100
deploy:
104101
docker:
105-
- image: accso/docker-python-app:latest
102+
- image: marcusrickert/docker-python-app:latest
106103
steps:
107104
- checkout
108105
- attach_workspace:

.gitlab-ci.yml

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2019-2021 Marcus Rickert
1+
# Copyright (C) 2019-2022 Marcus Rickert
22
#
33
# See https://github.com/marcus67/python_base_app
44
#
@@ -21,14 +21,18 @@
2121
# but only to python_base_app/templates/gitlab-ci.template.yml! #
2222
##################################################################################
2323

24+
variables:
25+
PIP3: "./bin/pip3.sh"
26+
2427
stages:
2528
- build
2629
- install_and_check
2730
- analyze
2831
- deploy
32+
- publish
2933

3034
build_debian:
31-
image: accso/docker-python-app:latest
35+
image: marcusrickert/docker-python-app:latest
3236
stage: build
3337
script:
3438
- PYTHONPATH=contrib/python_base_app python3 ci_toolbox.py --execute-stage BUILD --use-dev-dir=.
@@ -40,7 +44,7 @@ build_debian:
4044
GIT_SUBMODULE_STRATEGY: recursive
4145

4246
test_debian:
43-
image: accso/docker-python-app:latest
47+
image: marcusrickert/docker-python-app:latest
4448
stage: install_and_check
4549
script:
4650
- PYTHONPATH=contrib/python_base_app python3 ci_toolbox.py --execute-stage INSTALL
@@ -55,7 +59,7 @@ test_debian:
5559
GIT_SUBMODULE_STRATEGY: recursive
5660

5761
build_pypi:
58-
image: accso/docker-python-app:latest
62+
image: marcusrickert/docker-python-app:latest
5963
stage: build
6064
script:
6165
- PYTHONPATH=contrib/python_base_app python3 ci_toolbox.py --execute-stage BUILD --use-dev-dir=.
@@ -64,13 +68,13 @@ build_pypi:
6468
artifacts:
6569
when: always
6670
paths:
67-
- dist/little-brother-0.4.12.tar.gz
71+
- dist/little-brother-0.4.19.tar.gz
6872
variables:
6973
# Suppress automatic checkout for all sub modules
7074
GIT_SUBMODULE_STRATEGY: recursive
7175

7276
install_pypi:
73-
image: accso/docker-python-app:latest
77+
image: marcusrickert/docker-python-app:latest
7478
stage: install_and_check
7579
script:
7680
- PYTHONPATH=contrib/python_base_app python3 ci_toolbox.py --execute-stage INSTALL-PYPI-PACKAGE --use-dev-dir=.
@@ -87,7 +91,7 @@ install_pypi:
8791
GIT_SUBMODULE_STRATEGY: recursive
8892

8993
analyze:
90-
image: accso/docker-python-app:latest
94+
image: marcusrickert/docker-python-app:latest
9195
stage: analyze
9296
script:
9397
- PYTHONPATH=contrib/python_base_app python3 ci_toolbox.py --execute-stage ANALYZE --use-dev-dir=.
@@ -101,7 +105,13 @@ docker:
101105
image: marcusrickert/docker-docker-ci:release-0.9.1
102106
stage: deploy
103107
script:
104-
- PYTHONPATH=contrib/python_base_app python3 ci_toolbox.py --execute-stage BUILD_DOCKER_IMAGES --use-dev-dir=.
108+
- PYTHONPATH=contrib/python_base_app python3 ci_toolbox.py --execute-stage BUILD_DOCKER_IMAGES --use-dev-dir=.
105109
variables:
106110
# Activate automatic checkout for all sub modules
107111
GIT_SUBMODULE_STRATEGY: recursive
112+
113+
publish_pypi:
114+
image: marcusrickert/docker-python-app:latest
115+
stage: publish
116+
script:
117+
- PYTHONPATH=contrib/python_base_app python3 ci_toolbox.py --execute-stage PUBLISH-PYPI-PACKAGE --use-dev-dir=.

CHANGES.md

Lines changed: 42 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,44 @@
44

55
This document lists all changes of `LittleBrother` with the most recent changes at the top.
66

7+
## Version 0.4.19 Revision 121 (February 13th, 2022)
8+
9+
* Upgrade to `python_base_app` version 0.2.36 (lots of trouble releasing `python_base_app`)
10+
11+
## Version 0.4.18 Revision 119 (February 5th, 2022)
12+
13+
* Upgrade to `python_base_app` version 0.2.34
14+
15+
## Version 0.4.17 Revision 117 (January 30th, 2022)
16+
17+
* Closes #166, see [here](https://github.com/marcus67/little_brother/issues/166)
18+
(Thanks to [Bas Hulsken](https://github.com/bhulsken)!)
19+
* Upgrade package `alembic` to version 1.7.5
20+
* Make upgrade message in administration views more concise, include link to `CHANGES.md`
21+
22+
## Version 0.4.16 Revision 116 (January 30th, 2022)
23+
24+
* Upgrade to `python_base_app` version 0.2.33
25+
* Closes #165, see [here](https://github.com/marcus67/little_brother/issues/165)
26+
27+
## Version 0.4.15 Revision 115 (January 28th, 2022)
28+
29+
* Upgrade to `python_base_app` version 0.2.31
30+
* Closes #158, see [here](https://github.com/marcus67/little_brother/issues/158)
31+
* Closes #164, see [here](https://github.com/marcus67/little_brother/issues/164)
32+
33+
## Version 0.4.14 Revision 114 (January 6th, 2022)
34+
35+
* Closes #163, see [here](https://github.com/marcus67/little_brother/issues/163)
36+
37+
## Version 0.4.13 Revision 113 (January 5th, 2022)
38+
39+
* Add CODE_OF_CONDUCT.md and CONTRIBUTING.md
40+
* Added Snyk package health score badge
41+
* Add second Docker image
42+
[`little-brother-ubuntu-client`](https://hub.docker.com/repository/docker/marcusrickert/little-brother-ubuntu-client)
43+
* Renamed Docker image `little-brother-slave` to `little-brother-client`.
44+
745
## Version 0.4.12 Revision 112 (December 29th, 2021)
846

947
* Closes #87, see [here](https://github.com/marcus67/little_brother/issues/87)
@@ -39,7 +77,7 @@ This document lists all changes of `LittleBrother` with the most recent changes
3977
* Upgrade WTForms to version 3.0.0a1
4078

4179

42-
## Version 0.4.8 Revision 107 (August 21th, 2021)
80+
## Version 0.4.8 Revision 107 (August 21st, 2021)
4381

4482
* Closes #130, see [here](https://github.com/marcus67/little_brother/issues/130)
4583
* Provide `ruleset_check_interval` in `UserStatus`
@@ -96,9 +134,9 @@ This document lists all changes of `LittleBrother` with the most recent changes
96134
* Split up test class `TestStatusServer`
97135
* Add test cases for users page:
98136
* add and delete user, edit user,
99-
* assign/unassign rule set,
137+
* assign/un-assign rule set,
100138
* move up/down rule set,
101-
* assign/unassign device
139+
* assign/un-assign device
102140
* Add test cases for devices page: add and delete device, edit device
103141
* Add test cases for admin page: edit rule override, add, extend, and delete time extension
104142
* Add test cases for invalid data in rule override and device
@@ -265,7 +303,7 @@ This document lists all changes of `LittleBrother` with the most recent changes
265303
* Update Italian localization (locale "it")
266304
* Issue error when no database user is given when driver != sqlite
267305
* Register logging filter for alembic
268-
* Add latest change date of translations as column to localization table
306+
* Add the latest change date of translations as column to localization table
269307

270308
## Version 0.3.0 Revision 65 (July 18th, 2020)
271309

CODE_OF_CONDUCT.md

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
We as members, contributors, and leaders pledge to make participation in our
6+
community a harassment-free experience for everyone, regardless of age, body
7+
size, visible or invisible disability, ethnicity, sex characteristics, gender
8+
identity and expression, level of experience, education, socio-economic status,
9+
nationality, personal appearance, race, religion, or sexual identity
10+
and orientation.
11+
12+
We pledge to act and interact in ways that contribute to an open, welcoming,
13+
diverse, inclusive, and healthy community.
14+
15+
## Our Standards
16+
17+
Examples of behavior that contributes to a positive environment for our
18+
community include:
19+
20+
* Demonstrating empathy and kindness toward other people
21+
* Being respectful of differing opinions, viewpoints, and experiences
22+
* Giving and gracefully accepting constructive feedback
23+
* Accepting responsibility and apologizing to those affected by our mistakes,
24+
and learning from the experience
25+
* Focusing on what is best not just for us as individuals, but for the
26+
overall community
27+
28+
Examples of unacceptable behavior include:
29+
30+
* The use of sexualized language or imagery, and sexual attention or
31+
advances of any kind
32+
* Trolling, insulting or derogatory comments, and personal or political attacks
33+
* Public or private harassment
34+
* Publishing others' private information, such as a physical or email
35+
address, without their explicit permission
36+
* Other conduct which could reasonably be considered inappropriate in a
37+
professional setting
38+
39+
## Enforcement Responsibilities
40+
41+
Community leaders are responsible for clarifying and enforcing our standards of
42+
acceptable behavior and will take appropriate and fair corrective action in
43+
response to any behavior that they deem inappropriate, threatening, offensive,
44+
or harmful.
45+
46+
Community leaders have the right and responsibility to remove, edit, or reject
47+
comments, commits, code, wiki edits, issues, and other contributions that are
48+
not aligned to this Code of Conduct, and will communicate reasons for moderation
49+
decisions when appropriate.
50+
51+
## Scope
52+
53+
This Code of Conduct applies within all community spaces, and also applies when
54+
an individual is officially representing the community in public spaces.
55+
Examples of representing our community include using an official e-mail address,
56+
posting via an official social media account, or acting as an appointed
57+
representative at an online or offline event.
58+
59+
## Enforcement
60+
61+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
62+
reported to the community leaders responsible for enforcement at
63+
little-brother@web.de.
64+
All complaints will be reviewed and investigated promptly and fairly.
65+
66+
All community leaders are obligated to respect the privacy and security of the
67+
reporter of any incident.
68+
69+
## Enforcement Guidelines
70+
71+
Community leaders will follow these Community Impact Guidelines in determining
72+
the consequences for any action they deem in violation of this Code of Conduct:
73+
74+
### 1. Correction
75+
76+
**Community Impact**: Use of inappropriate language or other behavior deemed
77+
unprofessional or unwelcome in the community.
78+
79+
**Consequence**: A private, written warning from community leaders, providing
80+
clarity around the nature of the violation and an explanation of why the
81+
behavior was inappropriate. A public apology may be requested.
82+
83+
### 2. Warning
84+
85+
**Community Impact**: A violation through a single incident or series
86+
of actions.
87+
88+
**Consequence**: A warning with consequences for continued behavior. No
89+
interaction with the people involved, including unsolicited interaction with
90+
those enforcing the Code of Conduct, for a specified period of time. This
91+
includes avoiding interactions in community spaces as well as external channels
92+
like social media. Violating these terms may lead to a temporary or
93+
permanent ban.
94+
95+
### 3. Temporary Ban
96+
97+
**Community Impact**: A serious violation of community standards, including
98+
sustained inappropriate behavior.
99+
100+
**Consequence**: A temporary ban from any sort of interaction or public
101+
communication with the community for a specified period of time. No public or
102+
private interaction with the people involved, including unsolicited interaction
103+
with those enforcing the Code of Conduct, is allowed during this period.
104+
Violating these terms may lead to a permanent ban.
105+
106+
### 4. Permanent Ban
107+
108+
**Community Impact**: Demonstrating a pattern of violation of community
109+
standards, including sustained inappropriate behavior, harassment of an
110+
individual, or aggression toward or disparagement of classes of individuals.
111+
112+
**Consequence**: A permanent ban from any sort of public interaction within
113+
the community.
114+
115+
## Attribution
116+
117+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118+
version 2.0, available at
119+
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
120+
121+
Community Impact Guidelines were inspired by [Mozilla's code of conduct
122+
enforcement ladder](https://github.com/mozilla/diversity).
123+
124+
[homepage]: https://www.contributor-covenant.org
125+
126+
For answers to common questions about this code of conduct, see the FAQ at
127+
https://www.contributor-covenant.org/faq. Translations are available at
128+
https://www.contributor-covenant.org/translations.

0 commit comments

Comments
 (0)