Community
Participate
Working Groups
CUrrenlty, most clients implement @AbstractRepositorySettingsPage#isValidUrl@ in very similar ways (eg. check for http and see if it parses as url). Given many repositories can't do much more about checking the url, we should provide a default implementation for it and make it non-abstract. This would ease implementation and is a binary compatible change. API consumers are still able to override/enhance the check if the repository has identifiable parts in the url (eg. http://..../myRepo/)
Sounds reasonable. Do you want to provide a patch?
Pushed change as http://review.mylyn.org/#change,508 Steffen, can you have a look if the special handling in Trac is really needed?
I believe the client implementation in the Trac connector makes the assumption that the URL has a trailing slash. I'd have to look into this in more detail to be sure though.
Created attachment 215173 [details] NEW--bug-376939-provide-default-impl-for-isValidUrl-.patch 1. authored 100% the content they are contributing Yes 2. have the rights to donate the content to EPL Yes 3. contribute the content under the EPL Yes
Created attachment 215174 [details] mylyn/context/zip
Thanks! I have applied the change to master.
Created attachment 215262 [details] mylyn/context/zip
Thanks Steffen.