Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

global: codebase upgrade #1937

Merged
merged 73 commits into from
Aug 5, 2024
Merged

global: codebase upgrade #1937

merged 73 commits into from
Aug 5, 2024

Conversation

zzacharo
Copy link
Contributor

No description provided.

@zzacharo zzacharo force-pushed the code-upgrade branch 4 times, most recently from 3d5d757 to 52d85fd Compare May 3, 2024 15:25
@zzacharo zzacharo force-pushed the code-upgrade branch 4 times, most recently from 811e594 to 3676aec Compare June 12, 2024 13:24
@zzacharo zzacharo force-pushed the code-upgrade branch 2 times, most recently from e6a6de9 to c7bfbb2 Compare July 17, 2024 09:38
@@ -26,7 +26,7 @@

from __future__ import absolute_import, print_function

from elasticsearch_dsl.query import Q
from opensearch_dsl.query import Q
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
from opensearch_dsl.query import Q
from invenio_search import dsl

@@ -59,14 +59,12 @@ def cern_filter():
provides = get_user_provides()

# Filter for public records
public = Q("missing", field="_access.read")
public = ~Q("exists", field="_access.read")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
public = ~Q("exists", field="_access.read")
public = ~dsl.query.Q("exists", field="_access.read")

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure how accurate this is, better to check in ILS

@@ -29,9 +29,10 @@
import json

import six
from elasticsearch.exceptions import NotFoundError
from opensearchpy.exceptions import NotFoundError
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

safer to import via invenio_search

},
}
})
// require.config({
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to clean?

@@ -5,13 +5,13 @@
# invenio-app-ils is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.

FROM python:3.6
FROM python:3.9
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/inveniosoftware/almalinux:1?

* fix doi test to ensure that doi cannot be changes once minted
* fix keyword serialization check
* replace opensearch_dsl occurences with invenio_search ones
* delete redundant js files
@zzacharo zzacharo force-pushed the code-upgrade branch 16 times, most recently from 7545dc2 to 5cbe877 Compare August 4, 2024 17:03
@zzacharo zzacharo merged commit db8bf50 into main Aug 5, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants