tycho icon indicating copy to clipboard operation
tycho copied to clipboard

Bug 568070 - Add a repository-source-plugin

Open laeubi opened this issue 4 years ago • 5 comments

See https://bugs.eclipse.org/bugs/show_bug.cgi?id=568070

Currently we can generate sources for bundles and sources for features but repositories must be configured manually.

It seems logical to add a plugin (or option) that automatically adds required .source featues/plugins to category.xml

laeubi avatar Apr 09 '21 17:04 laeubi

Isn't https://github.com/eclipse/tycho/issues/926 effectively a duplicate of this issue? At least I think that the solution you proposed with https://github.com/eclipse/tycho/pull/1120 adds the option you mentioned above?

HannesWell avatar Jul 10 '22 11:07 HannesWell

This is more like the bundle/feature source generated for a category.xml, so sources will be visible while the other ticket the source will be included but not visible in the update-site.

laeubi avatar Jul 10 '22 12:07 laeubi

I like the general idea a lot, but I don't think it should be a plugin, but instead an includeSources flag on assemble-repository.

mickaelistria avatar Jul 10 '22 19:07 mickaelistria

I just noticed https://github.com/eclipse/tycho/pull/1120 , which seems to cover this story better than initially described,

mickaelistria avatar Jul 10 '22 20:07 mickaelistria

I think it could be more a Mojo in the exiting tycho-source plugin.

As described above, https://github.com/eclipse/tycho/pull/1120 is about the assemble-repository including the sources in the repository so they are, for example available for target platform resolution, while this is to enhance an update-site so one could install the source feature.

laeubi avatar Jul 11 '22 05:07 laeubi