-
Notifications
You must be signed in to change notification settings - Fork 751
fix(amazonq): Include mvn and gradle files in repo archives #6300
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
Conversation
|
packages/amazonq/.changes/next-release/Bug Fix-993929aa-5dd5-440a-9150-8ae5ba5f56ac.json
Outdated
Show resolved
Hide resolved
| return true | ||
| } | ||
| for (const subname of wellKnownSubnames) { | ||
| if (filename.includes(subname)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is a very loose check.
surely these changes deserve a test...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this implicitness was intentional, as I wouldn't want to chase down specific extensions/file names for them. but we could also just include the missing file names and extensions. updated to the latter and added some tests.
|
LGTM after lint issues are fixed |
|
merging latest master (again) will fix the "tech debt" test failure. there are still lint issues that need to be fixed here. |
|
@osdemah E2E and Integ tests are failing after merging this (I forgot to run them for this PR). |
## Problem mvn and gradle files are not included in repo archives for Q. ## Solution Add them to the `isCodeFile()` condition.
## Problem mvn and gradle files are not included in repo archives for Q. ## Solution Add them to the `isCodeFile()` condition.
Problem
mvn and gradle files are not included in repo archives for Q.
Solution
Add a
wellKnownSubnameslist to include files withmvnandgradlein their path.feature/xbranches will not be squash-merged at release time.