invenio-github 4.0.0__tar.gz → 6.0.0__tar.gz
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.
- {invenio_github-4.0.0 → invenio_github-6.0.0}/CHANGES.rst +13 -2
- {invenio_github-4.0.0 → invenio_github-6.0.0}/PKG-INFO +28 -17
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/__init__.py +2 -2
- invenio_github-6.0.0/invenio_github/alembic/2f62e6442a08_change_datetime_types.py +34 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/models.py +3 -3
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/oauth/remote_app.py +0 -1
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/tasks.py +2 -1
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/translations/cs/LC_MESSAGES/messages.mo +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/translations/da/LC_MESSAGES/messages.mo +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/translations/de/LC_MESSAGES/messages.mo +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/translations/en/LC_MESSAGES/messages.mo +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/translations/es/LC_MESSAGES/messages.mo +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/translations/fr/LC_MESSAGES/messages.mo +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/translations/it/LC_MESSAGES/messages.mo +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/utils.py +4 -4
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github.egg-info/PKG-INFO +28 -17
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github.egg-info/SOURCES.txt +1 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github.egg-info/requires.txt +14 -14
- {invenio_github-4.0.0 → invenio_github-6.0.0}/setup.cfg +14 -14
- {invenio_github-4.0.0 → invenio_github-6.0.0}/.git-blame-ignore-revs +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/.lgtm +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/.travis.yml +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/AUTHORS.rst +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/CONTRIBUTING.rst +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/INSTALL.rst +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/LICENSE +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/MAINTAINERS +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/MANIFEST.in +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/README.rst +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/RELEASE-NOTES.rst +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/babel.ini +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/constraints-pypi.txt +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/alembic/5a5428312b2b_create_github_branch.py +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/alembic/b0eaee37b545_create_github_tables.py +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/api.py +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/assets/semantic-ui/js/invenio_github/index.js +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/config.py +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/errors.py +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/ext.py +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/oauth/handlers.py +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/proxies.py +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/receivers.py +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/templates/semantic-ui/invenio_github/base.html +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/templates/semantic-ui/invenio_github/helpers.html +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/templates/semantic-ui/invenio_github/settings/base.html +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/templates/semantic-ui/invenio_github/settings/helpers.html +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/templates/semantic-ui/invenio_github/settings/index.html +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/templates/semantic-ui/invenio_github/settings/index_item.html +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/templates/semantic-ui/invenio_github/settings/view.html +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/translations/cs/LC_MESSAGES/messages.po +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/translations/da/LC_MESSAGES/messages.po +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/translations/de/LC_MESSAGES/messages.po +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/translations/en/LC_MESSAGES/messages.po +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/translations/es/LC_MESSAGES/messages.po +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/translations/fr/LC_MESSAGES/messages.po +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/translations/it/LC_MESSAGES/messages.po +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/translations/messages.pot +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/views/__init__.py +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/views/badge.py +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/views/github.py +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/webpack.py +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github.egg-info/dependency_links.txt +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github.egg-info/entry_points.txt +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github.egg-info/not-zip-safe +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github.egg-info/top_level.txt +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/pyproject.toml +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/requirements-devel.txt +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/run-i18n-tests.sh +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/run-tests.sh +0 -0
- {invenio_github-4.0.0 → invenio_github-6.0.0}/setup.py +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
..
|
|
2
2
|
This file is part of Invenio.
|
|
3
3
|
Copyright (C) 2016-2025 CERN.
|
|
4
|
-
Copyright (C) 2024-
|
|
4
|
+
Copyright (C) 2024-2026 Graz University of Technology.
|
|
5
5
|
|
|
6
6
|
Invenio is free software; you can redistribute it
|
|
7
7
|
and/or modify it under the terms of the GNU General Public License as
|
|
@@ -26,7 +26,18 @@
|
|
|
26
26
|
Changes
|
|
27
27
|
=======
|
|
28
28
|
|
|
29
|
-
Version
|
|
29
|
+
Version v6.0.0 (released 2026-05-29)
|
|
30
|
+
|
|
31
|
+
- chore(setup): bump dependencies
|
|
32
|
+
|
|
33
|
+
Version v5.0.0 (released 2026-01-29)
|
|
34
|
+
|
|
35
|
+
- chore(black): update formatting to >= 26.0
|
|
36
|
+
- chore(setup): bump dependencies
|
|
37
|
+
- fix(chore): DeprecationWarning stdlib
|
|
38
|
+
- Update release date for version v4.0.0
|
|
39
|
+
|
|
40
|
+
Version v4.0.0 (released 2025-11-12)
|
|
30
41
|
|
|
31
42
|
- setup: bump major version of `invenio-oauthclient`
|
|
32
43
|
- api: optimize sync process with batch task execution
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: invenio-github
|
|
3
|
-
Version:
|
|
3
|
+
Version: 6.0.0
|
|
4
4
|
Summary: "Invenio module that adds GitHub integration to the platform."
|
|
5
5
|
Home-page: https://github.com/inveniosoftware/invenio-github
|
|
6
6
|
Author: CERN
|
|
@@ -18,29 +18,29 @@ Requires-Dist: email-validator>=1.0.5
|
|
|
18
18
|
Requires-Dist: github3.py<5.0.0,>=4.0.1
|
|
19
19
|
Requires-Dist: humanize>=0.5.1
|
|
20
20
|
Requires-Dist: invenio-assets<5.0.0,>=4.0.0
|
|
21
|
-
Requires-Dist: invenio-accounts<
|
|
21
|
+
Requires-Dist: invenio-accounts<9.0.0,>=8.0.0
|
|
22
22
|
Requires-Dist: invenio-celery<3.0.0,>=2.0.0
|
|
23
|
-
Requires-Dist: invenio-db<3.0.0,>=2.
|
|
24
|
-
Requires-Dist: invenio-formatter<
|
|
23
|
+
Requires-Dist: invenio-db<3.0.0,>=2.2.0
|
|
24
|
+
Requires-Dist: invenio-formatter<5.0.0,>=4.0.0
|
|
25
25
|
Requires-Dist: invenio-i18n<4.0.0,>=3.0.0
|
|
26
|
-
Requires-Dist: invenio-oauth2server<
|
|
27
|
-
Requires-Dist: invenio-oauthclient<
|
|
28
|
-
Requires-Dist: invenio-pidstore<
|
|
29
|
-
Requires-Dist: invenio-records-rest<
|
|
30
|
-
Requires-Dist: invenio-webhooks<
|
|
31
|
-
Requires-Dist: invenio-records-resources<
|
|
26
|
+
Requires-Dist: invenio-oauth2server<6.0.0,>=5.0.0
|
|
27
|
+
Requires-Dist: invenio-oauthclient<9.0.0,>=8.0.0
|
|
28
|
+
Requires-Dist: invenio-pidstore<4.0.0,>=3.0.0
|
|
29
|
+
Requires-Dist: invenio-records-rest<6.0.0,>=5.0.0
|
|
30
|
+
Requires-Dist: invenio-webhooks<4.0.0,>=3.0.0
|
|
31
|
+
Requires-Dist: invenio-records-resources<11.0.0,>=10.0.0
|
|
32
32
|
Requires-Dist: mistune>=0.7.2
|
|
33
33
|
Requires-Dist: six>=1.12.0
|
|
34
34
|
Requires-Dist: uritemplate>=3.0.1
|
|
35
35
|
Provides-Extra: tests
|
|
36
36
|
Requires-Dist: httpretty>=0.8.14; extra == "tests"
|
|
37
|
-
Requires-Dist: invenio-app<
|
|
38
|
-
Requires-Dist: invenio-db[mysql,postgresql]<3.0.0,>=2.
|
|
39
|
-
Requires-Dist: invenio-files-rest<
|
|
37
|
+
Requires-Dist: invenio-app<4.0.0,>=3.0.0; extra == "tests"
|
|
38
|
+
Requires-Dist: invenio-db[mysql,postgresql]<3.0.0,>=2.2.0; extra == "tests"
|
|
39
|
+
Requires-Dist: invenio-files-rest<6.0.0,>=5.0.0; extra == "tests"
|
|
40
40
|
Requires-Dist: isort>=4.2.2; extra == "tests"
|
|
41
41
|
Requires-Dist: mock>=2.0.0; extra == "tests"
|
|
42
|
-
Requires-Dist: pytest-black
|
|
43
|
-
Requires-Dist: pytest-invenio<
|
|
42
|
+
Requires-Dist: pytest-black>=0.6.0; extra == "tests"
|
|
43
|
+
Requires-Dist: pytest-invenio<5.0.0,>=4.0.0; extra == "tests"
|
|
44
44
|
Requires-Dist: pytest-mock>=2.0.0; extra == "tests"
|
|
45
45
|
Requires-Dist: sphinx>=4.5.0; extra == "tests"
|
|
46
46
|
Provides-Extra: elasticsearch7
|
|
@@ -104,7 +104,7 @@ Invenio module that adds GitHub integration to the platform.
|
|
|
104
104
|
..
|
|
105
105
|
This file is part of Invenio.
|
|
106
106
|
Copyright (C) 2016-2025 CERN.
|
|
107
|
-
Copyright (C) 2024-
|
|
107
|
+
Copyright (C) 2024-2026 Graz University of Technology.
|
|
108
108
|
|
|
109
109
|
Invenio is free software; you can redistribute it
|
|
110
110
|
and/or modify it under the terms of the GNU General Public License as
|
|
@@ -129,7 +129,18 @@ Invenio module that adds GitHub integration to the platform.
|
|
|
129
129
|
Changes
|
|
130
130
|
=======
|
|
131
131
|
|
|
132
|
-
Version
|
|
132
|
+
Version v6.0.0 (released 2026-05-29)
|
|
133
|
+
|
|
134
|
+
- chore(setup): bump dependencies
|
|
135
|
+
|
|
136
|
+
Version v5.0.0 (released 2026-01-29)
|
|
137
|
+
|
|
138
|
+
- chore(black): update formatting to >= 26.0
|
|
139
|
+
- chore(setup): bump dependencies
|
|
140
|
+
- fix(chore): DeprecationWarning stdlib
|
|
141
|
+
- Update release date for version v4.0.0
|
|
142
|
+
|
|
143
|
+
Version v4.0.0 (released 2025-11-12)
|
|
133
144
|
|
|
134
145
|
- setup: bump major version of `invenio-oauthclient`
|
|
135
146
|
- api: optimize sync process with batch task execution
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#
|
|
3
3
|
# This file is part of Invenio.
|
|
4
4
|
# Copyright (C) 2023-2025 CERN.
|
|
5
|
-
# Copyright (C) 2024-
|
|
5
|
+
# Copyright (C) 2024-2026 Graz University of Technology.
|
|
6
6
|
#
|
|
7
7
|
# Invenio is free software; you can redistribute it
|
|
8
8
|
# and/or modify it under the terms of the GNU General Public License as
|
|
@@ -27,6 +27,6 @@
|
|
|
27
27
|
|
|
28
28
|
from .ext import InvenioGitHub
|
|
29
29
|
|
|
30
|
-
__version__ = "
|
|
30
|
+
__version__ = "6.0.0"
|
|
31
31
|
|
|
32
32
|
__all__ = ("__version__", "InvenioGitHub")
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This file is part of Invenio.
|
|
3
|
+
# Copyright (C) 2016-2018 CERN.
|
|
4
|
+
# Copyright (C) 2026 Graz University of Technology.
|
|
5
|
+
#
|
|
6
|
+
# Invenio is free software; you can redistribute it and/or modify it
|
|
7
|
+
# under the terms of the MIT License; see LICENSE file for more details.
|
|
8
|
+
|
|
9
|
+
"""Change expires_at type to utc aware datetime."""
|
|
10
|
+
|
|
11
|
+
from invenio_db.utils import (
|
|
12
|
+
update_table_columns_column_type_to_datetime,
|
|
13
|
+
update_table_columns_column_type_to_utc_datetime,
|
|
14
|
+
)
|
|
15
|
+
|
|
16
|
+
# revision identifiers, used by Alembic.
|
|
17
|
+
revision = "2f62e6442a08"
|
|
18
|
+
down_revision = "b0eaee37b545"
|
|
19
|
+
branch_labels = ()
|
|
20
|
+
depends_on = None
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
def upgrade():
|
|
24
|
+
"""Upgrade database."""
|
|
25
|
+
for table_name in ["github_repositories", "github_releases"]:
|
|
26
|
+
update_table_columns_column_type_to_utc_datetime(table_name, "created")
|
|
27
|
+
update_table_columns_column_type_to_utc_datetime(table_name, "updated")
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
def downgrade():
|
|
31
|
+
"""Downgrade database."""
|
|
32
|
+
for table_name in ["github_repositories", "github_releases"]:
|
|
33
|
+
update_table_columns_column_type_to_datetime(table_name, "created")
|
|
34
|
+
update_table_columns_column_type_to_datetime(table_name, "updated")
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
#
|
|
3
3
|
# This file is part of Invenio.
|
|
4
4
|
# Copyright (C) 2023 CERN.
|
|
5
|
+
# Copyright (C) 2026 Graz University of Technology.
|
|
5
6
|
#
|
|
6
7
|
# Invenio is free software; you can redistribute it
|
|
7
8
|
# and/or modify it under the terms of the GNU General Public License as
|
|
@@ -32,7 +33,6 @@ from invenio_db import db
|
|
|
32
33
|
from invenio_i18n import lazy_gettext as _
|
|
33
34
|
from invenio_webhooks.models import Event
|
|
34
35
|
from sqlalchemy.dialects import postgresql
|
|
35
|
-
from sqlalchemy_utils.models import Timestamp
|
|
36
36
|
from sqlalchemy_utils.types import ChoiceType, JSONType, UUIDType
|
|
37
37
|
|
|
38
38
|
RELEASE_STATUS_TITLES = {
|
|
@@ -107,7 +107,7 @@ class ReleaseStatus(Enum):
|
|
|
107
107
|
return RELEASE_STATUS_COLOR[self.name]
|
|
108
108
|
|
|
109
109
|
|
|
110
|
-
class Repository(db.Model, Timestamp):
|
|
110
|
+
class Repository(db.Model, db.Timestamp):
|
|
111
111
|
"""Information about a GitHub repository."""
|
|
112
112
|
|
|
113
113
|
__tablename__ = "github_repositories"
|
|
@@ -203,7 +203,7 @@ class Repository(db.Model, Timestamp):
|
|
|
203
203
|
return "<Repository {self.name}:{self.github_id}>".format(self=self)
|
|
204
204
|
|
|
205
205
|
|
|
206
|
-
class Release(db.Model, Timestamp):
|
|
206
|
+
class Release(db.Model, db.Timestamp):
|
|
207
207
|
"""Information about a GitHub release."""
|
|
208
208
|
|
|
209
209
|
__tablename__ = "github_releases"
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
# it under the terms of the MIT License; see LICENSE file for more details.
|
|
7
7
|
"""Github oauth app implementation for github integration."""
|
|
8
8
|
|
|
9
|
-
|
|
10
9
|
from invenio_oauthclient.contrib.github import GitHubOAuthSettingsHelper
|
|
11
10
|
|
|
12
11
|
from invenio_github.oauth.handlers import account_setup_handler, disconnect_handler
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
# This file is part of Invenio.
|
|
4
4
|
# Copyright (C) 2023 CERN.
|
|
5
5
|
# Copyright (C) 2024 KTH Royal Institute of Technology.
|
|
6
|
+
# Copyright (C) 2026 Graz University of Technology.
|
|
6
7
|
#
|
|
7
8
|
# Invenio is free software: you can redistribute it and/or modify
|
|
8
9
|
# it under the terms of the GNU General Public License as published by
|
|
@@ -154,7 +155,7 @@ def refresh_accounts(expiration_threshold=None):
|
|
|
154
155
|
:param expiration_threshold: Dictionary containing timedelta parameters
|
|
155
156
|
referring to the maximum inactivity time.
|
|
156
157
|
"""
|
|
157
|
-
expiration_date = datetime.datetime.
|
|
158
|
+
expiration_date = datetime.datetime.now(datetime.timezone.utc) - datetime.timedelta(
|
|
158
159
|
**(expiration_threshold or {"days": 6 * 30})
|
|
159
160
|
)
|
|
160
161
|
|
{invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/translations/cs/LC_MESSAGES/messages.mo
RENAMED
|
Binary file
|
{invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/translations/da/LC_MESSAGES/messages.mo
RENAMED
|
Binary file
|
{invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/translations/de/LC_MESSAGES/messages.mo
RENAMED
|
Binary file
|
{invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/translations/en/LC_MESSAGES/messages.mo
RENAMED
|
Binary file
|
{invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/translations/es/LC_MESSAGES/messages.mo
RENAMED
|
Binary file
|
{invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/translations/fr/LC_MESSAGES/messages.mo
RENAMED
|
Binary file
|
{invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/translations/it/LC_MESSAGES/messages.mo
RENAMED
|
Binary file
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
#
|
|
3
3
|
# This file is part of Invenio.
|
|
4
4
|
# Copyright (C) 2023 CERN.
|
|
5
|
+
# Copyright (C) 2026 Graz University of Technology.
|
|
5
6
|
#
|
|
6
7
|
# Invenio is free software; you can redistribute it and/or
|
|
7
8
|
# modify it under the terms of the GNU General Public License as
|
|
@@ -19,17 +20,16 @@
|
|
|
19
20
|
|
|
20
21
|
"""Various utility functions."""
|
|
21
22
|
|
|
22
|
-
from datetime import datetime
|
|
23
|
+
from datetime import datetime, timezone
|
|
23
24
|
|
|
24
25
|
import dateutil.parser
|
|
25
|
-
import pytz
|
|
26
26
|
import six
|
|
27
27
|
from werkzeug.utils import import_string
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
def utcnow():
|
|
31
31
|
"""UTC timestamp (with timezone)."""
|
|
32
|
-
return datetime.now(tz=
|
|
32
|
+
return datetime.now(tz=timezone.utc)
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
def iso_utcnow():
|
|
@@ -41,7 +41,7 @@ def parse_timestamp(x):
|
|
|
41
41
|
"""Parse ISO8601 formatted timestamp."""
|
|
42
42
|
dt = dateutil.parser.parse(x)
|
|
43
43
|
if dt.tzinfo is None:
|
|
44
|
-
dt = dt.replace(tzinfo=
|
|
44
|
+
dt = dt.replace(tzinfo=timezone.utc)
|
|
45
45
|
return dt
|
|
46
46
|
|
|
47
47
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: invenio-github
|
|
3
|
-
Version:
|
|
3
|
+
Version: 6.0.0
|
|
4
4
|
Summary: "Invenio module that adds GitHub integration to the platform."
|
|
5
5
|
Home-page: https://github.com/inveniosoftware/invenio-github
|
|
6
6
|
Author: CERN
|
|
@@ -18,29 +18,29 @@ Requires-Dist: email-validator>=1.0.5
|
|
|
18
18
|
Requires-Dist: github3.py<5.0.0,>=4.0.1
|
|
19
19
|
Requires-Dist: humanize>=0.5.1
|
|
20
20
|
Requires-Dist: invenio-assets<5.0.0,>=4.0.0
|
|
21
|
-
Requires-Dist: invenio-accounts<
|
|
21
|
+
Requires-Dist: invenio-accounts<9.0.0,>=8.0.0
|
|
22
22
|
Requires-Dist: invenio-celery<3.0.0,>=2.0.0
|
|
23
|
-
Requires-Dist: invenio-db<3.0.0,>=2.
|
|
24
|
-
Requires-Dist: invenio-formatter<
|
|
23
|
+
Requires-Dist: invenio-db<3.0.0,>=2.2.0
|
|
24
|
+
Requires-Dist: invenio-formatter<5.0.0,>=4.0.0
|
|
25
25
|
Requires-Dist: invenio-i18n<4.0.0,>=3.0.0
|
|
26
|
-
Requires-Dist: invenio-oauth2server<
|
|
27
|
-
Requires-Dist: invenio-oauthclient<
|
|
28
|
-
Requires-Dist: invenio-pidstore<
|
|
29
|
-
Requires-Dist: invenio-records-rest<
|
|
30
|
-
Requires-Dist: invenio-webhooks<
|
|
31
|
-
Requires-Dist: invenio-records-resources<
|
|
26
|
+
Requires-Dist: invenio-oauth2server<6.0.0,>=5.0.0
|
|
27
|
+
Requires-Dist: invenio-oauthclient<9.0.0,>=8.0.0
|
|
28
|
+
Requires-Dist: invenio-pidstore<4.0.0,>=3.0.0
|
|
29
|
+
Requires-Dist: invenio-records-rest<6.0.0,>=5.0.0
|
|
30
|
+
Requires-Dist: invenio-webhooks<4.0.0,>=3.0.0
|
|
31
|
+
Requires-Dist: invenio-records-resources<11.0.0,>=10.0.0
|
|
32
32
|
Requires-Dist: mistune>=0.7.2
|
|
33
33
|
Requires-Dist: six>=1.12.0
|
|
34
34
|
Requires-Dist: uritemplate>=3.0.1
|
|
35
35
|
Provides-Extra: tests
|
|
36
36
|
Requires-Dist: httpretty>=0.8.14; extra == "tests"
|
|
37
|
-
Requires-Dist: invenio-app<
|
|
38
|
-
Requires-Dist: invenio-db[mysql,postgresql]<3.0.0,>=2.
|
|
39
|
-
Requires-Dist: invenio-files-rest<
|
|
37
|
+
Requires-Dist: invenio-app<4.0.0,>=3.0.0; extra == "tests"
|
|
38
|
+
Requires-Dist: invenio-db[mysql,postgresql]<3.0.0,>=2.2.0; extra == "tests"
|
|
39
|
+
Requires-Dist: invenio-files-rest<6.0.0,>=5.0.0; extra == "tests"
|
|
40
40
|
Requires-Dist: isort>=4.2.2; extra == "tests"
|
|
41
41
|
Requires-Dist: mock>=2.0.0; extra == "tests"
|
|
42
|
-
Requires-Dist: pytest-black
|
|
43
|
-
Requires-Dist: pytest-invenio<
|
|
42
|
+
Requires-Dist: pytest-black>=0.6.0; extra == "tests"
|
|
43
|
+
Requires-Dist: pytest-invenio<5.0.0,>=4.0.0; extra == "tests"
|
|
44
44
|
Requires-Dist: pytest-mock>=2.0.0; extra == "tests"
|
|
45
45
|
Requires-Dist: sphinx>=4.5.0; extra == "tests"
|
|
46
46
|
Provides-Extra: elasticsearch7
|
|
@@ -104,7 +104,7 @@ Invenio module that adds GitHub integration to the platform.
|
|
|
104
104
|
..
|
|
105
105
|
This file is part of Invenio.
|
|
106
106
|
Copyright (C) 2016-2025 CERN.
|
|
107
|
-
Copyright (C) 2024-
|
|
107
|
+
Copyright (C) 2024-2026 Graz University of Technology.
|
|
108
108
|
|
|
109
109
|
Invenio is free software; you can redistribute it
|
|
110
110
|
and/or modify it under the terms of the GNU General Public License as
|
|
@@ -129,7 +129,18 @@ Invenio module that adds GitHub integration to the platform.
|
|
|
129
129
|
Changes
|
|
130
130
|
=======
|
|
131
131
|
|
|
132
|
-
Version
|
|
132
|
+
Version v6.0.0 (released 2026-05-29)
|
|
133
|
+
|
|
134
|
+
- chore(setup): bump dependencies
|
|
135
|
+
|
|
136
|
+
Version v5.0.0 (released 2026-01-29)
|
|
137
|
+
|
|
138
|
+
- chore(black): update formatting to >= 26.0
|
|
139
|
+
- chore(setup): bump dependencies
|
|
140
|
+
- fix(chore): DeprecationWarning stdlib
|
|
141
|
+
- Update release date for version v4.0.0
|
|
142
|
+
|
|
143
|
+
Version v4.0.0 (released 2025-11-12)
|
|
133
144
|
|
|
134
145
|
- setup: bump major version of `invenio-oauthclient`
|
|
135
146
|
- api: optimize sync process with batch task execution
|
|
@@ -36,6 +36,7 @@ invenio_github.egg-info/entry_points.txt
|
|
|
36
36
|
invenio_github.egg-info/not-zip-safe
|
|
37
37
|
invenio_github.egg-info/requires.txt
|
|
38
38
|
invenio_github.egg-info/top_level.txt
|
|
39
|
+
invenio_github/alembic/2f62e6442a08_change_datetime_types.py
|
|
39
40
|
invenio_github/alembic/5a5428312b2b_create_github_branch.py
|
|
40
41
|
invenio_github/alembic/b0eaee37b545_create_github_tables.py
|
|
41
42
|
invenio_github/assets/semantic-ui/js/invenio_github/index.js
|
|
@@ -4,17 +4,17 @@ email-validator>=1.0.5
|
|
|
4
4
|
github3.py<5.0.0,>=4.0.1
|
|
5
5
|
humanize>=0.5.1
|
|
6
6
|
invenio-assets<5.0.0,>=4.0.0
|
|
7
|
-
invenio-accounts<
|
|
7
|
+
invenio-accounts<9.0.0,>=8.0.0
|
|
8
8
|
invenio-celery<3.0.0,>=2.0.0
|
|
9
|
-
invenio-db<3.0.0,>=2.
|
|
10
|
-
invenio-formatter<
|
|
9
|
+
invenio-db<3.0.0,>=2.2.0
|
|
10
|
+
invenio-formatter<5.0.0,>=4.0.0
|
|
11
11
|
invenio-i18n<4.0.0,>=3.0.0
|
|
12
|
-
invenio-oauth2server<
|
|
13
|
-
invenio-oauthclient<
|
|
14
|
-
invenio-pidstore<
|
|
15
|
-
invenio-records-rest<
|
|
16
|
-
invenio-webhooks<
|
|
17
|
-
invenio-records-resources<
|
|
12
|
+
invenio-oauth2server<6.0.0,>=5.0.0
|
|
13
|
+
invenio-oauthclient<9.0.0,>=8.0.0
|
|
14
|
+
invenio-pidstore<4.0.0,>=3.0.0
|
|
15
|
+
invenio-records-rest<6.0.0,>=5.0.0
|
|
16
|
+
invenio-webhooks<4.0.0,>=3.0.0
|
|
17
|
+
invenio-records-resources<11.0.0,>=10.0.0
|
|
18
18
|
mistune>=0.7.2
|
|
19
19
|
six>=1.12.0
|
|
20
20
|
uritemplate>=3.0.1
|
|
@@ -30,12 +30,12 @@ invenio-search[opensearch2]<4.0.0,>=3.0.0
|
|
|
30
30
|
|
|
31
31
|
[tests]
|
|
32
32
|
httpretty>=0.8.14
|
|
33
|
-
invenio-app<
|
|
34
|
-
invenio-db[mysql,postgresql]<3.0.0,>=2.
|
|
35
|
-
invenio-files-rest<
|
|
33
|
+
invenio-app<4.0.0,>=3.0.0
|
|
34
|
+
invenio-db[mysql,postgresql]<3.0.0,>=2.2.0
|
|
35
|
+
invenio-files-rest<6.0.0,>=5.0.0
|
|
36
36
|
isort>=4.2.2
|
|
37
37
|
mock>=2.0.0
|
|
38
|
-
pytest-black
|
|
39
|
-
pytest-invenio<
|
|
38
|
+
pytest-black>=0.6.0
|
|
39
|
+
pytest-invenio<5.0.0,>=4.0.0
|
|
40
40
|
pytest-mock>=2.0.0
|
|
41
41
|
sphinx>=4.5.0
|
|
@@ -24,17 +24,17 @@ install_requires =
|
|
|
24
24
|
github3.py>=4.0.1,<5.0.0
|
|
25
25
|
humanize>=0.5.1
|
|
26
26
|
invenio-assets>=4.0.0,<5.0.0
|
|
27
|
-
invenio-accounts>=
|
|
27
|
+
invenio-accounts>=8.0.0,<9.0.0
|
|
28
28
|
invenio-celery>=2.0.0,<3.0.0
|
|
29
|
-
invenio-db>=2.
|
|
30
|
-
invenio-formatter>=
|
|
29
|
+
invenio-db>=2.2.0,<3.0.0
|
|
30
|
+
invenio-formatter>=4.0.0,<5.0.0
|
|
31
31
|
invenio-i18n>=3.0.0,<4.0.0
|
|
32
|
-
invenio-oauth2server>=
|
|
33
|
-
invenio-oauthclient>=
|
|
34
|
-
invenio-pidstore>=
|
|
35
|
-
invenio-records-rest>=
|
|
36
|
-
invenio-webhooks>=
|
|
37
|
-
invenio-records-resources>=
|
|
32
|
+
invenio-oauth2server>=5.0.0,<6.0.0
|
|
33
|
+
invenio-oauthclient>=8.0.0,<9.0.0
|
|
34
|
+
invenio-pidstore>=3.0.0,<4.0.0
|
|
35
|
+
invenio-records-rest>=5.0.0,<6.0.0
|
|
36
|
+
invenio-webhooks>=3.0.0,<4.0.0
|
|
37
|
+
invenio-records-resources>=10.0.0,<11.0.0
|
|
38
38
|
mistune>=0.7.2
|
|
39
39
|
six>=1.12.0
|
|
40
40
|
uritemplate>=3.0.1
|
|
@@ -42,13 +42,13 @@ install_requires =
|
|
|
42
42
|
[options.extras_require]
|
|
43
43
|
tests =
|
|
44
44
|
httpretty>=0.8.14
|
|
45
|
-
invenio-app>=
|
|
46
|
-
invenio-db[postgresql,mysql]>=2.
|
|
47
|
-
invenio-files-rest>=
|
|
45
|
+
invenio-app>=3.0.0,<4.0.0
|
|
46
|
+
invenio-db[postgresql,mysql]>=2.2.0,<3.0.0
|
|
47
|
+
invenio-files-rest>=5.0.0,<6.0.0
|
|
48
48
|
isort>=4.2.2
|
|
49
49
|
mock>=2.0.0
|
|
50
|
-
pytest-black
|
|
51
|
-
pytest-invenio>=
|
|
50
|
+
pytest-black>=0.6.0
|
|
51
|
+
pytest-invenio>=4.0.0,<5.0.0
|
|
52
52
|
pytest-mock>=2.0.0
|
|
53
53
|
sphinx>=4.5.0
|
|
54
54
|
elasticsearch7 =
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/translations/cs/LC_MESSAGES/messages.po
RENAMED
|
File without changes
|
{invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/translations/da/LC_MESSAGES/messages.po
RENAMED
|
File without changes
|
{invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/translations/de/LC_MESSAGES/messages.po
RENAMED
|
File without changes
|
{invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/translations/en/LC_MESSAGES/messages.po
RENAMED
|
File without changes
|
{invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/translations/es/LC_MESSAGES/messages.po
RENAMED
|
File without changes
|
{invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/translations/fr/LC_MESSAGES/messages.po
RENAMED
|
File without changes
|
{invenio_github-4.0.0 → invenio_github-6.0.0}/invenio_github/translations/it/LC_MESSAGES/messages.po
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|