You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Stephan Klevenz (JIRA)" <ji...@apache.org> on 2010/11/15 20:16:15 UTC

[jira] Created: (INFRA-3202) Sphinx build environment request for Ubuntu

Sphinx build environment request for Ubuntu
-------------------------------------------

                 Key: INFRA-3202
                 URL: https://issues.apache.org/jira/browse/INFRA-3202
             Project: Infrastructure
          Issue Type: Wish
      Security Level: public (Regular issues)
            Reporter: Stephan Klevenz


The Apache Chemistry project (http://incubator.apache.org/chemistry/) would like to build documentation with Hudson and require a tool called Sphinx. How that works with Hudson is described here:

http://blog.timc3.com/2010/03/21/using-hudson-to-build-sphinx-documentation/

In summary the Hudson requirements are:
* Hudson Python plugin
* pip installed for python
* VirtualEnv installed for python

The build script is this:

       cd $WORKSPACE
       virtualenv -q docs
       source ./docs/bin/activate
       pip install -q -E ./docs -r trunk/requirements.pip
       cd trunk
       sphinx-build -b html source build

Let me know if there are more details required.

Thanks,
Stephan

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (INFRA-3202) Sphinx build environment request for Ubuntu

Posted by "Niklas Gustavsson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/INFRA-3202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Niklas Gustavsson updated INFRA-3202:
-------------------------------------

    Component/s: Hudson

> Sphinx build environment request for Ubuntu
> -------------------------------------------
>
>                 Key: INFRA-3202
>                 URL: https://issues.apache.org/jira/browse/INFRA-3202
>             Project: Infrastructure
>          Issue Type: Wish
>      Security Level: public(Regular issues) 
>          Components: Hudson
>            Reporter: Stephan Klevenz
>
> The Apache Chemistry project (http://incubator.apache.org/chemistry/) would like to build documentation with Hudson and require a tool called Sphinx. How that works with Hudson is described here:
> http://blog.timc3.com/2010/03/21/using-hudson-to-build-sphinx-documentation/
> In summary the Hudson requirements are:
> * Hudson Python plugin
> * pip installed for python
> * VirtualEnv installed for python
> The build script is this:
>        cd $WORKSPACE
>        virtualenv -q docs
>        source ./docs/bin/activate
>        pip install -q -E ./docs -r trunk/requirements.pip
>        cd trunk
>        sphinx-build -b html source build
> Let me know if there are more details required.
> Thanks,
> Stephan

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (INFRA-3202) Sphinx build environment request for Ubuntu

Posted by "Niklas Gustavsson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-3202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12932517#action_12932517 ] 

Niklas Gustavsson commented on INFRA-3202:
------------------------------------------

Would it be possible to provide apt-get based instructions for how to install the necessary dependencies? Is there any reason why the script can not be issued on Python in the shell rather than running in the Hudson Python plugin (that is, stick the script in your SVN and have Hudson check out it and run it as part of a freestyle build)?

> Sphinx build environment request for Ubuntu
> -------------------------------------------
>
>                 Key: INFRA-3202
>                 URL: https://issues.apache.org/jira/browse/INFRA-3202
>             Project: Infrastructure
>          Issue Type: Wish
>      Security Level: public(Regular issues) 
>          Components: Hudson
>            Reporter: Stephan Klevenz
>
> The Apache Chemistry project (http://incubator.apache.org/chemistry/) would like to build documentation with Hudson and require a tool called Sphinx. How that works with Hudson is described here:
> http://blog.timc3.com/2010/03/21/using-hudson-to-build-sphinx-documentation/
> In summary the Hudson requirements are:
> * Hudson Python plugin
> * pip installed for python
> * VirtualEnv installed for python
> The build script is this:
>        cd $WORKSPACE
>        virtualenv -q docs
>        source ./docs/bin/activate
>        pip install -q -E ./docs -r trunk/requirements.pip
>        cd trunk
>        sphinx-build -b html source build
> Let me know if there are more details required.
> Thanks,
> Stephan

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (INFRA-3202) Sphinx build environment request for Ubuntu

Posted by "Niklas Gustavsson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/INFRA-3202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Niklas Gustavsson reassigned INFRA-3202:
----------------------------------------

    Assignee: Niklas Gustavsson

> Sphinx build environment request for Ubuntu
> -------------------------------------------
>
>                 Key: INFRA-3202
>                 URL: https://issues.apache.org/jira/browse/INFRA-3202
>             Project: Infrastructure
>          Issue Type: Wish
>      Security Level: public(Regular issues) 
>          Components: Hudson
>            Reporter: Stephan Klevenz
>            Assignee: Niklas Gustavsson
>
> The Apache Chemistry project (http://incubator.apache.org/chemistry/) would like to build documentation with Hudson and require a tool called Sphinx. How that works with Hudson is described here:
> http://blog.timc3.com/2010/03/21/using-hudson-to-build-sphinx-documentation/
> In summary the Hudson requirements are:
> * Hudson Python plugin
> * pip installed for python
> * VirtualEnv installed for python
> The build script is this:
>        cd $WORKSPACE
>        virtualenv -q docs
>        source ./docs/bin/activate
>        pip install -q -E ./docs -r trunk/requirements.pip
>        cd trunk
>        sphinx-build -b html source build
> Let me know if there are more details required.
> Thanks,
> Stephan

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (INFRA-3202) Sphinx build environment request for Ubuntu

Posted by "Stephan Klevenz (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-3202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12969648#action_12969648 ] 

Stephan Klevenz commented on INFRA-3202:
----------------------------------------

Looks good. Thanks!

Our script is still failing because of other issues. If we can fix by our own then I will close the case.

> Sphinx build environment request for Ubuntu
> -------------------------------------------
>
>                 Key: INFRA-3202
>                 URL: https://issues.apache.org/jira/browse/INFRA-3202
>             Project: Infrastructure
>          Issue Type: Wish
>      Security Level: public(Regular issues) 
>          Components: Hudson
>            Reporter: Stephan Klevenz
>            Assignee: Niklas Gustavsson
>
> The Apache Chemistry project (http://incubator.apache.org/chemistry/) would like to build documentation with Hudson and require a tool called Sphinx. How that works with Hudson is described here:
> http://blog.timc3.com/2010/03/21/using-hudson-to-build-sphinx-documentation/
> In summary the Hudson requirements are:
> * Hudson Python plugin
> * pip installed for python
> * VirtualEnv installed for python
> The build script is this:
>        cd $WORKSPACE
>        virtualenv -q docs
>        source ./docs/bin/activate
>        pip install -q -E ./docs -r trunk/requirements.pip
>        cd trunk
>        sphinx-build -b html source build
> Let me know if there are more details required.
> Thanks,
> Stephan

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (INFRA-3202) Sphinx build environment request for Ubuntu

Posted by "Stephan Klevenz (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-3202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12969362#action_12969362 ] 

Stephan Klevenz commented on INFRA-3202:
----------------------------------------

Thanks for the example. We have now a script which is executed by this build job: 

https://hudson.apache.org/hudson/job/Chemistry-Phyton-cmislib-doc/

The script depends on Sphinx (http://sphinx.pocoo.org/) which is not abailable in Hudson environment. Can you please install Sphinx as described on their HomePage (its an easy install package)?




> Sphinx build environment request for Ubuntu
> -------------------------------------------
>
>                 Key: INFRA-3202
>                 URL: https://issues.apache.org/jira/browse/INFRA-3202
>             Project: Infrastructure
>          Issue Type: Wish
>      Security Level: public(Regular issues) 
>          Components: Hudson
>            Reporter: Stephan Klevenz
>            Assignee: Niklas Gustavsson
>
> The Apache Chemistry project (http://incubator.apache.org/chemistry/) would like to build documentation with Hudson and require a tool called Sphinx. How that works with Hudson is described here:
> http://blog.timc3.com/2010/03/21/using-hudson-to-build-sphinx-documentation/
> In summary the Hudson requirements are:
> * Hudson Python plugin
> * pip installed for python
> * VirtualEnv installed for python
> The build script is this:
>        cd $WORKSPACE
>        virtualenv -q docs
>        source ./docs/bin/activate
>        pip install -q -E ./docs -r trunk/requirements.pip
>        cd trunk
>        sphinx-build -b html source build
> Let me know if there are more details required.
> Thanks,
> Stephan

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (INFRA-3202) Sphinx build environment request for Ubuntu

Posted by "Niklas Gustavsson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-3202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12965121#action_12965121 ] 

Niklas Gustavsson commented on INFRA-3202:
------------------------------------------

Here's an example:
https://hudson.apache.org/hudson/job/python-test

It runs the following script:

#!/usr/bin/python

print "Hello, World!" 


In the real case, this script should be stored in SVN and checked out by Hudson before being executed.

> Sphinx build environment request for Ubuntu
> -------------------------------------------
>
>                 Key: INFRA-3202
>                 URL: https://issues.apache.org/jira/browse/INFRA-3202
>             Project: Infrastructure
>          Issue Type: Wish
>      Security Level: public(Regular issues) 
>          Components: Hudson
>            Reporter: Stephan Klevenz
>            Assignee: Niklas Gustavsson
>
> The Apache Chemistry project (http://incubator.apache.org/chemistry/) would like to build documentation with Hudson and require a tool called Sphinx. How that works with Hudson is described here:
> http://blog.timc3.com/2010/03/21/using-hudson-to-build-sphinx-documentation/
> In summary the Hudson requirements are:
> * Hudson Python plugin
> * pip installed for python
> * VirtualEnv installed for python
> The build script is this:
>        cd $WORKSPACE
>        virtualenv -q docs
>        source ./docs/bin/activate
>        pip install -q -E ./docs -r trunk/requirements.pip
>        cd trunk
>        sphinx-build -b html source build
> Let me know if there are more details required.
> Thanks,
> Stephan

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (INFRA-3202) Sphinx build environment request for Ubuntu

Posted by "Stephan Klevenz (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-3202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12964815#action_12964815 ] 

Stephan Klevenz commented on INFRA-3202:
----------------------------------------

I tried to run the phyton script within the shell without success. It's not clear to me how to get a phyton environment while launching the shell from Hudson. Can you please explain to me how to get an environment to run phyton scripts? Then I will give your suggestion a try.


> Sphinx build environment request for Ubuntu
> -------------------------------------------
>
>                 Key: INFRA-3202
>                 URL: https://issues.apache.org/jira/browse/INFRA-3202
>             Project: Infrastructure
>          Issue Type: Wish
>      Security Level: public(Regular issues) 
>          Components: Hudson
>            Reporter: Stephan Klevenz
>            Assignee: Niklas Gustavsson
>
> The Apache Chemistry project (http://incubator.apache.org/chemistry/) would like to build documentation with Hudson and require a tool called Sphinx. How that works with Hudson is described here:
> http://blog.timc3.com/2010/03/21/using-hudson-to-build-sphinx-documentation/
> In summary the Hudson requirements are:
> * Hudson Python plugin
> * pip installed for python
> * VirtualEnv installed for python
> The build script is this:
>        cd $WORKSPACE
>        virtualenv -q docs
>        source ./docs/bin/activate
>        pip install -q -E ./docs -r trunk/requirements.pip
>        cd trunk
>        sphinx-build -b html source build
> Let me know if there are more details required.
> Thanks,
> Stephan

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (INFRA-3202) Sphinx build environment request for Ubuntu

Posted by "Stephan Klevenz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/INFRA-3202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stephan Klevenz closed INFRA-3202.
----------------------------------

    Resolution: Fixed

Thanks! The job works fine :-)

Stephan

> Sphinx build environment request for Ubuntu
> -------------------------------------------
>
>                 Key: INFRA-3202
>                 URL: https://issues.apache.org/jira/browse/INFRA-3202
>             Project: Infrastructure
>          Issue Type: Wish
>      Security Level: public(Regular issues) 
>          Components: Hudson
>            Reporter: Stephan Klevenz
>            Assignee: Niklas Gustavsson
>
> The Apache Chemistry project (http://incubator.apache.org/chemistry/) would like to build documentation with Hudson and require a tool called Sphinx. How that works with Hudson is described here:
> http://blog.timc3.com/2010/03/21/using-hudson-to-build-sphinx-documentation/
> In summary the Hudson requirements are:
> * Hudson Python plugin
> * pip installed for python
> * VirtualEnv installed for python
> The build script is this:
>        cd $WORKSPACE
>        virtualenv -q docs
>        source ./docs/bin/activate
>        pip install -q -E ./docs -r trunk/requirements.pip
>        cd trunk
>        sphinx-build -b html source build
> Let me know if there are more details required.
> Thanks,
> Stephan

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (INFRA-3202) Sphinx build environment request for Ubuntu

Posted by "Niklas Gustavsson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-3202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12969392#action_12969392 ] 

Niklas Gustavsson commented on INFRA-3202:
------------------------------------------

Installed on both Ubuntu slaves, please confirm if it works.

> Sphinx build environment request for Ubuntu
> -------------------------------------------
>
>                 Key: INFRA-3202
>                 URL: https://issues.apache.org/jira/browse/INFRA-3202
>             Project: Infrastructure
>          Issue Type: Wish
>      Security Level: public(Regular issues) 
>          Components: Hudson
>            Reporter: Stephan Klevenz
>            Assignee: Niklas Gustavsson
>
> The Apache Chemistry project (http://incubator.apache.org/chemistry/) would like to build documentation with Hudson and require a tool called Sphinx. How that works with Hudson is described here:
> http://blog.timc3.com/2010/03/21/using-hudson-to-build-sphinx-documentation/
> In summary the Hudson requirements are:
> * Hudson Python plugin
> * pip installed for python
> * VirtualEnv installed for python
> The build script is this:
>        cd $WORKSPACE
>        virtualenv -q docs
>        source ./docs/bin/activate
>        pip install -q -E ./docs -r trunk/requirements.pip
>        cd trunk
>        sphinx-build -b html source build
> Let me know if there are more details required.
> Thanks,
> Stephan

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.