storj/cmd
Erik van Velzen b4e42ceb23 cmd/uplinkng: fix linkshare bugs
Fix various bugs by remove superflous steps and letting libuplink
build the url.

$ uplinkng share --not-after +1h --url sj://mybucket/myprefix/

before: https://link.us1.storjshare.io/s/jxcvcme2xkb44xsec235xb2ccmbq//myprefix//
after: https://link.us1.storjshare.io/s/jxcvcme2xkb44xsec235xb2ccmbq/mybucket/myprefix/

$ uplinkng share --not-after +1h --url $(printf "sj://waterbear/aa\x03bb")

before: https://link.us1.storjshare.io/s/jwbcxjiv4ept7t2g3qmxfb73ljga//aabb
after: https://link.us1.storjshare.io/s/jvod7pixige62yrp5tubn4ct47yq/waterbear/aa%03bb

$ uplinkng share --not-after +1h --url

before: no url generated, no error
after: error "Need at least a bucket to create a working linkshare URL"
Change-Id: Ibca6847f8fc5d5fad9ee4642d11d3081d75d77ca
2022-03-03 16:00:10 +00:00
..
certificates all: fix error naming 2021-04-29 15:38:21 +03:00
connect-test deps: upgrade storj.io/common 2022-02-16 18:59:19 +00:00
crashcollect crashcollect: process for receiving panics 2021-04-27 18:57:47 +03:00
identity ci: fix lint errors 2021-05-17 13:37:31 +00:00
inspector satellite: remove irreparabledb leftovers from code 2021-06-22 11:26:17 +00:00
internal/wizard cmd/internal/asset: delete unused code 2021-05-20 18:30:19 +03:00
metabase-orphaned-segments cmd,private,satellite: add application_name to metabase connections 2022-02-20 22:29:41 +01:00
metabase-verify cmd,private,satellite: add application_name to metabase connections 2022-02-20 22:29:41 +01:00
metric-receiver cmd/metric-receiver: restore minimal metrics server 2020-10-14 20:01:29 +03:00
multinode cmd/multinode: Add further documentation (#4556) 2022-02-22 14:42:54 +01:00
partnerid-to-useragent-migration cmd/partnerid-to-useragent-migration: LIMIT 1 in MigrateUsers id select query 2022-01-31 23:57:30 +00:00
satellite sql: capitalize keywords 2022-03-01 15:19:38 +00:00
storagenode cmd/storagenode: restore passing arguments 2022-02-04 02:48:39 +00:00
storagenode-updater ci: Golangci lint v1.43.0 changes (#4307) 2021-12-09 20:49:48 +01:00
storj-admin all: fix linter complaints 2020-10-13 15:59:01 +03:00
storj-sim mod: use vendored base58 2022-01-31 15:54:33 +02:00
uplink cmd/uplinkng: fix linkshare bugs 2022-03-03 16:00:10 +00:00
versioncontrol private/version: minimal fix for tag-release.sh 2020-04-01 13:46:45 +00:00