Skip to content

Skip workspace members with only gitignored files in subdirectories#18051

Merged
zanieb merged 1 commit intomainfrom
zsol/jj-rwrmytyynurp
Feb 16, 2026
Merged

Skip workspace members with only gitignored files in subdirectories#18051
zanieb merged 1 commit intomainfrom
zsol/jj-rwrmytyynurp

Conversation

@zsol
Copy link
Member

@zsol zsol commented Feb 16, 2026

Followup to #17901.

If a workspace member only contains member/some_directory/__pycache__/foo.pyc (and __pycache__ is ignored but some_directory isn't, it should still be skipped.

This change means we'll skip members with only empty directories from now on, but I think that's an OK tradeoff.

@zsol zsol changed the title Fix workspace discovery with gitignored files in subdirectories Skip workspace members with only gitignored files in subdirectories Feb 16, 2026
@zsol zsol force-pushed the zsol/jj-rwrmytyynurp branch from 7d3224e to 3152253 Compare February 16, 2026 11:41
@zanieb zanieb added the enhancement New feature or improvement to existing functionality label Feb 16, 2026
@zanieb zanieb merged commit 4aa60c7 into main Feb 16, 2026
53 checks passed
@zanieb zanieb deleted the zsol/jj-rwrmytyynurp branch February 16, 2026 13:35
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Feb 18, 2026
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [uv](https://github.com/astral-sh/uv) | patch | `0.10.3` → `0.10.4` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>astral-sh/uv (uv)</summary>

### [`v0.10.4`](https://github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#0104)

[Compare Source](astral-sh/uv@0.10.3...0.10.4)

Released on 2026-02-17.

##### Enhancements

- Remove duplicate references to the affected paths when showing `uv python` errors ([#&#8203;18008](astral-sh/uv#18008))
- Skip discovery of workspace members that contain only git-ignored files, including in sub-directories ([#&#8203;18051](astral-sh/uv#18051))

##### Bug fixes

- Don't panic when initialising a package at the filesystem root (e.g. `uv init / --name foo`) ([#&#8203;17983](astral-sh/uv#17983))
- Fix permissions on `wheel` and `sdist` files produced by the `uv_build` build backend ([#&#8203;18020](astral-sh/uv#18020))
- Revert locked file change to fix locked files on NFS mounts ([#&#8203;18071](astral-sh/uv#18071))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

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

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

🔕 **Ignore**: Close this MR and you won't be reminded about this update again.

---

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

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xOS4yIiwidXBkYXRlZEluVmVyIjoiNDMuMTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiUmVub3ZhdGUgQm90IiwiYXV0b21hdGlvbjpib3QtYXV0aG9yZWQiLCJkZXBlbmRlbmN5LXR5cGU6OnBhdGNoIl19-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or improvement to existing functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants