You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whirr.apache.org by "Tom White (Created) (JIRA)" <ji...@apache.org> on 2012/03/27 01:26:27 UTC

[jira] [Created] (WHIRR-573) Allow specification of REPO_HOST for RPMs/debs

Allow specification of REPO_HOST for RPMs/debs
----------------------------------------------

                 Key: WHIRR-573
                 URL: https://issues.apache.org/jira/browse/WHIRR-573
             Project: Whirr
          Issue Type: Improvement
            Reporter: Tom White
            Assignee: Tom White
             Fix For: 0.8.0, 0.7.2


This would allow use of e.g. nightly.cloudera.com, not just archive.cloudera.com.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (WHIRR-573) Allow specification of REPO_HOST for RPMs/debs

Posted by "Karel Vervaeke (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WHIRR-573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13239256#comment-13239256 ] 

Karel Vervaeke commented on WHIRR-573:
--------------------------------------

Use case:
For whirr development, where you download the packages over and over, it makes sense to set up a caching proxy (e.g. apt-cacher).
In this case CDH_DEB_REPO should look like this: http://aptcacher01.example.com/apt-cacher/archive.cloudera.org/debian
                
> Allow specification of REPO_HOST for RPMs/debs
> ----------------------------------------------
>
>                 Key: WHIRR-573
>                 URL: https://issues.apache.org/jira/browse/WHIRR-573
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Tom White
>            Assignee: Tom White
>             Fix For: 0.8.0, 0.7.2
>
>
> This would allow use of e.g. nightly.cloudera.com, not just archive.cloudera.com.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (WHIRR-573) Allow specification of REPO_HOST for RPMs/debs

Posted by "Karel Vervaeke (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WHIRR-573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13239316#comment-13239316 ] 

Karel Vervaeke commented on WHIRR-573:
--------------------------------------

Also see WHIRR-562
                
> Allow specification of REPO_HOST for RPMs/debs
> ----------------------------------------------
>
>                 Key: WHIRR-573
>                 URL: https://issues.apache.org/jira/browse/WHIRR-573
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Tom White
>            Assignee: Tom White
>             Fix For: 0.8.0, 0.7.2
>
>
> This would allow use of e.g. nightly.cloudera.com, not just archive.cloudera.com.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (WHIRR-573) Allow specification of REPO_HOST for RPMs/debs

Posted by "Tom White (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WHIRR-573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom White updated WHIRR-573:
----------------------------

    Attachment: WHIRR-573.patch

Here's the simplest version of this which supports REPO_HOST.
                
> Allow specification of REPO_HOST for RPMs/debs
> ----------------------------------------------
>
>                 Key: WHIRR-573
>                 URL: https://issues.apache.org/jira/browse/WHIRR-573
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Tom White
>            Assignee: Tom White
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-573.patch
>
>
> This would allow use of e.g. nightly.cloudera.com, not just archive.cloudera.com.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (WHIRR-573) Allow specification of REPO_HOST for RPMs/debs

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

Andrew Bayer resolved WHIRR-573.
--------------------------------

    Resolution: Fixed

In.
                
> Allow specification of REPO_HOST for RPMs/debs
> ----------------------------------------------
>
>                 Key: WHIRR-573
>                 URL: https://issues.apache.org/jira/browse/WHIRR-573
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Tom White
>            Assignee: Tom White
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-573.patch
>
>
> This would allow use of e.g. nightly.cloudera.com, not just archive.cloudera.com.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (WHIRR-573) Allow specification of REPO_HOST for RPMs/debs

Posted by "Tom White (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WHIRR-573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13239727#comment-13239727 ] 

Tom White commented on WHIRR-573:
---------------------------------

That looks like a good improvement to me. I agree that ideally we would use a template, but we could add that later.
                
> Allow specification of REPO_HOST for RPMs/debs
> ----------------------------------------------
>
>                 Key: WHIRR-573
>                 URL: https://issues.apache.org/jira/browse/WHIRR-573
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Tom White
>            Assignee: Tom White
>             Fix For: 0.8.0, 0.7.2
>
>
> This would allow use of e.g. nightly.cloudera.com, not just archive.cloudera.com.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (WHIRR-573) Allow specification of REPO_HOST for RPMs/debs

Posted by "Andrei Savu (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WHIRR-573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrei Savu updated WHIRR-573:
------------------------------

    Fix Version/s:     (was: 0.7.2)
    
> Allow specification of REPO_HOST for RPMs/debs
> ----------------------------------------------
>
>                 Key: WHIRR-573
>                 URL: https://issues.apache.org/jira/browse/WHIRR-573
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Tom White
>            Assignee: Tom White
>             Fix For: 0.8.0
>
>
> This would allow use of e.g. nightly.cloudera.com, not just archive.cloudera.com.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (WHIRR-573) Allow specification of REPO_HOST for RPMs/debs

Posted by "Andrew Bayer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WHIRR-573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13431424#comment-13431424 ] 

Andrew Bayer commented on WHIRR-573:
------------------------------------

I'm committing this.
                
> Allow specification of REPO_HOST for RPMs/debs
> ----------------------------------------------
>
>                 Key: WHIRR-573
>                 URL: https://issues.apache.org/jira/browse/WHIRR-573
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Tom White
>            Assignee: Tom White
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-573.patch
>
>
> This would allow use of e.g. nightly.cloudera.com, not just archive.cloudera.com.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (WHIRR-573) Allow specification of REPO_HOST for RPMs/debs

Posted by "Andrew Bayer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WHIRR-573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13423723#comment-13423723 ] 

Andrew Bayer commented on WHIRR-573:
------------------------------------

+1, once it's tweaked to fit with what's in now (i.e., the CDH4 Debian URLs). I'll hold off on my 12.04/RHEL6 support patch 'til after this is in.
                
> Allow specification of REPO_HOST for RPMs/debs
> ----------------------------------------------
>
>                 Key: WHIRR-573
>                 URL: https://issues.apache.org/jira/browse/WHIRR-573
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Tom White
>            Assignee: Tom White
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-573.patch
>
>
> This would allow use of e.g. nightly.cloudera.com, not just archive.cloudera.com.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (WHIRR-573) Allow specification of REPO_HOST for RPMs/debs

Posted by "Karel Vervaeke (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WHIRR-573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13239247#comment-13239247 ] 

Karel Vervaeke commented on WHIRR-573:
--------------------------------------

I would take this a step further. Something along these lines:

whirr.env.CDH_HOST=archive.cloudera.com
whirr.env.CDH_RELEASE=cdh3

whirr.env.CDH_DEB_REPO=http://${whirr.env.CDH_HOST}/debian
whirr.env.CDH_DEB_DISTRO=@DISTRO@-${whirr.env.CDH_RELEASE}
whirr.env.CDH_DEB_KEY_URL=http://${whirr.env.CDH_HOST}/debian/archive.key

whirr.env.CDH_RPM_REPO=http://${whirr.env.CDH_HOST}/redhat
whirr.env.CDH_RPM_MIRRORLIST=http://${whirr.env.CDH_RPM_REPO}/cdh/@REPO_NUMBER@/mirrors
whirr.env.CDH_RPM_GPGKEY=http://${whirr.env.CDH_RPM_REPO}/cdh/RPM-GPG-KEY-cloudera

The @DISTRO@ part and the @REPO_NUMBER@ would be calculated by the shell scripts.

Bonus points for using a template (WHIRR-370) to generate the cloudera.list/.repo file instead
of duplicating the content in different shell scripts. (We still need to replace the @DISTRO@ and @REPO_NUMBER@, but a simple 'sed' will do the trick).
                
> Allow specification of REPO_HOST for RPMs/debs
> ----------------------------------------------
>
>                 Key: WHIRR-573
>                 URL: https://issues.apache.org/jira/browse/WHIRR-573
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Tom White
>            Assignee: Tom White
>             Fix For: 0.8.0, 0.7.2
>
>
> This would allow use of e.g. nightly.cloudera.com, not just archive.cloudera.com.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira