Skip to content

Stop building source features#3127

Merged
akurtakov merged 1 commit intoeclipse-platform:masterfrom
akurtakov:master
Jul 26, 2025
Merged

Stop building source features#3127
akurtakov merged 1 commit intoeclipse-platform:masterfrom
akurtakov:master

Conversation

@akurtakov
Copy link
Copy Markdown
Member

They are not deployed and deprecated in Tycho.

They are not deployed and deprecated in Tycho.
@merks
Copy link
Copy Markdown
Contributor

merks commented Jul 26, 2025

What about these?

image

Is there a risk that we might just pick old ones from the baseline and not noticed that these aren't being built?

It's a little hard to find references to source features in features.

Do we still build the equinox-sdk product for something?

@akurtakov
Copy link
Copy Markdown
Member Author

They will still build as the config is all through the codebase.
Equinox: https://github.com/eclipse-equinox/equinox/blob/5c20643d899ff73bbd45baac0d0679e31bbf4c27/pom.xml#L246
P2: https://github.com/eclipse-equinox/p2/blob/c68f680530d11d6a31419e88653d083a2b28ee76/pom.xml#L110

With this PR I'm simply cleaning the build to not produce artifacts that are no longer published. We will see what will be on the line for removal next time there is a slot for this work.

@github-actions
Copy link
Copy Markdown
Contributor

Test Results

 2 778 files  ±0   2 778 suites  ±0   1h 34m 20s ⏱️ -42s
 7 932 tests ±0   7 703 ✅ ±0  228 💤 ±0  1 ❌ ±0 
23 351 runs  ±0  22 604 ✅ ±0  746 💤 ±0  1 ❌ ±0 

For more details on these failures, see this check.

Results for commit ed8ca48. ± Comparison against base commit 72e362c.

@akurtakov
Copy link
Copy Markdown
Member Author

Failing MacOS test is unrelated. Merging.

@akurtakov akurtakov merged commit e0d1ad9 into eclipse-platform:master Jul 26, 2025
16 of 18 checks passed
@ruspl-afed
Copy link
Copy Markdown
Contributor

Where can I read more about this new approach and what is required from other projects @akurtakov @merks ?

@merks
Copy link
Copy Markdown
Contributor

merks commented Jul 26, 2025

https://www.eclipse.org/lists/simrel-dev/msg00072.html

Also Tycho is tentatively planning to remove support producing source features:

eclipse-tycho/tycho#5137

So you should make long term plans to accommodate these changes, or provide a compelling reason on the above issue why you cannot live without that Tycho support.

In general, it's already possible to specify that you want a repository to automatically include corresponding source bundles for all binary bundles. Similarly, for a product you can specify that you want to install all corresponding source bundles (which is probably a bad design but your choice). Hence there is seemingly no compelling need for source features themselves.


I think no one is paying attention so they will find that by the time they have a compelling reason for why they need source features the support will already removed.

The assertion/assumption is that source features are generally (quite/largely) useless because:

  • You can specify in Tycho to build a product that includes all available sources (which I did in several EPP package).
  • You can specify in Tycho to build a p2 repository that includes all available source of the things otherwise includes in the repositories (which the Platform has been doing for quite some time).

So for what reason does one need features that include bundles sources and in particular also source features themselves?

  • So that someone can install it in an IDE to have selectively the sources for everything in that feature, and then the user of IDE can use the IDE as their target platform!

But that's really not not so compelling. Or?

@ruspl-afed
Copy link
Copy Markdown
Contributor

Thank you for so comprehensive answer @merks and sorry for missing the corresponding notice in simrel-dev

For me it is good news to stop maintaining source features, because it will reduce the support effort.

@laeubi
Copy link
Copy Markdown
Contributor

laeubi commented Jul 28, 2025

@ruspl-afed @merks the mojo is now marked as deprecated in Tycho 5 and mentions in the list for removals here:

https://github.com/eclipse-tycho/tycho/blob/tycho-5.0.x/REMOVAL.MD

if you Think we should adjust or enhance the note please fell free to propose a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants