-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
add remote pinning to ipfs command #7661
Commits on Oct 14, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 51235ee - Browse repository at this point
Copy the full SHA 51235eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7931918 - Browse repository at this point
Copy the full SHA 7931918View commit details -
Configuration menu - View commit details
-
Copy full SHA for cd7bdc1 - Browse repository at this point
Copy the full SHA cd7bdc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f717f9 - Browse repository at this point
Copy the full SHA 4f717f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0eacb46 - Browse repository at this point
Copy the full SHA 0eacb46View commit details -
Configuration menu - View commit details
-
Copy full SHA for ad92599 - Browse repository at this point
Copy the full SHA ad92599View commit details -
Configuration menu - View commit details
-
Copy full SHA for 23a49e8 - Browse repository at this point
Copy the full SHA 23a49e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba49da3 - Browse repository at this point
Copy the full SHA ba49da3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 952efa2 - Browse repository at this point
Copy the full SHA 952efa2View commit details -
Configuration menu - View commit details
-
Copy full SHA for a89c16a - Browse repository at this point
Copy the full SHA a89c16aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e29c51c - Browse repository at this point
Copy the full SHA e29c51cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 82abe0b - Browse repository at this point
Copy the full SHA 82abe0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for bfd5b6b - Browse repository at this point
Copy the full SHA bfd5b6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 885c962 - Browse repository at this point
Copy the full SHA 885c962View commit details -
Update core/commands/remotepin.go
Co-authored-by: Marcin Rataj <lidel@lidel.org>
Configuration menu - View commit details
-
Copy full SHA for a086d7c - Browse repository at this point
Copy the full SHA a086d7cView commit details -
Update core/commands/remotepin.go
Co-authored-by: Marcin Rataj <lidel@lidel.org>
Configuration menu - View commit details
-
Copy full SHA for af1994b - Browse repository at this point
Copy the full SHA af1994bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 27e5dad - Browse repository at this point
Copy the full SHA 27e5dadView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e07f26 - Browse repository at this point
Copy the full SHA 8e07f26View commit details -
Configuration menu - View commit details
-
Copy full SHA for c58e296 - Browse repository at this point
Copy the full SHA c58e296View commit details -
Configuration menu - View commit details
-
Copy full SHA for c8f0743 - Browse repository at this point
Copy the full SHA c8f0743View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4bb8dd6 - Browse repository at this point
Copy the full SHA 4bb8dd6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 74a00b1 - Browse repository at this point
Copy the full SHA 74a00b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for a17a170 - Browse repository at this point
Copy the full SHA a17a170View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3383e81 - Browse repository at this point
Copy the full SHA 3383e81View commit details -
Configuration menu - View commit details
-
Copy full SHA for e7d3d47 - Browse repository at this point
Copy the full SHA e7d3d47View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf4ae65 - Browse repository at this point
Copy the full SHA cf4ae65View commit details -
Configuration menu - View commit details
-
Copy full SHA for 125bd85 - Browse repository at this point
Copy the full SHA 125bd85View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c639f8 - Browse repository at this point
Copy the full SHA 0c639f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for d974b63 - Browse repository at this point
Copy the full SHA d974b63View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4dd2806 - Browse repository at this point
Copy the full SHA 4dd2806View commit details -
Configuration menu - View commit details
-
Copy full SHA for d51f78c - Browse repository at this point
Copy the full SHA d51f78cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8271449 - Browse repository at this point
Copy the full SHA 8271449View commit details -
Configuration menu - View commit details
-
Copy full SHA for 87babfe - Browse repository at this point
Copy the full SHA 87babfeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a33faa - Browse repository at this point
Copy the full SHA 9a33faaView commit details -
Configuration menu - View commit details
-
Copy full SHA for ce4e47c - Browse repository at this point
Copy the full SHA ce4e47cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a723323 - Browse repository at this point
Copy the full SHA a723323View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2014d40 - Browse repository at this point
Copy the full SHA 2014d40View commit details
Commits on Oct 15, 2020
-
Configuration menu - View commit details
-
Copy full SHA for f940ce2 - Browse repository at this point
Copy the full SHA f940ce2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 512d28a - Browse repository at this point
Copy the full SHA 512d28aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e5df8d4 - Browse repository at this point
Copy the full SHA e5df8d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6af2be2 - Browse repository at this point
Copy the full SHA 6af2be2View commit details -
Configuration menu - View commit details
-
Copy full SHA for db63b3d - Browse repository at this point
Copy the full SHA db63b3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 482d0c6 - Browse repository at this point
Copy the full SHA 482d0c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae295f2 - Browse repository at this point
Copy the full SHA ae295f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9551188 - Browse repository at this point
Copy the full SHA 9551188View commit details -
Configuration menu - View commit details
-
Copy full SHA for b0b7936 - Browse repository at this point
Copy the full SHA b0b7936View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd5977c - Browse repository at this point
Copy the full SHA fd5977cView commit details
Commits on Oct 16, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 269559b - Browse repository at this point
Copy the full SHA 269559bView commit details
Commits on Oct 26, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 5665beb - Browse repository at this point
Copy the full SHA 5665bebView commit details
Commits on Oct 27, 2020
-
Configuration menu - View commit details
-
Copy full SHA for aa9be93 - Browse repository at this point
Copy the full SHA aa9be93View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1decef0 - Browse repository at this point
Copy the full SHA 1decef0View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef05661 - Browse repository at this point
Copy the full SHA ef05661View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0484dac - Browse repository at this point
Copy the full SHA 0484dacView commit details -
Configuration menu - View commit details
-
Copy full SHA for fba1fa3 - Browse repository at this point
Copy the full SHA fba1fa3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2188111 - Browse repository at this point
Copy the full SHA 2188111View commit details -
Configuration menu - View commit details
-
Copy full SHA for d96e6d1 - Browse repository at this point
Copy the full SHA d96e6d1View commit details
Commits on Oct 28, 2020
-
Configuration menu - View commit details
-
Copy full SHA for ebc3e7d - Browse repository at this point
Copy the full SHA ebc3e7dView commit details
Commits on Oct 29, 2020
-
Configuration menu - View commit details
-
Copy full SHA for fb57add - Browse repository at this point
Copy the full SHA fb57addView commit details
Commits on Oct 30, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 1c3d033 - Browse repository at this point
Copy the full SHA 1c3d033View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d9607a - Browse repository at this point
Copy the full SHA 2d9607aView commit details
Commits on Nov 2, 2020
-
Configuration menu - View commit details
-
Copy full SHA for e8d2d61 - Browse repository at this point
Copy the full SHA e8d2d61View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5102a9f - Browse repository at this point
Copy the full SHA 5102a9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d3f998 - Browse repository at this point
Copy the full SHA 8d3f998View commit details -
Configuration menu - View commit details
-
Copy full SHA for fcaed78 - Browse repository at this point
Copy the full SHA fcaed78View commit details
Commits on Nov 3, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 4ea4d91 - Browse repository at this point
Copy the full SHA 4ea4d91View commit details -
Configuration menu - View commit details
-
Copy full SHA for 12398e8 - Browse repository at this point
Copy the full SHA 12398e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 736afdf - Browse repository at this point
Copy the full SHA 736afdfView commit details -
Configuration menu - View commit details
-
Copy full SHA for eb57fbd - Browse repository at this point
Copy the full SHA eb57fbdView commit details -
Configuration menu - View commit details
-
Copy full SHA for a463bc9 - Browse repository at this point
Copy the full SHA a463bc9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8dd8220 - Browse repository at this point
Copy the full SHA 8dd8220View commit details
Commits on Nov 4, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 4322a2c - Browse repository at this point
Copy the full SHA 4322a2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d56ec14 - Browse repository at this point
Copy the full SHA d56ec14View commit details -
Configuration menu - View commit details
-
Copy full SHA for 39a3539 - Browse repository at this point
Copy the full SHA 39a3539View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4283745 - Browse repository at this point
Copy the full SHA 4283745View commit details -
Configuration menu - View commit details
-
Copy full SHA for 28d0614 - Browse repository at this point
Copy the full SHA 28d0614View commit details
Commits on Nov 5, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 0047826 - Browse repository at this point
Copy the full SHA 0047826View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff89659 - Browse repository at this point
Copy the full SHA ff89659View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7426095 - Browse repository at this point
Copy the full SHA 7426095View commit details
Commits on Nov 6, 2020
-
Configuration menu - View commit details
-
Copy full SHA for b2d073c - Browse repository at this point
Copy the full SHA b2d073cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a3e500c - Browse repository at this point
Copy the full SHA a3e500cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6511f42 - Browse repository at this point
Copy the full SHA 6511f42View commit details
Commits on Nov 12, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 82142cc - Browse repository at this point
Copy the full SHA 82142ccView commit details -
fix(ci): deterministic rb-pinning-service-api
This ensures sharness tests are not broken when new version of rb-pinning-service-api lands in master
Configuration menu - View commit details
-
Copy full SHA for a16e847 - Browse repository at this point
Copy the full SHA a16e847View commit details
Commits on Nov 13, 2020
-
- wip support for Pin.origins (commented out) - safeguard against remote service changing remoteid during add with background=false - change default output to follow commands like 'files stat' - add bunch of TODOs for identified problems - 'pin remote service add' - require three arguments - validate that URL is URL and starts with http - refactor relevant tests - add test for invalid URL (two cases: 404 and DNS) - go mod tidy - tests - 'pin remote ls' - switch --status to working notation, add TODO about supporting shorter form - removed 'sleep' from tests (we are testing 'pin remote', not the pinning service itself) - added test for inlined CID
Configuration menu - View commit details
-
Copy full SHA for 23b559e - Browse repository at this point
Copy the full SHA 23b559eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 576b085 - Browse repository at this point
Copy the full SHA 576b085View commit details -
fix: output of pin remote service ls
- by default outputs two columns separated with tab, just like 'key list' does - when --enc=json is passed, an object with RemoteServices array is returned (mirroring what 'key list' does)
Configuration menu - View commit details
-
Copy full SHA for a152a43 - Browse repository at this point
Copy the full SHA a152a43View commit details
Commits on Nov 14, 2020
-
feat: ipfs pin remote ls [<request-id>]
This deduplicates code responsible for printing single PinStatus response, and adds support for checking status based on RequestID which is required by ipfs-webui integration. Next step is to support more than one RequestID.
Configuration menu - View commit details
-
Copy full SHA for b7e0c08 - Browse repository at this point
Copy the full SHA b7e0c08View commit details -
feat: ipfs pin remote ls [<request-id>]...
This adds support for checking status of multiple remote pins via single command. should save a bunch of time in userland, including ipfs-webui While at it, fixed some tests to be more reliable. This is still WIP (pin remote rm seems to be still buggy)
Configuration menu - View commit details
-
Copy full SHA for bea8056 - Browse repository at this point
Copy the full SHA bea8056View commit details -
Configuration menu - View commit details
-
Copy full SHA for 531923b - Browse repository at this point
Copy the full SHA 531923bView commit details
Commits on Nov 16, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 75bd021 - Browse repository at this point
Copy the full SHA 75bd021View commit details
Commits on Nov 17, 2020
-
style: improved error messages
added requestid to error messages, so user can then inspect/resume/remove the queued pin request
Configuration menu - View commit details
-
Copy full SHA for 87d93a3 - Browse repository at this point
Copy the full SHA 87d93a3View commit details -
chore: latest rb-pinning-service-api
latest version has a smaller image shich should speed up CI a bit sidenote: this version hides go-ipfs used by rb-pinning-service-api behind NAT, removing port conflict on local env, and simulating (reverse) NAT setup for data transfer
Configuration menu - View commit details
-
Copy full SHA for 235a099 - Browse repository at this point
Copy the full SHA 235a099View commit details -
fix: support --status=a,b and --cid=a,b
improve CLI ergonomics by supporting support bothi notations: --status=a --status=b and --status=a,b --cid=a --cid=b and --cid=a,b
Configuration menu - View commit details
-
Copy full SHA for f75a209 - Browse repository at this point
Copy the full SHA f75a209View commit details -
refactor(ci): dynamic DOCKER_HOST
This should protect us against GitHub or Docker changing the default IPs
Configuration menu - View commit details
-
Copy full SHA for cd0a273 - Browse repository at this point
Copy the full SHA cd0a273View commit details -
fix: 'config show' crash when no pin services
- makes scrubing not fail when field missing This still needs: - config replace - tests
Configuration menu - View commit details
-
Copy full SHA for 322ec35 - Browse repository at this point
Copy the full SHA 322ec35View commit details -
feat: switch to --background=false by default
We want the default to be blocking by default, so the behaviour on the CLI is the same as the old local `pin add` and we can add `pin local add` later that behaves the same. Another argument is that we don't want to surprise user that the item is not pinned when they dont read the output of `pin remote add` and assume success as "pinned" and not "queued"
Configuration menu - View commit details
-
Copy full SHA for c66f1dd - Browse repository at this point
Copy the full SHA c66f1ddView commit details -
refactor: background=false by default and status
This switches the default to be blocking, just like the old 'pin add` is. This will make future `pin local add` easier to add in a backward-compatible manner. Pinning Services return only pinned objects by default, which may be confusing. This adds explicit default and list of available options, so users are not surprised when non-pinned (eg. queued) pins are ommited from default output.
Configuration menu - View commit details
-
Copy full SHA for 807b790 - Browse repository at this point
Copy the full SHA 807b790View commit details
Commits on Nov 18, 2020
-
chore: remove delegate list from plain-text output
We already hide delegate list inb Text output in `pin remote ls`, this aligns `pin remote add` output to do the same. Delegates list is still returned when `--enc=json` is passed (or on HTTP API)
Configuration menu - View commit details
-
Copy full SHA for eb992b4 - Browse repository at this point
Copy the full SHA eb992b4View commit details -
refactor: switch remote pin tests to inlined CIDs
this is in preparation for ipfs-shipyard/rb-pinning-service-api#8 when that lands, we will leverage the fact that inlined CID can be pinned instantly on the remote service
Configuration menu - View commit details
-
Copy full SHA for 0bf0314 - Browse repository at this point
Copy the full SHA 0bf0314View commit details
Commits on Nov 20, 2020
-
feat: pin remote service ls --pin-count
This adds --pin-count opt-in flag that returns number of 'queued/pinning/pinned/failed' pins at remote service or 'offline' if fetch of pin counts was not possible JSON representation uses PinCount object (missing when 'offline') Requires LsBatchSync from ipfs/go-pinning-service-http-client#4
Configuration menu - View commit details
-
Copy full SHA for fb31dd3 - Browse repository at this point
Copy the full SHA fb31dd3View commit details
Commits on Nov 24, 2020
-
fix: partial config sanitization and tests
- basic sanitization for Pinning.RemoteServices - TODO: 'config replace' still needs a fix - tests mostly green thanks to inlined CIDs - TODO: filtering by status may have a bug, needs a closer look
Configuration menu - View commit details
-
Copy full SHA for 3293d1a - Browse repository at this point
Copy the full SHA 3293d1aView commit details
Commits on Nov 25, 2020
-
Configuration menu - View commit details
-
Copy full SHA for a080d84 - Browse repository at this point
Copy the full SHA a080d84View commit details -
Configuration menu - View commit details
-
Copy full SHA for c5a8451 - Browse repository at this point
Copy the full SHA c5a8451View commit details
Commits on Nov 26, 2020
-
fix: remote remote services from config outputs
This ensures contents of Pinning.RemoteServices get the same protection as Identity.PrivKey. The goal here is it ensure that even if API access is compromised, the remote service ApiKey won't get leaked.
Configuration menu - View commit details
-
Copy full SHA for ca3b866 - Browse repository at this point
Copy the full SHA ca3b866View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ff07fa - Browse repository at this point
Copy the full SHA 9ff07faView commit details
Commits on Nov 27, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 8f89163 - Browse repository at this point
Copy the full SHA 8f89163View commit details
Commits on Nov 30, 2020
-
built-in json marshal/unmarshal does the same trick
Configuration menu - View commit details
-
Copy full SHA for 4f44ac3 - Browse repository at this point
Copy the full SHA 4f44ac3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4eb3757 - Browse repository at this point
Copy the full SHA 4eb3757View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef975b0 - Browse repository at this point
Copy the full SHA ef975b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e9e89c - Browse repository at this point
Copy the full SHA 5e9e89cView commit details
Commits on Dec 2, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 965b709 - Browse repository at this point
Copy the full SHA 965b709View commit details
Commits on Dec 3, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 7d63db3 - Browse repository at this point
Copy the full SHA 7d63db3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8564996 - Browse repository at this point
Copy the full SHA 8564996View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5dfbe2f - Browse repository at this point
Copy the full SHA 5dfbe2fView commit details
Commits on Dec 4, 2020
-
fix: avoid redundant /pins/pins
Small UX improvement, if someone passes URL with operation path: https://api.service.example.com/pins/
Configuration menu - View commit details
-
Copy full SHA for 1706647 - Browse repository at this point
Copy the full SHA 1706647View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4e2b04 - Browse repository at this point
Copy the full SHA e4e2b04View commit details -
refactor: remove requestid and delegates
Rationale: #7661 (comment) Note: one config test fails due to unrelated changes, this will be addressed separatelly.
Configuration menu - View commit details
-
Copy full SHA for a1ea3d6 - Browse repository at this point
Copy the full SHA a1ea3d6View commit details -
refactor: sanitize entire Pinning block for now
We will replace this with smarter logic in separate PR with MFSRepinInterval
Configuration menu - View commit details
-
Copy full SHA for fa9f36f - Browse repository at this point
Copy the full SHA fa9f36fView commit details -
refactor: rename --pin-count to --stat
Applying suggestions from #7661 (comment)
Configuration menu - View commit details
-
Copy full SHA for 244b186 - Browse repository at this point
Copy the full SHA 244b186View commit details
Commits on Dec 5, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 808e74e - Browse repository at this point
Copy the full SHA 808e74eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 32f8950 - Browse repository at this point
Copy the full SHA 32f8950View commit details
Commits on Dec 6, 2020
-
Configuration menu - View commit details
-
Copy full SHA for eda4ea4 - Browse repository at this point
Copy the full SHA eda4ea4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 876abda - Browse repository at this point
Copy the full SHA 876abdaView commit details -
Configuration menu - View commit details
-
Copy full SHA for da85c74 - Browse repository at this point
Copy the full SHA da85c74View commit details
Commits on Dec 7, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 121ae86 - Browse repository at this point
Copy the full SHA 121ae86View commit details
Commits on Dec 8, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 0cc482d - Browse repository at this point
Copy the full SHA 0cc482dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 06709ac - Browse repository at this point
Copy the full SHA 06709acView commit details
Commits on Dec 9, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 6beca40 - Browse repository at this point
Copy the full SHA 6beca40View commit details