Checkout 3.1 from Git

View: New views
4 Messages — Rating Filter:   Alert me  

Checkout 3.1 from Git

by Kyle Hall :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 )


_______________________________________________
Koha-devel mailing list
Koha-devel@...
http://lists.nongnu.org/mailman/listinfo/koha-devel
_______________________________________________
Koha-devel mailing list
Koha-devel@...
http://lists.koha.org/mailman/listinfo/koha-devel

Re: Checkout 3.1 from Git

by Chris Cormack-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/5/27 Kyle Hall <kyle.m.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


_______________________________________________
Koha-devel mailing list
Koha-devel@...
http://lists.nongnu.org/mailman/listinfo/koha-devel
_______________________________________________
Koha-devel mailing list
Koha-devel@...
http://lists.koha.org/mailman/listinfo/koha-devel

Re: Checkout 3.1 from Git

by Kyle Hall :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 )




On Tue, May 26, 2009 at 2:15 PM, Chris Cormack <chris@...> wrote:

> 2009/5/27 Kyle Hall <kyle.m.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
>


_______________________________________________
Koha-devel mailing list
Koha-devel@...
http://lists.nongnu.org/mailman/listinfo/koha-devel
_______________________________________________
Koha-devel mailing list
Koha-devel@...
http://lists.koha.org/mailman/listinfo/koha-devel

Re: Checkout 3.1 from Git

by Chris Cormack-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/5/27 Kyle Hall <kyle.m.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


_______________________________________________
Koha-devel mailing list
Koha-devel@...
http://lists.nongnu.org/mailman/listinfo/koha-devel
_______________________________________________
Koha-devel mailing list
Koha-devel@...
http://lists.koha.org/mailman/listinfo/koha-devel