Installation command in patrole doesn't install the latest version of patrole

Bug #1752673 reported by Thomas Duval
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Patrole
Fix Released
Medium
Unassigned

Bug Description

- [ ] This doc is inaccurate in this way: ______
- [ ] This is a doc addition request.
- [X] I have a fix to the document that I can paste below including example: input and output.

In the document, the installation command is:

    $ git clone http://git.openstack.org/openstack/patrole
    $ sudo pip install patrole

But doing this leads to the installation of the patrole package in the Pypi repository because, there is no "/" at the end of the word patrole in the command "sudo pip install patrole".
If you want to install the version in the GIT repository, It would be better to use "sudo pip install patrole/" (with the slash at the end) or "cd patrole; sudo pip install .".

-----------------------------------
Release: 0.1.1.dev88 on 2017-06-30 16:45
SHA: a662f824fea8fe8347391371ab468b1561637bf3
Source: https://git.openstack.org/cgit/openstack/patrole/tree/doc/source/installation.rst
URL: https://docs.openstack.org/developer/patrole/installation.html

Revision history for this message
Cedric Savignan (csavignan) wrote :

Hi Thomas,

Or pip install ./patrole ?

Revision history for this message
Thomas Duval (thomas-duval) wrote :

Yes Cedric, I think it works also.

Revision history for this message
Ghanshyam Mann (ghanshyammann) wrote :

Yea, please push patch for doc fix. or let me know if can push patch quickly.

Changed in patrole:
status: New → Confirmed
Revision history for this message
chandan kumar (chkumar246) wrote :

Or we can also do,
$ cd patrole
$ pip install -e .

Revision history for this message
Thomas Duval (thomas-duval) wrote :
Felipe Monteiro (fm577c)
Changed in patrole:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to patrole (master)

Reviewed: https://review.openstack.org/553320
Committed: https://git.openstack.org/cgit/openstack/patrole/commit/?id=bb46c5af88ca98ce2bb18237c0ccd016dad59457
Submitter: Zuul
Branch: master

commit bb46c5af88ca98ce2bb18237c0ccd016dad59457
Author: Thomas Duval <email address hidden>
Date: Thu Mar 15 11:33:07 2018 +0100

    Fix a bug in patrole documentation.

    Closes-Bug: 1752673
    Change-Id: Ie0d4f653d6b036d072b2307ed7859d406c17aa97

Changed in patrole:
status: Confirmed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/patrole 0.4.0

This issue was fixed in the openstack/patrole 0.4.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.