-
Notifications
You must be signed in to change notification settings - Fork 13
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
Cleanup should ignore artifacts which don't match the aggregator property list #143
Comments
I just tried to reproduce this. But for me this works. So I do need a bit more information. Or if possible a sample channel. Do you have the P2 Metadata aspect active in this channel? |
It works in a new created channel, so I removed aspects until it worked in my update site channel. Reason was the cleanup aspect. |
Actually the core information aspect should provide Can you make a test of the cleanup with the "Test" button, this should give a pretty good overview of what will happen during the clean up. |
I understand the reason for the effect. But this means we can have either a category in the update site, or having automatic cleanup. Right? I smell a missing feature ;-) |
It always smells like missing features ... and I really hope they small like 🍔 So if your are bound to using Without having tested it, there may be a way to use an additional property, assign it to the category and include this in the list of aggregating fields. Since this should collapse to an empty string for OSGi bundles and would not make a difference then. |
For OSGI bundles, the core:name is the filename. So this can not be used for aggregation, because it contains the version. |
So in the end, if the artifacts does not have the property So I could add a feature that an artifact is only considered for cleanup if "all aggregation properties are present". |
Just as a side note ... I am currently working on a feature to actually trigger the clean up in different instances (per channel) at different times (timer, artifact upload, …) However, this will take a bit longer to implement and will not make it into 0.11.x and 0.12.x. |
This could solve my requirement. In the mean time I will disable the cleanup and manually delete old snapshot bundles. (Every commit adds a new bundle with new qualifier) |
Version 0.11.6
After generating a P2 feature or category or uploading a category.xml, there is no feature or category shown in channel content.
Accessing the channel via eclipse does not show category or feature.
No erro shown in log.
The text was updated successfully, but these errors were encountered: