Replies: 1 comment 1 reply
-
I believe the original idea was to streamline model input, assuming that the github user is indeed the model repository owner. Selecting a repository automatically populates the "Name" and "Description" fields. Additionally, when a component license is entered, the "License path" and "Component path" fields are linked to a hierarchical list of the repository's contents. As you type, it provides full path suggestions to the license file or component.
I'm thinking this as well, given that we can no longer assume the github user is the model owner. I'm fine with a simple text field replacing this bit. With a text field (under "Model details" perhaps?) we can likely still capture the repository's filesystem tree to allow easy completion of the license file or component path. If the repository is public, the API endpoint will still return the git tree object even if the user is not the owner. |
Beta Was this translation helpful? Give feedback.
-
For non-admin users, the GitHub address of a model is set by selecting among the user's repos. I don't think that works.
First it assumes that the user owns the model repo which is clearly not going to be the true in many cases. Then that list can be arbitrary long. In my personal case, I currently have over 75 repos (mostly clones of projects I worked on at one point or another) and the list seems to be truncated at the first 20 or so.
@gregcube Can you please share some light as to what the rationale for this was?
I think we'd be better served with a simple text field but I can see quite a bit of effort was put into this functionality and I hate to just throw it out.
Beta Was this translation helpful? Give feedback.
All reactions