You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bloodhound.apache.org by Apache Bloodhound <bl...@incubator.apache.org> on 2012/07/06 12:14:53 UTC

[Apache Bloodhound] #126: Drop the pip install from the installation script for increased flexibility

#126: Drop the pip install from the installation script for increased flexibility
-------------------------+-------------------------------------
 Reporter:  gjm          |      Owner:  gjm
     Type:  enhancement  |     Status:  new
 Priority:  major        |  Milestone:  RC1 for initial release
Component:  dashboard    |    Version:
 Keywords:               |
-------------------------+-------------------------------------
 The installer.py script does some trickery to pip install from a
 requirements file into a virtualenv. This forces a user who wants to use
 the script to install pip and virtualenv when there are other options.

 This approach will have the advantage that the new script should be able
 to drop all subprocess calls because it can use the
 {{{trac.admin.console.TracAdmin}}} class directly to run trac-admin
 commands.

 Use this ticket to:
  * Add a new script to wrap configuration based on installer.py without
 the installation phase
  * Get approval to remove the installer.py and update documentation.

-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/126>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound (incubating) issue tracker

Re: [Apache Bloodhound] #126: Drop the pip install from the installation script for increased flexibility

Posted by Apache Bloodhound <bl...@incubator.apache.org>.
#126: Drop the pip install from the installation script for increased flexibility
--------------------------+-------------------------------------
  Reporter:  gjm          |      Owner:  gjm
      Type:  enhancement  |     Status:  accepted
  Priority:  major        |  Milestone:  RC1 for initial release
 Component:  installer    |    Version:
Resolution:               |   Keywords:
--------------------------+-------------------------------------

Comment (by gjm):

 r1359448 corrects the config generated to give the correct name for the
 dashboard

-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/126#comment:4>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound (incubating) issue tracker

Re: [Apache Bloodhound] #126: Drop the pip install from the installation script for increased flexibility

Posted by Apache Bloodhound <bl...@incubator.apache.org>.
#126: Drop the pip install from the installation script for increased flexibility
--------------------------+-------------------------------------
  Reporter:  gjm          |      Owner:  gjm
      Type:  enhancement  |     Status:  closed
  Priority:  major        |  Milestone:  RC1 for initial release
 Component:  installer    |    Version:
Resolution:  fixed        |   Keywords:
--------------------------+-------------------------------------
Changes (by gjm):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 r1362102 removes the installer.py script

-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/126#comment:5>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound (incubating) issue tracker

Re: [Apache Bloodhound] #126: Drop the pip install from the installation script for increased flexibility

Posted by Gary Martin <ga...@wandisco.com>.
Hi,

I just wanted to mention that I am expecting to push forward with 
changing to use bloodhound_setup.py instead of installer.py as the 
recommended way to install. That will just mean updating documentation a 
little to provide the virtualenv and pip install instructions. If anyone 
feels like testing the process in its current state, then instead of

    python installer.py

you should now run:

    virtualenv bloodhound
    source bloodhound/bin/activate
    pip install -r requirements-dev.txt
    python bloodhound_setup.py

despite appearances, this is only actually two extra instructions as the 
environment activation is a step that does not need to be performed later.

The ticket for this work is here: 
https://issues.apache.org/bloodhound/ticket/126

Cheers,
     Gary

On 07/09/2012 10:39 AM, Apache Bloodhound wrote:
> #126: Drop the pip install from the installation script for increased flexibility
> --------------------------+-------------------------------------
>    Reporter:  gjm          |      Owner:  gjm
>        Type:  enhancement  |     Status:  accepted
>    Priority:  major        |  Milestone:  RC1 for initial release
>   Component:  installer    |    Version:
> Resolution:               |   Keywords:
> --------------------------+-------------------------------------
> Changes (by gjm):
>
>   * component:  dashboard => installer
>
>
> Comment:
>
>   r1358998 adds some simple tests to parts of the {{{bloodhound_setup.py}}}
>   script
>
>   r1359000 updates {{{bloodhound_setup.py}}} to pass the new tests
>



Re: [Apache Bloodhound] #126: Drop the pip install from the installation script for increased flexibility

Posted by Apache Bloodhound <bl...@incubator.apache.org>.
#126: Drop the pip install from the installation script for increased flexibility
--------------------------+-------------------------------------
  Reporter:  gjm          |      Owner:  gjm
      Type:  enhancement  |     Status:  accepted
  Priority:  major        |  Milestone:  RC1 for initial release
 Component:  installer    |    Version:
Resolution:               |   Keywords:
--------------------------+-------------------------------------
Changes (by gjm):

 * component:  dashboard => installer


Comment:

 r1358998 adds some simple tests to parts of the {{{bloodhound_setup.py}}}
 script

 r1359000 updates {{{bloodhound_setup.py}}} to pass the new tests

-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/126#comment:3>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound (incubating) issue tracker

Re: [Apache Bloodhound] #126: Drop the pip install from the installation script for increased flexibility

Posted by Apache Bloodhound <bl...@incubator.apache.org>.
#126: Drop the pip install from the installation script for increased flexibility
--------------------------+-------------------------------------
  Reporter:  gjm          |      Owner:  gjm
      Type:  enhancement  |     Status:  accepted
  Priority:  major        |  Milestone:  RC1 for initial release
 Component:  dashboard    |    Version:
Resolution:               |   Keywords:
--------------------------+-------------------------------------

Comment (by gjm):

 r1358103 adds a new bloodhound_setup.py script for approval.

-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/126#comment:2>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound (incubating) issue tracker

Re: [Apache Bloodhound] #126: Drop the pip install from the installation script for increased flexibility

Posted by Apache Bloodhound <bl...@incubator.apache.org>.
#126: Drop the pip install from the installation script for increased flexibility
--------------------------+-------------------------------------
  Reporter:  gjm          |      Owner:  gjm
      Type:  enhancement  |     Status:  accepted
  Priority:  major        |  Milestone:  RC1 for initial release
 Component:  dashboard    |    Version:
Resolution:               |   Keywords:
--------------------------+-------------------------------------
Changes (by gjm):

 * status:  new => accepted


-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/126#comment:1>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound (incubating) issue tracker