Discussion:
[Koha-devel] Checkout 3.1 from Git
Kyle Hall
2009-05-26 15:58:14 UTC
Permalink
Hey All,
I'm in the process of uploading a set of latest version Koha vm's.
I'll let you know when they are available.

What I'd like to know is if there is a way to check out the released
3.1 via git. I see there are tags such as v3.00.01-stable_update but
as far as I can google, there is no way to check out a tag. Does
anyone have any advice.

One of the reason for this is I have written a perl/curses based
management console to make using the Koha vm even easier. Before, you
had to log in and find your ip via ifconfig. Now when you log in as
root, you are presented with a management interface that will tell you
what version of Koha you are running, what your ip is, and allow
updating via git, restarting apache, and restarting the zebra daemons
all from a menu system. It's still a work in progress. I'd like to add
even more control to it eventually. If I don't install Koha 3.1 via
git, the update command will break.

So, does anyone know how I can pull Koha 3.1 from git?

Thanks,
Kyle

http://www.kylehall.info
Information Technology
Crawford County Federated Library System ( http://www.ccfls.org )
Chris Cormack
2009-05-26 18:15:31 UTC
Permalink
Post by Kyle Hall
Hey All,
 I'm in the process of uploading a set of latest version Koha vm's.
I'll let you know when they are available.
What I'd like to know is if there is a way to check out the released
3.1 via git. I see there are tags such as v3.00.01-stable_update but
as far as I can google, there is no way to check out a tag. Does
anyone have any advice.
One of the reason for this is I have written a perl/curses based
management console to make using the Koha vm even easier. Before, you
had to log in and find your ip via ifconfig. Now when you log in as
root, you are presented with a management interface that will tell you
what version of Koha you are running, what your ip is, and allow
updating via git, restarting apache, and restarting the zebra daemons
all from a menu system. It's still a work in progress. I'd like to add
even more control to it eventually. If I don't install Koha 3.1 via
git, the update command will break.
So, does anyone know how I can pull Koha 3.1 from git?
Hi Kyle

Its 3.0.1 :) And yes you certainly can checkout a tag.

git checkout -b mybranchfrom_a_tag v3.00.01-stable_update

Which makes a branch mybranchfrom_at_tag (give it a less silly name of
course) and checks it out.

Chris
Kyle Hall
2009-05-26 18:29:34 UTC
Permalink
Thanks. I can't believe it's that easy and I was unable to find it
myself. Maybe I was just looking in all the wrong places.

Kyle

http://www.kylehall.info
Information Technology
Crawford County Federated Library System ( http://www.ccfls.org )
Post by Chris Cormack
Post by Kyle Hall
Hey All,
 I'm in the process of uploading a set of latest version Koha vm's.
I'll let you know when they are available.
What I'd like to know is if there is a way to check out the released
3.1 via git. I see there are tags such as v3.00.01-stable_update but
as far as I can google, there is no way to check out a tag. Does
anyone have any advice.
One of the reason for this is I have written a perl/curses based
management console to make using the Koha vm even easier. Before, you
had to log in and find your ip via ifconfig. Now when you log in as
root, you are presented with a management interface that will tell you
what version of Koha you are running, what your ip is, and allow
updating via git, restarting apache, and restarting the zebra daemons
all from a menu system. It's still a work in progress. I'd like to add
even more control to it eventually. If I don't install Koha 3.1 via
git, the update command will break.
So, does anyone know how I can pull Koha 3.1 from git?
Hi Kyle
Its 3.0.1 :) And yes you certainly can checkout a tag.
git checkout -b mybranchfrom_a_tag v3.00.01-stable_update
Which makes a branch mybranchfrom_at_tag (give it a less silly name of
course) and checks it out.
Chris
Chris Cormack
2009-05-26 18:38:28 UTC
Permalink
Post by Kyle Hall
Thanks. I can't believe it's that easy and I was unable to find it
myself. Maybe I was just looking in all the wrong places.
The tag does have to exist locally to do it like that, so preceding it
with a git fetch, to make sure you have all the tags (though if you
have just cloned and its an old tag you will) is a good rule of thumb.

Git rules

Chris

Loading...