Skip to content

GeneXus compression module #874

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

Open
wants to merge 52 commits into
base: master
Choose a base branch
from
Open

GeneXus compression module #874

wants to merge 52 commits into from

Conversation

tomas-sexenian
Copy link
Contributor

No description provided.

@tomas-sexenian tomas-sexenian requested a review from iroqueta June 4, 2024 20:24
@genexusbot
Copy link
Collaborator

Cherry pick to beta failed, 1 conflicted file in commit 594547c
  • pom.xml

@genexusbot
Copy link
Collaborator

Manual cherry pick to beta success

@genexusbot
Copy link
Collaborator

Cherry pick to beta success

@genexusbot
Copy link
Collaborator

Cherry pick to beta success

@genexusbot
Copy link
Collaborator

Cherry pick to beta success

@genexusbot
Copy link
Collaborator

Cherry pick to beta success

@genexusbot
Copy link
Collaborator

Cherry pick to beta success

@genexusbot
Copy link
Collaborator

Cherry pick to beta success

@genexusbot
Copy link
Collaborator

Cherry pick to beta success

@genexusbot
Copy link
Collaborator

Cherry pick to beta success

@genexusbot
Copy link
Collaborator

Cherry pick to beta success

@tomas-sexenian
Copy link
Contributor Author

@iroqueta I need regular code review
@sgrampone I need security-related code review

Thanks!

import com.genexus.SdtMessages_Message;
import com.genexus.StructSdtMessages_Message;
import org.apache.commons.compress.compressors.gzip.GzipCompressorOutputStream;
import org.apache.commons.compress.compressors.gzip.GzipParameters;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused import statement

TarArchiveInputStream tis = new TarArchiveInputStream(Files.newInputStream(archive.toPath()));
TarArchiveEntry entry;
byte[] buffer = new byte[8192];
while ((entry = tis.getNextTarEntry()) != null) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'getNextTarEntry()' is deprecated

boolean isTar = false;
try (FileInputStream tempFis = new FileInputStream(tempFile);
TarArchiveInputStream testTar = new TarArchiveInputStream(tempFis)) {
TarArchiveEntry testEntry = testTar.getNextTarEntry();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'getNextTarEntry()' is deprecated

TarArchiveInputStream tarInput = new TarArchiveInputStream(tarFis)) {

TarArchiveEntry entry;
while ((entry = tarInput.getNextTarEntry()) != null) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'getNextTarEntry()' is deprecated

Copy link
Collaborator

@iroqueta iroqueta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check comments

@genexusbot
Copy link
Collaborator

Cherry pick to beta success

iroqueta
iroqueta previously approved these changes Mar 19, 2025
@genexusbot
Copy link
Collaborator

Cherry pick to beta success

@genexusbot
Copy link
Collaborator

Cherry pick to beta success

@genexusbot
Copy link
Collaborator

Cherry pick to beta success

sgrampone
sgrampone previously approved these changes Apr 8, 2025
Copy link
Contributor

@sgrampone sgrampone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All the concerns that were raised have now been addressed and resolved

@genexusbot
Copy link
Collaborator

Cherry pick to beta success

@genexusbot
Copy link
Collaborator

Cherry pick to beta success

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants