-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support names for Updates repositories in product definition #345
Comments
@jcompagner are you interested in working on this? If not I'll take care of this. |
yes i can have a look |
I did not get the update section of the product definition to work with Eclipse Memory Analyzer. Instead I had to use a p2.inf file: This is with a Tycho/Maven build. |
Yes that's a workaround for the current situation, but the goal of this issue is to support this in the Product-definition directly. Under the hood p2 generates similar instructions from the product-definition, but that's an implementation detail.
Great. I'll be there too, so maybe we can have a chat about this topic. :) Since I would like to have support for update-site names in products soon and there is another Tycho 4 release in the end of the month I'm about to implement the support for updateSite-name for P2 now already (in Tycho something similar has to be implemented to have it now, but for that I think it is better to have the 'clean' version already). |
we can have a meet up then in the coming few days.. to see each other face to face is always nice. |
@jcompagner can you tell already If/when you can look into the PDE-Editor support for this feature? |
i will have a look hopefully today, But first i need to look at another PDE issue that suddenly pops up today And this i a problem, because my whole team works like that, we always export to a local dir "workspace/launch_target" and use that local target as our main target for developement So we worked around this by always creating a local target from our main target.. And use that one, then the target never just invalidates because of some connection problems. |
This is now completed and supported in p2 and PDE:
Thanks @jcompagner again for your help on this. |
Just created a new and noteworthy entry for this new feature: |
It should be possible to specify a name for an Repository referenced in the Updates configuration section of a Product.
In P2 this requires a consideration of a name attribute in org.eclipse.equinox.internal.p2.publisher.eclipse.ProductFile,processRepositoryInformation() and when the read repositories are processed.
In PDE the
UpdatesSection
andIRepositoryInfo
need to be enhanced to also support adding a name attribute.@jcompagner since you raised the issue, are you interested in working on this?
Discussed in #342
Originally posted by jcompagner October 2, 2023
Hi,
not sure where the product file belongs to that makes the product (is this platform or rcp? or p2?)
So i asked the question here, in the product file (editor) you can define your repositories where this product builds from (or updates from)
Problem is the name is not asked for, and then when you install it, in the preferences it is displayed very weird, because you have a lot without a name. The name seems kind of a bit mandatory (also in the p2.inf where i now place it)
Is there a reason for that? i tries to just adjust the product xml file by adding "name=xxx" or "displayname=xxx" but that isn't picked up.
The text was updated successfully, but these errors were encountered: