Skip to content

Commit a735ddf

Browse files
authored
Add support for .xz and .zst archive format (#2012)
* Upgraded extract to v3.1.0 * Updated docs
1 parent c4688aa commit a735ddf

File tree

21 files changed

+2457
-56
lines changed

21 files changed

+2457
-56
lines changed

Diff for: .licenses/go/github.com/codeclysm/extract/v3.dep.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: github.com/codeclysm/extract/v3
3-
version: v3.0.2
3+
version: v3.1.0
44
type: go
55
summary: Package extract allows to extract archives in zip, tar.gz or tar.bz2 formats
66
easily.

Diff for: .licenses/go/github.com/h2non/filetype.dep.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: github.com/h2non/filetype
3-
version: v1.0.8
3+
version: v1.1.3
44
type: go
55
summary:
66
homepage: https://pkg.go.dev/github.com/h2non/filetype

Diff for: .licenses/go/github.com/h2non/filetype/matchers.dep.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
name: github.com/h2non/filetype/matchers
3-
version: v1.0.8
3+
version: v1.1.3
44
type: go
55
summary:
66
homepage: https://pkg.go.dev/github.com/h2non/filetype/matchers
77
license: mit
88
licenses:
9-
- sources: filetype@v1.0.8/LICENSE
9+
- sources: filetype@v1.1.3/LICENSE
1010
text: |
1111
The MIT License
1212
@@ -32,6 +32,6 @@ licenses:
3232
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
3333
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
3434
OTHER DEALINGS IN THE SOFTWARE.
35-
- sources: filetype@v1.0.8/README.md
35+
- sources: filetype@v1.1.3/README.md
3636
text: MIT - Tomas Aparicio
3737
notices: []

Diff for: .licenses/go/github.com/h2non/filetype/matchers/isobmff.dep.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
name: github.com/h2non/filetype/matchers/isobmff
3-
version: v1.0.8
3+
version: v1.1.3
44
type: go
55
summary:
66
homepage: https://pkg.go.dev/github.com/h2non/filetype/matchers/isobmff
77
license: mit
88
licenses:
9-
- sources: filetype@v1.0.8/LICENSE
9+
- sources: filetype@v1.1.3/LICENSE
1010
text: |
1111
The MIT License
1212
@@ -32,6 +32,6 @@ licenses:
3232
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
3333
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
3434
OTHER DEALINGS IN THE SOFTWARE.
35-
- sources: filetype@v1.0.8/README.md
35+
- sources: filetype@v1.1.3/README.md
3636
text: MIT - Tomas Aparicio
3737
notices: []

Diff for: .licenses/go/github.com/h2non/filetype/types.dep.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
name: github.com/h2non/filetype/types
3-
version: v1.0.8
3+
version: v1.1.3
44
type: go
55
summary:
66
homepage: https://pkg.go.dev/github.com/h2non/filetype/types
77
license: mit
88
licenses:
9-
- sources: filetype@v1.0.8/LICENSE
9+
- sources: filetype@v1.1.3/LICENSE
1010
text: |
1111
The MIT License
1212
@@ -32,6 +32,6 @@ licenses:
3232
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
3333
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
3434
OTHER DEALINGS IN THE SOFTWARE.
35-
- sources: filetype@v1.0.8/README.md
35+
- sources: filetype@v1.1.3/README.md
3636
text: MIT - Tomas Aparicio
3737
notices: []

Diff for: .licenses/go/github.com/klauspost/compress.dep.yml

+318
Large diffs are not rendered by default.

Diff for: .licenses/go/github.com/klauspost/compress/fse.dep.yml

+315
Large diffs are not rendered by default.

Diff for: .licenses/go/github.com/klauspost/compress/huff0.dep.yml

+316
Large diffs are not rendered by default.

Diff for: .licenses/go/github.com/klauspost/compress/internal/cpuinfo.dep.yml

+318
Large diffs are not rendered by default.

Diff for: .licenses/go/github.com/klauspost/compress/internal/snapref.dep.yml

+347
Large diffs are not rendered by default.

Diff for: .licenses/go/github.com/klauspost/compress/zstd.dep.yml

+315
Large diffs are not rendered by default.

Diff for: .licenses/go/github.com/klauspost/compress/zstd/internal/xxhash.dep.yml

+339
Large diffs are not rendered by default.
+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
name: github.com/ulikunitz/xz
3+
version: v0.5.11
4+
type: go
5+
summary: Package xz supports the compression and decompression of xz files.
6+
homepage: https://pkg.go.dev/github.com/ulikunitz/xz
7+
license: bsd-3-clause
8+
licenses:
9+
- sources: LICENSE
10+
text: |
11+
Copyright (c) 2014-2022 Ulrich Kunitz
12+
All rights reserved.
13+
14+
Redistribution and use in source and binary forms, with or without
15+
modification, are permitted provided that the following conditions are met:
16+
17+
* Redistributions of source code must retain the above copyright notice, this
18+
list of conditions and the following disclaimer.
19+
20+
* Redistributions in binary form must reproduce the above copyright notice,
21+
this list of conditions and the following disclaimer in the documentation
22+
and/or other materials provided with the distribution.
23+
24+
* My name, Ulrich Kunitz, may not be used to endorse or promote products
25+
derived from this software without specific prior written permission.
26+
27+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
28+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
29+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
30+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
31+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
32+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
33+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
34+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
35+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
36+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
37+
notices: []
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
name: github.com/ulikunitz/xz/internal/hash
3+
version: v0.5.11
4+
type: go
5+
summary: Package hash provides rolling hashes.
6+
homepage: https://pkg.go.dev/github.com/ulikunitz/xz/internal/hash
7+
license: bsd-3-clause
8+
licenses:
9+
- sources: [email protected]/LICENSE
10+
text: |
11+
Copyright (c) 2014-2022 Ulrich Kunitz
12+
All rights reserved.
13+
14+
Redistribution and use in source and binary forms, with or without
15+
modification, are permitted provided that the following conditions are met:
16+
17+
* Redistributions of source code must retain the above copyright notice, this
18+
list of conditions and the following disclaimer.
19+
20+
* Redistributions in binary form must reproduce the above copyright notice,
21+
this list of conditions and the following disclaimer in the documentation
22+
and/or other materials provided with the distribution.
23+
24+
* My name, Ulrich Kunitz, may not be used to endorse or promote products
25+
derived from this software without specific prior written permission.
26+
27+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
28+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
29+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
30+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
31+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
32+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
33+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
34+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
35+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
36+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
37+
notices: []
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
name: github.com/ulikunitz/xz/internal/xlog
3+
version: v0.5.11
4+
type: go
5+
summary: Package xlog provides a simple logging package that allows to disable certain
6+
message categories.
7+
homepage: https://pkg.go.dev/github.com/ulikunitz/xz/internal/xlog
8+
license: bsd-3-clause
9+
licenses:
10+
- sources: [email protected]/LICENSE
11+
text: |
12+
Copyright (c) 2014-2022 Ulrich Kunitz
13+
All rights reserved.
14+
15+
Redistribution and use in source and binary forms, with or without
16+
modification, are permitted provided that the following conditions are met:
17+
18+
* Redistributions of source code must retain the above copyright notice, this
19+
list of conditions and the following disclaimer.
20+
21+
* Redistributions in binary form must reproduce the above copyright notice,
22+
this list of conditions and the following disclaimer in the documentation
23+
and/or other materials provided with the distribution.
24+
25+
* My name, Ulrich Kunitz, may not be used to endorse or promote products
26+
derived from this software without specific prior written permission.
27+
28+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
29+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
30+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
31+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
32+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
33+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
34+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
35+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
36+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
37+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38+
notices: []
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
name: github.com/ulikunitz/xz/lzma
3+
version: v0.5.11
4+
type: go
5+
summary: Package lzma supports the decoding and encoding of LZMA streams.
6+
homepage: https://pkg.go.dev/github.com/ulikunitz/xz/lzma
7+
license: bsd-3-clause
8+
licenses:
9+
- sources: [email protected]/LICENSE
10+
text: |
11+
Copyright (c) 2014-2022 Ulrich Kunitz
12+
All rights reserved.
13+
14+
Redistribution and use in source and binary forms, with or without
15+
modification, are permitted provided that the following conditions are met:
16+
17+
* Redistributions of source code must retain the above copyright notice, this
18+
list of conditions and the following disclaimer.
19+
20+
* Redistributions in binary form must reproduce the above copyright notice,
21+
this list of conditions and the following disclaimer in the documentation
22+
and/or other materials provided with the distribution.
23+
24+
* My name, Ulrich Kunitz, may not be used to endorse or promote products
25+
derived from this software without specific prior written permission.
26+
27+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
28+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
29+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
30+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
31+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
32+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
33+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
34+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
35+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
36+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
37+
notices: []

Diff for: docs/package_index_json-specification.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,11 @@ Here is the Boards Manager entry created by the example: ![Boards Manager screen
350350

351351
## Installation archive structure
352352

353-
The installation archives contain the Board support files. Supported formats are .zip, .tar.bz2, and .tar.gz.
353+
The installation archives contain the Board support files.
354+
355+
Supported formats are `.zip`, `.tar.bz2`, and `.tar.gz`. Starting from Arduino CLI >=0.30.0 support for `.tar.xz`, and
356+
`.tar.zst` has been added, by the way, if you want to keep compatiblity with older versions of Arduino IDE and Arduino
357+
CLI we recommend using one of the older formats.
354358

355359
The folder structure of the core archive is slightly different from the standard manually installed Arduino IDE 1.5+
356360
compatible hardware folder structure. You must remove the architecture folder(e.g., `avr` or `arm`), moving all the

Diff for: docsgen/go.mod

+4-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ require (
1616
github.com/arduino/go-timeutils v0.0.0-20171220113728-d1dd9e313b1b // indirect
1717
github.com/arduino/go-win32-utils v0.0.0-20180330194947-ed041402e83b // indirect
1818
github.com/cmaglie/pb v1.0.27 // indirect
19-
github.com/codeclysm/extract/v3 v3.0.2 // indirect
19+
github.com/codeclysm/extract/v3 v3.1.0 // indirect
2020
github.com/cpuguy83/go-md2man/v2 v2.0.0 // indirect
2121
github.com/creack/goselect v0.1.2 // indirect
2222
github.com/djherbis/buffer v1.1.0 // indirect
@@ -26,13 +26,14 @@ require (
2626
github.com/fsnotify/fsnotify v1.4.9 // indirect
2727
github.com/gofrs/uuid v3.2.0+incompatible // indirect
2828
github.com/golang/protobuf v1.5.2 // indirect
29-
github.com/h2non/filetype v1.0.8 // indirect
29+
github.com/h2non/filetype v1.1.3 // indirect
3030
github.com/hashicorp/hcl v1.0.0 // indirect
3131
github.com/inconshreveable/mousetrap v1.0.0 // indirect
3232
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
3333
github.com/josharian/intern v1.0.0 // indirect
3434
github.com/juju/errors v0.0.0-20181118221551-089d3ea4e4d5 // indirect
3535
github.com/kevinburke/ssh_config v0.0.0-20190725054713-01f96b0aa0cd // indirect
36+
github.com/klauspost/compress v1.15.13 // indirect
3637
github.com/konsorten/go-windows-terminal-sequences v1.0.1 // indirect
3738
github.com/leonelquinteros/gotext v1.4.0 // indirect
3839
github.com/magiconair/properties v1.8.5 // indirect
@@ -60,6 +61,7 @@ require (
6061
github.com/spf13/viper v1.8.1 // indirect
6162
github.com/src-d/gcfg v1.4.0 // indirect
6263
github.com/subosito/gotenv v1.2.0 // indirect
64+
github.com/ulikunitz/xz v0.5.11 // indirect
6365
github.com/xanzy/ssh-agent v0.2.1 // indirect
6466
go.bug.st/cleanup v1.0.0 // indirect
6567
go.bug.st/downloader/v2 v2.1.1 // indirect

0 commit comments

Comments
 (0)