Thanks so much for pointing this out Chris. Our current approach only uses HEAD, not the actual tag, as you point out. I've fixed, tested and pushed a correct version of the installer now. It now does this:

git clone git://gitorious.org/gitorious/mainline.git GITORIOUS_ROOT && cd $GITORIOUS_ROOT && git checkout -b my-version v2.3.0 && cd -

Ie. clone, checkout tag, branch off a new branch "my-version" off that tag (to avoid sitting in "detached HEAD" state).

Thanks again!
-Thomas


On 10/03/2012 03:03 PM, Chris Holden wrote:
OK I was just using the clone in the new install:

git clone -b v2.3.0 git://gitorious.org/gitorious/mainline.git <http://gitorious.org/gitorious/mainline.git> /var/opt/gitorious/app

On Wed, Oct 3, 2012 at 8:41 AM, Thomas Kjeldahl Nilsson <[email protected] <mailto:[email protected]>> wrote:

    Hi Chris,

    that's because the versions are not branches, but tags. :)

    Try this:

    git fetch origin
    git tag -l

    and they should show up.


    cheers,
    Thomas




    On 10/03/2012 02:37 PM, Chris Holden wrote:

        When I go to clone the 2.3.0 branch I get the following:

        warning: Remote branch v2.3.0 not found in upstream origin,
        using HEAD instead


        I only see the following upstream branches:

         master
          remotes/origin/HEAD -> origin/master
          remotes/origin/features/cluster-support
          remotes/origin/features/ldap_authorization
          remotes/origin/features/multiple_roots
          remotes/origin/features/update-execption-notification
          remotes/origin/master
          remotes/origin/private-repos
          remotes/origin/rails-3.0
          remotes/origin/rails-3.1
          remotes/origin/rails3
          remotes/origin/self-diagnostics
          remotes/origin/torque-messaging

-- To post to this group, send email to
        [email protected] <mailto:[email protected]>
        To unsubscribe from this group, send email to
        [email protected]
        <mailto:gitorious%[email protected]>



-- best regards,
    Thomas Kjeldahl Nilsson
    http://gitorious.com

-- To post to this group, send email to [email protected]
    <mailto:[email protected]>
    To unsubscribe from this group, send email to
    [email protected]
    <mailto:gitorious%[email protected]>




--
Take Care
-Chris Holden

"As for me and my house, we will serve the Lord" Joshua 24:15
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]


--
best regards,
Thomas Kjeldahl Nilsson
http://gitorious.com

--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

Reply via email to