-
Notifications
You must be signed in to change notification settings - Fork 65
Provide information how the devfile registry instance was built #774
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
Comments
@yangcao77 What do you think about this? Do you think it would make sense? |
First of all, I want to clarify that #735 won't introduce breaking change, all changes will be backward compatible. New endpoint and new query property(for registry library APIs) will be introduced to get the new index struct proposed in #735. We will switch the default to return new index struct when all consumers are ready for the move. For this issue, may I know why Odo needs the commit information? |
Yeh, sorry that was wrong. I meant that we are introducing new API, so this is a good chance to do this.
This is not for odo. In general, it is good to know what "version" of the registry is running. |
@kadel I think it's good to have this information stored in registry server, but should not in the index content. I do not want to break our current index struct.
|
Problem is that there is no way to confirm that the payment happened.
That makes sense, adding it into the index was just the first thing that I thought. |
This issue is stale because it has been open for 90 days with no activity. Remove stale label or comment or this will be closed in 60 days. |
Which area this feature is related to?
/area registry
Which functionality do you think we should add?
It would be nice to be able to get information about the source that was used to build the running registry instance.
Why is this needed? Is your feature request related to a problem?
verify the source for devfile registry content
Detailed description:
Describe the solution you'd like
One example of how this could be to add a new field into the index.
The root element in the index is currently an array.
To start adding metadata like this we would need to change a structure a bit.
Instead of defining index as
[]Schema
it could be something like this.
We have a good opportunity to add this as there will be breaking changes introduced with #735 anyway.
The text was updated successfully, but these errors were encountered: