c2cciutils 1.7.0.dev306__py3-none-any.whl → 1.7.0.dev308__py3-none-any.whl
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.
Potentially problematic release.
This version of c2cciutils might be problematic. Click here for more details.
- c2cciutils/package-lock.json +32 -32
- c2cciutils/publish.py +3 -10
- {c2cciutils-1.7.0.dev306.dist-info → c2cciutils-1.7.0.dev308.dist-info}/METADATA +1 -1
- {c2cciutils-1.7.0.dev306.dist-info → c2cciutils-1.7.0.dev308.dist-info}/RECORD +7 -7
- {c2cciutils-1.7.0.dev306.dist-info → c2cciutils-1.7.0.dev308.dist-info}/LICENSE +0 -0
- {c2cciutils-1.7.0.dev306.dist-info → c2cciutils-1.7.0.dev308.dist-info}/WHEEL +0 -0
- {c2cciutils-1.7.0.dev306.dist-info → c2cciutils-1.7.0.dev308.dist-info}/entry_points.txt +0 -0
c2cciutils/package-lock.json
CHANGED
|
@@ -12,41 +12,41 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"node_modules/@sentry-internal/tracing": {
|
|
15
|
-
"version": "7.
|
|
16
|
-
"resolved": "https://registry.npmjs.org/@sentry-internal/tracing/-/tracing-7.
|
|
17
|
-
"integrity": "sha512-
|
|
15
|
+
"version": "7.119.0",
|
|
16
|
+
"resolved": "https://registry.npmjs.org/@sentry-internal/tracing/-/tracing-7.119.0.tgz",
|
|
17
|
+
"integrity": "sha512-oKdFJnn+56f0DHUADlL8o9l8jTib3VDLbWQBVkjD9EprxfaCwt2m8L5ACRBdQ8hmpxCEo4I8/6traZ7qAdBUqA==",
|
|
18
18
|
"license": "MIT",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@sentry/core": "7.
|
|
21
|
-
"@sentry/types": "7.
|
|
22
|
-
"@sentry/utils": "7.
|
|
20
|
+
"@sentry/core": "7.119.0",
|
|
21
|
+
"@sentry/types": "7.119.0",
|
|
22
|
+
"@sentry/utils": "7.119.0"
|
|
23
23
|
},
|
|
24
24
|
"engines": {
|
|
25
25
|
"node": ">=8"
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"node_modules/@sentry/core": {
|
|
29
|
-
"version": "7.
|
|
30
|
-
"resolved": "https://registry.npmjs.org/@sentry/core/-/core-7.
|
|
31
|
-
"integrity": "sha512-
|
|
29
|
+
"version": "7.119.0",
|
|
30
|
+
"resolved": "https://registry.npmjs.org/@sentry/core/-/core-7.119.0.tgz",
|
|
31
|
+
"integrity": "sha512-CS2kUv9rAJJEjiRat6wle3JATHypB0SyD7pt4cpX5y0dN5dZ1JrF57oLHRMnga9fxRivydHz7tMTuBhSSwhzjw==",
|
|
32
32
|
"license": "MIT",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@sentry/types": "7.
|
|
35
|
-
"@sentry/utils": "7.
|
|
34
|
+
"@sentry/types": "7.119.0",
|
|
35
|
+
"@sentry/utils": "7.119.0"
|
|
36
36
|
},
|
|
37
37
|
"engines": {
|
|
38
38
|
"node": ">=8"
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
"node_modules/@sentry/integrations": {
|
|
42
|
-
"version": "7.
|
|
43
|
-
"resolved": "https://registry.npmjs.org/@sentry/integrations/-/integrations-7.
|
|
44
|
-
"integrity": "sha512-
|
|
42
|
+
"version": "7.119.0",
|
|
43
|
+
"resolved": "https://registry.npmjs.org/@sentry/integrations/-/integrations-7.119.0.tgz",
|
|
44
|
+
"integrity": "sha512-OHShvtsRW0A+ZL/ZbMnMqDEtJddPasndjq+1aQXw40mN+zeP7At/V1yPZyFaURy86iX7Ucxw5BtmzuNy7hLyTA==",
|
|
45
45
|
"license": "MIT",
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@sentry/core": "7.
|
|
48
|
-
"@sentry/types": "7.
|
|
49
|
-
"@sentry/utils": "7.
|
|
47
|
+
"@sentry/core": "7.119.0",
|
|
48
|
+
"@sentry/types": "7.119.0",
|
|
49
|
+
"@sentry/utils": "7.119.0",
|
|
50
50
|
"localforage": "^1.8.1"
|
|
51
51
|
},
|
|
52
52
|
"engines": {
|
|
@@ -54,37 +54,37 @@
|
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
"node_modules/@sentry/node": {
|
|
57
|
-
"version": "7.
|
|
58
|
-
"resolved": "https://registry.npmjs.org/@sentry/node/-/node-7.
|
|
59
|
-
"integrity": "sha512-
|
|
57
|
+
"version": "7.119.0",
|
|
58
|
+
"resolved": "https://registry.npmjs.org/@sentry/node/-/node-7.119.0.tgz",
|
|
59
|
+
"integrity": "sha512-9PFzN8xS6U0oZCflpVxS2SSIsHkCaj7qYBlsvHj4CTGWfao9ImwrU6+smy4qoG6oxwPfoVb5pOOMb4WpWOvXcQ==",
|
|
60
60
|
"license": "MIT",
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@sentry-internal/tracing": "7.
|
|
63
|
-
"@sentry/core": "7.
|
|
64
|
-
"@sentry/integrations": "7.
|
|
65
|
-
"@sentry/types": "7.
|
|
66
|
-
"@sentry/utils": "7.
|
|
62
|
+
"@sentry-internal/tracing": "7.119.0",
|
|
63
|
+
"@sentry/core": "7.119.0",
|
|
64
|
+
"@sentry/integrations": "7.119.0",
|
|
65
|
+
"@sentry/types": "7.119.0",
|
|
66
|
+
"@sentry/utils": "7.119.0"
|
|
67
67
|
},
|
|
68
68
|
"engines": {
|
|
69
69
|
"node": ">=8"
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
72
|
"node_modules/@sentry/types": {
|
|
73
|
-
"version": "7.
|
|
74
|
-
"resolved": "https://registry.npmjs.org/@sentry/types/-/types-7.
|
|
75
|
-
"integrity": "sha512-
|
|
73
|
+
"version": "7.119.0",
|
|
74
|
+
"resolved": "https://registry.npmjs.org/@sentry/types/-/types-7.119.0.tgz",
|
|
75
|
+
"integrity": "sha512-27qQbutDBPKGbuJHROxhIWc1i0HJaGLA90tjMu11wt0E4UNxXRX+UQl4Twu68v4EV3CPvQcEpQfgsViYcXmq+w==",
|
|
76
76
|
"license": "MIT",
|
|
77
77
|
"engines": {
|
|
78
78
|
"node": ">=8"
|
|
79
79
|
}
|
|
80
80
|
},
|
|
81
81
|
"node_modules/@sentry/utils": {
|
|
82
|
-
"version": "7.
|
|
83
|
-
"resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-7.
|
|
84
|
-
"integrity": "sha512-
|
|
82
|
+
"version": "7.119.0",
|
|
83
|
+
"resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-7.119.0.tgz",
|
|
84
|
+
"integrity": "sha512-ZwyXexWn2ZIe2bBoYnXJVPc2esCSbKpdc6+0WJa8eutXfHq3FRKg4ohkfCBpfxljQGEfP1+kfin945lA21Ka+A==",
|
|
85
85
|
"license": "MIT",
|
|
86
86
|
"dependencies": {
|
|
87
|
-
"@sentry/types": "7.
|
|
87
|
+
"@sentry/types": "7.119.0"
|
|
88
88
|
},
|
|
89
89
|
"engines": {
|
|
90
90
|
"node": ">=8"
|
c2cciutils/publish.py
CHANGED
|
@@ -61,7 +61,7 @@ class GoogleCalendar:
|
|
|
61
61
|
self._update_creds()
|
|
62
62
|
self.service = build("calendar", "v3", credentials=self.creds)
|
|
63
63
|
|
|
64
|
-
def init_calendar_service(self) -> Credentials:
|
|
64
|
+
def init_calendar_service(self) -> Credentials: # type: ignore
|
|
65
65
|
"""
|
|
66
66
|
Initialize the calendar service.
|
|
67
67
|
"""
|
|
@@ -74,10 +74,10 @@ class GoogleCalendar:
|
|
|
74
74
|
# If there are no (valid) credentials available, let the user log in.
|
|
75
75
|
if not creds or not creds.valid:
|
|
76
76
|
if creds and creds.expired and creds.refresh_token:
|
|
77
|
-
creds.refresh(Request())
|
|
77
|
+
creds.refresh(Request()) # type: ignore
|
|
78
78
|
else:
|
|
79
79
|
if self.token:
|
|
80
|
-
creds = Credentials(
|
|
80
|
+
creds = Credentials( # type: ignore
|
|
81
81
|
self.token,
|
|
82
82
|
refresh_token=self.refresh_token,
|
|
83
83
|
token_uri=self.token_uri,
|
|
@@ -177,13 +177,6 @@ class GoogleCalendar:
|
|
|
177
177
|
event_result = self.service.events().insert(calendarId=self.calendar_id, body=body).execute()
|
|
178
178
|
print(f"Created event with id: {event_result['id']}")
|
|
179
179
|
|
|
180
|
-
def _print_credentials(self) -> None:
|
|
181
|
-
"""
|
|
182
|
-
Print the credentials.
|
|
183
|
-
"""
|
|
184
|
-
# UNSAFE: DO NEVER PRINT CREDENTIALS IN CI ENVIRONMENT, DEBUG ONLY!!!!
|
|
185
|
-
print(self.creds.to_json())
|
|
186
|
-
|
|
187
180
|
def save_credentials_to_gopass(self) -> None:
|
|
188
181
|
"""
|
|
189
182
|
Save the calendar credentials to gopass.
|
|
@@ -10,10 +10,10 @@ c2cciutils/default_branch.graphql,sha256=CaP3rRsNiyg_7RvqbMk0tOJr0aqWd8cOeSV-ZKg
|
|
|
10
10
|
c2cciutils/env.py,sha256=J-lC7GdOkdFVIrWFZEkAxHmIuTYwhDJiE30BICj2UoM,3425
|
|
11
11
|
c2cciutils/lib/docker.py,sha256=lwvCarwSSUWK1Y4O7qcTILPdpkTf2Ujhl_fCwZ6dBUY,5677
|
|
12
12
|
c2cciutils/lib/oidc.py,sha256=2UdalnADG173oSPwp1qqH7-w96AcUwT5A7vlll-RmZU,6229
|
|
13
|
-
c2cciutils/package-lock.json,sha256=
|
|
13
|
+
c2cciutils/package-lock.json,sha256=aLnN3q1ufs_2pn-Zy6_2v8wL09JT8MZzJidxJi8E9Lc,15611
|
|
14
14
|
c2cciutils/package.json,sha256=A3gItP1CsTXzsMdigeCu3fNeltY08nYVs_LCU4B5PJs,134
|
|
15
15
|
c2cciutils/pr_checks.py,sha256=tBwDHxThcu6648pE2cqpLNsaU711lwwgRc7sB4qR6fU,10109
|
|
16
|
-
c2cciutils/publish.py,sha256=
|
|
16
|
+
c2cciutils/publish.py,sha256=9L2R39DQ_c1SKt-tu2wf4mSxb4ntUKx8rB-JBy6ykyU,17094
|
|
17
17
|
c2cciutils/schema-applications.json,sha256=Tus-s9NB7uwKhTrQwhWQM4_oJygF_yHUqShtZhN1IxE,1551
|
|
18
18
|
c2cciutils/schema.json,sha256=zKRqIjpNg6H2kvuixP64CK5CAJFhyu-_aUEub0_rAqc,22841
|
|
19
19
|
c2cciutils/scripts/__init__.py,sha256=N4tcdvUifXQrK9vEvFWrGvoyY9oZ0uRcjb-FoYe41cc,36
|
|
@@ -34,8 +34,8 @@ c2cciutils/scripts/pr_checks.py,sha256=PA9z9QB81H2JhGSr4T02eoxyeWDjQZ4XoIKFzS5o5
|
|
|
34
34
|
c2cciutils/scripts/publish.py,sha256=lc75i0BP4zHKWqeWpseVY1-hO4mJVTy57zEOCmeideg,20422
|
|
35
35
|
c2cciutils/scripts/trigger_image_update.py,sha256=UPCSgFcllewo1NOC7kUkJ2QMXU0dCA2QAq6LFQHr0Uw,2780
|
|
36
36
|
c2cciutils/scripts/version.py,sha256=BU6I3nG3ofgUXCLrUBNOql45Dz9Loox4gt4ebHRM3iQ,8912
|
|
37
|
-
c2cciutils-1.7.0.
|
|
38
|
-
c2cciutils-1.7.0.
|
|
39
|
-
c2cciutils-1.7.0.
|
|
40
|
-
c2cciutils-1.7.0.
|
|
41
|
-
c2cciutils-1.7.0.
|
|
37
|
+
c2cciutils-1.7.0.dev308.dist-info/entry_points.txt,sha256=jPDp7KeB0Fz_TpOwbOODeW2WEcdLNJZACPtKpRqtHs4,1030
|
|
38
|
+
c2cciutils-1.7.0.dev308.dist-info/METADATA,sha256=-1GH2QkvNtSansfWYXguZ87bEIK-OMhuc_YuGCmEZvU,19149
|
|
39
|
+
c2cciutils-1.7.0.dev308.dist-info/LICENSE,sha256=EMCYfDu0AgsMQO6k8Hl_xHzoFxM0db1xu9n_asZW9Vc,1307
|
|
40
|
+
c2cciutils-1.7.0.dev308.dist-info/WHEEL,sha256=vVCvjcmxuUltf8cYhJ0sJMRDLr1XsPuxEId8YDzbyCY,88
|
|
41
|
+
c2cciutils-1.7.0.dev308.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|