Skip to content

Commit

Permalink
chore: update client version to 0.2.0
Browse files Browse the repository at this point in the history
Signed-off-by: Gaius <[email protected]>
  • Loading branch information
gaius-qi committed Dec 30, 2024
1 parent 14cf937 commit 46a6d0d
Show file tree
Hide file tree
Showing 32 changed files with 8,327 additions and 3,892 deletions.
11,613 changes: 8,065 additions & 3,548 deletions CHANGELOG.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ PROJECT_NAME := "d7y.io/dragonfly/v2"
DFGET_NAME := "dfget"
DFCACHE_NAME := "dfcache"
DFSTORE_NAME := "dfstore"
SEMVER := "2.1.0"
SEMVER := "2.2.0"
VERSION_RELEASE := "1"
PKG := "$(PROJECT_NAME)"
PKG_LIST := $(shell go list ${PKG}/... | grep -v /vendor/ | grep -v '\(/test/\)')
Expand Down
47 changes: 20 additions & 27 deletions build/package/docs/dfcache/dfcache-delete.1
Original file line number Diff line number Diff line change
@@ -1,37 +1,30 @@
.\" Automatically generated by Pandoc 2.13
.\" Automatically generated by Pandoc 3.6.1
.\"
.TH "DFCACHE" "1" "" "Version v2.1.0" "Frivolous \[lq]Dfcache\[rq] Documentation"
.hy
.TH "DFCACHE" "1" "" "Version v2.2.0" "Frivolous \[lq]Dfcache\[rq] Documentation"
.SH NAME
.PP
\f[B]dfcache delete\f[R] \[em] delete file from P2P cache system
.SH SYNOPSIS
.PP
Delete file from P2P cache system.
.IP
.nf
\f[C]
dfcache delete <-i cid> [flags]
\f[R]
.fi
.EX
dfcache delete <\-i cid> [flags]
.EE
.SS OPTIONS
.IP
.nf
\f[C]
-i, --cid string content or cache ID, e.g. sha256 digest of the content
--config string the path of configuration file with yaml extension name, default is /etc/dragonfly/dfcache.yaml, it can also be set by env var: DFCACHE_CONFIG
--console whether logger output records to the stdout
--jaeger string jaeger endpoint url, like: http://localhost:14250/api/traces
--logdir string Dfcache log directory
--pprof-port int listen port for pprof, 0 represents random port (default -1)
--service-name string name of the service for tracer (default \[dq]dragonfly-dfcache\[dq])
-t, --tag string different tags for the same cid will be recognized as different files in P2P network
--timeout duration Timeout for this cache operation, 0 is infinite
--verbose whether logger use debug level
--workhome string Dfcache working directory
-h, --help help for delete
\f[R]
.fi
.EX
\-i, \-\-cid string content or cache ID, e.g. sha256 digest of the content
\-\-config string the path of configuration file with yaml extension name, default is /etc/dragonfly/dfcache.yaml, it can also be set by env var: DFCACHE_CONFIG
\-\-console whether logger output records to the stdout
\-\-jaeger string jaeger endpoint url, like: http://localhost:14250/api/traces
\-\-logdir string Dfcache log directory
\-\-pprof\-port int listen port for pprof, 0 represents random port (default \-1)
\-\-service\-name string name of the service for tracer (default \[dq]dragonfly\-dfcache\[dq])
\-t, \-\-tag string different tags for the same cid will be recognized as different files in P2P network
\-\-timeout duration Timeout for this cache operation, 0 is infinite
\-\-verbose whether logger use debug level
\-\-workhome string Dfcache working directory
\-h, \-\-help help for delete
.EE
.SH SEE ALSO
.IP \[bu] 2
dfcache - the P2P cache client of dragonfly
dfcache \- the P2P cache client of dragonfly
47 changes: 20 additions & 27 deletions build/package/docs/dfcache/dfcache-doc.1
Original file line number Diff line number Diff line change
@@ -1,38 +1,31 @@
.\" Automatically generated by Pandoc 2.13
.\" Automatically generated by Pandoc 3.6.1
.\"
.TH "DFCACHE" "1" "" "Version v2.1.0" "Frivolous \[lq]Dfcache\[rq] Documentation"
.hy
.TH "DFCACHE" "1" "" "Version v2.2.0" "Frivolous \[lq]Dfcache\[rq] Documentation"
.SH NAME
.PP
\f[B]dfcache doc\f[R] \[em] generate documents
.SH SYNOPSIS
.PP
Generate markdown documents for cmd: dfcache.
.IP
.nf
\f[C]
.EX
dfcache doc [flags]
\f[R]
.fi
.EE
.SS OPTIONS
.IP
.nf
\f[C]
-i, --cid string content or cache ID, e.g. sha256 digest of the content
--config string the path of configuration file with yaml extension name, default is /etc/dragonfly/dfcache.yaml, it can also be set by env var: DFCACHE_CONFIG
--console whether logger output records to the stdout
--jaeger string jaeger endpoint url, like: http://localhost:14250/api/traces
--logdir string Dfcache log directory
--pprof-port int listen port for pprof, 0 represents random port (default -1)
--service-name string name of the service for tracer (default \[dq]dragonfly-dfcache\[dq])
-t, --tag string different tags for the same cid will be recognized as different files in P2P network
--timeout duration Timeout for this cache operation, 0 is infinite
--verbose whether logger use debug level
--workhome string Dfcache working directory
-h, --help help for doc
--path string destination dir of generated markdown documents (default \[dq]./\[dq])
\f[R]
.fi
.EX
\-i, \-\-cid string content or cache ID, e.g. sha256 digest of the content
\-\-config string the path of configuration file with yaml extension name, default is /etc/dragonfly/dfcache.yaml, it can also be set by env var: DFCACHE_CONFIG
\-\-console whether logger output records to the stdout
\-\-jaeger string jaeger endpoint url, like: http://localhost:14250/api/traces
\-\-logdir string Dfcache log directory
\-\-pprof\-port int listen port for pprof, 0 represents random port (default \-1)
\-\-service\-name string name of the service for tracer (default \[dq]dragonfly\-dfcache\[dq])
\-t, \-\-tag string different tags for the same cid will be recognized as different files in P2P network
\-\-timeout duration Timeout for this cache operation, 0 is infinite
\-\-verbose whether logger use debug level
\-\-workhome string Dfcache working directory
\-h, \-\-help help for doc
\-\-path string destination dir of generated markdown documents (default \[dq]./\[dq])
.EE
.SH SEE ALSO
.IP \[bu] 2
dfcache - the P2P cache client of dragonfly
dfcache \- the P2P cache client of dragonfly
51 changes: 22 additions & 29 deletions build/package/docs/dfcache/dfcache-export.1
Original file line number Diff line number Diff line change
@@ -1,39 +1,32 @@
.\" Automatically generated by Pandoc 2.13
.\" Automatically generated by Pandoc 3.6.1
.\"
.TH "DFCACHE" "1" "" "Version v2.1.0" "Frivolous \[lq]Dfcache\[rq] Documentation"
.hy
.TH "DFCACHE" "1" "" "Version v2.2.0" "Frivolous \[lq]Dfcache\[rq] Documentation"
.SH NAME
.PP
\f[B]dfcache export\f[R] \[em] export file from P2P cache system
.SH SYNOPSIS
.PP
Export file from P2P cache system.
.IP
.nf
\f[C]
dfcache export <-i cid> <output>|<-O output> [flags]
\f[R]
.fi
.EX
dfcache export <\-i cid> <output>|<\-O output> [flags]
.EE
.SS OPTIONS
.IP
.nf
\f[C]
-i, --cid string content or cache ID, e.g. sha256 digest of the content
--config string the path of configuration file with yaml extension name, default is /etc/dragonfly/dfcache.yaml, it can also be set by env var: DFCACHE_CONFIG
--console whether logger output records to the stdout
--jaeger string jaeger endpoint url, like: http://localhost:14250/api/traces
--logdir string Dfcache log directory
--pprof-port int listen port for pprof, 0 represents random port (default -1)
--service-name string name of the service for tracer (default \[dq]dragonfly-dfcache\[dq])
-t, --tag string different tags for the same cid will be recognized as different files in P2P network
--timeout duration Timeout for this cache operation, 0 is infinite
--verbose whether logger use debug level
--workhome string Dfcache working directory
-h, --help help for export
-l, --local only export file from local cache
-O, --output string export file path
\f[R]
.fi
.EX
\-i, \-\-cid string content or cache ID, e.g. sha256 digest of the content
\-\-config string the path of configuration file with yaml extension name, default is /etc/dragonfly/dfcache.yaml, it can also be set by env var: DFCACHE_CONFIG
\-\-console whether logger output records to the stdout
\-\-jaeger string jaeger endpoint url, like: http://localhost:14250/api/traces
\-\-logdir string Dfcache log directory
\-\-pprof\-port int listen port for pprof, 0 represents random port (default \-1)
\-\-service\-name string name of the service for tracer (default \[dq]dragonfly\-dfcache\[dq])
\-t, \-\-tag string different tags for the same cid will be recognized as different files in P2P network
\-\-timeout duration Timeout for this cache operation, 0 is infinite
\-\-verbose whether logger use debug level
\-\-workhome string Dfcache working directory
\-h, \-\-help help for export
\-l, \-\-local only export file from local cache
\-O, \-\-output string export file path
.EE
.SH SEE ALSO
.IP \[bu] 2
dfcache - the P2P cache client of dragonfly
dfcache \- the P2P cache client of dragonfly
49 changes: 21 additions & 28 deletions build/package/docs/dfcache/dfcache-import.1
Original file line number Diff line number Diff line change
@@ -1,38 +1,31 @@
.\" Automatically generated by Pandoc 2.13
.\" Automatically generated by Pandoc 3.6.1
.\"
.TH "DFCACHE" "1" "" "Version v2.1.0" "Frivolous \[lq]Dfcache\[rq] Documentation"
.hy
.TH "DFCACHE" "1" "" "Version v2.2.0" "Frivolous \[lq]Dfcache\[rq] Documentation"
.SH NAME
.PP
\f[B]dfcache import\f[R] \[em] import file into P2P cache system
.SH SYNOPSIS
.PP
Import file into P2P cache system.
.IP
.nf
\f[C]
dfcache import <-i cid> <file>|<-I file> [flags]
\f[R]
.fi
.EX
dfcache import <\-i cid> <file>|<\-I file> [flags]
.EE
.SS OPTIONS
.IP
.nf
\f[C]
-i, --cid string content or cache ID, e.g. sha256 digest of the content
--config string the path of configuration file with yaml extension name, default is /etc/dragonfly/dfcache.yaml, it can also be set by env var: DFCACHE_CONFIG
--console whether logger output records to the stdout
--jaeger string jaeger endpoint url, like: http://localhost:14250/api/traces
--logdir string Dfcache log directory
--pprof-port int listen port for pprof, 0 represents random port (default -1)
--service-name string name of the service for tracer (default \[dq]dragonfly-dfcache\[dq])
-t, --tag string different tags for the same cid will be recognized as different files in P2P network
--timeout duration Timeout for this cache operation, 0 is infinite
--verbose whether logger use debug level
--workhome string Dfcache working directory
-h, --help help for import
-I, --input string import the given file into P2P network
\f[R]
.fi
.EX
\-i, \-\-cid string content or cache ID, e.g. sha256 digest of the content
\-\-config string the path of configuration file with yaml extension name, default is /etc/dragonfly/dfcache.yaml, it can also be set by env var: DFCACHE_CONFIG
\-\-console whether logger output records to the stdout
\-\-jaeger string jaeger endpoint url, like: http://localhost:14250/api/traces
\-\-logdir string Dfcache log directory
\-\-pprof\-port int listen port for pprof, 0 represents random port (default \-1)
\-\-service\-name string name of the service for tracer (default \[dq]dragonfly\-dfcache\[dq])
\-t, \-\-tag string different tags for the same cid will be recognized as different files in P2P network
\-\-timeout duration Timeout for this cache operation, 0 is infinite
\-\-verbose whether logger use debug level
\-\-workhome string Dfcache working directory
\-h, \-\-help help for import
\-I, \-\-input string import the given file into P2P network
.EE
.SH SEE ALSO
.IP \[bu] 2
dfcache - the P2P cache client of dragonfly
dfcache \- the P2P cache client of dragonfly
45 changes: 19 additions & 26 deletions build/package/docs/dfcache/dfcache-plugin.1
Original file line number Diff line number Diff line change
@@ -1,37 +1,30 @@
.\" Automatically generated by Pandoc 2.13
.\" Automatically generated by Pandoc 3.6.1
.\"
.TH "DFCACHE" "1" "" "Version v2.1.0" "Frivolous \[lq]Dfcache\[rq] Documentation"
.hy
.TH "DFCACHE" "1" "" "Version v2.2.0" "Frivolous \[lq]Dfcache\[rq] Documentation"
.SH NAME
.PP
\f[B]dfcache plugin\f[R] \[em] show plugin
.SH SYNOPSIS
.PP
Show the plugin details of dragonfly.
.IP
.nf
\f[C]
.EX
dfcache plugin [flags]
\f[R]
.fi
.EE
.SS OPTIONS
.IP
.nf
\f[C]
-i, --cid string content or cache ID, e.g. sha256 digest of the content
--config string the path of configuration file with yaml extension name, default is /etc/dragonfly/dfcache.yaml, it can also be set by env var: DFCACHE_CONFIG
--console whether logger output records to the stdout
--jaeger string jaeger endpoint url, like: http://localhost:14250/api/traces
--logdir string Dfcache log directory
--pprof-port int listen port for pprof, 0 represents random port (default -1)
--service-name string name of the service for tracer (default \[dq]dragonfly-dfcache\[dq])
-t, --tag string different tags for the same cid will be recognized as different files in P2P network
--timeout duration Timeout for this cache operation, 0 is infinite
--verbose whether logger use debug level
--workhome string Dfcache working directory
-h, --help help for plugin
\f[R]
.fi
.EX
\-i, \-\-cid string content or cache ID, e.g. sha256 digest of the content
\-\-config string the path of configuration file with yaml extension name, default is /etc/dragonfly/dfcache.yaml, it can also be set by env var: DFCACHE_CONFIG
\-\-console whether logger output records to the stdout
\-\-jaeger string jaeger endpoint url, like: http://localhost:14250/api/traces
\-\-logdir string Dfcache log directory
\-\-pprof\-port int listen port for pprof, 0 represents random port (default \-1)
\-\-service\-name string name of the service for tracer (default \[dq]dragonfly\-dfcache\[dq])
\-t, \-\-tag string different tags for the same cid will be recognized as different files in P2P network
\-\-timeout duration Timeout for this cache operation, 0 is infinite
\-\-verbose whether logger use debug level
\-\-workhome string Dfcache working directory
\-h, \-\-help help for plugin
.EE
.SH SEE ALSO
.IP \[bu] 2
dfcache - the P2P cache client of dragonfly
dfcache \- the P2P cache client of dragonfly
49 changes: 21 additions & 28 deletions build/package/docs/dfcache/dfcache-stat.1
Original file line number Diff line number Diff line change
@@ -1,39 +1,32 @@
.\" Automatically generated by Pandoc 2.13
.\" Automatically generated by Pandoc 3.6.1
.\"
.TH "DFCACHE" "1" "" "Version v2.1.0" "Frivolous \[lq]Dfcache\[rq] Documentation"
.hy
.TH "DFCACHE" "1" "" "Version v2.2.0" "Frivolous \[lq]Dfcache\[rq] Documentation"
.SH NAME
.PP
\f[B]dfcache stat\f[R] \[em] stat checks if a file exists in P2P cache
system
.SH SYNOPSIS
.PP
Stat checks if a file exists in P2P cache system.
.IP
.nf
\f[C]
dfcache stat <-i cid> [flags]
\f[R]
.fi
.EX
dfcache stat <\-i cid> [flags]
.EE
.SS OPTIONS
.IP
.nf
\f[C]
-i, --cid string content or cache ID, e.g. sha256 digest of the content
--config string the path of configuration file with yaml extension name, default is /etc/dragonfly/dfcache.yaml, it can also be set by env var: DFCACHE_CONFIG
--console whether logger output records to the stdout
--jaeger string jaeger endpoint url, like: http://localhost:14250/api/traces
--logdir string Dfcache log directory
--pprof-port int listen port for pprof, 0 represents random port (default -1)
--service-name string name of the service for tracer (default \[dq]dragonfly-dfcache\[dq])
-t, --tag string different tags for the same cid will be recognized as different files in P2P network
--timeout duration Timeout for this cache operation, 0 is infinite
--verbose whether logger use debug level
--workhome string Dfcache working directory
-h, --help help for stat
-l, --local only check task exists locally, and don\[aq]t check other peers in P2P network
\f[R]
.fi
.EX
\-i, \-\-cid string content or cache ID, e.g. sha256 digest of the content
\-\-config string the path of configuration file with yaml extension name, default is /etc/dragonfly/dfcache.yaml, it can also be set by env var: DFCACHE_CONFIG
\-\-console whether logger output records to the stdout
\-\-jaeger string jaeger endpoint url, like: http://localhost:14250/api/traces
\-\-logdir string Dfcache log directory
\-\-pprof\-port int listen port for pprof, 0 represents random port (default \-1)
\-\-service\-name string name of the service for tracer (default \[dq]dragonfly\-dfcache\[dq])
\-t, \-\-tag string different tags for the same cid will be recognized as different files in P2P network
\-\-timeout duration Timeout for this cache operation, 0 is infinite
\-\-verbose whether logger use debug level
\-\-workhome string Dfcache working directory
\-h, \-\-help help for stat
\-l, \-\-local only check task exists locally, and don\[aq]t check other peers in P2P network
.EE
.SH SEE ALSO
.IP \[bu] 2
dfcache - the P2P cache client of dragonfly
dfcache \- the P2P cache client of dragonfly
Loading

0 comments on commit 46a6d0d

Please sign in to comment.