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
Update task guids when publisher or extension tag is overwritten? #34
Comments
At the moment, given how the marketplace rejects duplicate ID's, the whole usage of overriding extension Id, Tag, Publisher is broken in this extension when the extension contains build tasks. Experimental branch pushed to: @bryanmacfarlane, @trevorsg, @ericsciple, @willsmythe
Optionally it could use the existing UUID of the task as an input into the generation as well.
The current implementation is hacked in, only works when building from manifest and only when Publisher and ExtensionId are specified as overrides in the tasks configuration. So it needs refactoring to work. It could also be something that This way if someone wants to fork my repo and wants to publish under their own publisher, it will automatically generate unique id's for that publisher and will prevent collisions. |
I'd like to create full DevOps experience for my own extension and I stop on IDs duplication, so, it will be nice to have feature for generate and override tasks ID. |
Got this from the marketplace team:
This would suggest we won't need to regenerate UUID's, which is a good thing! |
This is great news!
…Sent from my iPhone
On Feb 15, 2017, at 8:47 AM, Jesse Houwing ***@***.***> wrote:
Got this from the marketplace team:
The marketplace changes are deployed now. You should be able to able to now publish private extensions without having to change the task id.
This would suggest we won't need to regenerate UUID's, which is a good thing!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
There is another case which is hard to handle. When you have multiple build tasks in your extension, you can use the "Update Task version" switch to update the version of the tasks within the extension. But what if you want to update the major number of one of the tasks (for a breaking change)? You could update the major version of the entire extension, but then all the tasks would have their major versions revved. It would be great if the Create/Publish extension tasks had an option to just update the rev of the build tasks within the extension. That way I could specify 1.0.1 for some tasks and 2.0.1 for other tasks - when the build runs, it will update to 1.0.x and 2.0.x respectively (using the build $rev variable). |
Currently not needed. Closing. |
At the moment the Visual Studio Marketplace prevents uploading the same extension with different ID's if the extension:
It may make sense to use Named Guids to generate a unique guid based on: extensionid, publisherid, taskname.
http://stackoverflow.com/a/5657517/736079
Will need to investigate.
The text was updated successfully, but these errors were encountered: