[ 
http://opencast.jira.com/browse/MH-9069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=31753#comment-31753
 ] 

Rubén Pérez Vázquez edited comment on MH-9069 at 9/17/12 3:43 PM:
------------------------------------------------------------------

Greg, this issue was partially caused because no revisions have been merged in 
1.4.x since 12214. The location of the scripts in the branch and in the trunk 
are, thus, different:

- docs/scripts/installer in 1.4.x
- docs/scripts/install/official in trunk

install.sh needs to store this location in SCRIPTS_EXT. 

On the other hand, the current branch URL is stored in SRC_DEFAULT. In the 
branch 1.4.x, this is set to $TRUNK_URL, but it should be $BRANCHES_URL/1.4.x . 
As a result, when install.sh downloads the other scripts, those are fetched 
from the trunk, rather than from the 1.4.x branch.

However, as SCRIPTS_EXT has the correct value for 1.4.x, the resulting URL from 
where the scripts are downloaded is 
http://opencast.jira.com/svn/MH/trunk/docs/scripts/installer , which does NOT 
exist. 

In short:
- The 1.4.x install scripts should be moved from docs/scripts/install/matjaz to 
docs/scripts/install/simplified and from docs/scripts/installer to 
docs/scripts/install/official. The revision 12214 also included a README.txt 
file in the "simplified" scripts, explaining what they do and how they are 
different to the "official" version.
- SRC_DEFAULT (in install.sh) must point to the specific branch (tag, or 
trunk). In the 1.4.x branch: SRC_DEFAULT=$BRANCHES_URL/1.4.x
- SCRIPTS_EXT (in install.sh) must point to the directory where the scripts are 
(relative to the repository root). In the 1.4.x, currently 
SCRIPTS_EXT=docs/scripts/installer, but if the directories are arranged as in 
the trunk, then SCRIPTS_EXT=docs/scripts/install/official

And perhaps we should think of removing this "install.sh downloads the rest of 
the scripts" feature, because keeping all these URLs and locations up-to-date 
is a big mess. 
                
      was (Author: ruben.perez):
    Greg, this issue was partially caused because no revisions have been merged 
in 1.4.x since 12214. The location of the scripts in the branch and in the 
trunk are, thus, different:

- docs/scripts/installer in 1.4.x
- docs/scripts/install/official in trunk

Then, the configuration value SRC_DEFAULT is set to $TRUNK, but in the 1.4.x 
branch should be $BRANCHES/1.4.x . On the other hand, SCRIPTS_EXT must point to 
the location of the scripts directory within the source repository (for 
instance docs/scripts/installer). 

When the install.sh script needs to download the other scripts, it uses the 
values in SRC_DEFAULT

In short:

- SRC_DEFAULT must point to the specific branch (tag, or trunk)
- SCRIPTS_EXT must point to the directory where the scripts are (relative to 
the repository root), for instance docs/scripts/install/official
                  
> Installer: install.sh fails to download additional scripts
> ----------------------------------------------------------
>
>                 Key: MH-9069
>                 URL: http://opencast.jira.com/browse/MH-9069
>             Project: Matterhorn Project
>          Issue Type: Bug
>          Components: Distribution
>    Affects Versions: 1.4
>            Reporter: Ruediger Rolf
>            Assignee: Greg Logan
>             Fix For: 1.4
>
>


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

       
_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn


To unsubscribe please email
[email protected]
_______________________________________________

Reply via email to