-
Notifications
You must be signed in to change notification settings - Fork 393
handling identical pack names in different draft pack repositories #509
Comments
My two cents:
Always can let the user choose dynamically on the cli from the options, but seems a little harder to implement |
Question: can we not just use the github-namespaced repo url, as we have been? for example, |
Slight nuance here. This is when you've added two pack repositories to Draft, both with the same name ( handling the
I'm leaning in favour of option 2 with support to give the github-namespaced repo url via You can also imagine that perhaps a pack for python 2 and python 3 may conflict with one another since we're performing "language detection", which can't discern between code that was written for .NET 1.x or .NET 2.x (see Azure/draft#346 for an example how I imagine this might work) e.g. I propose this be the new system:
The user then enters a number, which then For the
The reason why I think How does that look for a UX standpoint? |
@michelleN @bacongobbler I like the proposed UX. My principles are these:
your proposal feels great by both criteria. |
If an application developer adds two repositories and both have a python pack, how do we differentiate between the two for
draft create
and otherwise.Helm handles this by namespacing charts with chart repositories.
chart-repo/chart
. For presentation, we could look into namespacing pack with the pack repository it lives in. That still leaves a question of how we handle collisions up in the air. Also still an open question: What pack and pack repo do we give preference and how they're weighted.The text was updated successfully, but these errors were encountered: