jstastny-cz opened a new issue, #3731:
URL: https://github.com/apache/incubator-kie-tools/issues/3731
There are deficiencies in scope of supported import URLs for Bitbucket
snippets. Below are URL variations that are all valid and depending on path
through which you navigate in Bitbucket UI, all are presented to user, thus
should be covered.
- bitbucket snippets url variations:
- snippetName should be optional in URLs, following are valid URLs for
full-snippet import
- https://bitbucket.org/ststnjn/workspace/snippets/aqox46/
- https://bitbucket.org/snippets/ststnjn/aqox46
- snippet should show different url on creation? Currently passing
clone_url to the onSuccess callback, maybe it should be the html one.
- file hash `#file-[filename]` should be checked for both kinds of snippet
urls below
-
https://bitbucket.org/ststnjn/workspace/snippets/aqox46/untitled-folder(.git)
- https://bitbucket.org/snippets/ststnjn/aqox46/untitled-folder(.git)
- https://bitbucket.org/ststnjn/workspace/snippets/aqox46/
- https://bitbucket.org/snippets/ststnjn/aqox46
With that it would be good to cover by unit tests checking representative
set of URL options.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]