Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tabacco
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ai3
tools
tabacco
Commits
8aff8b75
Commit
8aff8b75
authored
3 years ago
by
ale
Browse files
Options
Downloads
Plain Diff
Merge branch 'zstd' into 'master'
Switch default compression to zstd Closes
#10
See merge request
!28
parents
828dee6d
b78a9986
No related branches found
No related tags found
1 merge request
!28
Switch default compression to zstd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
debian/control
+2
-1
2 additions, 1 deletion
debian/control
handler_pipe.go
+2
-2
2 additions, 2 deletions
handler_pipe.go
with
5 additions
and
4 deletions
.gitlab-ci.yml
+
1
−
1
View file @
8aff8b75
...
@@ -11,7 +11,7 @@ test:
...
@@ -11,7 +11,7 @@ test:
stage
:
test
stage
:
test
image
:
registry.git.autistici.org/ai3/docker/test/golang:master
image
:
registry.git.autistici.org/ai3/docker/test/golang:master
script
:
script
:
-
apt-get -q update && apt-get -qy install restic
lz4
-
apt-get -q update && apt-get -qy install restic
zstd
-
run-go-test ./...
-
run-go-test ./...
artifacts
:
artifacts
:
when
:
always
when
:
always
...
...
This diff is collapsed.
Click to expand it.
debian/control
+
2
−
1
View file @
8aff8b75
...
@@ -5,7 +5,7 @@ Maintainer: ale <ale@incal.net>
...
@@ -5,7 +5,7 @@ Maintainer: ale <ale@incal.net>
Build-Depends: debhelper-compat (= 13),
Build-Depends: debhelper-compat (= 13),
dh-golang,
dh-golang,
golang-any (>= 1.10),
golang-any (>= 1.10),
lz4
,
zstd
,
restic
restic
Standards-Version: 3.9.6
Standards-Version: 3.9.6
XS-Go-Import-Path: git.autistici.org/ai3/tools/tabacco
XS-Go-Import-Path: git.autistici.org/ai3/tools/tabacco
...
@@ -15,6 +15,7 @@ Architecture: any
...
@@ -15,6 +15,7 @@ Architecture: any
Built-Using: ${misc:Built-Using}
Built-Using: ${misc:Built-Using}
Depends: ${shlibs:Depends},
Depends: ${shlibs:Depends},
${misc:Depends}
${misc:Depends}
Recommends: zstd
Description: Backup manager for distributed systems.
Description: Backup manager for distributed systems.
Backup manager for distributed systems, with a specific
Backup manager for distributed systems, with a specific
focus on multi-tenant (partitioned) services.
focus on multi-tenant (partitioned) services.
This diff is collapsed.
Click to expand it.
handler_pipe.go
+
2
−
2
View file @
8aff8b75
...
@@ -22,8 +22,8 @@ type pipeHandler struct {
...
@@ -22,8 +22,8 @@ type pipeHandler struct {
const
(
const
(
defaultCompress
=
false
defaultCompress
=
false
defaultCompressCmd
=
"
lz4c -3z - -
"
defaultCompressCmd
=
"
zstd -c --rsyncable
"
defaultDecompressCmd
=
"
lz4c -d - -
"
defaultDecompressCmd
=
"
zstd -dcf
"
)
)
func
newPipeHandler
(
name
string
,
params
Params
)
(
Handler
,
error
)
{
func
newPipeHandler
(
name
string
,
params
Params
)
(
Handler
,
error
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment