Skip to content

Commit

Permalink
change utility name
Browse files Browse the repository at this point in the history
  • Loading branch information
Francesco Faraone committed Sep 14, 2020
1 parent 3e40e3f commit 8ad207e
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 25 deletions.
14 changes: 7 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,31 +38,31 @@ deploy:
all_branches: true
distributions: sdist
condition: "$BUILD = PYPI"
repo: cloudblue/product-sync
repo: cloudblue/connect-cli
- provider: releases
skip_cleanup: true
api_key:
secure: LYs1vRe6aIL1GQ9HY3HGYxkeSdsmk9Lncfli2LOu7tjr27w28WAlmRtmFouJJe/L4922v+DAuYD3hZReZ7sfLZQrhfUnm8C4EaEo9sHncYXq6DSdiT+R+fRbieIWObch5p2rhQUPL9t7nqxS9ZKvB1FXeNGyctNiL4Uo+MJSaK369/vBr0zymlD/sXJeN+1Ssfm1s0wuqryG0ttZxnIF/A4Me6U8WA2nWKvzchEo8vgM7k9W7PR+BinOS85nxc65mMe5THuXq2rbiB+DUs4d9Qg41SdgiR6oPDaQk69ZRyQMolGp/H6IgpQbErkBLf6VnpoydEEkKgRo0PThJ6qZCwBO71jR+DCgIsqf/iM4rvAuJ2DnuVgkKjdRiwOwBJqZIBxSqyq6J5JBixHAlFHM2rux0UjLXVbt404UzIbmXLYndhsak/WjGWhDOYeOhSqKIreF+3Gpd5Drg1JhApOshNNG1p7PfH4e1OeujLeF+9xoBKwJvE6ljkZaYQkDUhw0NK51sxHyB0bUQzHD+gSvkA1mAv68Ko/bKGbqqJ7soBxYeNNKrYEZvgYA3OALgfEEBo9R7Zk0Iw7IesiyT9Bz6wLp1AU62IDoaqqgeVWYEPSrqUjqMEgsClUFu/S7JEpRfJGZi8N/zkjApA7MF4GDkVA/BSiYl4wBFfR9xXr9hG8=
file: "product-sync_${TRAVIS_TAG}_${TRAVIS_OS_NAME}_${TRAVIS_CPU_ARCH}.tar.gz"
file: "connect-cli_${TRAVIS_TAG}_${TRAVIS_OS_NAME}_${TRAVIS_CPU_ARCH}.tar.gz"
on:
tags: true
condition: "$DIST = linux"
repo: cloudblue/product-sync
repo: cloudblue/connect-cli
- provider: releases
skip_cleanup: true
api_key:
secure: LYs1vRe6aIL1GQ9HY3HGYxkeSdsmk9Lncfli2LOu7tjr27w28WAlmRtmFouJJe/L4922v+DAuYD3hZReZ7sfLZQrhfUnm8C4EaEo9sHncYXq6DSdiT+R+fRbieIWObch5p2rhQUPL9t7nqxS9ZKvB1FXeNGyctNiL4Uo+MJSaK369/vBr0zymlD/sXJeN+1Ssfm1s0wuqryG0ttZxnIF/A4Me6U8WA2nWKvzchEo8vgM7k9W7PR+BinOS85nxc65mMe5THuXq2rbiB+DUs4d9Qg41SdgiR6oPDaQk69ZRyQMolGp/H6IgpQbErkBLf6VnpoydEEkKgRo0PThJ6qZCwBO71jR+DCgIsqf/iM4rvAuJ2DnuVgkKjdRiwOwBJqZIBxSqyq6J5JBixHAlFHM2rux0UjLXVbt404UzIbmXLYndhsak/WjGWhDOYeOhSqKIreF+3Gpd5Drg1JhApOshNNG1p7PfH4e1OeujLeF+9xoBKwJvE6ljkZaYQkDUhw0NK51sxHyB0bUQzHD+gSvkA1mAv68Ko/bKGbqqJ7soBxYeNNKrYEZvgYA3OALgfEEBo9R7Zk0Iw7IesiyT9Bz6wLp1AU62IDoaqqgeVWYEPSrqUjqMEgsClUFu/S7JEpRfJGZi8N/zkjApA7MF4GDkVA/BSiYl4wBFfR9xXr9hG8=
file: "product-sync_${TRAVIS_TAG}_${TRAVIS_OS_NAME}_${TRAVIS_CPU_ARCH}.tar.gz"
file: "connect-cli_${TRAVIS_TAG}_${TRAVIS_OS_NAME}_${TRAVIS_CPU_ARCH}.tar.gz"
on:
tags: true
condition: "$DIST = osx"
repo: cloudblue/product-sync
repo: cloudblue/connect-cli
- provider: releases
skip_cleanup: true
api_key:
secure: LYs1vRe6aIL1GQ9HY3HGYxkeSdsmk9Lncfli2LOu7tjr27w28WAlmRtmFouJJe/L4922v+DAuYD3hZReZ7sfLZQrhfUnm8C4EaEo9sHncYXq6DSdiT+R+fRbieIWObch5p2rhQUPL9t7nqxS9ZKvB1FXeNGyctNiL4Uo+MJSaK369/vBr0zymlD/sXJeN+1Ssfm1s0wuqryG0ttZxnIF/A4Me6U8WA2nWKvzchEo8vgM7k9W7PR+BinOS85nxc65mMe5THuXq2rbiB+DUs4d9Qg41SdgiR6oPDaQk69ZRyQMolGp/H6IgpQbErkBLf6VnpoydEEkKgRo0PThJ6qZCwBO71jR+DCgIsqf/iM4rvAuJ2DnuVgkKjdRiwOwBJqZIBxSqyq6J5JBixHAlFHM2rux0UjLXVbt404UzIbmXLYndhsak/WjGWhDOYeOhSqKIreF+3Gpd5Drg1JhApOshNNG1p7PfH4e1OeujLeF+9xoBKwJvE6ljkZaYQkDUhw0NK51sxHyB0bUQzHD+gSvkA1mAv68Ko/bKGbqqJ7soBxYeNNKrYEZvgYA3OALgfEEBo9R7Zk0Iw7IesiyT9Bz6wLp1AU62IDoaqqgeVWYEPSrqUjqMEgsClUFu/S7JEpRfJGZi8N/zkjApA7MF4GDkVA/BSiYl4wBFfR9xXr9hG8=
file: "product-sync_${TRAVIS_TAG}_${TRAVIS_OS_NAME}_${TRAVIS_CPU_ARCH}.zip"
file: "connect-cli_${TRAVIS_TAG}_${TRAVIS_OS_NAME}_${TRAVIS_CPU_ARCH}.zip"
on:
tags: true
condition: "$DIST = windows"
repo: cloudblue/product-sync
repo: cloudblue/connect-cli
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Connect Product Synchronizer
# Connect Command Line Interface

