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

feat: upgrade deps for blob #187

Merged
merged 8 commits into from
Jun 3, 2024
Merged

feat: upgrade deps for blob #187

merged 8 commits into from
Jun 3, 2024

Conversation

vasco-santos
Copy link
Contributor

@vasco-santos vasco-santos commented Jun 3, 2024

Also adds blob add, ls and rm commands.

Screenshot 2024-06-03 at 16 39 14

test/bin.spec.js Outdated

'w3 login': test(async (assert, context) => {
const login = w3
.args(['login', '[email protected]'])
.args(['login', 'alice-cli-test@web.mail'])
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like [email protected] is flagged as spam email and we cannot use it anymore? I get an error

@@ -81,7 +81,7 @@ bafybeibvbxjeodaa6hdqlgbwmv4qzdp3bxnwdoukay4dpl7aemkiwc2eje`
'uploadListResponseToString can return the upload roots as newline delimited JSON':
(assert) => {
assert.equal(
uploadListResponseToString(uploadListResponse, { shards: true }),
uploadListResponseToString(uploadListResponse, { shards: true, plainTree: true }),
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like some color changes that made this now fail unless I do this?

test/bin.spec.js Outdated
.env(context.env.alice)
.args(['account ls'])
.join()
// 'w3 account ls': test(async (assert, context) => {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

somehow this does ls on my account 🤷🏼‍♂️

@alanshaw alanshaw marked this pull request as ready for review June 3, 2024 15:39
@alanshaw alanshaw self-requested a review June 3, 2024 15:40
Copy link
Contributor Author

@vasco-santos vasco-santos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good. We should make sure to add blob commands to the readme (perhaps remove store), and hopefully fix comments of the review

test/bin.spec.js Outdated Show resolved Hide resolved
test/bin.spec.js Outdated Show resolved Hide resolved
test/bin.spec.js Outdated Show resolved Hide resolved
test/bin.spec.js Show resolved Hide resolved
test/bin.spec.js Show resolved Hide resolved
Copy link
Contributor Author

@vasco-santos vasco-santos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

README.md Outdated
# delegate store/* and upload/* to did:key:z6M..., output as a string
w3 delegation create did:key:z6M... --can 'store/*' --can 'upload/*' --base64
# delegate all space admin capabilities to did:key:z6M..., output as a string
w3 delegation create did:key:z6M... --can 'space/*' --base64
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we filecoin/offer? 😬

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or I mean, upload/ should also maybe keep there?

@alanshaw alanshaw merged commit 7f52cc0 into main Jun 3, 2024
1 check passed
@alanshaw alanshaw deleted the feat/upgrade-deps-for-blob branch June 3, 2024 18:34
vasco-santos pushed a commit that referenced this pull request Jun 4, 2024
🤖 I have created a release *beep* *boop*
---


## [7.7.0](v7.6.2...v7.7.0)
(2024-06-04)


### Features

* allow pipe to w3 up
([#188](#188))
([4961f4a](4961f4a))
* upgrade deps for blob
([#187](#187))
([7f52cc0](7f52cc0))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

2 participants