chore: dragonfly updates version to v2.0.5 (#1498)
Signed-off-by: Gaius <gaius.qi@gmail.com>
This commit is contained in:
parent
642cc5d0f3
commit
ebb9296eb9
|
|
@ -26,3 +26,6 @@ jobs:
|
|||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
filesizelimit: "524288"
|
||||
exclusionPatterns: |
|
||||
deploy/helm-charts/*
|
||||
manager/console/*
|
||||
|
|
|
|||
170
CHANGELOG.md
170
CHANGELOG.md
|
|
@ -1,6 +1,150 @@
|
|||
<a name="unreleased"></a>
|
||||
## [Unreleased]
|
||||
|
||||
### Feat
|
||||
- scheduler adds filter range limit ([#1497](https://github.com/dragonflyoss/Dragonfly2/issues/1497))
|
||||
|
||||
### Fix
|
||||
- random vertices ([#1496](https://github.com/dragonflyoss/Dragonfly2/issues/1496))
|
||||
|
||||
|
||||
<a name="v2.0.5-rc.0"></a>
|
||||
## [v2.0.5-rc.0] - 2022-07-27
|
||||
### Feat
|
||||
- scheduler set workhome ([#1493](https://github.com/dragonflyoss/Dragonfly2/issues/1493))
|
||||
|
||||
### Fix
|
||||
- dfstore command-line tool name ([#1492](https://github.com/dragonflyoss/Dragonfly2/issues/1492))
|
||||
|
||||
|
||||
<a name="v2.0.5-beta.5"></a>
|
||||
## [v2.0.5-beta.5] - 2022-07-26
|
||||
### Fix
|
||||
- oss client judge directory bug ([#1488](https://github.com/dragonflyoss/Dragonfly2/issues/1488))
|
||||
- dfdaemon unix socket ([#1489](https://github.com/dragonflyoss/Dragonfly2/issues/1489))
|
||||
|
||||
### Refactor
|
||||
- set and dag with generics ([#1490](https://github.com/dragonflyoss/Dragonfly2/issues/1490))
|
||||
|
||||
|
||||
<a name="v2.0.5-beta.4"></a>
|
||||
## [v2.0.5-beta.4] - 2022-07-25
|
||||
### Feat
|
||||
- remove test print
|
||||
|
||||
### Fix
|
||||
- init storage error ([#1486](https://github.com/dragonflyoss/Dragonfly2/issues/1486))
|
||||
- back source error ([#1485](https://github.com/dragonflyoss/Dragonfly2/issues/1485))
|
||||
- keepalive with ip
|
||||
|
||||
### Refactor
|
||||
- cache key for peer ([#1483](https://github.com/dragonflyoss/Dragonfly2/issues/1483))
|
||||
- scheduler training configuration
|
||||
- dag GetSourceVertices and GetSinkVertices func
|
||||
|
||||
### Test
|
||||
- find parent with ancestor ([#1482](https://github.com/dragonflyoss/Dragonfly2/issues/1482))
|
||||
|
||||
|
||||
<a name="v2.0.5-beta.3"></a>
|
||||
## [v2.0.5-beta.3] - 2022-07-22
|
||||
### Feat
|
||||
- rename steal peers to candidate peers ([#1476](https://github.com/dragonflyoss/Dragonfly2/issues/1476))
|
||||
- scheduler merge end of piece and piece from seed peer ([#1474](https://github.com/dragonflyoss/Dragonfly2/issues/1474))
|
||||
|
||||
|
||||
<a name="v2.0.5-beta.2"></a>
|
||||
## [v2.0.5-beta.2] - 2022-07-21
|
||||
### Feat
|
||||
- dfdaemon add default healthy config ([#1472](https://github.com/dragonflyoss/Dragonfly2/issues/1472))
|
||||
- dag adds LenVertex and RangeVertex func ([#1470](https://github.com/dragonflyoss/Dragonfly2/issues/1470))
|
||||
|
||||
### Fix
|
||||
- upload_manager write header in time ([#1471](https://github.com/dragonflyoss/Dragonfly2/issues/1471))
|
||||
- infinite loop in peer.Ancestors() ([#1469](https://github.com/dragonflyoss/Dragonfly2/issues/1469))
|
||||
|
||||
|
||||
<a name="v2.0.5-beta.1"></a>
|
||||
## [v2.0.5-beta.1] - 2022-07-18
|
||||
### Feat
|
||||
- generate dag mock
|
||||
- add directed acyclic graph package ([#1468](https://github.com/dragonflyoss/Dragonfly2/issues/1468))
|
||||
|
||||
### Fix
|
||||
- upload_manager write header immediately when it is ready ([#1466](https://github.com/dragonflyoss/Dragonfly2/issues/1466))
|
||||
|
||||
|
||||
<a name="v2.0.5-beta.0"></a>
|
||||
## [v2.0.5-beta.0] - 2022-07-14
|
||||
### Feat
|
||||
- proxy add defaultTag field ([#1462](https://github.com/dragonflyoss/Dragonfly2/issues/1462))
|
||||
- manager support postgres ([#1459](https://github.com/dragonflyoss/Dragonfly2/issues/1459))
|
||||
- use os.PathSeparator to generate object key
|
||||
- scheduler add data dir ([#1453](https://github.com/dragonflyoss/Dragonfly2/issues/1453))
|
||||
|
||||
### Fix
|
||||
- metrics reduces labels ([#1457](https://github.com/dragonflyoss/Dragonfly2/issues/1457))
|
||||
|
||||
|
||||
<a name="v2.0.5-alpha.3"></a>
|
||||
## [v2.0.5-alpha.3] - 2022-07-12
|
||||
### Chore
|
||||
- check header length before update ([#1445](https://github.com/dragonflyoss/Dragonfly2/issues/1445))
|
||||
|
||||
### Feat
|
||||
- dfdaemon is compatible with v2.0.2 ([#1452](https://github.com/dragonflyoss/Dragonfly2/issues/1452))
|
||||
- add slices util package
|
||||
- reload proxy option ([#1443](https://github.com/dragonflyoss/Dragonfly2/issues/1443))
|
||||
- if peer back-to-source failed, return source metadata. ([#1444](https://github.com/dragonflyoss/Dragonfly2/issues/1444))
|
||||
- report peer result with source error detail ([#1439](https://github.com/dragonflyoss/Dragonfly2/issues/1439))
|
||||
|
||||
### Fix
|
||||
- depth limit ([#1451](https://github.com/dragonflyoss/Dragonfly2/issues/1451))
|
||||
- dfpath creates redundant directories ([#1446](https://github.com/dragonflyoss/Dragonfly2/issues/1446))
|
||||
|
||||
### Refactor
|
||||
- rewrite math max and min with generics ([#1447](https://github.com/dragonflyoss/Dragonfly2/issues/1447))
|
||||
|
||||
|
||||
<a name="v2.0.5-alpha.2"></a>
|
||||
## [v2.0.5-alpha.2] - 2022-07-07
|
||||
### Chore
|
||||
- update test/tools/no-content-length/main.go ([#1440](https://github.com/dragonflyoss/Dragonfly2/issues/1440))
|
||||
|
||||
### Fix
|
||||
- release package name ([#1442](https://github.com/dragonflyoss/Dragonfly2/issues/1442))
|
||||
|
||||
|
||||
<a name="v2.0.5-alpha.1"></a>
|
||||
## [v2.0.5-alpha.1] - 2022-07-07
|
||||
### Feat
|
||||
- add dfstore command ([#1441](https://github.com/dragonflyoss/Dragonfly2/issues/1441))
|
||||
- back source error detail ([#1437](https://github.com/dragonflyoss/Dragonfly2/issues/1437))
|
||||
- change local cache ttl ([#1436](https://github.com/dragonflyoss/Dragonfly2/issues/1436))
|
||||
- if service can not found fqdn, replace fqdn with hostname ([#1435](https://github.com/dragonflyoss/Dragonfly2/issues/1435))
|
||||
|
||||
|
||||
<a name="v2.0.5-alpha.0"></a>
|
||||
## [v2.0.5-alpha.0] - 2022-07-05
|
||||
### Chore
|
||||
- upgrade kind node version ([#1433](https://github.com/dragonflyoss/Dragonfly2/issues/1433))
|
||||
- update docker compose ([#1431](https://github.com/dragonflyoss/Dragonfly2/issues/1431))
|
||||
- exit when receive context done ([#1432](https://github.com/dragonflyoss/Dragonfly2/issues/1432))
|
||||
- update codeql version ([#1428](https://github.com/dragonflyoss/Dragonfly2/issues/1428))
|
||||
|
||||
### Feat
|
||||
- remove errors package ([#1434](https://github.com/dragonflyoss/Dragonfly2/issues/1434))
|
||||
- concurrent multiple pieces back source ([#1426](https://github.com/dragonflyoss/Dragonfly2/issues/1426))
|
||||
|
||||
### Fix
|
||||
- seed task metric panic ([#1427](https://github.com/dragonflyoss/Dragonfly2/issues/1427))
|
||||
|
||||
|
||||
<a name="v2.0.4"></a>
|
||||
## [v2.0.4] - 2022-07-01
|
||||
### Chore
|
||||
- release v2.0.4 ([#1425](https://github.com/dragonflyoss/Dragonfly2/issues/1425))
|
||||
|
||||
|
||||
<a name="v2.0.4-rc.3"></a>
|
||||
## [v2.0.4-rc.3] - 2022-06-30
|
||||
|
|
@ -921,11 +1065,11 @@
|
|||
- when cdn download failed, scheduler should set cdn peer state PeerStateFailed ([#1067](https://github.com/dragonflyoss/Dragonfly2/issues/1067))
|
||||
|
||||
|
||||
<a name="v2.0.2-rc.5"></a>
|
||||
## [v2.0.2-rc.5] - 2022-02-14
|
||||
|
||||
<a name="v2.0.2-rc.6"></a>
|
||||
## [v2.0.2-rc.6] - 2022-02-14
|
||||
|
||||
<a name="v2.0.2-rc.5"></a>
|
||||
## [v2.0.2-rc.5] - 2022-02-14
|
||||
### Chore
|
||||
- enable range feature gate in e2e ([#1059](https://github.com/dragonflyoss/Dragonfly2/issues/1059))
|
||||
- add content length for fast stream peer task ([#1061](https://github.com/dragonflyoss/Dragonfly2/issues/1061))
|
||||
|
|
@ -1854,7 +1998,19 @@
|
|||
- idgen add digest ([#243](https://github.com/dragonflyoss/Dragonfly2/issues/243))
|
||||
|
||||
|
||||
[Unreleased]: https://github.com/dragonflyoss/Dragonfly2/compare/v2.0.4-rc.3...HEAD
|
||||
[Unreleased]: https://github.com/dragonflyoss/Dragonfly2/compare/v2.0.5-rc.0...HEAD
|
||||
[v2.0.5-rc.0]: https://github.com/dragonflyoss/Dragonfly2/compare/v2.0.5-beta.5...v2.0.5-rc.0
|
||||
[v2.0.5-beta.5]: https://github.com/dragonflyoss/Dragonfly2/compare/v2.0.5-beta.4...v2.0.5-beta.5
|
||||
[v2.0.5-beta.4]: https://github.com/dragonflyoss/Dragonfly2/compare/v2.0.5-beta.3...v2.0.5-beta.4
|
||||
[v2.0.5-beta.3]: https://github.com/dragonflyoss/Dragonfly2/compare/v2.0.5-beta.2...v2.0.5-beta.3
|
||||
[v2.0.5-beta.2]: https://github.com/dragonflyoss/Dragonfly2/compare/v2.0.5-beta.1...v2.0.5-beta.2
|
||||
[v2.0.5-beta.1]: https://github.com/dragonflyoss/Dragonfly2/compare/v2.0.5-beta.0...v2.0.5-beta.1
|
||||
[v2.0.5-beta.0]: https://github.com/dragonflyoss/Dragonfly2/compare/v2.0.5-alpha.3...v2.0.5-beta.0
|
||||
[v2.0.5-alpha.3]: https://github.com/dragonflyoss/Dragonfly2/compare/v2.0.5-alpha.2...v2.0.5-alpha.3
|
||||
[v2.0.5-alpha.2]: https://github.com/dragonflyoss/Dragonfly2/compare/v2.0.5-alpha.1...v2.0.5-alpha.2
|
||||
[v2.0.5-alpha.1]: https://github.com/dragonflyoss/Dragonfly2/compare/v2.0.5-alpha.0...v2.0.5-alpha.1
|
||||
[v2.0.5-alpha.0]: https://github.com/dragonflyoss/Dragonfly2/compare/v2.0.4...v2.0.5-alpha.0
|
||||
[v2.0.4]: https://github.com/dragonflyoss/Dragonfly2/compare/v2.0.4-rc.3...v2.0.4
|
||||
[v2.0.4-rc.3]: https://github.com/dragonflyoss/Dragonfly2/compare/v2.0.4-rc.1...v2.0.4-rc.3
|
||||
[v2.0.4-rc.1]: https://github.com/dragonflyoss/Dragonfly2/compare/v2.0.4-rc.2...v2.0.4-rc.1
|
||||
[v2.0.4-rc.2]: https://github.com/dragonflyoss/Dragonfly2/compare/v2.0.4-rc.0...v2.0.4-rc.2
|
||||
|
|
@ -1899,9 +2055,9 @@
|
|||
[v2.0.2-rc.10]: https://github.com/dragonflyoss/Dragonfly2/compare/v2.0.2-rc.9...v2.0.2-rc.10
|
||||
[v2.0.2-rc.9]: https://github.com/dragonflyoss/Dragonfly2/compare/v2.0.2-rc.8...v2.0.2-rc.9
|
||||
[v2.0.2-rc.8]: https://github.com/dragonflyoss/Dragonfly2/compare/v2.0.2-rc.7...v2.0.2-rc.8
|
||||
[v2.0.2-rc.7]: https://github.com/dragonflyoss/Dragonfly2/compare/v2.0.2-rc.5...v2.0.2-rc.7
|
||||
[v2.0.2-rc.5]: https://github.com/dragonflyoss/Dragonfly2/compare/v2.0.2-rc.6...v2.0.2-rc.5
|
||||
[v2.0.2-rc.6]: https://github.com/dragonflyoss/Dragonfly2/compare/v2.0.2-rc.4...v2.0.2-rc.6
|
||||
[v2.0.2-rc.7]: https://github.com/dragonflyoss/Dragonfly2/compare/v2.0.2-rc.6...v2.0.2-rc.7
|
||||
[v2.0.2-rc.6]: https://github.com/dragonflyoss/Dragonfly2/compare/v2.0.2-rc.5...v2.0.2-rc.6
|
||||
[v2.0.2-rc.5]: https://github.com/dragonflyoss/Dragonfly2/compare/v2.0.2-rc.4...v2.0.2-rc.5
|
||||
[v2.0.2-rc.4]: https://github.com/dragonflyoss/Dragonfly2/compare/v2.0.2-rc.3...v2.0.2-rc.4
|
||||
[v2.0.2-rc.3]: https://github.com/dragonflyoss/Dragonfly2/compare/v2.0.2-rc.2...v2.0.2-rc.3
|
||||
[v2.0.2-rc.2]: https://github.com/dragonflyoss/Dragonfly2/compare/v2.0.2-rc.1...v2.0.2-rc.2
|
||||
|
|
|
|||
2
Makefile
2
Makefile
|
|
@ -16,7 +16,7 @@ PROJECT_NAME := "d7y.io/dragonfly/v2"
|
|||
DFGET_NAME := "dfget"
|
||||
DFCACHE_NAME := "dfcache"
|
||||
DFSTORE_NAME := "dfstore"
|
||||
SEMVER := "2.0.4"
|
||||
SEMVER := "2.0.5"
|
||||
VERSION_RELEASE := "1"
|
||||
PKG := "$(PROJECT_NAME)"
|
||||
PKG_LIST := $(shell go list ${PKG}/... | grep -v /vendor/ | grep -v '\(/test/\)')
|
||||
|
|
|
|||
|
|
@ -1,27 +1,20 @@
|
|||
.\" Automatically generated by Pandoc 2.13
|
||||
.\"
|
||||
.TH "DFCACHE" "1" "" "Version v2.0.4" "Frivolous \[lq]Dfcache\[rq] Documentation"
|
||||
.TH "DFCACHE" "1" "" "Version v2.0.5" "Frivolous \[lq]Dfcache\[rq] Documentation"
|
||||
.hy
|
||||
.SS dfcache delete
|
||||
.SH NAME
|
||||
.PP
|
||||
delete file from P2P cache system
|
||||
.SS Synopsis
|
||||
\f[B]dfcache delete\f[R] \[em] delete file from P2P cache system
|
||||
.SH SYNOPSIS
|
||||
.PP
|
||||
delete file from P2P cache system
|
||||
Delete file from P2P cache system.
|
||||
.IP
|
||||
.nf
|
||||
\f[C]
|
||||
dfcache delete <-i cid> [flags]
|
||||
\f[R]
|
||||
.fi
|
||||
.SS Options
|
||||
.IP
|
||||
.nf
|
||||
\f[C]
|
||||
-h, --help help for delete
|
||||
\f[R]
|
||||
.fi
|
||||
.SS Options inherited from parent commands
|
||||
.SS OPTIONS
|
||||
.IP
|
||||
.nf
|
||||
\f[C]
|
||||
|
|
@ -37,8 +30,9 @@ dfcache delete <-i cid> [flags]
|
|||
--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
|
||||
.SS SEE ALSO
|
||||
.SH SEE ALSO
|
||||
.IP \[bu] 2
|
||||
dfcache - the P2P cache client of dragonfly
|
||||
|
|
|
|||
|
|
@ -1,28 +1,20 @@
|
|||
.\" Automatically generated by Pandoc 2.13
|
||||
.\"
|
||||
.TH "DFCACHE" "1" "" "Version v2.0.4" "Frivolous \[lq]Dfcache\[rq] Documentation"
|
||||
.TH "DFCACHE" "1" "" "Version v2.0.5" "Frivolous \[lq]Dfcache\[rq] Documentation"
|
||||
.hy
|
||||
.SS dfcache doc
|
||||
.SH NAME
|
||||
.PP
|
||||
generate documents
|
||||
.SS Synopsis
|
||||
\f[B]dfcache doc\f[R] \[em] generate documents
|
||||
.SH SYNOPSIS
|
||||
.PP
|
||||
generate markdown documents for cmd: dfcache .
|
||||
Generate markdown documents for cmd: dfcache.
|
||||
.IP
|
||||
.nf
|
||||
\f[C]
|
||||
dfcache doc [flags]
|
||||
\f[R]
|
||||
.fi
|
||||
.SS Options
|
||||
.IP
|
||||
.nf
|
||||
\f[C]
|
||||
-h, --help help for doc
|
||||
--path string destination dir of generated markdown documents (default \[dq]./\[dq])
|
||||
\f[R]
|
||||
.fi
|
||||
.SS Options inherited from parent commands
|
||||
.SS OPTIONS
|
||||
.IP
|
||||
.nf
|
||||
\f[C]
|
||||
|
|
@ -38,8 +30,10 @@ dfcache doc [flags]
|
|||
--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
|
||||
.SS SEE ALSO
|
||||
.SH SEE ALSO
|
||||
.IP \[bu] 2
|
||||
dfcache - the P2P cache client of dragonfly
|
||||
|
|
|
|||
|
|
@ -1,29 +1,20 @@
|
|||
.\" Automatically generated by Pandoc 2.13
|
||||
.\"
|
||||
.TH "DFCACHE" "1" "" "Version v2.0.4" "Frivolous \[lq]Dfcache\[rq] Documentation"
|
||||
.TH "DFCACHE" "1" "" "Version v2.0.5" "Frivolous \[lq]Dfcache\[rq] Documentation"
|
||||
.hy
|
||||
.SS dfcache export
|
||||
.SH NAME
|
||||
.PP
|
||||
export file from P2P cache system
|
||||
.SS Synopsis
|
||||
\f[B]dfcache export\f[R] \[em] export file from P2P cache system
|
||||
.SH SYNOPSIS
|
||||
.PP
|
||||
export file from P2P cache system
|
||||
Export file from P2P cache system.
|
||||
.IP
|
||||
.nf
|
||||
\f[C]
|
||||
dfcache export <-i cid> <output>|<-O output> [flags]
|
||||
\f[R]
|
||||
.fi
|
||||
.SS Options
|
||||
.IP
|
||||
.nf
|
||||
\f[C]
|
||||
-h, --help help for export
|
||||
-l, --local only export file from local cache
|
||||
-O, --output string export file path
|
||||
\f[R]
|
||||
.fi
|
||||
.SS Options inherited from parent commands
|
||||
.SS OPTIONS
|
||||
.IP
|
||||
.nf
|
||||
\f[C]
|
||||
|
|
@ -39,8 +30,11 @@ dfcache export <-i cid> <output>|<-O output> [flags]
|
|||
--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
|
||||
.SS SEE ALSO
|
||||
.SH SEE ALSO
|
||||
.IP \[bu] 2
|
||||
dfcache - the P2P cache client of dragonfly
|
||||
|
|
|
|||
|
|
@ -1,28 +1,20 @@
|
|||
.\" Automatically generated by Pandoc 2.13
|
||||
.\"
|
||||
.TH "DFCACHE" "1" "" "Version v2.0.4" "Frivolous \[lq]Dfcache\[rq] Documentation"
|
||||
.TH "DFCACHE" "1" "" "Version v2.0.5" "Frivolous \[lq]Dfcache\[rq] Documentation"
|
||||
.hy
|
||||
.SS dfcache import
|
||||
.SH NAME
|
||||
.PP
|
||||
import file into P2P cache system
|
||||
.SS Synopsis
|
||||
\f[B]dfcache import\f[R] \[em] import file into P2P cache system
|
||||
.SH SYNOPSIS
|
||||
.PP
|
||||
import file into P2P cache system
|
||||
Import file into P2P cache system.
|
||||
.IP
|
||||
.nf
|
||||
\f[C]
|
||||
dfcache import <-i cid> <file>|<-I file> [flags]
|
||||
\f[R]
|
||||
.fi
|
||||
.SS Options
|
||||
.IP
|
||||
.nf
|
||||
\f[C]
|
||||
-h, --help help for import
|
||||
-I, --input string import the given file into P2P network
|
||||
\f[R]
|
||||
.fi
|
||||
.SS Options inherited from parent commands
|
||||
.SS OPTIONS
|
||||
.IP
|
||||
.nf
|
||||
\f[C]
|
||||
|
|
@ -38,8 +30,10 @@ dfcache import <-i cid> <file>|<-I file> [flags]
|
|||
--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
|
||||
.SS SEE ALSO
|
||||
.SH SEE ALSO
|
||||
.IP \[bu] 2
|
||||
dfcache - the P2P cache client of dragonfly
|
||||
|
|
|
|||
|
|
@ -1,27 +1,20 @@
|
|||
.\" Automatically generated by Pandoc 2.13
|
||||
.\"
|
||||
.TH "DFCACHE" "1" "" "Version v2.0.4" "Frivolous \[lq]Dfcache\[rq] Documentation"
|
||||
.TH "DFCACHE" "1" "" "Version v2.0.5" "Frivolous \[lq]Dfcache\[rq] Documentation"
|
||||
.hy
|
||||
.SS dfcache plugin
|
||||
.SH NAME
|
||||
.PP
|
||||
show plugin
|
||||
.SS Synopsis
|
||||
\f[B]dfcache plugin\f[R] \[em] show plugin
|
||||
.SH SYNOPSIS
|
||||
.PP
|
||||
show the plugin details of dragonfly.
|
||||
Show the plugin details of dragonfly.
|
||||
.IP
|
||||
.nf
|
||||
\f[C]
|
||||
dfcache plugin [flags]
|
||||
\f[R]
|
||||
.fi
|
||||
.SS Options
|
||||
.IP
|
||||
.nf
|
||||
\f[C]
|
||||
-h, --help help for plugin
|
||||
\f[R]
|
||||
.fi
|
||||
.SS Options inherited from parent commands
|
||||
.SS OPTIONS
|
||||
.IP
|
||||
.nf
|
||||
\f[C]
|
||||
|
|
@ -37,8 +30,9 @@ dfcache plugin [flags]
|
|||
--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
|
||||
.SS SEE ALSO
|
||||
.SH SEE ALSO
|
||||
.IP \[bu] 2
|
||||
dfcache - the P2P cache client of dragonfly
|
||||
|
|
|
|||
|
|
@ -1,28 +1,21 @@
|
|||
.\" Automatically generated by Pandoc 2.13
|
||||
.\"
|
||||
.TH "DFCACHE" "1" "" "Version v2.0.4" "Frivolous \[lq]Dfcache\[rq] Documentation"
|
||||
.TH "DFCACHE" "1" "" "Version v2.0.5" "Frivolous \[lq]Dfcache\[rq] Documentation"
|
||||
.hy
|
||||
.SS dfcache stat
|
||||
.SH NAME
|
||||
.PP
|
||||
stat checks if a file exists in P2P cache system
|
||||
.SS Synopsis
|
||||
\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
|
||||
Stat checks if a file exists in P2P cache system.
|
||||
.IP
|
||||
.nf
|
||||
\f[C]
|
||||
dfcache stat <-i cid> [flags]
|
||||
\f[R]
|
||||
.fi
|
||||
.SS Options
|
||||
.IP
|
||||
.nf
|
||||
\f[C]
|
||||
-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
|
||||
.SS Options inherited from parent commands
|
||||
.SS OPTIONS
|
||||
.IP
|
||||
.nf
|
||||
\f[C]
|
||||
|
|
@ -38,8 +31,10 @@ dfcache stat <-i cid> [flags]
|
|||
--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
|
||||
.SS SEE ALSO
|
||||
.SH SEE ALSO
|
||||
.IP \[bu] 2
|
||||
dfcache - the P2P cache client of dragonfly
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.\" Automatically generated by Pandoc 2.13
|
||||
.\"
|
||||
.TH "DFCACHE" "1" "" "Version v2.0.4" "Frivolous \[lq]Dfcache\[rq] Documentation"
|
||||
.TH "DFCACHE" "1" "" "Version v2.0.5" "Frivolous \[lq]Dfcache\[rq] Documentation"
|
||||
.hy
|
||||
.SH NAME
|
||||
.PP
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
.\" Automatically generated by Pandoc 2.13
|
||||
.\"
|
||||
.TH "DFCACHE" "1" "" "Version v2.0.4" "Frivolous \[lq]Dfcache\[rq] Documentation"
|
||||
.TH "DFCACHE" "1" "" "Version v2.0.5" "Frivolous \[lq]Dfcache\[rq] Documentation"
|
||||
.hy
|
||||
.SS dfcache
|
||||
.SH NAME
|
||||
.PP
|
||||
the P2P cache client of dragonfly
|
||||
.SS Synopsis
|
||||
\f[B]dfcache\f[R] \[em] the P2P cache client of dragonfly
|
||||
.SH SYNOPSIS
|
||||
.PP
|
||||
dfcache is the cache client to of dragonfly that communicates with
|
||||
dfdaemon and operates on files in P2P network, where the P2P network
|
||||
|
|
@ -18,7 +18,7 @@ file from source; but dfcache could only export or download a file that
|
|||
has been imported or added into P2P network by other peer, it\[cq]s the
|
||||
user\[cq]s responsibility to go back to source and add file into P2P
|
||||
network.
|
||||
.SS Options
|
||||
.SS OPTIONS
|
||||
.IP
|
||||
.nf
|
||||
\f[C]
|
||||
|
|
@ -37,7 +37,7 @@ network.
|
|||
--workhome string Dfcache working directory
|
||||
\f[R]
|
||||
.fi
|
||||
.SS SEE ALSO
|
||||
.SH SEE ALSO
|
||||
.IP \[bu] 2
|
||||
dfcache completion - generate the autocompletion script for the
|
||||
specified shell
|
||||
|
|
@ -55,3 +55,6 @@ dfcache plugin - show plugin
|
|||
dfcache stat - stat checks if a file exists in P2P cache system
|
||||
.IP \[bu] 2
|
||||
dfcache version - show version
|
||||
.SH BUGS
|
||||
.PP
|
||||
See GitHub Issues: <https://github.com/dragonflyoss/Dragonfly2/issues>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
% DFCACHE(1) Version v2.0.4 | Frivolous "Dfcache" Documentation
|
||||
% DFCACHE(1) Version v2.0.5 | Frivolous "Dfcache" Documentation
|
||||
|
||||
# NAME
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
% DFCACHE(1) Version v2.0.4 | Frivolous "Dfcache" Documentation
|
||||
% DFCACHE(1) Version v2.0.5 | Frivolous "Dfcache" Documentation
|
||||
|
||||
# NAME
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
% DFCACHE(1) Version v2.0.4 | Frivolous "Dfcache" Documentation
|
||||
% DFCACHE(1) Version v2.0.5 | Frivolous "Dfcache" Documentation
|
||||
|
||||
# NAME
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
% DFCACHE(1) Version v2.0.4 | Frivolous "Dfcache" Documentation
|
||||
% DFCACHE(1) Version v2.0.5 | Frivolous "Dfcache" Documentation
|
||||
|
||||
# NAME
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
% DFCACHE(1) Version v2.0.4 | Frivolous "Dfcache" Documentation
|
||||
% DFCACHE(1) Version v2.0.5 | Frivolous "Dfcache" Documentation
|
||||
|
||||
# NAME
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
% DFCACHE(1) Version v2.0.4 | Frivolous "Dfcache" Documentation
|
||||
% DFCACHE(1) Version v2.0.5 | Frivolous "Dfcache" Documentation
|
||||
|
||||
# NAME
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
% DFCACHE(1) Version v2.0.4 | Frivolous "Dfcache" Documentation
|
||||
% DFCACHE(1) Version v2.0.5 | Frivolous "Dfcache" Documentation
|
||||
|
||||
# NAME
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
% DFCACHE(1) Version v2.0.4 | Frivolous "Dfcache" Documentation
|
||||
% DFCACHE(1) Version v2.0.5 | Frivolous "Dfcache" Documentation
|
||||
|
||||
# NAME
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.\" Automatically generated by Pandoc 2.13
|
||||
.\"
|
||||
.TH "DFGET" "1" "" "Version v2.0.4" "Frivolous \[lq]Dfget\[rq] Documentation"
|
||||
.TH "DFGET" "1" "" "Version v2.0.5" "Frivolous \[lq]Dfget\[rq] Documentation"
|
||||
.hy
|
||||
.SH NAME
|
||||
.PP
|
||||
|
|
@ -17,121 +17,40 @@ pieces from it if it owns them.
|
|||
In addition, dfget has the abilities to provide more advanced
|
||||
functionality, such as network bandwidth limit, transmission encryption
|
||||
and so on.
|
||||
.SS Options
|
||||
.TP
|
||||
\[en]alivetime
|
||||
alive duration for which uploader keeps no accessing by any uploading
|
||||
requests, after this period uploader will automatically exit (default
|
||||
5m0s)
|
||||
.TP
|
||||
\[en]cacerts
|
||||
the cacert file which is used to verify remote server when supernode
|
||||
interact with the source.
|
||||
.TP
|
||||
\[en]callsystem
|
||||
the name of dfget caller which is for debugging.
|
||||
Once set, it will be passed to all components around the request to make
|
||||
debugging easy
|
||||
.TP
|
||||
\[en]clientqueue
|
||||
specify the size of client queue which controls the number of pieces
|
||||
that can be processed simultaneously
|
||||
.TP
|
||||
\[en]console
|
||||
show log on console, it\[cq]s conflict with `\[en]showbar'
|
||||
.TP
|
||||
\[en]daemon-pid
|
||||
the daemon pid (default \[lq]/tmp/dfdaemon.pid\[rq])
|
||||
.TP
|
||||
\[en]daemon-sock
|
||||
the unix domain socket address for grpc with daemon (default
|
||||
\[lq]/tmp/dfdamon.sock\[rq])
|
||||
.TP
|
||||
\[en]dfdaemon
|
||||
identify whether the request is from dfdaemon
|
||||
.TP
|
||||
\[en]expiretime
|
||||
caching duration for which cached file keeps no accessed by any process,
|
||||
after this period cache file will be deleted (default 3m0s)
|
||||
.TP
|
||||
-f, \[en]filter
|
||||
filter some query params of URL, use char `&' to separate different
|
||||
params
|
||||
.TP
|
||||
\[en]header
|
||||
http header
|
||||
.TP
|
||||
-h, \[en]help
|
||||
help for dfget
|
||||
.TP
|
||||
\[en]home
|
||||
the work home directory of dfget (default
|
||||
\[lq]/Users/jim/.dragonfly/dfdaemon/\[rq])
|
||||
.TP
|
||||
-i, \[en]identifier
|
||||
the usage of identifier is making different downloading tasks generate
|
||||
different downloading task IDs even if they have the same URLs.
|
||||
conflict with \[en]md5.
|
||||
.TP
|
||||
\[en]insecure
|
||||
identify whether supernode should skip secure verify when interact with
|
||||
the source.
|
||||
.TP
|
||||
\[en]ip
|
||||
IP address that server will listen on (default \[lq]0.0.0.0\[rq])
|
||||
.TP
|
||||
-m, \[en]md5
|
||||
md5 value input from user for the requested downloading file to enhance
|
||||
security
|
||||
.TP
|
||||
\[en]more-daemon-options
|
||||
more options passed to daemon by command line, please confirm your
|
||||
options with \[lq]dfget daemon \[en]help\[rq]
|
||||
.TP
|
||||
-n, \[en]node
|
||||
deprecated, please use schedulers instead.
|
||||
specify the addresses(host:port=weight) of supernodes where the host is
|
||||
necessary, the port(default: 8002) and the weight(default:1) are
|
||||
optional.
|
||||
And the type of weight must be integer
|
||||
.TP
|
||||
\[en]notbacksource
|
||||
disable back source downloading for requested file when p2p fails to
|
||||
download it
|
||||
.TP
|
||||
-o, \[en]output
|
||||
destination path which is used to store the requested downloading file.
|
||||
It must contain detailed directory and specific filename, for example,
|
||||
`/tmp/file.mp4'
|
||||
.TP
|
||||
-p, \[en]pattern
|
||||
download pattern, must be p2p/seed-peer/source, seed-peer and source do
|
||||
not support flag \[en]totallimit (default \[lq]p2p\[rq])
|
||||
.TP
|
||||
\[en]port
|
||||
port number that server will listen on (default 65002)
|
||||
.TP
|
||||
\[en]schedulers
|
||||
the scheduler addresses
|
||||
.TP
|
||||
-b, \[en]showbar
|
||||
show progress bar, it is conflict with `\[en]console'
|
||||
.TP
|
||||
-e, \[en]timeout
|
||||
timeout set for file downloading task.
|
||||
If dfget has not finished downloading all pieces of file before
|
||||
\[en]timeout, the dfget will throw an error and exit
|
||||
.TP
|
||||
\[en]totallimit
|
||||
network bandwidth rate limit for the whole host, in format of
|
||||
G(B)/g/M(B)/m/K(B)/k/B, pure number will also be parsed as Byte (default
|
||||
104857600.000000)
|
||||
.TP
|
||||
-u, \[en]url
|
||||
URL of user requested downloading file(only HTTP/HTTPs supported)
|
||||
.TP
|
||||
\[en]verbose
|
||||
enable verbose mode, all debug log will be display
|
||||
.SS OPTIONS
|
||||
.IP
|
||||
.nf
|
||||
\f[C]
|
||||
--accept-regex string Recursively download only. Specify a regular expression to accept the complete URL. In this case, you have to enclose the pattern into quotes to prevent your shell from expanding it
|
||||
--callsystem string The caller name which is mainly used for statistics and access control
|
||||
--config string the path of configuration file with yaml extension name, default is /Users/qiwenbo/.dragonfly/config/dfget.yaml, it can also be set by env var: DFGET_CONFIG
|
||||
--console whether logger output records to the stdout
|
||||
--digest string Check the integrity of the downloaded file with digest, in format of md5:xxx or sha256:yyy
|
||||
--disable-back-source Disable downloading directly from source when the daemon fails to download file
|
||||
--filter string Filter the query parameters of the url, P2P overlay is the same one if the filtered url is same, in format of key&sign, which will filter \[aq]key\[aq] and \[aq]sign\[aq] query parameters
|
||||
-H, --header strings url header, eg: --header=\[aq]Accept: *\[aq] --header=\[aq]Host: abc\[aq]
|
||||
-h, --help help for dfget
|
||||
--jaeger string jaeger endpoint url, like: http://localhost:14250/api/traces
|
||||
--level uint Recursively download only. Set the maximum number of subdirectories that dfget will recurse into. Set to 0 for no limit (default 5)
|
||||
-l, --list Recursively download only. List all urls instead of downloading them.
|
||||
--logdir string Dfget log directory
|
||||
--original-offset Range request only. Download ranged data into target file with original offset. Daemon will make a hardlink to target file. Client can download many ranged data into one file for same url. When enabled, back source in client will be disabled
|
||||
-O, --output string Destination path which is used to store the downloaded file, it must be a full path
|
||||
-p, --pattern string The downloading pattern: p2p/seed-peer/source
|
||||
--pprof-port int listen port for pprof, 0 represents random port (default -1)
|
||||
--range string Download range. Like: 0-9, stands download 10 bytes from 0 -9, [0:9] in real url
|
||||
--ratelimit string The downloading network bandwidth limit per second in format of G(B)/g/M(B)/m/K(B)/k/B, pure number will be parsed as Byte, 0 is infinite (default \[dq]100.0MB\[dq])
|
||||
-r, --recursive Recursively download all resources in target url, the target source client must support list action
|
||||
--reject-regex string Recursively download only. Specify a regular expression to reject the complete URL. In this case, you have to enclose the pattern into quotes to prevent your shell from expanding it
|
||||
--service-name string name of the service for tracer (default \[dq]dragonfly-dfget\[dq])
|
||||
-b, --show-progress Show progress bar, it conflicts with --console
|
||||
--tag string Different tags for the same url will be divided into different P2P overlay, it conflicts with --digest
|
||||
--timeout duration Timeout for the downloading task, 0 is infinite
|
||||
-u, --url string Download one file from the url, equivalent to the command\[aq]s first position argument
|
||||
--verbose whether logger use debug level
|
||||
--workhome string Dfget working directory
|
||||
\f[R]
|
||||
.fi
|
||||
.SH BUGS
|
||||
.PP
|
||||
See GitHub Issues: <https://github.com/dragonflyoss/Dragonfly2/issues>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
% DFGET(1) Version v2.0.4 | Frivolous "Dfget" Documentation
|
||||
% DFGET(1) Version v2.0.5 | Frivolous "Dfget" Documentation
|
||||
|
||||
# NAME
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.\" Automatically generated by Pandoc 2.13
|
||||
.\"
|
||||
.TH "DFCACHE" "1" "" "Version v2.0.4" "Frivolous \[lq]Dfstore\[rq] Documentation"
|
||||
.TH "DFCACHE" "1" "" "Version v2.0.5" "Frivolous \[lq]Dfstore\[rq] Documentation"
|
||||
.hy
|
||||
.SH NAME
|
||||
.PP
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.\" Automatically generated by Pandoc 2.13
|
||||
.\"
|
||||
.TH "DFCACHE" "1" "" "Version v2.0.4" "Frivolous \[lq]Dfstore\[rq] Documentation"
|
||||
.TH "DFCACHE" "1" "" "Version v2.0.5" "Frivolous \[lq]Dfstore\[rq] Documentation"
|
||||
.hy
|
||||
.SH NAME
|
||||
.PP
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.\" Automatically generated by Pandoc 2.13
|
||||
.\"
|
||||
.TH "DFCACHE" "1" "" "Version v2.0.4" "Frivolous \[lq]Dfstore\[rq] Documentation"
|
||||
.TH "DFCACHE" "1" "" "Version v2.0.5" "Frivolous \[lq]Dfstore\[rq] Documentation"
|
||||
.hy
|
||||
.SH NAME
|
||||
.PP
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.\" Automatically generated by Pandoc 2.13
|
||||
.\"
|
||||
.TH "DFCACHE" "1" "" "Version v2.0.4" "Frivolous \[lq]Dfstore\[rq] Documentation"
|
||||
.TH "DFCACHE" "1" "" "Version v2.0.5" "Frivolous \[lq]Dfstore\[rq] Documentation"
|
||||
.hy
|
||||
.SH NAME
|
||||
.PP
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
% DFCACHE(1) Version v2.0.4 | Frivolous "Dfstore" Documentation
|
||||
% DFCACHE(1) Version v2.0.5 | Frivolous "Dfstore" Documentation
|
||||
|
||||
# NAME
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
% DFCACHE(1) Version v2.0.4 | Frivolous "Dfstore" Documentation
|
||||
% DFCACHE(1) Version v2.0.5 | Frivolous "Dfstore" Documentation
|
||||
|
||||
# NAME
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
% DFCACHE(1) Version v2.0.4 | Frivolous "Dfstore" Documentation
|
||||
% DFCACHE(1) Version v2.0.5 | Frivolous "Dfstore" Documentation
|
||||
|
||||
# NAME
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
% DFCACHE(1) Version v2.0.4 | Frivolous "Dfstore" Documentation
|
||||
% DFCACHE(1) Version v2.0.5 | Frivolous "Dfstore" Documentation
|
||||
|
||||
# NAME
|
||||
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ services:
|
|||
retries: 30
|
||||
|
||||
manager:
|
||||
image: dragonflyoss/manager:v2.0.4
|
||||
image: dragonflyoss/manager:v2.0.5
|
||||
container_name: manager
|
||||
network_mode: host
|
||||
depends_on:
|
||||
|
|
@ -45,7 +45,7 @@ services:
|
|||
retries: 30
|
||||
|
||||
dfdaemon:
|
||||
image: dragonflyoss/dfdaemon:v2.0.4
|
||||
image: dragonflyoss/dfdaemon:v2.0.5
|
||||
depends_on:
|
||||
- manager
|
||||
- scheduler
|
||||
|
|
@ -63,7 +63,7 @@ services:
|
|||
- ./config/dfget.yaml:/etc/dragonfly/dfget.yaml:ro
|
||||
|
||||
scheduler:
|
||||
image: dragonflyoss/scheduler:v2.0.4
|
||||
image: dragonflyoss/scheduler:v2.0.5
|
||||
depends_on:
|
||||
- manager
|
||||
container_name: scheduler
|
||||
|
|
@ -79,7 +79,7 @@ services:
|
|||
- ./config/scheduler.yaml:/etc/dragonfly/scheduler.yaml:ro
|
||||
|
||||
seed-peer:
|
||||
image: dragonflyoss/dfdaemon:v2.0.4
|
||||
image: dragonflyoss/dfdaemon:v2.0.5
|
||||
depends_on:
|
||||
- manager
|
||||
- scheduler
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 32b790eceb6e936b9f29b9d10889580f89c4c9b6
|
||||
Subproject commit f3f277850f2b4ceccc8c021340141cc2f7c5f168
|
||||
|
|
@ -28,7 +28,7 @@ import (
|
|||
var (
|
||||
Major = "2"
|
||||
Minor = "0"
|
||||
GitVersion = "v2.0.4"
|
||||
GitVersion = "v2.0.5"
|
||||
GitCommit = "unknown"
|
||||
Platform = osArch
|
||||
BuildTime = "unknown"
|
||||
|
|
|
|||
Loading…
Reference in New Issue