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

Added 'generator' meta-tag to main layout 'head' partial #6397

Merged
merged 2 commits into from
Nov 2, 2023

Conversation

paulwalk
Copy link
Contributor

Summary

I am developing an International Directory of Repositories (IRD) for COAR. In the course of this I have discovered that DSpace and EPrints (and a few other platforms) do a good job of reporting the platform and version in an HTML meta-tag 'Generator', e.g.

<meta name="generator" content="platform - version" />

The IRD inspects the metadata in the <head> of the homepage of all known repositories and, if it finds a 'generator' meta-tag, maps this value to a list of known platforms.

This PR is to add this piece of metadata to Hyrax deployments so that the number of Hyrax deployments is more accurately recorded in the IRD. This will be beneficial to Samvera in general as the IRD is going to be the authoritative source of such information for COAR and the organisations it advises.

Type of change (for release notes)

Add an appropriate notes-* label to the PR (or indicate here) that classifies this change.

Choose from:

  • notes-major Major Changes (Potentially breaking changes)
  • notes-minor New Features that are backward compatible
  • notes-deprecation Deprecations
  • notes-bugfix Bug Fixes
  • notes-valkyrie Valkyrie Progress
  • notes-docs Documentation
  • notes-container Containerization related (Docker, Helm, etc)

Detailed Description

This adds the following to the layout 'head' partial:

<meta name="generator" content="Samvera Hyrax <%= Hyrax::VERSION%>" />

@samvera/hyrax-code-reviewers

@paulwalk paulwalk added the notes-minor Release Notes: Non-breaking features label Oct 26, 2023
Add JS lock files to gitignore

Remove package-lock.json
Copy link
Contributor

@dlpierce dlpierce left a comment

Choose a reason for hiding this comment

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

Thanks for improving the visibility of Samvera and Hyrax!

@dlpierce dlpierce merged commit 5eeb009 into main Nov 2, 2023
4 checks passed
@dlpierce dlpierce deleted the feature_generator_meta_tag branch November 2, 2023 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
notes-minor Release Notes: Non-breaking features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants