Skip to content
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

More compress options #310

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

rektide
Copy link

@rektide rektide commented Feb 22, 2022

Add zstd, lzop, lzma, lzip options. Add auto for pack.

@rektide rektide force-pushed the more-compress-options branch from c74767f to 49a5891 Compare February 22, 2022 01:35
actions/pack_action.go Show resolved Hide resolved
log.Printf("Compressing to %s\n", outfile)
return debos.Command{}.Run("Packing", "tar", tarOpt, outfile,
return debos.Command{}.Run("Packing", "tar", "cf", compressOpt outfile,
Copy link
Member

Choose a reason for hiding this comment

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

Nit: no comma between arguments

archiver.go Show resolved Hide resolved
@evelikov
Copy link

If we opt for libarchive (see #316) we could transparently support these formats, without adding extra code to debos. It's a very tempting, but bear in mind, I'm not sure if my initial idea will be accepted.

@obbardc
Copy link
Member

obbardc commented Oct 12, 2022

bors r+

bors bot added a commit that referenced this pull request Oct 12, 2022
282: actions: overlay: Log using action log functions r=obbardc a=obbardc

Currently the overlay action prints directly to stdout, which
ends up not following the standard output format the other
actions follow. Let's clean this up by using the action's
existing logging functions rather than printing directly
to stdout.

Signed-off-by: Christopher Obbard <[email protected]>

310: More compress options r=obbardc a=rektide

Add `zstd`, `lzop`, `lzma`, `lzip` options. Add `auto` for pack.

Co-authored-by: Christopher Obbard <[email protected]>
Co-authored-by: rektide de la faye <[email protected]>
@bors
Copy link
Contributor

bors bot commented Oct 12, 2022

Build failed (retrying...):

bors bot added a commit that referenced this pull request Oct 12, 2022
310: More compress options r=obbardc a=rektide

Add `zstd`, `lzop`, `lzma`, `lzip` options. Add `auto` for pack.

Co-authored-by: rektide de la faye <[email protected]>
@bors
Copy link
Contributor

bors bot commented Oct 12, 2022

Build failed:

@obbardc
Copy link
Member

obbardc commented Jul 25, 2023

@rektide Can you rebase onto latest main & fix the conflicts ?

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

Successfully merging this pull request may close these issues.

3 participants