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

How to register a new namespace in Fedora after installation? #804

Open
Natkeeran opened this issue Feb 20, 2018 · 6 comments
Open

How to register a new namespace in Fedora after installation? #804

Natkeeran opened this issue Feb 20, 2018 · 6 comments
Labels
Subject: Fedora Related specifically to Fedora, usually should point somewhere to the Fedora project.

Comments

@Natkeeran
Copy link
Contributor

Natkeeran commented Feb 20, 2018

When CLAW/Feodra is installed, the claw.cnd can be configured register prefix-namespaces in Fedora. However, it is not clear how to do that after installation. Also, how can one delete unused/incorrect prefix-namespaces.

References

@dannylamb
Copy link
Contributor

@Natkeeran It gets autoregistered the first time you declare it when ingesting. If a namespace prefix is declared in the RDF when you upload it via POST or PUT, it will get registered. If it's not, you get ns001, ns002, ns003 and so on for each new namespace.

@dannylamb
Copy link
Contributor

Re-reading i see you ask a second question that I missed. TBH I'm not 100% on it, but IIRC there's not much you can do once it's registered.

@whikloj
Copy link
Member

whikloj commented Feb 21, 2018

Just wanted to clarify that the prefix nsXXX just means that is how it appears in the short form, the actual full URI is still there. That prefix really means nothing and registering the additional prefixes in Fedora makes it look nicer but has no actual impact on functionality.

@whikloj
Copy link
Member

whikloj commented Aug 19, 2019

Coming back to this in the discussion around the SQL object persistence PR.

We should stop using the claw.cnd as Fedora now allows dynamic prefix addition and stores most URIs as the full URI.
https://wiki.duraspace.org/display/FEDORA51/Best+Practices+-+RDF+Namespaces

We need to help people stop using the claw.cnd namespaced prefixes because once you use a prefix you have to keep it. So either people with the prefixes must always include the claw.cnd or they need to export and import into a new Fedora without that claw.cnd

@seth-shaw-unlv
Copy link
Contributor

I'm all for using the namespace registry.

Although, if we updated ansible-role-fcrepo to use the custom namespaces, does that force using fedora 5.x? If so, then the default value fcrepo_version needs to bump up from 4.7.2 to a 5.x number.

@whikloj
Copy link
Member

whikloj commented Aug 19, 2019

Hmmmm yes it might, and then all my 🗣 at @ruebot here was actually coming out of the other end 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Subject: Fedora Related specifically to Fedora, usually should point somewhere to the Fedora project.
Projects
Development

No branches or pull requests

5 participants