Cloning branch 2.3.0 of gitorious

28 views
Skip to first unread message

Chris Holden

unread,
Oct 3, 2012, 8:37:32 AM10/3/12
to gito...@googlegroups.com
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

Thomas Kjeldahl Nilsson

unread,
Oct 3, 2012, 8:41:06 AM10/3/12
to gito...@googlegroups.com
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
> --
> To post to this group, send email to gito...@googlegroups.com
> To unsubscribe from this group, send email to
> gitorious+...@googlegroups.com


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

Chris Holden

unread,
Oct 3, 2012, 9:03:06 AM10/3/12
to gito...@googlegroups.com
OK I was just using the clone in the new install:

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



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

--
To post to this group, send email to gito...@googlegroups.com
To unsubscribe from this group, send email to



--
Take Care
-Chris Holden

"As for me and my house, we will serve the Lord" Joshua 24:15

Thomas Kjeldahl Nilsson

unread,
Oct 3, 2012, 4:19:26 PM10/3/12
to gito...@googlegroups.com
Hm you're right. The installer may actually be running off HEAD, not the 2.3.0 tag. I'll have a look tomorrow and push a fix if necessary.

Thanks for pointing this out - you know how it is when you're too close to a project... :)

-t


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

--
To post to this group, send email to gito...@googlegroups.com
To unsubscribe from this group, send email to



--
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 gito...@googlegroups.com
To unsubscribe from this group, send email to

Thomas Kjeldahl Nilsson

unread,
Oct 4, 2012, 7:07:38 AM10/4/12
to gito...@googlegroups.com

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:


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

--
To post to this group, send email to gito...@googlegroups.com
To unsubscribe from this group, send email to



--
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 gito...@googlegroups.com
To unsubscribe from this group, send email to
Reply all
Reply to author
Forward
0 new messages