Skip to content

Commit

Permalink
pinned to uplink-c v1.2.2 (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
ayush-srivastava-03 authored Feb 9, 2021
1 parent a4e1542 commit 3c896e3
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 13 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# uplink-python binding changelog

## [1.2.2.0] - 08-02-2021
### Changelog:
* Pinned to specific version of uplinkc - v1.2.2
* Resolved satellite address issue in test cases.

## [1.2.0.0] - 14-12-2020
### Changelog:
* Pinned to specific version of uplinkc - v1.2.0
Expand Down
4 changes: 2 additions & 2 deletions README.assets/HOME.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ An access grant is always associated with exactly one Project on one Satellite.

```py
MY_API_KEY = "change-me-to-the-api-key-created-in-satellite-gui"
MY_SATELLITE = "us-central-1.tardigrade.io:7777"
MY_SATELLITE = "12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S@us-central-1.tardigrade.io:7777"
MY_ENCRYPTION_PASSPHRASE = "you'll never guess this"

try:
Expand Down Expand Up @@ -70,7 +70,7 @@ This function accepts 4 arguments Satellite URL, API Key, encryption passphrase,
from uplink_python.module_classes import Config

MY_API_KEY = "change-me-to-the-api-key-created-in-satellite-gui"
MY_SATELLITE = "us-central-1.tardigrade.io:7777"
MY_SATELLITE = "12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S@us-central-1.tardigrade.io:7777"
MY_ENCRYPTION_PASSPHRASE = "you'll never guess this"
config = Config()

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Codacy Badge](https://api.codacy.com/project/badge/Grade/aaee609406154b1794061386bb0ca60e)](https://app.codacy.com/gh/storj-thirdparty/uplink-python?utm_source=github.com&utm_medium=referral&utm_content=storj-thirdparty/uplink-python&utm_campaign=Badge_Grade_Dashboard)

### *Developed using v1.2.0 storj/uplink-c*
### *Developed using v1.2.2 storj/uplink-c*

### [API documentation and tutorial](https://storj-thirdparty.github.io/uplink-python/#/)

Expand Down Expand Up @@ -54,7 +54,7 @@ $ pip install uplink-python

* Clone [storj-uplink-c](https://godoc.org/storj.io/storj/lib/uplink) package to any location of your choice, using cmd/terminal navigate to ```PREFERED_DIR_PATH``` and run:
```
$ git clone -b v1.2.0 https://github.com/storj/uplink-c
$ git clone -b v1.2.2 https://github.com/storj/uplink-c
```

* After cloning the package, navigate to the ```PREFERED_DIR_PATH/uplink-c``` folder.
Expand Down
2 changes: 1 addition & 1 deletion cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ steps:
args: ["-c","gcloud secrets versions access latest --secret=StorjAPIKey >>secret.txt" ]
- name: 'gcr.io/${PROJECT_ID}/python3'
entrypoint: 'bash'
args: ["-c", "git clone -b v1.2.0 https://github.com/storj/uplink-c"]
args: ["-c", "git clone -b v1.2.2 https://github.com/storj/uplink-c"]
- name: 'gcr.io/${PROJECT_ID}/python3'
entrypoint: 'bash'
args: ["-c", "cd uplink-c && go build -o libuplinkc.so -buildmode=c-shared && cp *.so ../uplink_python/"]
Expand Down
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# <b>uplink-python binding</b>
> Developed using v1.2.0 storj/uplink-c
> Developed using v1.2.2 storj/uplink-c
> Binding is not tagged to any release and will use uplink-c master branch.
Expand Down Expand Up @@ -50,7 +50,7 @@ $ pip install uplink-python

* Clone [storj-uplink-c](https://godoc.org/storj.io/storj/lib/uplink) package to any location of your choice, using cmd/terminal navigate to ```PREFERED_DIR_PATH``` and run:
```
$ git clone -b v1.2.0 https://github.com/storj/uplink-c
$ git clone -b v1.2.2 https://github.com/storj/uplink-c
```

* After cloning the package, navigate to the ```PREFERED_DIR_PATH/uplink-c``` folder.
Expand Down
4 changes: 2 additions & 2 deletions docs/library.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ An access grant is always associated with exactly one Project on one Satellite.

```py
MY_API_KEY = "change-me-to-the-api-key-created-in-satellite-gui"
MY_SATELLITE = "us-central-1.tardigrade.io:7777"
MY_SATELLITE = "12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S@us-central-1.tardigrade.io:7777"
MY_ENCRYPTION_PASSPHRASE = "you'll never guess this"

try:
Expand Down Expand Up @@ -65,7 +65,7 @@ This function accepts 4 arguments Satellite URL, API Key, encryption passphrase,
from uplink_python.module_classes import Config

MY_API_KEY = "change-me-to-the-api-key-created-in-satellite-gui"
MY_SATELLITE = "us-central-1.tardigrade.io:7777"
MY_SATELLITE = "12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S@us-central-1.tardigrade.io:7777"
MY_ENCRYPTION_PASSPHRASE = "you'll never guess this"
config = Config()

Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ First and foremost, you need to have all the keys and configuration to connect t
```py
# Storj configuration information
MY_API_KEY = "change-me-to-the-api-key-created-in-satellite-gui"
MY_SATELLITE = "us-central-1.tardigrade.io:7777"
MY_SATELLITE = "12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S@us-central-1.tardigrade.io:7777"
MY_BUCKET = "my-first-bucket"
MY_STORJ_UPLOAD_PATH = "(optional): path / (required): filename"

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
with open("README.md", "r") as fh:
long_description = fh.read()

uplinkc_version = "v1.2.0"
uplinkc_version = "v1.2.2"

class Install(install):

Expand Down Expand Up @@ -60,7 +60,7 @@ def run(self):

setuptools.setup(
name="uplink-python",
version="1.2.0.0",
version="1.2.2.0",
author="Utropicmedia",
author_email="development@utropicmedia.com",
license='Apache Software License',
Expand Down
2 changes: 1 addition & 1 deletion uplink_python/hello_storj.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

# Storj configuration information
MY_API_KEY = "change-me-to-the-api-key-created-in-satellite-gui"
MY_SATELLITE = "us-central-1.tardigrade.io:7777"
MY_SATELLITE = "12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S@us-central-1.tardigrade.io:7777"
MY_BUCKET = "my-first-bucket"
MY_STORJ_UPLOAD_PATH = "(optional): path / (required): filename"
# (path + filename) OR filename
Expand Down

0 comments on commit 3c896e3

Please sign in to comment.