apache / incubator-devlake

Apache DevLake is an open-source dev data platform to ingest, analyze, and visualize the fragmented data from DevOps tools, extracting insights for engineering excellence, developer experience, and community growth.
https://devlake.apache.org/
Apache License 2.0
2.5k stars 492 forks source link

refactor: hudson.maven.MavenModuleSet is now treated as a scope #7599

Closed sstojak1 closed 2 weeks ago

sstojak1 commented 3 weeks ago

⚠️ Pre Checklist

Please complete ALL items in this checklist, and remove before submitting

Summary

What does this PR do? hudson.maven.MavenModuleSet Jenkins pipeline will now be treated as a scope

Does this close any open issues?

Closes 7598

Screenshots

Include any relevant screenshots here.

Other Information

Any other information that is important to this PR.

d4x1 commented 2 weeks ago

@sstojak1 Have you tested it ? And it works as expected? Please help to fix the CI errors(https://devlake.apache.org/community/MakingContributions/development-workflow#commit-tool This doc will help). Thanks.

klesh commented 2 weeks ago

Looks good to me in terms of a fix. I wonder if it would make more sense to make scope the default? That is, to only match for groups and let the others be scope by default?

klesh commented 2 weeks ago

@sstojak1 BTW, are you interested in joining Apache as a Committer? I would like to invite you if you are up for it. Please reach me out on Slack if you do, my name is "Klesh Wong" on the channel.

sstojak1 commented 2 weeks ago

@klesh makes sense to have scope as a default since there should be more jobs that should be treated as scope then group. I've tweaked the logic a bit by blending the new and old approaches. Please review. WorkflowMultiBranchProject is unique—it has jobs but should be considered as 'scope', hence the extra check in isGroup.

klesh commented 2 weeks ago

@gustavobini Would you like to take a look at the code? Thanks in advance.

gustavobini commented 2 weeks ago

@gustavobini Would you like to take a look at the code? Thanks in advance.

We had talked over Slack about this. It's a good solution. Thanks @sstojak1

klesh commented 2 weeks ago

Thank you all.