pyclipper icon indicating copy to clipboard operation
pyclipper copied to clipboard

deployment to github releases from appveyor fails

Open anthrotype opened this issue 7 years ago • 13 comments
trafficstars

The upload of the generated wheels to Github Releases requires that the admin of this repo, @greginvm, updates the auth_token field in the .appveyor.yml file with his Github API key, as explained in the inline comments in that file.

I am only a collaborator so I can push tags, but can't generate a new API token, nor I can encrypt it using the Appveyor account that is linked to this repo (that also needs @greginvm privileges).

I am thinking that maybe it's not worth keeping this "upload to github" feature. We simply need the wheels to be uploaded to PyPI, where pip can download them from. Having them on Github is a bonus but not really required.

So if we agree, I can set up Appveyor and Travis to upload the wheels directly to PyPI using my own PyPI credentials (i have access to the pyclipper PyPI account so it should work).

anthrotype avatar Jul 25 '18 12:07 anthrotype

for now I manually downloaded the wheels from appveyor, and uploaded them manually to both Github and PyPI

anthrotype avatar Jul 25 '18 12:07 anthrotype

Hey, @anthrotype we talked once that I'll transfer the repo to you. I just tried but I get an error because you have a fork of it. Still want to accept?

image

greginvm avatar Jul 25 '18 17:07 greginvm

@greginvm yes, that's my fork.. Actually, I'd rather you transfer it to the fonttools organization: https://github.com/fonttools

anthrotype avatar Jul 25 '18 17:07 anthrotype

and thank you! :heart:

anthrotype avatar Jul 25 '18 17:07 anthrotype

Hi, I can't transfer to fonttools because I don't have the "create repository" permission. We have 2 options, either I transfer it to you and then you transfer it to fonttools, or you give me create repo permissions in fonttools. Whichever options suits you better :)

https://help.github.com/articles/transferring-a-repository-owned-by-your-personal-account/#transferring-to-an-organization

image

greginvm avatar Jul 25 '18 17:07 greginvm

you are now a member ;)

anthrotype avatar Jul 25 '18 17:07 anthrotype

Nice! :) Repo transfered, tell me if you need anything

greginvm avatar Jul 25 '18 17:07 greginvm

thanks! :1st_place_medal:

anthrotype avatar Jul 25 '18 17:07 anthrotype

Can you do the auto upload to pypi now?

greginvm avatar Jul 25 '18 17:07 greginvm

yes, I'm admin now. I'll do when the time comes to make a new release. The latest is already on PyPI.

anthrotype avatar Jul 25 '18 18:07 anthrotype

OK, great, i hope it will serve you well 😸 ! If you want you can now remove me from the fonttools org.

greginvm avatar Jul 25 '18 18:07 greginvm

you can stay if you wish :)

anthrotype avatar Jul 25 '18 18:07 anthrotype

Well, I don't work on pyclipper anymore, so I don't need the membership. Thanks anyway!

greginvm avatar Jul 25 '18 18:07 greginvm