[Hippo-cms7-user] Re: Not authorized to check out releases code.

Vijay Kiran v.kiran at onehippo.com
Wed Jun 1 00:14:34 CEST 2011


Done!

./Vijay

On May 31, 2011, at 11:48 PM, Mansour Al Akeel wrote:

> Since we are talking about this already, feel free to add this script as
> well. It checks out the latest tag. 
> 
> 
> #!/bin/bash
> 
> URLS=( "http://svn.onehippo.org/repos/hippo/hippo-cms7/project" "http://svn.onehippo.org/repos/hippo/hippo-cms7/repository" "http://svn.onehippo.org/repos/hippo/hippo-cms7/cms" "http://svn.onehippo.org/repos/hippo/hippo-cms7/addons/addon-publication-workflow" "http://svn.onehippo.org/repos/hippo/hippo-cms7/addons/addon-faceteddate" "http://svn.onehippo.org/repos/hippo/hippo-cms7/packages" "http://svn.onehippo.org/repos/hippo/hippo-cms7/release" "http://svn.onehippo.org/repos/hippo/hippo-cms7/archetypes" ) 
> 
> count=${#URLS[*]}
> 
> for  (( i=0 ; i < count;i++)) ; 
> do
>    proj=${URLS[i]}
>    LATEST_TAG=`svn ls $proj/tags | tail -n 1`
>    PROJECT=`basename $proj`
>    echo -e "latest tag for \033[1;32m$PROJECT\033[0m is \033[1;32m$LATEST_TAG\033[0m"
>    svn co $proj/tags/$LATEST_TAG $PROJECT 
> done
> 
> 
> 
> 
> 
> 
> 
> On Tue May 31,2011 07:10 am, Vijay Kiran wrote:
>> 
>> Sorry for the typo - I fixed the URL on the page to make it copy-paste friendly :-)
>> 
>> ./Vijay
>> 
>> On May 31, 2011, at 12:45 AM, Mansour Al Akeel wrote:
>> 
>>> Woops, sorry. I didn't check the URL before sending this email. Just
>>> blindly copy/pasted the commands. 
>>> 
>>> Specifically, this one
>>> svn co https://svn.onehippo.org/repos/hippo/hippo-cms7/release/trunk release
>>> 
>>> I should have used:
>>> svn co http://svn.onehippo.org/repos/hippo/hippo-cms7/release/trunk release
>>> 
>>> 
>>> Just http and not https :)
>>> 
>>> 
>>> 
>>> 
>>> On Mon May 30,2011 06:39 pm, Mansour Al Akeel wrote:
>>>> I am trying to check out the latest. Following:
>>>> https://wiki.onehippo.com/display/CMS7/Build+Hippo+CMS+7.5+or+higher+from+scratch
>>>> 
>>>> 06:36:46 @ hippo-cms.trunk.svn $ svn co https://svn.onehippo.org/repos/hippo/hippo-cms7/release/trunk release
>>>> Authentication realm: <https://svn.onehippo.org:443> Hippo SVN
>>>> Password for 'mansour': 
>>>> Authentication realm: <https://svn.onehippo.org:443> Hippo SVN
>>>> Username: 
>>>> Password for '': 
>>>> Authentication realm: <https://svn.onehippo.org:443> Hippo SVN
>>>> Username: 
>>>> Password for '': 
>>>> svn: OPTIONS of 'https://svn.onehippo.org/repos/hippo/hippo-cms7/release/trunk':
>>>> authorization failed: Could not authenticate to server: rejected Basic challenge (https://svn.onehippo.org)
>>>> 
>>>> 
>>>> 
>>>> 
>>> _______________________________________________
>>> Hippo-cms7-user mailing list and forums
>>> http://www.onehippo.org/cms7/support/forums.html
>> 
>> _______________________________________________
>> Hippo-cms7-user mailing list and forums
>> http://www.onehippo.org/cms7/support/forums.html
> _______________________________________________
> Hippo-cms7-user mailing list and forums
> http://www.onehippo.org/cms7/support/forums.html




More information about the Hippo-cms7-user mailing list