-
Notifications
You must be signed in to change notification settings - Fork 14
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
Referencing extensions in ocfl_layout.json #477
Comments
Good point, @pwinckles . |
My understanding was that the intention was to have the value described explicitly in the extension and not necessarily related to the extension name. To be explicit, extension Given, https://github.com/OCFL/extensions#referencing-parameters, perhaps
|
I think it would be desirable for extension ids/keys to be standardized outside individual extension specifications and additionally not equal to the name of the specification file. For the first point, it is easier to create the necessary globally unique extension identifier if identifiers are not assigned arbitrarily within spec texts. It becomes burdensome to inspect each spec individually to see what identifier it's using. For the second point, I do think the identifier should be part of the spec filename, but not equal to it. There are a couple reasons for this:
The extension parameter text that you referenced is currently in an inconsistent state. Part of the language suggests that there are multiple ways to define extension parameters while at the same time stating that the only way to define parameters is through an accompanying json file. I believe it is like this because the inline parameters were removed after the inventory.json was clearly locked down. The current text does not state that storage extension parameters may be defined in |
Deferring by removing the paragraph (and subsequent bullet points) that begins with:
We will create a new ticket outside the 1.0 milestone that refers to this and address this after the 1.0 release. |
I strongly disagree with this change without a replacement mechanism for describing a repository's layout. How is a client supposed to know what to do? By scanning the The problem here is not with |
@pwinckles definitely appreciate your perspective, but by continuing to focus on clarifying extensions we'll never release 1.0. we will address this issue in #482 |
As currently defined, OCFL extensions are unusable. I appreciate wanting to get OCFL 1.0 released, and I appreciate the work you all have put into it, but I think it is a mistake to push it out the door without addressing a handful of problems with the extensions. [edit] Probably not swaying any minds, but I'm only being difficult because I care. |
OK, change of mind in editors' discussion. We will change description of |
@pwinckles we've reversed the decision to remove the We think that the extensions can evolve independently of the actual spec, so the push to get 1.0 out, and the work to improve the actual extensions mechanism can be decoupled. Understanding that the extensions should always define a superset of the OCFL spec, we're keen to not put any backwards dependencies on extensions back into the spec -- I think the |
Definition of the "registered name" for an extension is added in OCFL/extensions#13 |
Thanks @ahankinson @zimeon @neilsjefferies! @ahankinson I don't disagree that they should be decoupled. It just felt like there were a few things that needed to be addressed before for extensions to be minimally viable. I have no further objections apart from the clarification that @neilsjefferies is actively working on addressing. |
When describing
ocfl_layout.json
, the draft OCFL spec reads:The text is unclear what "value" the key must correspond to. Opening the issue here rather than under extensions because my assumption, which may be incorrect, is that the value it is supposed to correspond to is the file name of the extension (eg
0002-fixed-length-n-tuple-trees.md
or0002-fixed-length-n-tuple-trees
) and that this should be clarified in the spec.The text was updated successfully, but these errors were encountered: