Git and Koha v3.0.4

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

Git and Koha v3.0.4

by Chadwick, John, DCA :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

I am trying to use git to update an install on a development box before we go to the production server. Today I started a directory for the koha clone on my development box. The directory is kohaclonetest

 

When I use git to download a clone I end up with version 3.00.01.061. I have one branch called master.

 

I then issue the command:

 

git checkout –b stable304 v3.00.04

 

I am now in branch stable304

 

I issue the following commands:

 

perl Makefile.PL --prev-install-log /usr/share/koha/misc/koha-install-log 

make

make test

make upgrade

 

So far, so good. Now we should be required to update the koha database. When we navigate to http://localhost:8080 we are presented with the regular login screen, no required database updates. When we go into the koha staff side the version is still showing 3.00.01.061.

 

John

 

 

+----------------------------------------------------------------------------+

John Chadwick, Ed.D. Information Technology Manager

New Mexico State Library

1209 Camino Carlos Rey

Santa Fe, NM 87507

Phone: 505-476-9740  Cell: 505-629-8116 Fax: 505-476-9761

john.chadwick@...

http://www.nmstatelibrary.org

 

 


Confidentiality Notice: This e-mail, including all attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited unless specifically provided under the New Mexico Inspection of Public Records Act. If you are not the intended recipient, please contact the sender and destroy all copies of this message. -- This email has been scanned by the Sybari - Antigen Email System.


emailsignature_html


Confidentiality Notice: This e-mail,including all attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review,use,disclosure or distribution is prohibited unless specifically provided under the New Mexico Inspection of Public Records Act. If you are not the intended recipient, please contact the sender and destroy all copies of this message.
This email has been scanned using Webroot Email Security.



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

Re: [Koha] Git and Koha v3.0.4

by Chris Cormack-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/10/28 Chadwick, John, DCA <john.chadwick@...>:

> I am trying to use git to update an install on a development box before we
> go to the production server. Today I started a directory for the koha clone
> on my development box. The directory is kohaclonetest
>
>
>
> When I use git to download a clone I end up with version 3.00.01.061. I have
> one branch called master.
>
>
>
> I then issue the command:
>
>
>
> git checkout –b stable304 v3.00.04
>
>
>
> I am now in branch stable304
>
>
>
> I issue the following commands:
>
>
>
> perl Makefile.PL --prev-install-log /usr/share/koha/misc/koha-install-log
>
> make
>
> make test
>
> make upgrade
>
>
>
> So far, so good. Now we should be required to update the koha database. When
> we navigate to http://localhost:8080 we are presented with the regular login
> screen, no required database updates. When we go into the koha staff side
> the version is still showing 3.00.01.061.
>
>
>
>
It is definitely 3.00.01.061 not  3.01.00.061 eh?

As far as I know there has never been a 3.00.01.061, I suspect you
have installed from master in the past, so are running 3.1.x which is
higher than 3.0.x ... so you cant upgrade from that.

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

Re: [Koha] Git and Koha v3.0.4

by Chadwick, John, DCA :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You are right Chris, it is 3.01.00.061.

This still begs the question, how do I get to the latest version using
git?

I issue the following command to initiate a new git directory on my
server:

git clone git://git.koha.org/pub/scm/koha.git kohaclonetest

If I install from the master without doing anything I get a database
with the old version number and lots of new choices on the local section
of the systems preference page.

If I issue the following command:

git checkout -b my304 v3.00.04

Then upgrade (or even a fresh install) the database is showing the
correct version (3.00.04.019), but there are fewer choices on the local
section of the systems preference page.

John

-----Original Message-----
From: Chris Cormack [mailto:chris@...]
Sent: Tuesday, October 27, 2009 1:54 PM
To: Chadwick, John, DCA
Cc: koha-devel@...; koha@...
Subject: Re: [Koha] Git and Koha v3.0.4

2009/10/28 Chadwick, John, DCA <john.chadwick@...>:
> I am trying to use git to update an install on a development box
before we
> go to the production server. Today I started a directory for the koha
clone
> on my development box. The directory is kohaclonetest
>
>
>
> When I use git to download a clone I end up with version 3.00.01.061.
I have

> one branch called master.
>
>
>
> I then issue the command:
>
>
>
> git checkout -b stable304 v3.00.04
>
>
>
> I am now in branch stable304
>
>
>
> I issue the following commands:
>
>
>
> perl Makefile.PL --prev-install-log
/usr/share/koha/misc/koha-install-log

>
> make
>
> make test
>
> make upgrade
>
>
>
> So far, so good. Now we should be required to update the koha
database. When
> we navigate to http://localhost:8080 we are presented with the regular
login
> screen, no required database updates. When we go into the koha staff
side
> the version is still showing 3.00.01.061.
>
>
>
>
It is definitely 3.00.01.061 not  3.01.00.061 eh?

As far as I know there has never been a 3.00.01.061, I suspect you
have installed from master in the past, so are running 3.1.x which is
higher than 3.0.x ... so you cant upgrade from that.

Chris
______________________________________________________________________
This inbound email has been scanned for malicious software and
transmitted safely to you using Webroot Email  Security.
______________________________________________________________________


Confidentiality Notice: This e-mail, including all attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited unless specifically provided under the New Mexico Inspection of Public Records Act. If you are not the intended recipient, please contact the sender and destroy all copies of this message. -- This email has been scanned by the Sybari - Antigen Email System.



______________________________________________________________________
Confidentiality Notice: This e-mail,including all attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review,use,disclosure or distribution is prohibited unless specifically provided under the New Mexico Inspection of Public Records Act. If you are not the intended recipient, please contact the sender and destroy all copies of this message.

This email has been scanned using Webroot Email Security.
______________________________________________________________________
_______________________________________________
Koha-devel mailing list
Koha-devel@...
http://lists.koha.org/mailman/listinfo/koha-devel

Re: [Koha] Git and Koha v3.0.4

by Chris Cormack-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/10/28 Chadwick, John, DCA <john.chadwick@...>:

> You are right Chris, it is 3.01.00.061.
>
> This still begs the question, how do I get to the latest version using
> git?
>
> I issue the following command to initiate a new git directory on my
> server:
>
> git clone git://git.koha.org/pub/scm/koha.git kohaclonetest
>
> If I install from the master without doing anything I get a database
> with the old version number and lots of new choices on the local section
> of the systems preference page.
>
> If I issue the following command:
>
> git checkout -b my304 v3.00.04
>
> Then upgrade (or even a fresh install) the database is showing the
> correct version (3.00.04.019), but there are fewer choices on the local
> section of the systems preference page.
>
Thats right, 3.0.4 is a release of the 3.0.x branch, no new features
just bug fixes.

Installing from master is installing what will become the 3.2 release.
With more features that 3.0.4.

So you have a choice, run the stable 3.0.x branch, or run the mostly
stable master branch (which has a lot more features)

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

Re: [Koha] Git and Koha v3.0.4

by Chadwick, John, DCA :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank you VERY much for the clarification. I will go on ahead and run
the 3.01.00.061 version.

John

-----Original Message-----
From: Chris Cormack [mailto:chris@...]
Sent: Tuesday, October 27, 2009 2:26 PM
To: Chadwick, John, DCA
Cc: koha-devel@...; koha@...
Subject: Re: [Koha] Git and Koha v3.0.4

2009/10/28 Chadwick, John, DCA <john.chadwick@...>:

> You are right Chris, it is 3.01.00.061.
>
> This still begs the question, how do I get to the latest version using
> git?
>
> I issue the following command to initiate a new git directory on my
> server:
>
> git clone git://git.koha.org/pub/scm/koha.git kohaclonetest
>
> If I install from the master without doing anything I get a database
> with the old version number and lots of new choices on the local
section
> of the systems preference page.
>
> If I issue the following command:
>
> git checkout -b my304 v3.00.04
>
> Then upgrade (or even a fresh install) the database is showing the
> correct version (3.00.04.019), but there are fewer choices on the
local
> section of the systems preference page.
>
Thats right, 3.0.4 is a release of the 3.0.x branch, no new features
just bug fixes.

Installing from master is installing what will become the 3.2 release.
With more features that 3.0.4.

So you have a choice, run the stable 3.0.x branch, or run the mostly
stable master branch (which has a lot more features)

Chris

______________________________________________________________________
This inbound email has been scanned for malicious software and
transmitted safely to you using Webroot Email  Security.
______________________________________________________________________


Confidentiality Notice: This e-mail, including all attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited unless specifically provided under the New Mexico Inspection of Public Records Act. If you are not the intended recipient, please contact the sender and destroy all copies of this message. -- This email has been scanned by the Sybari - Antigen Email System.



______________________________________________________________________
Confidentiality Notice: This e-mail,including all attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review,use,disclosure or distribution is prohibited unless specifically provided under the New Mexico Inspection of Public Records Act. If you are not the intended recipient, please contact the sender and destroy all copies of this message.

This email has been scanned using Webroot Email Security.
______________________________________________________________________
_______________________________________________
Koha-devel mailing list
Koha-devel@...
http://lists.koha.org/mailman/listinfo/koha-devel