-
Notifications
You must be signed in to change notification settings - Fork 159
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 v2 compatible go projects with submodule as root #594
Conversation
jfrog-qa
commented
Dec 26, 2021
- All tests passed. If this feature is not already covered by the tests, I added new tests.
CLA Assistant Lite bot: I have read the CLA Document and I hereby sign the CLA You can retrigger this bot by commenting recheck in this Pull Request |
...nfo-extractor-go/src/main/java/org/jfrog/build/extractor/go/extractor/GoZipBallStreamer.java
Outdated
Show resolved
Hide resolved
...nfo-extractor-go/src/main/java/org/jfrog/build/extractor/go/extractor/GoZipBallStreamer.java
Show resolved
Hide resolved
...nfo-extractor-go/src/main/java/org/jfrog/build/extractor/go/extractor/GoZipBallStreamer.java
Outdated
Show resolved
Hide resolved
@@ -238,29 +244,59 @@ private boolean isSubFolderOfAnotherModule(String moduleRootDir, String director | |||
* @return True if the entry is a go.mod file which doesn't belong to the project we are packing | |||
*/ | |||
private boolean isSubModule(String entryName) { |
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.
Let's add a unit test for this method.
...nfo-extractor-go/src/main/java/org/jfrog/build/extractor/go/extractor/GoZipBallStreamer.java
Outdated
Show resolved
Hide resolved
...nfo-extractor-go/src/main/java/org/jfrog/build/extractor/go/extractor/GoZipBallStreamer.java
Show resolved
Hide resolved
...nfo-extractor-go/src/main/java/org/jfrog/build/extractor/go/extractor/GoZipBallStreamer.java
Show resolved
Hide resolved
...nfo-extractor-go/src/main/java/org/jfrog/build/extractor/go/extractor/GoZipBallStreamer.java
Outdated
Show resolved
Hide resolved
Please also rename the title of the PR to something more informative than |
...nfo-extractor-go/src/main/java/org/jfrog/build/extractor/go/extractor/GoZipBallStreamer.java
Outdated
Show resolved
Hide resolved
32006cf
to
f699202
Compare
8d79ea9
to
a28768b
Compare
a28768b
to
23d13c3
Compare