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

apiExtension packageMetadata in compiledRelease #67

Closed
yolile opened this issue Aug 27, 2018 · 5 comments
Closed

apiExtension packageMetadata in compiledRelease #67

yolile opened this issue Aug 27, 2018 · 5 comments

Comments

@yolile
Copy link
Member

yolile commented Aug 27, 2018

When two or more releases from differents publishers are compiled in a compiledRelease how could the meta information from both publishers be included in the compiledRelease? Maybe the packageMetadata should be an array instead of an object?

@jpmckinney jpmckinney added the Community Relates to a regular extension label Aug 29, 2018
@jpmckinney
Copy link
Member

@yolile
Copy link
Member Author

yolile commented Dec 3, 2018

@jpmckinney Honduras goverment is going to publish information from two differents publishers, and then another entity is going to generate and publish the compile release. is it better to create a new extension with the publisher field as an array or update this one?

@duncandewhurst
Copy link

@jpmckinney
Copy link
Member

jpmckinney commented Dec 11, 2018

There are many ways we can possibly do this.

Using just core OCDS, you can do: The publisher of the record package is the entity that generates the compiled release. The packages of the record package links to the release packages of the other two publishers; those release packages have publisher set to those publishers.

For OCDS 1.2, I'm thinking that publisher should be a field on the release, not on the package (see open-contracting/standard#325 (comment)), which will also resolve this issue. The semantics for publisher on the compiled release might be that it's whoever publishes the compiled release, instead of following the regular merge rules (relevant to open-contracting/standard#330).

As for the API extension, I think there are issues with it. I don't think we should recommend it here. As in the comment Duncan linked to, most of the package metadata makes no sense at the release-level.

So, for Honduras, I think the best option is to just use core OCDS as described above.

@jpmckinney jpmckinney added question and removed Community Relates to a regular extension labels Dec 11, 2018
@jpmckinney
Copy link
Member

Closing in favor of open issues on other repos.

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

No branches or pull requests

3 participants