I'm going to develop a feature to keep the Manifest files of the application updated when the target platform changes. Is this a feature that the community might be interested in? Is
it interesting idea, once finished, to commit this modification to Gerrit?
I think it's going to be technically quite difficult, since Tycho needs to read MANIFEST.MF files and resolve target platform very early (as a consequence of
https://bugs.eclipse.org/bugs/show_bug.cgi?id=353889 ), and that doesn't leave much room for changing the MANIFEST.MF file and make this target-platform properly updated.
That said, it might work (because Tycho actually re-resolve the TP a bit later); it's still worth trying.
I'm personally not very enthusiastic about making this a feature of Tycho, because the workflow you mention with automatically changing versions in MANIFEST.MF sounds like a bad OSGi practice. OSGi and Eclipse development models have strong semantics about dependencies and version ranges, and anything that automates them without developer control or understanding is basically putting a high risk on quality/reusability and other strong values of this model.
Does this step really need to be performed at build time, or can it be a preliminary step? Does it need to be automated or can it be done manually? Usually, the right target for anything that's about editing MANIFEST.MF is PDE.
Cheers,