Skip to content

Commit

Permalink
Use https: for URLs.
Browse files Browse the repository at this point in the history
These links are all now available over TLS. Update to https: URLs.
In most cases this is just adding an 's', but also follow redirections
to pypa.io
  • Loading branch information
josephw authored and ssbarnea committed Jun 5, 2020
1 parent 1ca920e commit 7fa3a45
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# EditorConfig is awesome: http://EditorConfig.org
# EditorConfig is awesome: https://editorconfig.org/

# top-most EditorConfig file
root = true
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# See http://stackoverflow.com/questions/5533050/gitignore-exclude-folder-but-include-specific-subfolder
# See https://stackoverflow.com/questions/5533050/gitignore-exclude-folder-but-include-specific-subfolder
# to understand pattern used to include .idea/codeStyleSettings.xml but not the rest of .idea/
!.idea/
.idea/*
Expand Down
16 changes: 8 additions & 8 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Jira Python Library
------------

.. image:: https://readthedocs.org/projects/jira/badge/?version=master
:target: http://jira.readthedocs.io
:target: https://jira.readthedocs.io/

.. image:: https://travis-ci.com/pycontribs/jira.svg?branch=master
:target: https://travis-ci.com/pycontribs/jira
Expand Down Expand Up @@ -77,15 +77,15 @@ By default only the basic library dependencies are installed, so if you want
to use the ``cli`` tool or other optional dependencies do perform a full
installation using ``pip install jira[opt,cli,test]``

.. _virtualenv: http://www.virtualenv.org/en/latest/index.html
.. _virtualenv: https://virtualenv.pypa.io/


Usage
-----

See the documentation_ for full details.

.. _documentation: http://jira.readthedocs.org/en/latest/
.. _documentation: https://jira.readthedocs.org/en/latest/


Development
Expand Down Expand Up @@ -128,16 +128,16 @@ In addition to all the contributors we would like to thank to these companies:

.. _Atlassian: https://www.atlassian.com/
.. _Jira: https://pycontribs.atlassian.net
.. _JetBrains: http://www.jetbrains.com
.. _PyCharm: http://www.jetbrains.com/pycharm/
.. _JetBrains: https://www.jetbrains.com/
.. _PyCharm: https://www.jetbrains.com/pycharm/
.. _Travis: https://travis-ci.org/
.. _navicat: https://www.navicat.com/

.. image:: https://raw.githubusercontent.com/pycontribs/resources/master/logos/x32/logo-atlassian.png
:target: http://www.atlassian.com
:target: https://www.atlassian.com/

.. image:: https://raw.githubusercontent.com/pycontribs/resources/master/logos/x32/logo-pycharm.png
:target: http://www.jetbrains.com/
:target: https://www.jetbrains.com/

.. image:: https://raw.githubusercontent.com/pycontribs/resources/master/logos/x32/logo-navicat.png
:target: http://www.navicat.com/
:target: https://www.navicat.com/
8 changes: 4 additions & 4 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ Installation
.. contents:: Contents
:local:

The easiest (and best) way to install jira-python is through `pip <http://www.pip-installer.org/>`_::
The easiest (and best) way to install jira-python is through `pip <https://pip.pypa.io/>`_::

$ pip install jira

This will handle the client itself as well as the requirements.

If you're going to run the client standalone, we strongly recommend using a `virtualenv <http://www.virtualenv.org/>`_,
If you're going to run the client standalone, we strongly recommend using a `virtualenv <https://virtualenv.pypa.io/>`_,
which pip can also set up for you::

$ pip -E jira_python install jira
Expand All @@ -30,10 +30,10 @@ Dependencies

Python 3.5+ is required.

- :py:mod:`requests` - `python-requests <http://docs.python-requests.org>`_ library handles the HTTP business. Usually, the latest version available at time of release is the minimum version required; at this writing, that version is 1.2.0, but any version >= 1.0.0 should work.
- :py:mod:`requests` - `python-requests <https://pypi.org/project/requests/>`_ library handles the HTTP business. Usually, the latest version available at time of release is the minimum version required; at this writing, that version is 1.2.0, but any version >= 1.0.0 should work.
- :py:mod:`requests-oauthlib` - Used to implement OAuth. The latest version as of this writing is 0.3.3.
- :py:mod:`requests-kerberos` - Used to implement Kerberos.
- :py:mod:`ipython` - The `IPython enhanced Python interpreter <http://ipython.org>`_ provides the fancy chrome used by :ref:`jirashell-label`.
- :py:mod:`ipython` - The `IPython enhanced Python interpreter <https://ipython.org>`_ provides the fancy chrome used by :ref:`jirashell-label`.
- :py:mod:`filemagic` - This library handles content-type autodetection for things like image uploads. This will only work on a system that provides libmagic; Mac and Unix will almost always have it preinstalled, but Windows users will have to use Cygwin or compile it natively. If your system doesn't have libmagic, you'll have to manually specify the ``contentType`` parameter on methods that take an image object, such as project and user avatar creation.

Installing through :py:mod:`pip` takes care of these dependencies for you.
4 changes: 2 additions & 2 deletions docs/jirashell.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ it, and bang your elbows -- trial and error. A REST design is especially well-su

Run it from the command line::

$ jirashell -s http://jira.atlassian.com
<Jira Shell (http://jira.atlassian.com)>
$ jirashell -s https://jira.atlassian.com
<Jira Shell (https://jira.atlassian.com)>

*** Jira shell active; client is in 'jira'. Press Ctrl-D to exit.

Expand Down
2 changes: 1 addition & 1 deletion jira/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2269,7 +2269,7 @@ def create_temp_project_avatar(
Avatar images are specified by a filename, size, and file object. By default, the client will attempt to
autodetect the picture's content type: this mechanism relies on libmagic and will not work out of the box
on Windows systems (see http://filemagic.readthedocs.org/en/latest/guide.html for details on how to install
on Windows systems (see https://filemagic.readthedocs.io/en/latest/guide.html for details on how to install
support). The ``contentType`` argument can be used to explicitly set the value (note that Jira will reject any
type other than the well-known ones for images, e.g. ``image/jpg``, ``image/png``, etc.)
Expand Down
2 changes: 1 addition & 1 deletion tests/start-jira.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ rm jira.log
atlas-run-standalone --product jira --http-port 2990 \
-B -nsu -o --threads 2.0C </dev/zero >jira.log 2>&1 &

printf "Waiting for Jira to start respinding on $JIRA_URL "
printf "Waiting for Jira to start responding on $JIRA_URL "
until $(curl --output /dev/null --silent --head --fail $JIRA_URL); do
printf '.'
sleep 5
Expand Down

0 comments on commit 7fa3a45

Please sign in to comment.