ohld / igbot

🐙 Free scripts, bots and Python API wrapper. Get free followers with our auto like, auto follow and other scripts!
https://hikerapi.com/p/N2P6iqiM
Apache License 2.0
4.72k stars 1.47k forks source link

Add Bot to auto publish on PIP #749

Closed ohld closed 5 years ago

ohld commented 5 years ago

I've seen some bots on GitHub that can auto-publish master branch to PIP. I think it will be very useful for us because we always forget to do that.

Take a look at this library: https://github.com/ccxt/ccxt It has all the bots that we may need.

maxdevblock commented 5 years ago

Travis can do it https://docs.travis-ci.com/user/deployment/pypi/

ohld commented 5 years ago

I've added PYPI_USERNAME and PYPI_PASSWORD to Travis-CI environment variables, so we can update travis convig to use it. Let's release a new version for every commit to master.

We need something to generate new version number and changelog text. @maxdevblock @sudoguy

ohld commented 5 years ago

First try failed: https://travis-ci.org/instagrambot/instabot/jobs/481490003

maxdevblock commented 5 years ago

I'll run some test next days on a test repo

maxdevblock commented 5 years ago

@ohld it says already up to date. Need to understand whta's checking for updating or not

maxdevblock commented 5 years ago

First try failed: https://travis-ci.org/instagrambot/instabot/jobs/481490003

Maybe I got it. In 484 says

HTTPError: 400 Client Error: File already exists. See https://pypi.org/help/#file-name-reuse for url: https://upload.pypi.org/legacy/

Looking there it says

PyPI does not allow for a filename to be reused

It was trying to upload instabot-0.4.5.tar.gz but this name-version.tar.gz is already in PyPi, so it can't upload it. The version, and so the package name with version, should change at each push for the new master branch to get published...

ohld commented 5 years ago

@sudoguy Waiting for the PIP autopost, guys from our telegram chat going bananas on bugs ....

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.