housebroken-cli 0.6.5__tar.gz → 0.6.7__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {housebroken_cli-0.6.5 → housebroken_cli-0.6.7}/PKG-INFO +1 -1
- {housebroken_cli-0.6.5 → housebroken_cli-0.6.7}/pyproject.toml +1 -1
- {housebroken_cli-0.6.5 → housebroken_cli-0.6.7}/scripts/branch-check.sh +4 -2
- {housebroken_cli-0.6.5 → housebroken_cli-0.6.7}/scripts/pr-sweep.sh +9 -0
- {housebroken_cli-0.6.5 → housebroken_cli-0.6.7}/skills/housebroken/SKILL.md +5 -2
- housebroken_cli-0.6.7/src/housebroken/__init__.py +1 -0
- housebroken_cli-0.6.5/src/housebroken/__init__.py +0 -1
- {housebroken_cli-0.6.5 → housebroken_cli-0.6.7}/.gitignore +0 -0
- {housebroken_cli-0.6.5 → housebroken_cli-0.6.7}/LICENSE +0 -0
- {housebroken_cli-0.6.5 → housebroken_cli-0.6.7}/README.md +0 -0
- {housebroken_cli-0.6.5 → housebroken_cli-0.6.7}/bin/housebroken +0 -0
- {housebroken_cli-0.6.5 → housebroken_cli-0.6.7}/hatch_build.py +0 -0
- {housebroken_cli-0.6.5 → housebroken_cli-0.6.7}/scripts/check-ai-policy.sh +0 -0
- {housebroken_cli-0.6.5 → housebroken_cli-0.6.7}/scripts/claim-check.sh +0 -0
- {housebroken_cli-0.6.5 → housebroken_cli-0.6.7}/scripts/comment-census.sh +0 -0
- {housebroken_cli-0.6.5 → housebroken_cli-0.6.7}/scripts/comment-check.sh +0 -0
- {housebroken_cli-0.6.5 → housebroken_cli-0.6.7}/scripts/diff-defaults.sh +0 -0
- {housebroken_cli-0.6.5 → housebroken_cli-0.6.7}/scripts/distinct-outside.sh +0 -0
- {housebroken_cli-0.6.5 → housebroken_cli-0.6.7}/scripts/file-issue.sh +0 -0
- {housebroken_cli-0.6.5 → housebroken_cli-0.6.7}/scripts/file-pr.sh +0 -0
- {housebroken_cli-0.6.5 → housebroken_cli-0.6.7}/scripts/fork-hygiene.sh +0 -0
- {housebroken_cli-0.6.5 → housebroken_cli-0.6.7}/scripts/inbox.sh +0 -0
- {housebroken_cli-0.6.5 → housebroken_cli-0.6.7}/scripts/notes.sh +0 -0
- {housebroken_cli-0.6.5 → housebroken_cli-0.6.7}/scripts/prior-art.sh +0 -0
- {housebroken_cli-0.6.5 → housebroken_cli-0.6.7}/scripts/review.sh +0 -0
- {housebroken_cli-0.6.5 → housebroken_cli-0.6.7}/scripts/verify-filed-pr.sh +0 -0
- {housebroken_cli-0.6.5 → housebroken_cli-0.6.7}/src/housebroken/cli.py +0 -0
|
@@ -91,8 +91,10 @@ while IFS= read -r f; do
|
|
|
91
91
|
[ -n "$entry" ] || continue
|
|
92
92
|
mode=$(printf '%s\n' "$entry" | awk '{print $1}')
|
|
93
93
|
|
|
94
|
-
# A mode is only wrong relative to the file's own neighbours
|
|
95
|
-
|
|
94
|
+
# A mode is only wrong relative to the file's own neighbours, and only the
|
|
95
|
+
# branch's to answer for when the base does not already carry it.
|
|
96
|
+
base_mode=$(git ls-tree "$base" -- "$f" 2>/dev/null | awk '{print $1}')
|
|
97
|
+
if [ "$mode" = "100755" ] && [ "$base_mode" != "100755" ]; then
|
|
96
98
|
case "$f" in
|
|
97
99
|
*.*) ext=".${f##*.}" ;;
|
|
98
100
|
*) ext="" ;;
|
|
@@ -82,6 +82,15 @@ if [ -f "$STATE" ]; then
|
|
|
82
82
|
echo "--- merged or closed since $last"
|
|
83
83
|
tidy="$(jq -r '.tidy[]?' "$STATE" | tr -d '\r')"
|
|
84
84
|
gone="$(comm -23 <(jq -r '.open[]?' "$STATE" | tr -d '\r' | sort) <(printf '%s\n' "$open_ids"))"
|
|
85
|
+
# A PR filed and merged between two runs was never in the stored open set.
|
|
86
|
+
if printf '%s' "$last" | grep -qE '^[0-9]{4}-[0-9]{2}-[0-9]{2}T'; then
|
|
87
|
+
if ! closed="$(gh search prs --author "$ME" --state closed --closed ">=$last" --limit 100 --json repository,number \
|
|
88
|
+
--jq '.[] | "\(.repository.nameWithOwner)#\(.number)"')"; then
|
|
89
|
+
echo "pr-sweep.sh: gh search prs failed for PRs of $ME closed since $last" >&2
|
|
90
|
+
exit 1
|
|
91
|
+
fi
|
|
92
|
+
gone="$(printf '%s\n%s\n' "$gone" "$closed" | tr -d '\r' | awk 'NF && !seen[$0]++')"
|
|
93
|
+
fi
|
|
85
94
|
while read -r id; do
|
|
86
95
|
[ -n "$id" ] || continue
|
|
87
96
|
gone_repo="${id%#*}"; gone_num="${id##*#}"
|
|
@@ -99,8 +99,11 @@ report it in one line and do not proceed to the next step.
|
|
|
99
99
|
commit, so a correction made after that commit is not in the new one. When the
|
|
100
100
|
patched function serves several public entry points or has several
|
|
101
101
|
branches, the test is a grid: every entry point through every branch,
|
|
102
|
-
plus the zero, identity and signed-boundary rows. A
|
|
103
|
-
|
|
102
|
+
plus the zero, identity and signed-boundary rows. A patch that
|
|
103
|
+
reconciles two coupled setters keeps a value that already satisfies the
|
|
104
|
+
invariant instead of resetting it, and its grid has a row for every
|
|
105
|
+
order the two are called in, the same value twice and null included. A
|
|
106
|
+
reviewer lists the empty cells otherwise.
|
|
104
107
|
|
|
105
108
|
5. **Run their CI, not yours.**
|
|
106
109
|
Run the project's own test target on the fresh clone, and every gate its
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.6.7"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.6.4"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|