meteocat 0.1.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/release.yml +33 -0
- package/.pre-commit-config.yaml +37 -0
- package/.releaserc +11 -0
- package/.releaserc.toml +14 -0
- package/AUTHORS.md +12 -0
- package/CHANGELOG.md +361 -0
- package/LICENSE +194 -0
- package/README.md +41 -0
- package/custom_components/meteocat/__init__.py +139 -0
- package/custom_components/meteocat/condition.py +28 -0
- package/custom_components/meteocat/config_flow.py +192 -0
- package/custom_components/meteocat/const.py +46 -0
- package/custom_components/meteocat/coordinator.py +177 -0
- package/custom_components/meteocat/entity.py +91 -0
- package/custom_components/meteocat/helpers.py +42 -0
- package/custom_components/meteocat/manifest.json +12 -0
- package/custom_components/meteocat/options_flow.py +71 -0
- package/custom_components/meteocat/sensor.py +190 -0
- package/custom_components/meteocat/strings.json +26 -0
- package/custom_components/meteocat/translations/ca.json +26 -0
- package/custom_components/meteocat/translations/en.json +26 -0
- package/custom_components/meteocat/translations/es.json +26 -0
- package/custom_components/meteocat/version.py +2 -0
- package/filetree.py +48 -0
- package/filetree.txt +43 -0
- package/hacs.json +6 -0
- package/package.json +22 -0
- package/poetry.lock +3205 -0
- package/pyproject.toml +64 -0
- package/releaserc.json +18 -0
- package/requirements.test.txt +3 -0
- package/setup.cfg +64 -0
- package/setup.py +10 -0
- package/tests/__init__.py +0 -0
- package/tests/bandit.yaml +17 -0
- package/tests/conftest.py +19 -0
- package/tests/test_init.py +9 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
name: Release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- master
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
release:
|
|
10
|
+
name: Create Release
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
|
|
13
|
+
steps:
|
|
14
|
+
# Paso 1: Configurar el repositorio
|
|
15
|
+
- name: Checkout repository
|
|
16
|
+
uses: actions/checkout@v3
|
|
17
|
+
|
|
18
|
+
# Paso 2: Configurar Node.js (requerido para semantic-release)
|
|
19
|
+
- name: Set up Node.js
|
|
20
|
+
uses: actions/setup-node@v3
|
|
21
|
+
with:
|
|
22
|
+
node-version: 20.8.1 # Versión compatible con semantic-release
|
|
23
|
+
|
|
24
|
+
# Paso 3: Instalar dependencias necesarias
|
|
25
|
+
- name: Install dependencies
|
|
26
|
+
run: npm ci
|
|
27
|
+
|
|
28
|
+
# Paso 4: Ejecutar semantic-release
|
|
29
|
+
- name: Run semantic-release
|
|
30
|
+
env:
|
|
31
|
+
GITHUB_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}
|
|
32
|
+
NPM_TOKEN: ${{ secrets.NPM_WORKFLOW }}
|
|
33
|
+
run: npx semantic-release
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
repos:
|
|
2
|
+
- repo: https://github.com/asottile/pyupgrade
|
|
3
|
+
rev: v3.15.2
|
|
4
|
+
hooks:
|
|
5
|
+
- id: pyupgrade
|
|
6
|
+
args: [--py37-plus]
|
|
7
|
+
- repo: https://github.com/psf/black
|
|
8
|
+
rev: 24.4.2
|
|
9
|
+
hooks:
|
|
10
|
+
- id: black
|
|
11
|
+
args:
|
|
12
|
+
- --safe
|
|
13
|
+
- --quiet
|
|
14
|
+
files: ^((homeassistant|script|tests)/.+)?[^/]+\.py$
|
|
15
|
+
- repo: https://github.com/codespell-project/codespell
|
|
16
|
+
rev: v2.2.6
|
|
17
|
+
hooks:
|
|
18
|
+
- id: codespell
|
|
19
|
+
args:
|
|
20
|
+
- --ignore-words-list=hass,alot,datas,dof,dur,farenheit,hist,iff,ines,ist,lightsensor,mut,nd,pres,referer,ser,serie,te,technik,ue,uint,visability,wan,wanna,withing
|
|
21
|
+
- --skip="./.*,*.csv,*.json"
|
|
22
|
+
- --quiet-level=2
|
|
23
|
+
exclude_types: [csv, json]
|
|
24
|
+
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
|
25
|
+
rev: v0.4.8
|
|
26
|
+
hooks:
|
|
27
|
+
- id: ruff
|
|
28
|
+
args: [--fix, --exit-non-zero-on-fix]
|
|
29
|
+
- id: ruff-format
|
|
30
|
+
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
31
|
+
rev: v1.10.0
|
|
32
|
+
hooks:
|
|
33
|
+
- id: mypy
|
|
34
|
+
args:
|
|
35
|
+
- --pretty
|
|
36
|
+
- --show-error-codes
|
|
37
|
+
- --show-error-context
|
package/.releaserc
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"branches": ["master"],
|
|
3
|
+
"plugins": [
|
|
4
|
+
"@semantic-release/commit-analyzer",
|
|
5
|
+
"@semantic-release/release-notes-generator",
|
|
6
|
+
"@semantic-release/changelog",
|
|
7
|
+
"@semantic-release/npm",
|
|
8
|
+
"@semantic-release/github"
|
|
9
|
+
],
|
|
10
|
+
"repositoryUrl": "https://github.com/figorr/meteocat"
|
|
11
|
+
}
|
package/.releaserc.toml
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
branches = ["master"]
|
|
2
|
+
|
|
3
|
+
[plugins]
|
|
4
|
+
"@semantic-release/gitlab" = {}
|
|
5
|
+
"@semantic-release/github" = {}
|
|
6
|
+
"@semantic-release/changelog" = {}
|
|
7
|
+
"@semantic-release/commit-analyzer" = { preset = "conventional" }
|
|
8
|
+
"@semantic-release/release-notes-generator" = {}
|
|
9
|
+
"@semantic-release/git" = {}
|
|
10
|
+
|
|
11
|
+
[[plugins]]
|
|
12
|
+
path = "@semantic-release/git"
|
|
13
|
+
assets = ["meteocat/version.py"]
|
|
14
|
+
message = "chore(release): update version to ${nextRelease.version}"
|
package/AUTHORS.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Contributions to `meteocat`
|
|
2
|
+
|
|
3
|
+
## Owners
|
|
4
|
+
|
|
5
|
+
- Figorr [GitLab](https://gitlab.com/figorr) [GitHub](https://github.com/figorr)
|
|
6
|
+
|
|
7
|
+
## Maintainers
|
|
8
|
+
|
|
9
|
+
- Figorr [GitLab](https://gitlab.com/figorr) [GitHub](https://github.com/figorr)
|
|
10
|
+
|
|
11
|
+
## Contributors
|
|
12
|
+
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,361 @@
|
|
|
1
|
+
## [0.1.19](https://github.com/figorr/meteocat/compare/v0.1.18...v0.1.19) (2024-12-06)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* fix semantic release ([25eb7e2](https://github.com/figorr/meteocat/commit/25eb7e295357acb9f608df1e0a764d5417340de0))
|
|
7
|
+
* fix workflow token ([fdb20e1](https://github.com/figorr/meteocat/commit/fdb20e162696f556dba326ea6702f00dfbae392d))
|
|
8
|
+
|
|
9
|
+
# CHANGELOG
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
## v0.1.14 (2024-11-22)
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
- 0.1.14
|
|
17
|
+
([`aca7650`](https://github.com/figorr/meteocat/commit/aca76500f09c65e50f394a23cfe48e1b3491dfbc))
|
|
18
|
+
|
|
19
|
+
- Add LICENSE
|
|
20
|
+
([`9369498`](https://github.com/figorr/meteocat/commit/93694982ed4cc4960797c095610e78b24c8dc3be))
|
|
21
|
+
|
|
22
|
+
- Ignore scripts
|
|
23
|
+
([`47dc6c4`](https://github.com/figorr/meteocat/commit/47dc6c4d29ca7c7acfdb576ad248e65cda34b9b5))
|
|
24
|
+
|
|
25
|
+
- Publish job
|
|
26
|
+
([`7b830c6`](https://github.com/figorr/meteocat/commit/7b830c63f13f60bfbb8ad8d911a10638a74fb967))
|
|
27
|
+
|
|
28
|
+
- Poetry update
|
|
29
|
+
([`aaf27ae`](https://github.com/figorr/meteocat/commit/aaf27aed177c6b94be32550a31ae4909c2c43895))
|
|
30
|
+
|
|
31
|
+
- Add aiofiles & voluptuous
|
|
32
|
+
([`2786de5`](https://github.com/figorr/meteocat/commit/2786de5ada6567c57a290979064f40fa3464aba2))
|
|
33
|
+
|
|
34
|
+
- Fix constants and placeholders
|
|
35
|
+
([`bf89109`](https://github.com/figorr/meteocat/commit/bf89109a6ea0a5cae65f86d39f4c1c24b138174c))
|
|
36
|
+
|
|
37
|
+
- Add municipis url
|
|
38
|
+
([`4815daa`](https://github.com/figorr/meteocat/commit/4815daaedec0f47b02e484d1c4dd0cb520c0044b))
|
|
39
|
+
|
|
40
|
+
- Fix repo structure
|
|
41
|
+
([`b501cad`](https://github.com/figorr/meteocat/commit/b501cad9e80911d0d75aefed8a267c6da0e519af))
|
|
42
|
+
|
|
43
|
+
- Add translations
|
|
44
|
+
([`8e849b8`](https://github.com/figorr/meteocat/commit/8e849b8a6eb13f586c13c3c27aebd98cd486a929))
|
|
45
|
+
|
|
46
|
+
- Local scripts
|
|
47
|
+
([`d2a6b72`](https://github.com/figorr/meteocat/commit/d2a6b72cba2ee64c97792c0f05b0c2a1f750d8dd))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
## v0.1.13 (2024-11-20)
|
|
51
|
+
|
|
52
|
+
### Bug Fixes
|
|
53
|
+
|
|
54
|
+
- Add translations
|
|
55
|
+
([`119d539`](https://github.com/figorr/meteocat/commit/119d539d3334d4dbae8e4d13ae47639e7ccf0064))
|
|
56
|
+
|
|
57
|
+
- Fix include
|
|
58
|
+
([`56032ef`](https://github.com/figorr/meteocat/commit/56032ef488d2565e65421a556509f8e34b3fba10))
|
|
59
|
+
|
|
60
|
+
- Fix file tree structure
|
|
61
|
+
([`911ab32`](https://github.com/figorr/meteocat/commit/911ab32d625212a33e963464821b4502dfd036fa))
|
|
62
|
+
|
|
63
|
+
- Version 0.1.10
|
|
64
|
+
([`688f86d`](https://github.com/figorr/meteocat/commit/688f86da987efe8b8d429a615578d2558efdc985))
|
|
65
|
+
|
|
66
|
+
- Remove files folder
|
|
67
|
+
([`6f62ea4`](https://github.com/figorr/meteocat/commit/6f62ea48c679f5e61c93e989af86d12102185e01))
|
|
68
|
+
|
|
69
|
+
- Fix .gitignore new repository structure
|
|
70
|
+
([`f603248`](https://github.com/figorr/meteocat/commit/f603248b3d69b023a664a8d578a4771ceb34162b))
|
|
71
|
+
|
|
72
|
+
- Fix repository structure
|
|
73
|
+
([`9ef2514`](https://github.com/figorr/meteocat/commit/9ef2514be5396c11c26945024548aeec93fb50f3))
|
|
74
|
+
|
|
75
|
+
- Fix async_setup
|
|
76
|
+
([`e0605c7`](https://github.com/figorr/meteocat/commit/e0605c7f3cc3fa7b0875867f6880185684a57778))
|
|
77
|
+
|
|
78
|
+
- Jobs
|
|
79
|
+
([`43321f1`](https://github.com/figorr/meteocat/commit/43321f1f40c04d210ece3b6f3a53378d338971e5))
|
|
80
|
+
|
|
81
|
+
- Semnatic_job
|
|
82
|
+
([`5444b01`](https://github.com/figorr/meteocat/commit/5444b01bd5d89b5bfe0c85315195fb0be797e44c))
|
|
83
|
+
|
|
84
|
+
- Testing semantic_job
|
|
85
|
+
([`bb43877`](https://github.com/figorr/meteocat/commit/bb43877cab2d3e0823883efc4ca9117d0cad3b7e))
|
|
86
|
+
|
|
87
|
+
- Folder location
|
|
88
|
+
([`ea225a2`](https://github.com/figorr/meteocat/commit/ea225a24c62df29f56e33e5930d5c7af140b114f))
|
|
89
|
+
|
|
90
|
+
- Folder location
|
|
91
|
+
([`478c4f0`](https://github.com/figorr/meteocat/commit/478c4f0d8eed498789d7626851665f7c8a3357b4))
|
|
92
|
+
|
|
93
|
+
- .gitignore
|
|
94
|
+
([`0af4025`](https://github.com/figorr/meteocat/commit/0af4025312267ae9e9bb69a23126bf7ea3216fb2))
|
|
95
|
+
|
|
96
|
+
- Semantic_job git push
|
|
97
|
+
([`daa4cc0`](https://github.com/figorr/meteocat/commit/daa4cc054caddfad43c54098a807a45a1a045b92))
|
|
98
|
+
|
|
99
|
+
- Locations.py message
|
|
100
|
+
([`a05abfb`](https://github.com/figorr/meteocat/commit/a05abfb560636aef5ba3c264e2f2b0e68b637e92))
|
|
101
|
+
|
|
102
|
+
- Municipis_list name
|
|
103
|
+
([`84e0dbb`](https://github.com/figorr/meteocat/commit/84e0dbb30eade0beaf11a4b356b7654cbcc32792))
|
|
104
|
+
|
|
105
|
+
- Locations list
|
|
106
|
+
([`1abe8dc`](https://github.com/figorr/meteocat/commit/1abe8dcb8ff3558be72d9b9bf124121f19d38829))
|
|
107
|
+
|
|
108
|
+
- Semantic_job
|
|
109
|
+
([`d57c77c`](https://github.com/figorr/meteocat/commit/d57c77c8d25d09920a51f902af04ff4a95e4c7ce))
|
|
110
|
+
|
|
111
|
+
- Fix automatic version update
|
|
112
|
+
([`2708da0`](https://github.com/figorr/meteocat/commit/2708da07b53305826a2c652e7495a8c3dad79f7b))
|
|
113
|
+
|
|
114
|
+
- Fix updated_content sintaxis
|
|
115
|
+
([`3e9be4f`](https://github.com/figorr/meteocat/commit/3e9be4f3d2bee8857b9e9cb6a6b7bb254b8b544c))
|
|
116
|
+
|
|
117
|
+
- Fix version print
|
|
118
|
+
([`ebfeb99`](https://github.com/figorr/meteocat/commit/ebfeb9937e448b5b858980cde0a40a17fc56b1ef))
|
|
119
|
+
|
|
120
|
+
- Version at __init__.py
|
|
121
|
+
([`6171eaa`](https://github.com/figorr/meteocat/commit/6171eaa29d16474b3fc24bd5a2cf97db614c2d10))
|
|
122
|
+
|
|
123
|
+
- Update_version script
|
|
124
|
+
([`3c2c641`](https://github.com/figorr/meteocat/commit/3c2c6418e1aeb6f78c797302ebe15cadee9f8d6f))
|
|
125
|
+
|
|
126
|
+
- Version.py
|
|
127
|
+
([`e620c1b`](https://github.com/figorr/meteocat/commit/e620c1b4808807a3475f60708906689806ff58cd))
|
|
128
|
+
|
|
129
|
+
- Set version_variable to version.py
|
|
130
|
+
([`9a624db`](https://github.com/figorr/meteocat/commit/9a624db6b2c8efb2ec7fd93499a01ce71b2ca601))
|
|
131
|
+
|
|
132
|
+
- Disable gitlab_job
|
|
133
|
+
([`69ced63`](https://github.com/figorr/meteocat/commit/69ced63a2c5e100bc31120c29925575908f5143a))
|
|
134
|
+
|
|
135
|
+
- Fix bugs
|
|
136
|
+
([`3fe3492`](https://github.com/figorr/meteocat/commit/3fe3492ed9fc347ab52a83cafd957a7a17c59e1c))
|
|
137
|
+
|
|
138
|
+
- Fix jobs
|
|
139
|
+
([`d60ee29`](https://github.com/figorr/meteocat/commit/d60ee298a2f3efac0c253b3b1ee58ff3440974a2))
|
|
140
|
+
|
|
141
|
+
- Fix gitlab_job
|
|
142
|
+
([`d7f7c2c`](https://github.com/figorr/meteocat/commit/d7f7c2c055bfac4d6064ca2c1ae13fb1cac2e1f1))
|
|
143
|
+
|
|
144
|
+
- Fix Jobs
|
|
145
|
+
([`3d9566c`](https://github.com/figorr/meteocat/commit/3d9566c0ec75dad55973c8ca2f355902cd484f93))
|
|
146
|
+
|
|
147
|
+
- Fix semantic-release test
|
|
148
|
+
([`1ffa9d4`](https://github.com/figorr/meteocat/commit/1ffa9d4c2237898109d4794040579abb6e7a3e56))
|
|
149
|
+
|
|
150
|
+
- Fix semantic-release test
|
|
151
|
+
([`7a56521`](https://github.com/figorr/meteocat/commit/7a56521a3b7f38314894bdab61e6938dcf6dd7f3))
|
|
152
|
+
|
|
153
|
+
- Test semantic-release
|
|
154
|
+
([`7f3e017`](https://github.com/figorr/meteocat/commit/7f3e017f301cfa7d62f480050cd7875e7e9279c3))
|
|
155
|
+
|
|
156
|
+
- Fix version
|
|
157
|
+
([`ab6365a`](https://github.com/figorr/meteocat/commit/ab6365a325273589e9f14b3e3819e585d5f56bad))
|
|
158
|
+
|
|
159
|
+
- Fix gitlab_job
|
|
160
|
+
([`d11870a`](https://github.com/figorr/meteocat/commit/d11870ac9fe9ba727563fcb7515c2c0cacb0fd59))
|
|
161
|
+
|
|
162
|
+
- Fix Gitlab job
|
|
163
|
+
([`0d619fd`](https://github.com/figorr/meteocat/commit/0d619fd3d78c6081ab2db126658cbef3dc492f59))
|
|
164
|
+
|
|
165
|
+
- Fix gitlab_job
|
|
166
|
+
([`795d13b`](https://github.com/figorr/meteocat/commit/795d13b1a8706a324a732151859c8f59cabf62a8))
|
|
167
|
+
|
|
168
|
+
- Setup.py version
|
|
169
|
+
([`67699de`](https://github.com/figorr/meteocat/commit/67699de3aa561ccc0892bb83810628a1c97a65f8))
|
|
170
|
+
|
|
171
|
+
- Gitlab job
|
|
172
|
+
([`14bf324`](https://github.com/figorr/meteocat/commit/14bf32407a7222a4d8a319c17bee483ea54dfd31))
|
|
173
|
+
|
|
174
|
+
- Gitignore update
|
|
175
|
+
([`c0f949a`](https://github.com/figorr/meteocat/commit/c0f949abe67e312b6db250d04963caf06fb311eb))
|
|
176
|
+
|
|
177
|
+
- Add version.py file
|
|
178
|
+
([`7a8364b`](https://github.com/figorr/meteocat/commit/7a8364bd98c9a3cf2267a90072d1f8933b7d559e))
|
|
179
|
+
|
|
180
|
+
- Add release file
|
|
181
|
+
([`66a7c42`](https://github.com/figorr/meteocat/commit/66a7c427da442233a2b27188336272f9ced41886))
|
|
182
|
+
|
|
183
|
+
- Pypi API TOKEN
|
|
184
|
+
([`0a53bca`](https://github.com/figorr/meteocat/commit/0a53bcac4afa46f0a4b3847d8809aae75be4e31d))
|
|
185
|
+
|
|
186
|
+
- 0.1.6
|
|
187
|
+
([`378f4ee`](https://github.com/figorr/meteocat/commit/378f4eeb822dd54e6e614fe50173a8012a5b33a7))
|
|
188
|
+
|
|
189
|
+
- Add PyPi job
|
|
190
|
+
([`cdd6e48`](https://github.com/figorr/meteocat/commit/cdd6e48fbc47b2d8090425c9af800110b3188bf2))
|
|
191
|
+
|
|
192
|
+
- 0.1.4
|
|
193
|
+
([`e3028ed`](https://github.com/figorr/meteocat/commit/e3028edb0ff5f37a280616a9d24cc94165833883))
|
|
194
|
+
|
|
195
|
+
- Twine dep
|
|
196
|
+
([`3df0717`](https://github.com/figorr/meteocat/commit/3df07175ae8a807c3ab9f0ee1a1ac5421bfaa49b))
|
|
197
|
+
|
|
198
|
+
- Gh job
|
|
199
|
+
([`545034e`](https://github.com/figorr/meteocat/commit/545034e7cbbd38417247e6c21d99d1be93ab6b28))
|
|
200
|
+
|
|
201
|
+
- Fix push to GH
|
|
202
|
+
([`5db9892`](https://github.com/figorr/meteocat/commit/5db989256b06ec5e94edd3c8825a8e26758a45cc))
|
|
203
|
+
|
|
204
|
+
- Virtual env
|
|
205
|
+
([`62852bf`](https://github.com/figorr/meteocat/commit/62852bff62585b22744651515f58ded7ffa02515))
|
|
206
|
+
|
|
207
|
+
- Fix Bugs
|
|
208
|
+
([`0dbd7dc`](https://github.com/figorr/meteocat/commit/0dbd7dc15ce12d100151dedf1ace7f8415f7a819))
|
|
209
|
+
|
|
210
|
+
- 0.1.3
|
|
211
|
+
([`009e9b6`](https://github.com/figorr/meteocat/commit/009e9b62ce459334ad5aed1b36061e8a059577f3))
|
|
212
|
+
|
|
213
|
+
- Fix Jobs
|
|
214
|
+
([`47ef9ae`](https://github.com/figorr/meteocat/commit/47ef9ae50c6a8f092afbff6b26cfb4bcd384a579))
|
|
215
|
+
|
|
216
|
+
- Fix GitHub Job
|
|
217
|
+
([`59114e2`](https://github.com/figorr/meteocat/commit/59114e273294f63abd7072eb39278c5b819bc56a))
|
|
218
|
+
|
|
219
|
+
- Update README
|
|
220
|
+
([`c29929e`](https://github.com/figorr/meteocat/commit/c29929e572969cff2ae07cdc56b4812e169ac7de))
|
|
221
|
+
|
|
222
|
+
- Fix semantic-release
|
|
223
|
+
([`2d2c192`](https://github.com/figorr/meteocat/commit/2d2c1928445eb65199a7f8693d5fad8bd81770fd))
|
|
224
|
+
|
|
225
|
+
- Fix Jobs
|
|
226
|
+
([`15ec59b`](https://github.com/figorr/meteocat/commit/15ec59b068cd27de73fe89b7f5e2143f79d52e9b))
|
|
227
|
+
|
|
228
|
+
- Fix version job
|
|
229
|
+
([`7317949`](https://github.com/figorr/meteocat/commit/7317949f6c6cbc8ea7933b6d6c8567b431bd3924))
|
|
230
|
+
|
|
231
|
+
- Fix version_job
|
|
232
|
+
([`278d896`](https://github.com/figorr/meteocat/commit/278d896480df2c13e8ff17657fd1fe5935e2e363))
|
|
233
|
+
|
|
234
|
+
- Fix version_job
|
|
235
|
+
([`a0fdd80`](https://github.com/figorr/meteocat/commit/a0fdd80233129c40a424d8dde509444da105e0a9))
|
|
236
|
+
|
|
237
|
+
- Fix semantic-release no-push
|
|
238
|
+
([`5fedeaa`](https://github.com/figorr/meteocat/commit/5fedeaab3ef2516ccc781cccd091971b43a165e8))
|
|
239
|
+
|
|
240
|
+
- Fix version_job
|
|
241
|
+
([`010252a`](https://github.com/figorr/meteocat/commit/010252a8506b43649dcdc2bdafc8e8c0af95e363))
|
|
242
|
+
|
|
243
|
+
- Fix semantic-release master
|
|
244
|
+
([`2638433`](https://github.com/figorr/meteocat/commit/26384332a90e41b1e8e1bfd63e0eba66f270ee09))
|
|
245
|
+
|
|
246
|
+
- Fix version_job
|
|
247
|
+
([`56459f6`](https://github.com/figorr/meteocat/commit/56459f6bb581c41fde69d1cc2bcc8a85181de749))
|
|
248
|
+
|
|
249
|
+
- Fix version_job
|
|
250
|
+
([`b825a5c`](https://github.com/figorr/meteocat/commit/b825a5cbba56f27bc4474c226a010d9d5a9c3bff))
|
|
251
|
+
|
|
252
|
+
- Fix semantic-release
|
|
253
|
+
([`82e90a4`](https://github.com/figorr/meteocat/commit/82e90a45af3cbe6432d3a8b7532607fb7d819734))
|
|
254
|
+
|
|
255
|
+
- Gitlab release Job
|
|
256
|
+
([`35e05f9`](https://github.com/figorr/meteocat/commit/35e05f9e0067104563260ff34e340c0bb4d89aa3))
|
|
257
|
+
|
|
258
|
+
- Fix authentication
|
|
259
|
+
([`af5c349`](https://github.com/figorr/meteocat/commit/af5c349f51bbfad972250840b1b81451389a4f4b))
|
|
260
|
+
|
|
261
|
+
- Fix job bugs
|
|
262
|
+
([`11c169a`](https://github.com/figorr/meteocat/commit/11c169a05b348dd5cb7fb9a3281e541323dd2a1f))
|
|
263
|
+
|
|
264
|
+
- Fix Jobs
|
|
265
|
+
([`2d7204a`](https://github.com/figorr/meteocat/commit/2d7204a7e95ea75db0bed7dd63f096039f4af9a2))
|
|
266
|
+
|
|
267
|
+
- Fix bugs
|
|
268
|
+
([`52f3c0f`](https://github.com/figorr/meteocat/commit/52f3c0f34016c8a8002e2356bf60c85c32548c7f))
|
|
269
|
+
|
|
270
|
+
- Fix jobs
|
|
271
|
+
([`c9d5d3f`](https://github.com/figorr/meteocat/commit/c9d5d3fea8659cca9ef3c05f8a99e576ed75c4d5))
|
|
272
|
+
|
|
273
|
+
- Fix jobs
|
|
274
|
+
([`6cbfcaa`](https://github.com/figorr/meteocat/commit/6cbfcaae0344da0981f66703001ef69b047ba3ef))
|
|
275
|
+
|
|
276
|
+
- Fix script
|
|
277
|
+
([`ebcf377`](https://github.com/figorr/meteocat/commit/ebcf377afc020865329ed601ff21bb07991487b0))
|
|
278
|
+
|
|
279
|
+
- Fix variables
|
|
280
|
+
([`6c28da8`](https://github.com/figorr/meteocat/commit/6c28da86ab60d441fe7cc2a923cefec805b25f77))
|
|
281
|
+
|
|
282
|
+
- Fix semantic-release
|
|
283
|
+
([`2ab754e`](https://github.com/figorr/meteocat/commit/2ab754e9f65a346f188b6ca57a8043503eee7b6d))
|
|
284
|
+
|
|
285
|
+
- Fix semantic-release
|
|
286
|
+
([`162685b`](https://github.com/figorr/meteocat/commit/162685b2c1fd692802ac4d18bda7b394bbdf9a72))
|
|
287
|
+
|
|
288
|
+
- Create .releaserc for semantic-release
|
|
289
|
+
([`8d1859b`](https://github.com/figorr/meteocat/commit/8d1859b928964ed16d83c26de42c179a1597af53))
|
|
290
|
+
|
|
291
|
+
- Fix release_job
|
|
292
|
+
([`60c4d19`](https://github.com/figorr/meteocat/commit/60c4d19afd2a65944267bb9c25c7f62f39cc7ebb))
|
|
293
|
+
|
|
294
|
+
- Update release job
|
|
295
|
+
([`0070caf`](https://github.com/figorr/meteocat/commit/0070caff7cc1c9ddbf11b03d63380f6a3375cde4))
|
|
296
|
+
|
|
297
|
+
- Delete deploy job
|
|
298
|
+
([`69b049c`](https://github.com/figorr/meteocat/commit/69b049cc53ab62ddd45636e0bc5f5886561093ee))
|
|
299
|
+
|
|
300
|
+
- Fix Jobs
|
|
301
|
+
([`ff9ac05`](https://github.com/figorr/meteocat/commit/ff9ac05f34db29d0cfd69c25f82b2f7ad916bfd7))
|
|
302
|
+
|
|
303
|
+
- Delete deploy_job
|
|
304
|
+
([`756f399`](https://github.com/figorr/meteocat/commit/756f399280bcf4a66c36bcc19bdceeeb25e25a60))
|
|
305
|
+
|
|
306
|
+
- Fix release job
|
|
307
|
+
([`877ced7`](https://github.com/figorr/meteocat/commit/877ced7453d7656cc9f406efc73cffd10cb31d13))
|
|
308
|
+
|
|
309
|
+
- Automatic upload to PyPi
|
|
310
|
+
([`ef35667`](https://github.com/figorr/meteocat/commit/ef35667c560cff73674881f4463918626abdce7f))
|
|
311
|
+
|
|
312
|
+
- Fix release job
|
|
313
|
+
([`4dda574`](https://github.com/figorr/meteocat/commit/4dda574b4828f3cccd3238b18fe26e4a4940a7fc))
|
|
314
|
+
|
|
315
|
+
- Fix release job
|
|
316
|
+
([`e8b5dd2`](https://github.com/figorr/meteocat/commit/e8b5dd2ba8d09905e010f3003e22a73b7f6bf1d3))
|
|
317
|
+
|
|
318
|
+
- Fix python-semantic-release version
|
|
319
|
+
([`a539aa0`](https://github.com/figorr/meteocat/commit/a539aa04afea83b084e07bbd44ee89adbd9247c2))
|
|
320
|
+
|
|
321
|
+
- Fix bump_and_publish job
|
|
322
|
+
([`c6bf435`](https://github.com/figorr/meteocat/commit/c6bf435e69f01d2f48d86206fb03b06f48e41d90))
|
|
323
|
+
|
|
324
|
+
- Release
|
|
325
|
+
([`d485379`](https://github.com/figorr/meteocat/commit/d4853794f10a9fd3f7f64f68656791617d38cd3a))
|
|
326
|
+
|
|
327
|
+
- Fix release_job
|
|
328
|
+
([`5246274`](https://github.com/figorr/meteocat/commit/5246274cbecda1ff345e10c2f53b8d4c347a3954))
|
|
329
|
+
|
|
330
|
+
- Fix release_job
|
|
331
|
+
([`e42cdb8`](https://github.com/figorr/meteocat/commit/e42cdb8d3139739249422ef2ca5e9dd65cfcd745))
|
|
332
|
+
|
|
333
|
+
- Fix release_job
|
|
334
|
+
([`cd8417a`](https://github.com/figorr/meteocat/commit/cd8417a182746ec09194ab147b974b7e412b2501))
|
|
335
|
+
|
|
336
|
+
- Fix release_job
|
|
337
|
+
([`4b7f17c`](https://github.com/figorr/meteocat/commit/4b7f17c9715ef0d79f1d29b96750df96b380c906))
|
|
338
|
+
|
|
339
|
+
- Fix release_job
|
|
340
|
+
([`5ab7774`](https://github.com/figorr/meteocat/commit/5ab77745a963dc57c65e69306be2f68d43260f69))
|
|
341
|
+
|
|
342
|
+
- Release_job
|
|
343
|
+
([`acc447e`](https://github.com/figorr/meteocat/commit/acc447e2b3bdcc864e670e9796ac43342a2091cf))
|
|
344
|
+
|
|
345
|
+
- Manual install Python 3 and pip
|
|
346
|
+
([`b6070f4`](https://github.com/figorr/meteocat/commit/b6070f41fd5aa94ca005213d831a6ca39b5203ca))
|
|
347
|
+
|
|
348
|
+
- Add node:20
|
|
349
|
+
([`2acafeb`](https://github.com/figorr/meteocat/commit/2acafeb30af036e6fd83fa286def41de4a2b0a8e))
|
|
350
|
+
|
|
351
|
+
- Delete requirements.txt
|
|
352
|
+
([`a5cf2e0`](https://github.com/figorr/meteocat/commit/a5cf2e0c379b646abf09b563f7ad3db1bbf42951))
|
|
353
|
+
|
|
354
|
+
- _logger import
|
|
355
|
+
([`0f4dc39`](https://github.com/figorr/meteocat/commit/0f4dc39144d5897da223111d1c8783eef5a4d6f8))
|
|
356
|
+
|
|
357
|
+
- Update locations.py folder location
|
|
358
|
+
([`d7113d5`](https://github.com/figorr/meteocat/commit/d7113d52e40161c6439ee9f20bda20ee3b302c77))
|
|
359
|
+
|
|
360
|
+
- Setup semantic-release
|
|
361
|
+
([`933c360`](https://github.com/figorr/meteocat/commit/933c36068fc86fca7da77c361f632511d0f2c5db))
|
package/LICENSE
ADDED
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
==============
|
|
3
|
+
|
|
4
|
+
_Version 2.0, January 2004_
|
|
5
|
+
_<<http://www.apache.org/licenses/>>_
|
|
6
|
+
|
|
7
|
+
### Terms and Conditions for use, reproduction, and distribution
|
|
8
|
+
|
|
9
|
+
#### 1. Definitions
|
|
10
|
+
|
|
11
|
+
“License” shall mean the terms and conditions for use, reproduction, and
|
|
12
|
+
distribution as defined by Sections 1 through 9 of this document.
|
|
13
|
+
|
|
14
|
+
“Licensor” shall mean the copyright owner or entity authorized by the copyright
|
|
15
|
+
owner that is granting the License.
|
|
16
|
+
|
|
17
|
+
“Legal Entity” shall mean the union of the acting entity and all other entities
|
|
18
|
+
that control, are controlled by, or are under common control with that entity.
|
|
19
|
+
For the purposes of this definition, “control” means **(i)** the power, direct or
|
|
20
|
+
indirect, to cause the direction or management of such entity, whether by
|
|
21
|
+
contract or otherwise, or **(ii)** ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or **(iii)** beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
“You” (or “Your”) shall mean an individual or Legal Entity exercising
|
|
25
|
+
permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
“Source” form shall mean the preferred form for making modifications, including
|
|
28
|
+
but not limited to software source code, documentation source, and configuration
|
|
29
|
+
files.
|
|
30
|
+
|
|
31
|
+
“Object” form shall mean any form resulting from mechanical transformation or
|
|
32
|
+
translation of a Source form, including but not limited to compiled object code,
|
|
33
|
+
generated documentation, and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
“Work” shall mean the work of authorship, whether in Source or Object form, made
|
|
36
|
+
available under the License, as indicated by a copyright notice that is included
|
|
37
|
+
in or attached to the work (an example is provided in the Appendix below).
|
|
38
|
+
|
|
39
|
+
“Derivative Works” shall mean any work, whether in Source or Object form, that
|
|
40
|
+
is based on (or derived from) the Work and for which the editorial revisions,
|
|
41
|
+
annotations, elaborations, or other modifications represent, as a whole, an
|
|
42
|
+
original work of authorship. For the purposes of this License, Derivative Works
|
|
43
|
+
shall not include works that remain separable from, or merely link (or bind by
|
|
44
|
+
name) to the interfaces of, the Work and Derivative Works thereof.
|
|
45
|
+
|
|
46
|
+
“Contribution” shall mean any work of authorship, including the original version
|
|
47
|
+
of the Work and any modifications or additions to that Work or Derivative Works
|
|
48
|
+
thereof, that is intentionally submitted to Licensor for inclusion in the Work
|
|
49
|
+
by the copyright owner or by an individual or Legal Entity authorized to submit
|
|
50
|
+
on behalf of the copyright owner. For the purposes of this definition,
|
|
51
|
+
“submitted” means any form of electronic, verbal, or written communication sent
|
|
52
|
+
to the Licensor or its representatives, including but not limited to
|
|
53
|
+
communication on electronic mailing lists, source code control systems, and
|
|
54
|
+
issue tracking systems that are managed by, or on behalf of, the Licensor for
|
|
55
|
+
the purpose of discussing and improving the Work, but excluding communication
|
|
56
|
+
that is conspicuously marked or otherwise designated in writing by the copyright
|
|
57
|
+
owner as “Not a Contribution.”
|
|
58
|
+
|
|
59
|
+
“Contributor” shall mean Licensor and any individual or Legal Entity on behalf
|
|
60
|
+
of whom a Contribution has been received by Licensor and subsequently
|
|
61
|
+
incorporated within the Work.
|
|
62
|
+
|
|
63
|
+
#### 2. Grant of Copyright License
|
|
64
|
+
|
|
65
|
+
Subject to the terms and conditions of this License, each Contributor hereby
|
|
66
|
+
grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
|
|
67
|
+
irrevocable copyright license to reproduce, prepare Derivative Works of,
|
|
68
|
+
publicly display, publicly perform, sublicense, and distribute the Work and such
|
|
69
|
+
Derivative Works in Source or Object form.
|
|
70
|
+
|
|
71
|
+
#### 3. Grant of Patent License
|
|
72
|
+
|
|
73
|
+
Subject to the terms and conditions of this License, each Contributor hereby
|
|
74
|
+
grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
|
|
75
|
+
irrevocable (except as stated in this section) patent license to make, have
|
|
76
|
+
made, use, offer to sell, sell, import, and otherwise transfer the Work, where
|
|
77
|
+
such license applies only to those patent claims licensable by such Contributor
|
|
78
|
+
that are necessarily infringed by their Contribution(s) alone or by combination
|
|
79
|
+
of their Contribution(s) with the Work to which such Contribution(s) was
|
|
80
|
+
submitted. If You institute patent litigation against any entity (including a
|
|
81
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work or a
|
|
82
|
+
Contribution incorporated within the Work constitutes direct or contributory
|
|
83
|
+
patent infringement, then any patent licenses granted to You under this License
|
|
84
|
+
for that Work shall terminate as of the date such litigation is filed.
|
|
85
|
+
|
|
86
|
+
#### 4. Redistribution
|
|
87
|
+
|
|
88
|
+
You may reproduce and distribute copies of the Work or Derivative Works thereof
|
|
89
|
+
in any medium, with or without modifications, and in Source or Object form,
|
|
90
|
+
provided that You meet the following conditions:
|
|
91
|
+
|
|
92
|
+
* **(a)** You must give any other recipients of the Work or Derivative Works a copy of
|
|
93
|
+
this License; and
|
|
94
|
+
* **(b)** You must cause any modified files to carry prominent notices stating that You
|
|
95
|
+
changed the files; and
|
|
96
|
+
* **(c)** You must retain, in the Source form of any Derivative Works that You distribute,
|
|
97
|
+
all copyright, patent, trademark, and attribution notices from the Source form
|
|
98
|
+
of the Work, excluding those notices that do not pertain to any part of the
|
|
99
|
+
Derivative Works; and
|
|
100
|
+
* **(d)** If the Work includes a “NOTICE” text file as part of its distribution, then any
|
|
101
|
+
Derivative Works that You distribute must include a readable copy of the
|
|
102
|
+
attribution notices contained within such NOTICE file, excluding those notices
|
|
103
|
+
that do not pertain to any part of the Derivative Works, in at least one of the
|
|
104
|
+
following places: within a NOTICE text file distributed as part of the
|
|
105
|
+
Derivative Works; within the Source form or documentation, if provided along
|
|
106
|
+
with the Derivative Works; or, within a display generated by the Derivative
|
|
107
|
+
Works, if and wherever such third-party notices normally appear. The contents of
|
|
108
|
+
the NOTICE file are for informational purposes only and do not modify the
|
|
109
|
+
License. You may add Your own attribution notices within Derivative Works that
|
|
110
|
+
You distribute, alongside or as an addendum to the NOTICE text from the Work,
|
|
111
|
+
provided that such additional attribution notices cannot be construed as
|
|
112
|
+
modifying the License.
|
|
113
|
+
|
|
114
|
+
You may add Your own copyright statement to Your modifications and may provide
|
|
115
|
+
additional or different license terms and conditions for use, reproduction, or
|
|
116
|
+
distribution of Your modifications, or for any such Derivative Works as a whole,
|
|
117
|
+
provided Your use, reproduction, and distribution of the Work otherwise complies
|
|
118
|
+
with the conditions stated in this License.
|
|
119
|
+
|
|
120
|
+
#### 5. Submission of Contributions
|
|
121
|
+
|
|
122
|
+
Unless You explicitly state otherwise, any Contribution intentionally submitted
|
|
123
|
+
for inclusion in the Work by You to the Licensor shall be under the terms and
|
|
124
|
+
conditions of this License, without any additional terms or conditions.
|
|
125
|
+
Notwithstanding the above, nothing herein shall supersede or modify the terms of
|
|
126
|
+
any separate license agreement you may have executed with Licensor regarding
|
|
127
|
+
such Contributions.
|
|
128
|
+
|
|
129
|
+
#### 6. Trademarks
|
|
130
|
+
|
|
131
|
+
This License does not grant permission to use the trade names, trademarks,
|
|
132
|
+
service marks, or product names of the Licensor, except as required for
|
|
133
|
+
reasonable and customary use in describing the origin of the Work and
|
|
134
|
+
reproducing the content of the NOTICE file.
|
|
135
|
+
|
|
136
|
+
#### 7. Disclaimer of Warranty
|
|
137
|
+
|
|
138
|
+
Unless required by applicable law or agreed to in writing, Licensor provides the
|
|
139
|
+
Work (and each Contributor provides its Contributions) on an “AS IS” BASIS,
|
|
140
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied,
|
|
141
|
+
including, without limitation, any warranties or conditions of TITLE,
|
|
142
|
+
NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are
|
|
143
|
+
solely responsible for determining the appropriateness of using or
|
|
144
|
+
redistributing the Work and assume any risks associated with Your exercise of
|
|
145
|
+
permissions under this License.
|
|
146
|
+
|
|
147
|
+
#### 8. Limitation of Liability
|
|
148
|
+
|
|
149
|
+
In no event and under no legal theory, whether in tort (including negligence),
|
|
150
|
+
contract, or otherwise, unless required by applicable law (such as deliberate
|
|
151
|
+
and grossly negligent acts) or agreed to in writing, shall any Contributor be
|
|
152
|
+
liable to You for damages, including any direct, indirect, special, incidental,
|
|
153
|
+
or consequential damages of any character arising as a result of this License or
|
|
154
|
+
out of the use or inability to use the Work (including but not limited to
|
|
155
|
+
damages for loss of goodwill, work stoppage, computer failure or malfunction, or
|
|
156
|
+
any and all other commercial damages or losses), even if such Contributor has
|
|
157
|
+
been advised of the possibility of such damages.
|
|
158
|
+
|
|
159
|
+
#### 9. Accepting Warranty or Additional Liability
|
|
160
|
+
|
|
161
|
+
While redistributing the Work or Derivative Works thereof, You may choose to
|
|
162
|
+
offer, and charge a fee for, acceptance of support, warranty, indemnity, or
|
|
163
|
+
other liability obligations and/or rights consistent with this License. However,
|
|
164
|
+
in accepting such obligations, You may act only on Your own behalf and on Your
|
|
165
|
+
sole responsibility, not on behalf of any other Contributor, and only if You
|
|
166
|
+
agree to indemnify, defend, and hold each Contributor harmless for any liability
|
|
167
|
+
incurred by, or claims asserted against, such Contributor by reason of your
|
|
168
|
+
accepting any such warranty or additional liability.
|
|
169
|
+
|
|
170
|
+
_END OF TERMS AND CONDITIONS_
|
|
171
|
+
|
|
172
|
+
### APPENDIX: How to apply the Apache License to your work
|
|
173
|
+
|
|
174
|
+
To apply the Apache License to your work, attach the following boilerplate
|
|
175
|
+
notice, with the fields enclosed by brackets `[]` replaced with your own
|
|
176
|
+
identifying information. (Don't include the brackets!) The text should be
|
|
177
|
+
enclosed in the appropriate comment syntax for the file format. We also
|
|
178
|
+
recommend that a file or class name and description of purpose be included on
|
|
179
|
+
the same “printed page” as the copyright notice for easier identification within
|
|
180
|
+
third-party archives.
|
|
181
|
+
|
|
182
|
+
Copyright [yyyy] [name of copyright owner]
|
|
183
|
+
|
|
184
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
185
|
+
you may not use this file except in compliance with the License.
|
|
186
|
+
You may obtain a copy of the License at
|
|
187
|
+
|
|
188
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
189
|
+
|
|
190
|
+
Unless required by applicable law or agreed to in writing, software
|
|
191
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
192
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
193
|
+
See the License for the specific language governing permissions and
|
|
194
|
+
limitations under the License.
|