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

metrics: Added the metrics module from legacy #500

Merged
merged 11 commits into from
Sep 18, 2023

Conversation

yashlamba
Copy link
Member

@yashlamba yashlamba commented Sep 13, 2023

Moved: https://github.com/zenodo/zenodo/tree/master/zenodo/modules/metrics from Zenodo -> ZenodoRDM

Quite a few indices for opensearch and fields have been updated.

Closes https://github.com/zenodo/rdm-project/issues/60

@yashlamba yashlamba changed the title site: zenodo_rdm: metrics: Added the metrics module from legacy metrics: Added the metrics module from legacy Sep 13, 2023
@yashlamba yashlamba requested a review from slint September 13, 2023 14:02
Copy link
Member

@slint slint left a comment

Choose a reason for hiding this comment

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

Some minor comments, but otherwise looks good!

Regarding commit message style, try to keep a single component in the message, also for brevity, i.e.

-site: zenodo_rdm: metrics: imported metrics module from zenodo/zenodo
+metrics: imported metrics module from zenodo/zenodo

Sometimes if we have "sub-components" we use dashes, e.g. deposit-ui: fixed validation error display.

invenio.cfg Outdated Show resolved Hide resolved
site/zenodo_rdm/metrics/utils.py Outdated Show resolved Hide resolved
site/zenodo_rdm/metrics/api.py Outdated Show resolved Hide resolved
site/zenodo_rdm/metrics/ext.py Outdated Show resolved Hide resolved
@yashlamba
Copy link
Member Author

Hey @slint, thanks for the review. Before we merge this, we should add + test the Uptime bot secrets required as well.

@slint slint merged commit ddb51d3 into zenodo:master Sep 18, 2023
3 checks passed
alejandromumo pushed a commit to alejandromumo/zenodo-rdm that referenced this pull request Jul 16, 2024
* Imported metrics module from zenodo/zenodo
* Updated license and copyright information
* Updated module for zenodoRDM
* Update download volume aggregation index
* `.format(...) -> f-strings`
* Move and rename config vars
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.

2 participants