dirsql 0.0.9__tar.gz → 0.0.10__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.
- dirsql-0.0.10/.github/workflows/minor-release.yml +49 -0
- {dirsql-0.0.9 → dirsql-0.0.10}/.github/workflows/patch-release.yml +36 -0
- {dirsql-0.0.9 → dirsql-0.0.10}/.github/workflows/publish.yml +10 -38
- {dirsql-0.0.9 → dirsql-0.0.10}/PKG-INFO +1 -1
- {dirsql-0.0.9 → dirsql-0.0.10}/pyproject.toml +1 -1
- dirsql-0.0.9/.github/workflows/minor-release.yml +0 -14
- {dirsql-0.0.9 → dirsql-0.0.10}/.claude/CLAUDE.md +0 -0
- {dirsql-0.0.9 → dirsql-0.0.10}/.github/workflows/pr-monitor.yml +0 -0
- {dirsql-0.0.9 → dirsql-0.0.10}/.github/workflows/python-lint.yml +0 -0
- {dirsql-0.0.9 → dirsql-0.0.10}/.github/workflows/python-test.yml +0 -0
- {dirsql-0.0.9 → dirsql-0.0.10}/.github/workflows/rust-test.yml +0 -0
- {dirsql-0.0.9 → dirsql-0.0.10}/.gitignore +0 -0
- {dirsql-0.0.9 → dirsql-0.0.10}/Cargo.lock +0 -0
- {dirsql-0.0.9 → dirsql-0.0.10}/Cargo.toml +0 -0
- {dirsql-0.0.9 → dirsql-0.0.10}/LICENSE +0 -0
- {dirsql-0.0.9 → dirsql-0.0.10}/SUMMARY.md +0 -0
- {dirsql-0.0.9 → dirsql-0.0.10}/index.js +0 -0
- {dirsql-0.0.9 → dirsql-0.0.10}/justfile +0 -0
- {dirsql-0.0.9 → dirsql-0.0.10}/package.json +0 -0
- {dirsql-0.0.9 → dirsql-0.0.10}/src/db.rs +0 -0
- {dirsql-0.0.9 → dirsql-0.0.10}/src/differ.rs +0 -0
- {dirsql-0.0.9 → dirsql-0.0.10}/src/lib.rs +0 -0
- {dirsql-0.0.9 → dirsql-0.0.10}/src/matcher.rs +0 -0
- {dirsql-0.0.9 → dirsql-0.0.10}/src/scanner.rs +0 -0
- {dirsql-0.0.9 → dirsql-0.0.10}/src/watcher.rs +0 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
name: Minor Release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
|
|
6
|
+
jobs:
|
|
7
|
+
release:
|
|
8
|
+
uses: ./.github/workflows/publish.yml
|
|
9
|
+
with:
|
|
10
|
+
bump_type: minor
|
|
11
|
+
secrets: inherit
|
|
12
|
+
permissions:
|
|
13
|
+
contents: write
|
|
14
|
+
id-token: write
|
|
15
|
+
|
|
16
|
+
# npm publish inlined here because npm OIDC doesn't support reusable workflows
|
|
17
|
+
publish-npm:
|
|
18
|
+
needs: release
|
|
19
|
+
if: always() && needs.release.outputs.tag_created == 'true'
|
|
20
|
+
runs-on: ubuntu-latest
|
|
21
|
+
permissions:
|
|
22
|
+
contents: read
|
|
23
|
+
id-token: write
|
|
24
|
+
steps:
|
|
25
|
+
- uses: actions/checkout@v6
|
|
26
|
+
|
|
27
|
+
- name: Check if package.json exists
|
|
28
|
+
id: check_npm
|
|
29
|
+
run: |
|
|
30
|
+
if [ -f package.json ]; then
|
|
31
|
+
echo "exists=true" >> $GITHUB_OUTPUT
|
|
32
|
+
else
|
|
33
|
+
echo "exists=false" >> $GITHUB_OUTPUT
|
|
34
|
+
fi
|
|
35
|
+
|
|
36
|
+
- name: Setup Node.js
|
|
37
|
+
if: steps.check_npm.outputs.exists == 'true'
|
|
38
|
+
uses: actions/setup-node@v4
|
|
39
|
+
with:
|
|
40
|
+
node-version: '24.x'
|
|
41
|
+
registry-url: https://registry.npmjs.org
|
|
42
|
+
|
|
43
|
+
- name: Update package.json version
|
|
44
|
+
if: steps.check_npm.outputs.exists == 'true'
|
|
45
|
+
run: npm version "${{ needs.release.outputs.new_version }}" --no-git-tag-version
|
|
46
|
+
|
|
47
|
+
- name: Publish to npm
|
|
48
|
+
if: steps.check_npm.outputs.exists == 'true'
|
|
49
|
+
run: npm publish --provenance --access public
|
|
@@ -43,3 +43,39 @@ jobs:
|
|
|
43
43
|
permissions:
|
|
44
44
|
contents: write
|
|
45
45
|
id-token: write
|
|
46
|
+
|
|
47
|
+
# npm publish inlined here because npm OIDC doesn't support reusable workflows
|
|
48
|
+
# (it validates the caller workflow name, not the called workflow)
|
|
49
|
+
publish-npm:
|
|
50
|
+
needs: [check, release]
|
|
51
|
+
if: always() && needs.check.outputs.should_release == 'true' && needs.release.outputs.tag_created == 'true'
|
|
52
|
+
runs-on: ubuntu-latest
|
|
53
|
+
permissions:
|
|
54
|
+
contents: read
|
|
55
|
+
id-token: write
|
|
56
|
+
steps:
|
|
57
|
+
- uses: actions/checkout@v6
|
|
58
|
+
|
|
59
|
+
- name: Check if package.json exists
|
|
60
|
+
id: check_npm
|
|
61
|
+
run: |
|
|
62
|
+
if [ -f package.json ]; then
|
|
63
|
+
echo "exists=true" >> $GITHUB_OUTPUT
|
|
64
|
+
else
|
|
65
|
+
echo "exists=false" >> $GITHUB_OUTPUT
|
|
66
|
+
fi
|
|
67
|
+
|
|
68
|
+
- name: Setup Node.js
|
|
69
|
+
if: steps.check_npm.outputs.exists == 'true'
|
|
70
|
+
uses: actions/setup-node@v4
|
|
71
|
+
with:
|
|
72
|
+
node-version: '24.x'
|
|
73
|
+
registry-url: https://registry.npmjs.org
|
|
74
|
+
|
|
75
|
+
- name: Update package.json version
|
|
76
|
+
if: steps.check_npm.outputs.exists == 'true'
|
|
77
|
+
run: npm version "${{ needs.release.outputs.new_version }}" --no-git-tag-version
|
|
78
|
+
|
|
79
|
+
- name: Publish to npm
|
|
80
|
+
if: steps.check_npm.outputs.exists == 'true'
|
|
81
|
+
run: npm publish --provenance --access public
|
|
@@ -7,6 +7,13 @@ on:
|
|
|
7
7
|
description: 'Version bump type: patch or minor'
|
|
8
8
|
required: true
|
|
9
9
|
type: string
|
|
10
|
+
outputs:
|
|
11
|
+
tag_created:
|
|
12
|
+
description: 'Whether a tag was created'
|
|
13
|
+
value: ${{ jobs.tag.outputs.created }}
|
|
14
|
+
new_version:
|
|
15
|
+
description: 'The new version number'
|
|
16
|
+
value: ${{ jobs.tag.outputs.new_version }}
|
|
10
17
|
|
|
11
18
|
jobs:
|
|
12
19
|
check-python:
|
|
@@ -237,42 +244,8 @@ jobs:
|
|
|
237
244
|
fi
|
|
238
245
|
done
|
|
239
246
|
|
|
240
|
-
publish-npm:
|
|
241
|
-
needs: tag
|
|
242
|
-
if: needs.tag.outputs.created == 'true'
|
|
243
|
-
runs-on: ubuntu-latest
|
|
244
|
-
permissions:
|
|
245
|
-
contents: read
|
|
246
|
-
id-token: write
|
|
247
|
-
steps:
|
|
248
|
-
- uses: actions/checkout@v6
|
|
249
|
-
|
|
250
|
-
- name: Check if package.json exists
|
|
251
|
-
id: check
|
|
252
|
-
run: |
|
|
253
|
-
if [ -f package.json ]; then
|
|
254
|
-
echo "exists=true" >> $GITHUB_OUTPUT
|
|
255
|
-
else
|
|
256
|
-
echo "exists=false" >> $GITHUB_OUTPUT
|
|
257
|
-
fi
|
|
258
|
-
|
|
259
|
-
- name: Setup Node.js
|
|
260
|
-
if: steps.check.outputs.exists == 'true'
|
|
261
|
-
uses: actions/setup-node@v4
|
|
262
|
-
with:
|
|
263
|
-
node-version: '24.x'
|
|
264
|
-
registry-url: https://registry.npmjs.org
|
|
265
|
-
|
|
266
|
-
- name: Update package.json version
|
|
267
|
-
if: steps.check.outputs.exists == 'true'
|
|
268
|
-
run: npm version "${{ needs.tag.outputs.new_version }}" --no-git-tag-version
|
|
269
|
-
|
|
270
|
-
- name: Publish to npm
|
|
271
|
-
if: steps.check.outputs.exists == 'true'
|
|
272
|
-
run: npm publish --access public
|
|
273
|
-
|
|
274
247
|
github-release:
|
|
275
|
-
needs: [tag, publish-pypi, publish-crates
|
|
248
|
+
needs: [tag, publish-pypi, publish-crates]
|
|
276
249
|
if: always() && needs.tag.outputs.created == 'true'
|
|
277
250
|
runs-on: ubuntu-latest
|
|
278
251
|
permissions:
|
|
@@ -292,13 +265,12 @@ jobs:
|
|
|
292
265
|
--generate-notes
|
|
293
266
|
|
|
294
267
|
rollback:
|
|
295
|
-
needs: [tag, publish-pypi, publish-crates
|
|
268
|
+
needs: [tag, publish-pypi, publish-crates]
|
|
296
269
|
if: |
|
|
297
270
|
always() &&
|
|
298
271
|
needs.tag.outputs.created == 'true' &&
|
|
299
272
|
needs.publish-pypi.result != 'success' &&
|
|
300
|
-
needs.publish-crates.result != 'success'
|
|
301
|
-
needs.publish-npm.result != 'success'
|
|
273
|
+
needs.publish-crates.result != 'success'
|
|
302
274
|
runs-on: ubuntu-latest
|
|
303
275
|
permissions:
|
|
304
276
|
contents: write
|
|
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
|