![pyversions](https://img.shields.io/pypi/pyversions/product-sync.svg) [![PyPi Status](https://img.shields.io/pypi/v/product-sync.svg)](https://pypi.org/project/product-sync/) [![Build Status](https://travis-ci.org/cloudblue/product-sync.svg?branch=master)](https://travis-ci.org/cloudblue/product-sync)
![pyversions](https://img.shields.io/pypi/pyversions/connect-cli.svg) [![PyPi Status](https://img.shields.io/pypi/v/connect-cli.svg)](https://pypi.org/project/connect-cli/) [![Build Status](https://travis-ci.org/cloudblue/connect-cli.svg?branch=master)](https://travis-ci.org/cloudblue/connect-cli)


## Introduction
Expand All @@ -25,41 +25,41 @@ Service providers can use CloudBlue Connect to:
* Transform perpetual licensed products into a subscription model
* Onboard new products into their portfolio quickly to build and deliver unique solutions to end customers

`product-sync` allow users to export/synchronize the items of a product to/from an Excel workbook.
`connect-cli` allow users to export/synchronize the items of a product to/from an Excel workbook.


## Install

### Using a virtualenv

To use `product-sync` you need any *nix system with python 3.6 or later installed.
To use `connect-cli` you need any *nix system with python 3.6 or later installed.

The preferred way to install `product-sync` is using a [virtualenv](https://virtualenv.pypa.io/en/latest/):
The preferred way to install `connect-cli` is using a [virtualenv](https://virtualenv.pypa.io/en/latest/):

```
$ virtualenv psync
$ source pysync/bin/activate
$ pip install product-synchronizer
$ pip install connect-cli
```

### Binary distributions

A single executable binary distribution is available for both linux and mac osx (amd64).
You can it from the [Github Releases](https://github.com/cloudblue/product-sync/releases) page.
You can it from the [Github Releases](https://github.com/cloudblue/connect-cli/releases) page.

To install under linux:

```
$ curl -O -J https://github.com/cloudblue/product-sync/releases/download/1.2/product-sync_1.2_linux_amd64.tar.gz
$ tar xvfz product-sync_1.2_linux_amd64.tar.gz
$ curl -O -J https://github.com/cloudblue/connect-cli/releases/download/1.2/connect-cli_1.2_linux_amd64.tar.gz
$ tar xvfz connect-cli_1.2_linux_amd64.tar.gz
$ sudo cp dist/ccli /usr/local/bin/ccli
```

To install under Mac OSX:

```
$ curl -O -J https://github.com/cloudblue/product-sync/releases/download/1.2/product-sync_1.2_osx_amd64.tar.gz
$ tar xvfz product-sync_1.2_linux_amd64.tar.gz
$ curl -O -J https://github.com/cloudblue/connect-cli/releases/download/1.2/connect-cli_1.2_osx_amd64.tar.gz
$ tar xvfz connect-cli_1.2_linux_amd64.tar.gz
$ sudo cp dist/ccli /usr/local/bin/ccli
```

Expand All @@ -71,7 +71,7 @@ To install under Mac OSX:

### Configure

First of all you need to configure the `product-sync` with the CloudBlue Connect API *endpoint* and *key*.
First of all you need to configure the `connect-cli` with the CloudBlue Connect API *endpoint* and *key*.

```
$ ccli configure --url https://api.connect.cloudblue.com/public/v1 --key "ApiKey XXXXX:YYYYY"
Expand All @@ -97,4 +97,4 @@ To sync products from Excel run:

## License

`product-sync` is released under the [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0).
`connect-cli` is released under the [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0).
6 changes: 3 additions & 3 deletions package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ pyinstaller resources/ccli.spec
echo "Create tarball for $TRAVIS_OS_NAME -> $TRAVIS_CPU_ARCH..."

if [ "$TRAVIS_OS_NAME" == "windows" ]; then
powershell.exe -nologo -noprofile -command "& { compress-archive -path '.\dist' -destinationpath '.\product-sync_${TRAVIS_TAG}_${TRAVIS_OS_NAME}_${TRAVIS_CPU_ARCH}.zip' }"
powershell.exe -nologo -noprofile -command "& { compress-archive -path '.\dist' -destinationpath '.\connect-cli_${TRAVIS_TAG}_${TRAVIS_OS_NAME}_${TRAVIS_CPU_ARCH}.zip' }"
ARCH_EXT="zip"
else
tar cvfz product-sync_${TRAVIS_TAG}_${TRAVIS_OS_NAME}_${TRAVIS_CPU_ARCH}.tar.gz dist
tar cvfz connect-cli_${TRAVIS_TAG}_${TRAVIS_OS_NAME}_${TRAVIS_CPU_ARCH}.tar.gz dist
ARCH_EXT="tar.gz"
fi


rm -rf dist

echo "product-sync_${TRAVIS_TAG}_${TRAVIS_OS_NAME}_${TRAVIS_CPU_ARCH}.${ARCH_EXT} ready!"
echo "connect-cli_${TRAVIS_TAG}_${TRAVIS_OS_NAME}_${TRAVIS_CPU_ARCH}.${ARCH_EXT} ready!"
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def read_file(name):


setup(
name='product-sync',
name='connect-cli',
author='CloudBlue',
url='https://connect.cloudblue.com',
description='CloudBlue Connect Product Synchronizer CLI',
Expand All @@ -35,6 +35,6 @@ def read_file(name):
'Programming Language :: Python :: 3.8',
'Topic :: Utilities',
],
keywords='fulfillment products synchronizer vendor connect cloudblue',
keywords='fulfillment command line interface utility cli vendor connect cloudblue',

)

0 comments on commit 8ad207e

Please sign in to comment.