Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

memfs: fix trunc-append #29

Merged
merged 1 commit into from Feb 5, 2023
Merged

Conversation

nikandfor
Copy link
Contributor

The position for an open file was set before the truncation. This is not a common case to use O_TRUNC and O_APPEND together, but it's correct and should work.

@mcuadros mcuadros merged commit f5b6b18 into go-git:master Feb 5, 2023
another-rex pushed a commit to google/osv-scanner that referenced this pull request Feb 12, 2023
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/go-git/go-billy/v5](https://togithub.com/go-git/go-billy)
| require | patch | `v5.4.0` -> `v5.4.1` |
| [golang.org/x/exp](https://togithub.com/golang/exp) | require | digest
| `98cc5a0` -> `a684f29` |
| [golang.org/x/mod](https://togithub.com/golang/mod) | require | minor
| `v0.7.0` -> `v0.8.0` |
| [golang.org/x/term](https://togithub.com/golang/term) | require |
minor | `v0.4.0` -> `v0.5.0` |

---

### Release Notes

<details>
<summary>go-git/go-billy</summary>

### [`v5.4.1`](https://togithub.com/go-git/go-billy/releases/tag/v5.4.1)

[Compare
Source](https://togithub.com/go-git/go-billy/compare/v5.4.0...v5.4.1)

#### What's Changed

- memfs: fix trunc-append by
[@&#8203;nikandfor](https://togithub.com/nikandfor) in
[go-git/go-billy#29

**Full Changelog**:
go-git/go-billy@v5.4.0...v5.4.1

</details>

<details>
<summary>golang/mod</summary>

### [`v0.8.0`](https://togithub.com/golang/mod/compare/v0.7.0...v0.8.0)

[Compare
Source](https://togithub.com/golang/mod/compare/v0.7.0...v0.8.0)

</details>

<details>
<summary>golang/term</summary>

### [`v0.5.0`](https://togithub.com/golang/term/compare/v0.4.0...v0.5.0)

[Compare
Source](https://togithub.com/golang/term/compare/v0.4.0...v0.5.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 6am on monday" in timezone
Australia/Sydney, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMjUuMSIsInVwZGF0ZWRJblZlciI6IjM0LjEyNS4xIn0=-->
hayleycd pushed a commit to google/osv-scanner that referenced this pull request Mar 9, 2023
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/go-git/go-billy/v5](https://togithub.com/go-git/go-billy)
| require | patch | `v5.4.0` -> `v5.4.1` |
| [golang.org/x/exp](https://togithub.com/golang/exp) | require | digest
| `98cc5a0` -> `a684f29` |
| [golang.org/x/mod](https://togithub.com/golang/mod) | require | minor
| `v0.7.0` -> `v0.8.0` |
| [golang.org/x/term](https://togithub.com/golang/term) | require |
minor | `v0.4.0` -> `v0.5.0` |

---

### Release Notes

<details>
<summary>go-git/go-billy</summary>

### [`v5.4.1`](https://togithub.com/go-git/go-billy/releases/tag/v5.4.1)

[Compare
Source](https://togithub.com/go-git/go-billy/compare/v5.4.0...v5.4.1)

#### What's Changed

- memfs: fix trunc-append by
[@&#8203;nikandfor](https://togithub.com/nikandfor) in
[go-git/go-billy#29

**Full Changelog**:
go-git/go-billy@v5.4.0...v5.4.1

</details>

<details>
<summary>golang/mod</summary>

### [`v0.8.0`](https://togithub.com/golang/mod/compare/v0.7.0...v0.8.0)

[Compare
Source](https://togithub.com/golang/mod/compare/v0.7.0...v0.8.0)

</details>

<details>
<summary>golang/term</summary>

### [`v0.5.0`](https://togithub.com/golang/term/compare/v0.4.0...v0.5.0)

[Compare
Source](https://togithub.com/golang/term/compare/v0.4.0...v0.5.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 6am on monday" in timezone
Australia/Sydney, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMjUuMSIsInVwZGF0ZWRJblZlciI6IjM0LjEyNS4xIn0=-->
julieqiu pushed a commit to julieqiu/osv-scanner that referenced this pull request May 2, 2023
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/go-git/go-billy/v5](https://togithub.com/go-git/go-billy)
| require | patch | `v5.4.0` -> `v5.4.1` |
| [golang.org/x/exp](https://togithub.com/golang/exp) | require | digest
| `98cc5a0` -> `a684f29` |
| [golang.org/x/mod](https://togithub.com/golang/mod) | require | minor
| `v0.7.0` -> `v0.8.0` |
| [golang.org/x/term](https://togithub.com/golang/term) | require |
minor | `v0.4.0` -> `v0.5.0` |

---

### Release Notes

<details>
<summary>go-git/go-billy</summary>

### [`v5.4.1`](https://togithub.com/go-git/go-billy/releases/tag/v5.4.1)

[Compare
Source](https://togithub.com/go-git/go-billy/compare/v5.4.0...v5.4.1)

#### What's Changed

- memfs: fix trunc-append by
[@&#8203;nikandfor](https://togithub.com/nikandfor) in
[go-git/go-billy#29

**Full Changelog**:
go-git/go-billy@v5.4.0...v5.4.1

</details>

<details>
<summary>golang/mod</summary>

### [`v0.8.0`](https://togithub.com/golang/mod/compare/v0.7.0...v0.8.0)

[Compare
Source](https://togithub.com/golang/mod/compare/v0.7.0...v0.8.0)

</details>

<details>
<summary>golang/term</summary>

### [`v0.5.0`](https://togithub.com/golang/term/compare/v0.4.0...v0.5.0)

[Compare
Source](https://togithub.com/golang/term/compare/v0.4.0...v0.5.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 6am on monday" in timezone
Australia/Sydney, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMjUuMSIsInVwZGF0ZWRJblZlciI6IjM0LjEyNS4xIn0=-->
julieqiu pushed a commit to julieqiu/osv-scanner that referenced this pull request May 2, 2023
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/go-git/go-billy/v5](https://togithub.com/go-git/go-billy)
| require | patch | `v5.4.0` -> `v5.4.1` |
| [golang.org/x/exp](https://togithub.com/golang/exp) | require | digest
| `98cc5a0` -> `a684f29` |
| [golang.org/x/mod](https://togithub.com/golang/mod) | require | minor
| `v0.7.0` -> `v0.8.0` |
| [golang.org/x/term](https://togithub.com/golang/term) | require |
minor | `v0.4.0` -> `v0.5.0` |

---

### Release Notes

<details>
<summary>go-git/go-billy</summary>

### [`v5.4.1`](https://togithub.com/go-git/go-billy/releases/tag/v5.4.1)

[Compare
Source](https://togithub.com/go-git/go-billy/compare/v5.4.0...v5.4.1)

#### What's Changed

- memfs: fix trunc-append by
[@&#8203;nikandfor](https://togithub.com/nikandfor) in
[go-git/go-billy#29

**Full Changelog**:
go-git/go-billy@v5.4.0...v5.4.1

</details>

<details>
<summary>golang/mod</summary>

### [`v0.8.0`](https://togithub.com/golang/mod/compare/v0.7.0...v0.8.0)

[Compare
Source](https://togithub.com/golang/mod/compare/v0.7.0...v0.8.0)

</details>

<details>
<summary>golang/term</summary>

### [`v0.5.0`](https://togithub.com/golang/term/compare/v0.4.0...v0.5.0)

[Compare
Source](https://togithub.com/golang/term/compare/v0.4.0...v0.5.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 6am on monday" in timezone
Australia/Sydney, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMjUuMSIsInVwZGF0ZWRJblZlciI6IjM0LjEyNS4xIn0=-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants