go-yaml/yaml has been deprecated by its maintainer; Move to goccy/go-yaml, which is
an actively maintained from a scratch yaml implementation in pure go. It
should able to parse all yaml file go-yaml could, and more. As an extra
benefit its errors are a lot better.
Fixes: #592
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
slim-sprig is a lightweight library containing a number of useful helper
functions which are useful to use in go templates. Include it in debos
so we can use the functions in recipes.
Signed-off-by: Christopher Obbard <chris.obbard@collabora.com>
Move to fakemachine 0.0.8. This requires dropping the test builds on
bullseeye as it bumps the minimal golang requirement.
Signed-off-by: Sjoerd Simons <sjoerd@collabora.com>
Newer fakemachines adds shell escaping to the arguments passed into it.
Which means that the minimal escaping (by quoting) in debos ends up
actually adding quotes to the arguments as it gets escaped
Fixes#141
Signed-off-by: Sjoerd Simons <sjoerd@collabora.com>
334: image_partition_action: Add support for FS extended options r=obbardc a=cazou
Extended options can be used for specific file system tuning.
352: build(deps): bump github.com/stretchr/testify from 1.7.5 to 1.8.0 r=obbardc a=dependabot[bot]
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.5 to 1.8.0.
<details>
<summary>Commits</summary>
<ul>
<li><a href="181cea6eab"><code>181cea6</code></a> impr: <code>CallerInfo</code> should print full paths to the terminal (<a href="https://github-redirect.dependabot.com/stretchr/testify/issues/1201">#1201</a>)</li>
<li><a href="cf1284f8dd"><code>cf1284f</code></a> Allow mock expectations to be ordered (<a href="https://github-redirect.dependabot.com/stretchr/testify/issues/1106">#1106</a>)</li>
<li><a href="66eef0ef3a"><code>66eef0e</code></a> fix: assert.MapSubset (or just support maps in assert.Subset) (<a href="https://github-redirect.dependabot.com/stretchr/testify/issues/1178">#1178</a>)</li>
<li><a href="2fab6dffcf"><code>2fab6df</code></a> Add WithinTimeRange method (<a href="https://github-redirect.dependabot.com/stretchr/testify/issues/1188">#1188</a>)</li>
<li>See full diff in <a href="https://github.com/stretchr/testify/compare/v1.7.5...v1.8.0">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting ``@dependabot` rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- ``@dependabot` rebase` will rebase this PR
- ``@dependabot` recreate` will recreate this PR, overwriting any edits that have been made to it
- ``@dependabot` merge` will merge this PR after your CI passes on it
- ``@dependabot` squash and merge` will squash and merge this PR after your CI passes on it
- ``@dependabot` cancel merge` will cancel a previously requested merge and block automerging
- ``@dependabot` reopen` will reopen this PR if it is closed
- ``@dependabot` close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- ``@dependabot` ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
360: build(deps): bump github.com/docker/go-units from 0.4.0 to 0.5.0 r=obbardc a=dependabot[bot]
Bumps [github.com/docker/go-units](https://github.com/docker/go-units) from 0.4.0 to 0.5.0.
<details>
<summary>Commits</summary>
<ul>
<li><a href="e682442797"><code>e682442</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/docker/go-units/issues/40">#40</a> from kolyshkin/no-regex</li>
<li><a href="737572633c"><code>7375726</code></a> size: stop using regexp</li>
<li><a href="cec49607f7"><code>cec4960</code></a> size_test: add more tests</li>
<li><a href="54c3e55954"><code>54c3e55</code></a> size_test: add t.Helper annotations</li>
<li><a href="1d23ffa157"><code>1d23ffa</code></a> size_test: add parseSize benchmark</li>
<li><a href="af07f36391"><code>af07f36</code></a> size_test: add tests for 0.3 + suffix</li>
<li>See full diff in <a href="https://github.com/docker/go-units/compare/v0.4.0...v0.5.0">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting ``@dependabot` rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- ``@dependabot` rebase` will rebase this PR
- ``@dependabot` recreate` will recreate this PR, overwriting any edits that have been made to it
- ``@dependabot` merge` will merge this PR after your CI passes on it
- ``@dependabot` squash and merge` will squash and merge this PR after your CI passes on it
- ``@dependabot` cancel merge` will cancel a previously requested merge and block automerging
- ``@dependabot` reopen` will reopen this PR if it is closed
- ``@dependabot` close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- ``@dependabot` ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
Co-authored-by: Detlev Casanova <detlev.casanova@collabora.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
During go versions 1.11-1.16 the go system has gone through a notable
shift of how it handles modules/dependencies.
The original approach was to always pull the master branch. With 1.11
things have moved to implicitly use the latest symver tag and version
1.16 prefers that dependencies are a) described in a go.mod file and b)
vendored in-tree.
Note: go 1.16 does support externally stored dependencies, although in
that case a go.sum file must also be provided, which includes relevant
checksums.
The new approach is beneficial to both project and people building it.
The project can use, specific revision which works correctly - think
missing API, specific bugs, etc.
While the builders no longer need to track all the dependencies,
recursively, themselves and fetch them via `go get`. A simple `go build`
does everything needed.
This commit was generated via:
1. go mod init github.com/go-debos/debos
2. go mod tidy
See the following URL for more details.
https://blog.golang.org/using-go-moduleshttps://golang.org/ref/mod24f4a3003b
The commit text was based off work by Emil Velikov <emil.velikov@collabora.com>
so big thanks to Emil!
Signed-off-by: Christopher Obbard <chris.obbard@collabora.com>