Skip to content

Commit 0583e1a

Browse files
committed
pyrepo: direct ingest protocol
UCLA-IRL/ndn-python-repo#119
1 parent d8dd285 commit 0583e1a

15 files changed

Lines changed: 71 additions & 23 deletions

File tree

integ/browser-tests/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@
2727
"@types/webpack": "^5.28.5",
2828
"fork-ts-checker-webpack-plugin": "^9.1.0",
2929
"html-webpack-plugin": "^5.6.8",
30-
"puppeteer": "^25.3.0",
30+
"puppeteer": "^25.4.0",
3131
"ts-loader": "^9.6.2",
3232
"tslib": "^2.8.1",
3333
"type-fest": "^5.8.0",
34-
"webpack": "^5.109.0",
35-
"webpack-cli": "^7.2.1",
34+
"webpack": "^5.109.2",
35+
"webpack-cli": "^7.2.2",
3636
"webpack-dev-server": "^6.0.0"
3737
}
3838
}

integ/cxx-tests/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"tslib": "^2.8.1"
1515
},
1616
"devDependencies": {
17-
"execa": "^10.0.0",
17+
"execa": "^10.0.1",
1818
"streaming-iterables": "^8.0.1"
1919
}
2020
}

integ/sync-interop/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"@ndn/svs": "workspace:*",
1313
"@ndn/util": "workspace:*",
1414
"tslib": "^2.8.1",
15-
"yargs": "^18.0.0"
15+
"yargs": "^18.1.0"
1616
},
1717
"devDependencies": {
1818
"@types/yargs": "^17.0.35"

mk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"@nodelib/fs.walk": "^3.0.1",
77
"@pnpm/lockfile-types": "^7.1.3",
88
"compare-versions": "6.1.1",
9-
"js-yaml": "^5.2.2",
9+
"js-yaml": "^5.2.3",
1010
"readlink": "^3.0.0",
1111
"split2": "^4.2.0",
1212
"type-fest": "^5.8.0"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"test": "vitest",
1414
"typedoc": "bash mk/typedoc.sh"
1515
},
16-
"packageManager": "pnpm@11.17.0+sha512.cca3cea332ad254bb84145f966d19f4879615210346fc92c79a047f23a0d7b3cca3c3792f0076ba1f1831d277efbcf0a9119b31a9a60eca7fb3d6231f331ef72",
16+
"packageManager": "pnpm@11.19.0+sha512.7881f3ed590d472c4a955e2b88b2121791116066dcc88cbca3849ec9b60f1bbaa6d2ccb221fa91da4e1c65bef2bcbe379365aea7ac539c7bf86dedc3a1b22dce",
1717
"devDependencies": {
1818
"@types/node": "26.1.1",
1919
"@typescript/native": "npm:typescript@^7.0.2",

pkg/cat/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"stdout-stream": "^2.0.0",
3434
"streaming-iterables": "^8.0.1",
3535
"tslib": "^2.8.1",
36-
"yargs": "^18.0.0"
36+
"yargs": "^18.1.0"
3737
},
3838
"devDependencies": {
3939
"@types/stdout-stream": "^1.4.2",

pkg/keychain-cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"prompts": "^2.4.2",
4040
"stdout-stream": "^2.0.0",
4141
"tslib": "^2.8.1",
42-
"yargs": "^18.0.0"
42+
"yargs": "^18.1.0"
4343
},
4444
"devDependencies": {
4545
"@types/fast-chunk-string": "^1.0.3",

pkg/ndnsec/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"@ndn/tlv": "workspace:*",
3131
"@ndn/util": "workspace:*",
3232
"@yoursunny/asn1": "0.0.20200718",
33-
"execa": "^10.0.0",
33+
"execa": "^10.0.1",
3434
"tslib": "^2.8.1"
3535
}
3636
}

pkg/pyrepo/README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,34 @@
33
This package is part of [NDNts](https://yoursunny.com/p/NDNts/), Named Data Networking libraries for the modern web.
44

55
This package allows inserting and deleting Data in [ndn-python-repo](https://github.com/UCLA-IRL/ndn-python-repo).
6-
This implementation is compatible with ndn-python-repo `991ed9de` (2026-01-08).
6+
This implementation is compatible with ndn-python-repo `751663e6` (2026-08-01).
77
It may also work with other versions of ndn-python-repo if the protocol remains compatible.
88

99
To install and start ndn-python-repo, run:
1010

1111
```bash
1212
# create Python virtual environment
13-
python3.12 -m venv ~/pyrepo.venv
13+
python3.13 -m venv ~/pyrepo.venv
1414
source ~/pyrepo.venv/bin/activate
1515

1616
# install ndn-python-repo
17-
pip install git+https://github.com/UCLA-IRL/ndn-python-repo@991ed9de02add3c1aea9994da573da9ae3ce7c67
17+
pip install git+https://github.com/UCLA-IRL/ndn-python-repo@751663e6b111e53591575f79bfe1fe2db9a5d0ac
1818

1919
# run ndn-python-repo
2020
ndn-python-repo
2121
```
2222

23-
`PyRepoClient` type is a client for [ndn-python-repo protocol](https://github.com/UCLA-IRL/ndn-python-repo/tree/991ed9de02add3c1aea9994da573da9ae3ce7c67/docs/src/specification).
23+
`PyRepoClient` type is a client for [ndn-python-repo protocol](https://github.com/UCLA-IRL/ndn-python-repo/tree/751663e6b111e53591575f79bfe1fe2db9a5d0ac/docs/src/specification).
2424
`PyRepoStore` type implements a write-only subset of `DataStore` interfaces as defined in `@ndn/repo-api` package.
2525

26+
This package also includes experimental implementation of [direct ingest protocol](https://github.com/UCLA-IRL/ndn-python-repo/pull/119), available as `PyRepoClient.ingest()` method.
27+
To test this feature, install an alternate version of ndn-python-repo as below:
28+
29+
```bash
30+
# install ndn-python-repo#119
31+
pip install git+https://github.com/UCLA-IRL/ndn-python-repo@refs/pull/119/merge
32+
```
33+
2634
```ts
2735
import { PyRepoStore } from "@ndn/pyrepo";
2836

pkg/pyrepo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"@ndn/ndnsec": "workspace:^",
4646
"@ndn/nfdmgmt": "workspace:^",
4747
"@types/netmask": "^2.0.6",
48-
"execa": "^10.0.0",
48+
"execa": "^10.0.1",
4949
"netmask": "^2.1.1"
5050
}
5151
}

0 commit comments

Comments
 (0)