edgewall / genshi

Python toolkit for generation of output for the web
http://genshi.edgewall.org
Other
86 stars 35 forks source link

Add deploy section. #2

Closed hodgestar closed 6 years ago

hodgestar commented 8 years ago

Attempts to address http://genshi.edgewall.org/ticket/606.

rjollos commented 6 years ago

We have an edgewall-org user that can be used for deployments. @hodgestar could you please add edgewall-org as a maintainer?

For Trac, I'm implementing deploy to PyPI in #12833.

hodgestar commented 6 years ago

@rjollos Added edgewall-org as a maintainer.

hodgestar commented 6 years ago

@rjollos How do we generate a password hash and add it to this travis file? Can you do that?

rjollos commented 6 years ago

I encrypted the password with travis encrypt <password> -r edgewall/genshi.

I think the following will work:

      deploy:
        - provider: pypi
          user: edgewall-org
          password:
            secure: "W86OIU/V9PbXdERXbR1vTOw/GvxoNyn5gt7n52TGqjI1BcklX1t31uPgBnf0wmlp/kY9vMbOYhuqUWpBhbMKMBY6zOuNnCV0H5vynZ/nWefSBK6Fqyl2zTsdLYfzUKAIPBldYcaiJMZ6eD++ujVsgWN6XglP7jYogqjJFxxNf6s="

You'll probably want to do some testing against https://test.pypi.org/. The edgewall-org password is the same on pypi and test.pypi. You can change the provider by adding:

          server: https://test.pypi.org

If you want to test using a fork you'll have to re-encrypt the password. The password can be found on the Edgewall wiki, on the PyPi page. Send me a direct message if you aren't familiar with accessing the Edgewall Trac instance. It appears you do have permissions to access.

See my notes here.