-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Add support for updating dependencies in target files #6913
base: main
Are you sure you want to change the base?
Conversation
Hi @laeubi, thanks for working on this. Regarding test cases, I recommend you inspire on existing test case. For example, you can change any of the existing selectors to something incorrect, and see which tests fail (hopefully, otherwise those selectors would be uncovered by tests... 😅). That should give you the relevant tests covering the implementation of those selectors that you can use as an inspiration. |
Unfortunately Github doesn't have #likes so I just post this comment as token of appreciation |
You have reactions and that's pretty close 😄 |
I rebased now on current |
Thanks for working on this! Overall I think the PR looks good, but I don't know much about eclipse target files and their format, do you have any docs that you'd recommend so I can read up on it a bit? |
@jurre first, feel free to ask any question about the format I can provide examples/insights if needed (I'm just a total newbie on ruby what makes it quite hard to adjust things). There is some official documentation here: but it is all a bit generic as usually users use the UI and do not really fiddle around with the details of serialization format, but it is also quite simple:
|
Thanks! I notice the Maven tests and the linter are failing, would you mind taking a look at those? |
I'll try to look at it, but as said my ruby skills are quite limited so I first need to understand how all these works, if someone mor familiar with rubby could take a look and maybe give some hints it would be helpfull! |
@jurre I now was able to fix the issue with the test and also other checks are all green now so I think it would be ready for review. |
@jurre what would be the next steps for this to become merged? |
@laeubi someone on my team will deploy the changes to production, monitor to ensure they don't introduce regressions and then merge the changes in |
Is there an update how it is working? :) |
These changes have not been deployed yet, so no update available, hoping someone will get to it soon 👍 |
The eclipse-pde target files (extension .target, content is xml) supports for a while to also mention maven dependencies. This enhances the file fetcher to scan for target files in a repository and the file parser to parse any maven type location. Fix dependabot#4682
Are there any updates yet? :) |
Can you give us any update on this? It would be really nice to have this. :) |
@jurre Can this be deployed now? Anything we can help with? |
@tivervac , if you could help with resolving the conflicts, we can take a stab at getting it merged. Thanks. |
The eclipse-pde target files (extension .target, content is xml) supports for a while to also mention maven dependencies.
This enhances the file fetcher to scan for target files in a repository and the file parser to parse any maven type location.
Fix #4682
I'm creating this as a draft as it is missing a test case, this is my first time using ruby, so any help / hints would be appreciated.