Time |
S |
Nick |
Message |
04:49 |
|
|
logbot_backup joined #koha |
04:49 |
|
chris |
test |
05:13 |
|
|
indradg joined #koha |
07:07 |
|
chris |
http://stats.workbuffer.org/irclog/ |
08:55 |
|
|
cait1 joined #koha |
08:56 |
|
cait1 |
good morning #koha |
09:13 |
|
chris |
hi cait1 |
09:19 |
|
cait1 |
cait1? |
09:19 |
|
cait1 |
hi chris |
09:25 |
|
chris |
http://git.workbuffer.org/cgi-[…]heads/translation |
09:25 |
|
chris |
that branch has your up to date .po files |
09:26 |
|
chris |
so you could do |
09:26 |
|
chris |
git remote add translation git://git.workbuffer.org/git/koha.git |
09:26 |
|
chris |
then |
09:26 |
|
chris |
git fetch translation |
09:27 |
|
chris |
git checkout -b translation --track translation/translation |
09:28 |
|
chris |
and then you will be running master with the lastest versions of .po |
09:34 |
|
cait1 |
oh |
09:34 |
|
cait1 |
j |
09:34 |
|
cait1 |
will try |
09:35 |
|
cait1 |
i was about to add them manually by download from pootle |
09:35 |
|
chris |
that works too :) |
09:36 |
|
chris |
but i plan to keep the translation branch up to date, and galen will pull from it into master every so often also |
09:37 |
|
cait1 |
sounds good |
09:37 |
|
cait1 |
Im still fighting with git |
09:37 |
|
cait1 |
but fighting with apache is worse |
09:39 |
|
cait1 |
ok, I think those three commands worked |
09:39 |
|
cait1 |
what do I need to do now? |
09:40 |
|
chris |
if you look in misc/translator/po |
09:40 |
|
chris |
the new 300200 files should be in there |
09:41 |
|
cait1 |
ony 3000000 there |
09:42 |
|
chris |
hmmm |
09:42 |
|
chris |
git branch |
09:42 |
|
chris |
what branch does it say you are on? |
09:43 |
|
cait1 |
translation |
09:43 |
|
chris |
and if you do |
09:43 |
|
chris |
git log |
09:43 |
|
chris |
what is the latest commit? |
09:44 |
|
chris |
German translation updates? |
09:44 |
|
cait1 |
sorry, different computer cant copy - its patrons with no checkouts report |
09:44 |
|
cait1 |
german translation update is the first |
09:44 |
|
chris |
weird |
09:45 |
|
chris |
should have de-DE-i-opac-t-prog-v-3002000.po |
09:45 |
|
chris |
and no 3000000 one |
09:45 |
|
cait1 |
perhaps i missed something during install? I m really new to git, but the responses to your commands looked fine |
09:46 |
|
chris |
hmm nope what you typed looks fine |
09:53 |
|
cait1 |
adding them manually seems to work |
09:55 |
|
cait1 |
opac has probllems |
09:57 |
|
cait1 |
%, d: Unknown or unsupported format specification |
09:57 |
|
cait1 |
and one warning above that, staff is ok |
09:58 |
|
chris |
ahh i bet there is a space in there % s instead of %s of %, instead of %s, |
09:58 |
|
cait1 |
yes somehing like that |
09:58 |
|
cait1 |
but dificult to find it |
09:58 |
|
chris |
ill fix that up |
09:59 |
|
cait1 |
ok thx chris! |
09:59 |
|
cait1 |
the warning is in opac-opensearch.tmpl line 38 |
10:00 |
|
chris |
can you try getting it again |
10:00 |
|
cait1 |
and it stops with an error after creating opac-sendshelf.tmpl |
10:00 |
|
cait1 |
mom |
10:02 |
|
cait1 |
successful, but the warning about opac-opensearch is still there |
10:03 |
|
chris |
but it created the templates this time? |
10:03 |
|
cait1 |
yes |
10:03 |
|
chris |
cool |
10:03 |
|
cait1 |
did all templates, just showed the warning while doing it |
10:03 |
|
cait1 |
seems to be an additional < |
10:05 |
|
cait1 |
no |
10:05 |
|
chris |
wow!! |
10:05 |
|
cait1 |
copy and paste is not always an good idea |
10:05 |
|
cait1 |
:( |
10:06 |
|
cait1 |
when switching between different computers |
10:07 |
|
chris |
yeah always dangerous |
10:14 |
|
cait1 |
what I wanted to really show you, when searching for Dienstoberläche I get to "GNU General Public License, version 2" |
10:14 |
|
cait1 |
this search works in strange ways |
10:17 |
|
chris |
yeah the pootle search is weird |
10:31 |
|
cait1 |
ok, question about git |
10:31 |
|
cait1 |
how to change branch back to HEAD? |
10:31 |
|
cait1 |
or just leave it as it is? |
10:32 |
|
chris |
git checkout master |
10:32 |
|
chris |
gets you back |
10:32 |
|
cait1 |
oh it tells me Im behind origin/master (58 commits) |
10:35 |
|
cait1 |
hm I dont really understand what I do, need to read more about git :) |
10:35 |
|
chris |
thats telling you that since you last fetched and rebased 58 changes have happened |
10:38 |
|
cait1 |
ah I think I did git pull when I was on mywork branch |
10:39 |
|
chris |
ah yep that would do it |
10:39 |
|
chris |
right time for bed, got work tomorrow |
10:39 |
|
chris |
enjoy the rest of your weekend |
10:39 |
|
cait1 |
ok, good night chris |
10:40 |
|
cait1 |
and thx again for everything |
10:41 |
|
|
cait1 left #koha |
12:53 |
|
|
jdavidb joined #koha |
12:54 |
|
jdavidb |
@seen jwagner |
12:54 |
|
munin |
jdavidb: jwagner was last seen in #koha 1 day, 13 hours, 22 minutes, and 1 second ago: <jwagner> Hi all, sorry, been off on another screen |
13:20 |
|
|
jdavidb left #koha |
14:08 |
|
|
jwagner joined #koha |
14:15 |
|
|
jdavidb joined #koha |
14:21 |
|
|
jdavidb_ joined #koha |
14:28 |
|
|
jdavidb left #koha |
14:38 |
|
|
jdavidb_ left #koha |
14:57 |
|
|
gmcharlt joined #koha |
16:18 |
|
|
|Lupin| joined #koha |
16:19 |
|
|Lupin| |
good evening |
16:22 |
|
|
gmcharlt left #koha |
16:30 |
|
|
indradg_ joined #koha |
16:30 |
|
|
indradg left #koha |
16:55 |
|
|Lupin| |
bye all ! |
16:55 |
|
|
|Lupin| left #koha |
17:42 |
|
|
|Lupin| joined #koha |
17:47 |
|
|
|Lupin| left #koha |
17:58 |
|
|
brendan_ joined #koha |
17:58 |
|
|
brendan left #koha |
18:39 |
|
|
pianohacker joined #koha |
18:55 |
|
|
brendan_ left #koha |
19:33 |
|
|
gmcharlt joined #koha |
19:52 |
|
|
jwagner left #koha |
20:33 |
|
|
richard joined #koha |
20:33 |
|
richard |
hi |
20:38 |
|
pianohacker |
Hello |
20:48 |
|
chris |
morning |
20:49 |
|
|
pianohacker left #koha |
20:49 |
|
|
pianohacker joined #koha |
21:01 |
|
|
pianohacker left #koha |
21:10 |
|
|
nengard joined #koha |
21:10 |
|
chris |
hey nengard |
21:11 |
|
chris |
so http://bugs.koha.org/cgi-bin/b[…]w_bug.cgi?id=2046 you say? |
21:11 |
|
munin |
Bug 2046: normal, P3, ---, rchliblime.com, NEW, Suggestions: Title Field too small |
21:11 |
|
|
pianohacker joined #koha |
21:12 |
|
nengard |
changed my mind the comments on bug 2046 imply there may be more than a db issue |
21:12 |
|
munin |
Bug http://bugs.koha.org/cgi-bin/b[…]w_bug.cgi?id=2046 normal, P3, ---, rchliblime.com, NEW, Suggestions: Title Field too small |
21:12 |
|
nengard |
let's do this: http://bugs.koha.org/cgi-bin/b[…]w_bug.cgi?id=2761 |
21:12 |
|
munin |
Bug 2761: major, P3, ---, gmcharltgmail.com, NEW, Call Number Field Too Few Characters |
21:13 |
|
chris |
k |
21:14 |
|
chris |
oh yeah we can do that |
21:14 |
|
nengard |
cool |
21:14 |
|
chris |
so when making db changes you need to do a few things |
21:14 |
|
chris |
the first is make the change locally and check it works |
21:15 |
|
chris |
so in this case we would get into our koha db |
21:15 |
|
chris |
then run |
21:15 |
|
nengard |
by 'get into our koha db' do you mean musing mysql - or just get into the directory where we have our git branch |
21:16 |
|
chris |
ahh sorry by using mysql |
21:16 |
|
nengard |
no prob - if we're documenting this i want to be very very specific |
21:16 |
|
nengard |
:) |
21:17 |
|
chris |
so once we are in mysql we can run some sql to alter the items table |
21:17 |
|
chris |
ill let you figure that one out :-) |
21:17 |
|
nengard |
i forgot what i set as my username on mysql :) |
21:17 |
|
chris |
kohaadmin probably |
21:18 |
|
pianohacker |
nengard: Try hitting Ctrl-R, then typing in mysql -u |
21:18 |
|
nengard |
you are right ;) |
21:18 |
|
nengard |
okay so now i want to update the table in question |
21:18 |
|
chris |
yep |
21:19 |
|
nengard |
UPDATE items SET itemcallnumber .... |
21:19 |
|
nengard |
bleh - off to read the manual - be right back :) soooo out of practice |
21:19 |
|
chris |
hint, it starts with ALTER |
21:19 |
|
nengard |
don't tell me ... i'll get it :) |
21:23 |
|
nengard |
ALTER items MODIFY itemnumber varchar(255); |
21:23 |
|
chris |
that oughta do it, at least for modern versions of mysql |
21:23 |
|
chris |
its itemcallnumber tho |
21:24 |
|
chris |
making itemnumber a varchar would be bad :) |
21:24 |
|
nengard |
hehe |
21:24 |
|
nengard |
oops |
21:24 |
|
lamiette |
w |
21:24 |
|
|
pianohacker1 joined #koha |
21:24 |
|
chris |
thats why we try it locally before we send a patch ;) |
21:24 |
|
nengard |
mysql> ALTER items MODIFY itemcallnumber varchar(255); |
21:24 |
|
nengard |
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'items MODIFY itemcallnumber varchar(255)' at line 1 |
21:24 |
|
chris |
ALTER TABLE items |
21:25 |
|
nengard |
ahh - i thought TABLE was supposed to be the table name |
21:25 |
|
chris |
w to you too lamiette |
21:25 |
|
lamiette |
chris: morning getting to my ability to identify what window I am in |
21:25 |
|
chris |
heh, monday's will do that |
21:25 |
|
lamiette |
trying to :w irc instead of a buffer in vim |
21:25 |
|
nengard |
ah - i forgot to pick a database first - now this i need help with |
21:25 |
|
chris |
use koha; |
21:25 |
|
nengard |
i've only ever used phpmyadmin :) |
21:26 |
|
nengard |
okay |
21:26 |
|
nengard |
change made |
21:26 |
|
chris |
sweet |
21:26 |
|
chris |
and koha still mostly works (it should but it never hurts to click around a bit) |
21:27 |
|
chris |
(for something this benign checking isnt super nessecary but its a good habit to get into) |
21:28 |
|
nengard |
clicking done |
21:28 |
|
chris |
cool |
21:28 |
|
chris |
so we know it works |
21:29 |
|
nengard |
well - we know it doesn't break anything :) |
21:29 |
|
chris |
the next step is to edit installer/data/mysql/kohastructure.sql |
21:30 |
|
chris |
what i would do is vim installer/data/mysql/kohastructure.sql |
21:30 |
|
nengard |
chris - in this instance shouldn't we also change the other tables with call numbers? |
21:30 |
|
nengard |
biblio or biblioitems - i need to check and see where else there is a call number |
21:30 |
|
chris |
probably not, if they are using itemlevelcallnumbers it doesnt store it elsewhere |
21:31 |
|
|
pianohacker left #koha |
21:31 |
|
nengard |
okay |
21:31 |
|
|
pianohacker1 is now known as pianohacker |
21:32 |
|
nengard |
okay i'm in kohastructure.sql |
21:32 |
|
chris |
i would type /itemcallnumber |
21:32 |
|
nengard |
am i looking for the items table and itemcallnumber field i assume |
21:32 |
|
chris |
that will jump you right to it |
21:33 |
|
pianohacker |
nengard: Yes |
21:33 |
|
chris |
ack i have a meeting in 10 mins |
21:33 |
|
nengard |
done |
21:33 |
|
chris |
but once you find that, you want to change the varchar(30) to varchar(255) |
21:33 |
|
nengard |
done |
21:33 |
|
chris |
cool |
21:34 |
|
chris |
save and quit that file |
21:34 |
|
nengard |
now create patch? or is there more? |
21:34 |
|
nengard |
done |
21:34 |
|
chris |
more |
21:34 |
|
chris |
now we get to edit updatedatabase.pl |
21:34 |
|
nengard |
same directory? |
21:34 |
|
chris |
vim installer/data/mysql/updatedatabase.pl |
21:34 |
|
chris |
yep |
21:35 |
|
nengard |
okay found the line and changed it |
21:35 |
|
nengard |
and saved it |
21:35 |
|
nengard |
next |
21:35 |
|
chris |
there is no changing |
21:35 |
|
chris |
:) |
21:35 |
|
nengard |
changed from 30 to 255 |
21:35 |
|
nengard |
no?? |
21:35 |
|
chris |
you cant change in updatedatabase.pl |
21:35 |
|
nengard |
hehe |
21:35 |
|
nengard |
bleh |
21:35 |
|
chris |
no cos that won't get run |
21:36 |
|
nengard |
k |
21:36 |
|
nengard |
what do i do? |
21:36 |
|
nengard |
sorry |
21:36 |
|
nengard |
was rushing cause you had to go |
21:36 |
|
chris |
ahh sweet |
21:36 |
|
chris |
meeting pushed back to 11 |
21:36 |
|
nengard |
yippe |
21:36 |
|
chris |
so i have an hour |
21:36 |
|
nengard |
okay i have updatedatabase open |
21:37 |
|
chris |
what you want do do is come down in the file to just before sub DropAllForeignKeys |
21:37 |
|
chris |
so /sub DropAllForeignKeys |
21:37 |
|
chris |
will jump you there |
21:37 |
|
nengard |
k |
21:37 |
|
nengard |
there |
21:37 |
|
chris |
now scroll up a bit |
21:38 |
|
chris |
there is an if block |
21:38 |
|
chris |
and a $DBversion= 'some number'; |
21:38 |
|
chris |
before that? |
21:38 |
|
nengard |
uh huh |
21:38 |
|
chris |
what number is it? |
21:38 |
|
nengard |
.041 |
21:38 |
|
nengard |
or longer 3.01.00.041 |
21:38 |
|
chris |
right |
21:39 |
|
chris |
in that case ours will be 3.01.00.042 |
21:39 |
|
chris |
so copy that line and the line below it, and paste it after the if block |
21:39 |
|
chris |
then change the 41 to 42 |
21:39 |
|
nengard |
confused |
21:40 |
|
nengard |
paste after this: |
21:40 |
|
nengard |
$DBversion = '3.01.00.041'; |
21:40 |
|
nengard |
if (C4::Context->preference("Version") < TransformToNum($DBversion)) { |
21:40 |
|
nengard |
$dbh->do("INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('AWSPrivateKey','','See: http://aws.amazon.com. Note that this is required after 2009/08/15 in order to retrieve any enhanced content other than book covers from Amazon.','','free')"); |
21:40 |
|
nengard |
SetVersion ($DBversion); |
21:40 |
|
nengard |
print "Upgrade to $DBversion done (added AWSPrivateKey syspref - note that if you use enhanced content from Amazon, this should be set right away.)"; |
21:40 |
|
nengard |
} |
21:40 |
|
chris |
yes |
21:40 |
|
nengard |
andcopy this: |
21:40 |
|
nengard |
$DBversion = '3.01.00.041'; |
21:40 |
|
nengard |
if (C4::Context->preference("Version") < TransformToNum($DBversion)) { |
21:40 |
|
nengard |
$dbh->do("INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('AWSPrivateKey','','See: http://aws.amazon.com. Note that this is required after 2009/08/15 in order to retrieve any enhanced content other than book covers from Amazon.','','free')"); |
21:40 |
|
chris |
just the first 2 lines |
21:40 |
|
nengard |
$DBversion = '3.01.00.041'; |
21:40 |
|
nengard |
if (C4::Context->preference("Version") < TransformToNum($DBversion)) { |
21:40 |
|
chris |
ye |
21:40 |
|
chris |
s |
21:41 |
|
chris |
and then change 41 to 42 |
21:41 |
|
nengard |
k |
21:41 |
|
nengard |
done |
21:41 |
|
chris |
now we want to add a line after the if to do our db change |
21:41 |
|
nengard |
which is the alter line |
21:41 |
|
chris |
so $dbh->do("That sql we tested before"); |
21:42 |
|
chris |
*nod* |
21:42 |
|
nengard |
$dbh->do("ALTER TABLE items MODIFY itemcallnumber varchar(255);"); |
21:42 |
|
chris |
thats it |
21:42 |
|
nengard |
done |
21:42 |
|
nengard |
close IF? |
21:43 |
|
chris |
now you want the last 2 lines from above |
21:43 |
|
chris |
the SetVersion one |
21:44 |
|
chris |
and the print |
21:44 |
|
chris |
then close the if |
21:44 |
|
chris |
and we want the print to say something meaningful |
21:45 |
|
chris |
like changing itemcallnumber to varchar(255) or something |
21:45 |
|
nengard |
$DBversion = '3.01.00.042'; |
21:45 |
|
nengard |
if (C4::Context->preference("Version") < TransformToNum($DBversion)) { |
21:45 |
|
nengard |
$dbh->do("ALTER TABLE items MODIFY itemcallnumber varchar(255);"); |
21:45 |
|
nengard |
SetVersion ($DBversion); |
21:45 |
|
nengard |
print "Change max length of itemcallnumber to 255 from 30."; |
21:45 |
|
nengard |
$DBversion = '3.01.00.042'; |
21:45 |
|
nengard |
if (C4::Context->preference("Version") < TransformToNum($DBversion)) { |
21:45 |
|
nengard |
$dbh->do("ALTER TABLE items MODIFY itemcallnumber varchar(255);"); |
21:45 |
|
nengard |
SetVersion ($DBversion); |
21:45 |
|
nengard |
print "Change max length of itemcallnumber to 255 from 30."; |
21:45 |
|
nengard |
$DBversion = '3.01.00.042'; |
21:45 |
|
nengard |
if (C4::Context->preference("Version") < TransformToNum($DBversion)) { |
21:45 |
|
nengard |
$dbh->do("ALTER TABLE items MODIFY itemcallnumber varchar(255);"); |
21:45 |
|
nengard |
SetVersion ($DBversion); |
21:45 |
|
nengard |
print "Change max length of itemcallnumber to 255 from 30."; |
21:45 |
|
nengard |
$DBversion = '3.01.00.042'; |
21:45 |
|
nengard |
if (C4::Context->preference("Version") < TransformToNum($DBversion)) { |
21:45 |
|
nengard |
$dbh->do("ALTER TABLE items MODIFY itemcallnumber varchar(255);"); |
21:45 |
|
nengard |
SetVersion ($DBversion); |
21:45 |
|
nengard |
print "Change max length of itemcallnumber to 255 from 30."; |
21:45 |
|
chris |
yeah just once will do tho |
21:45 |
|
nengard |
} |
21:45 |
|
nengard |
ooops!!! |
21:45 |
|
nengard |
sorry |
21:45 |
|
chris |
:) |
21:45 |
|
nengard |
hehe |
21:46 |
|
nengard |
sticky fingers |
21:46 |
|
chris |
maybe add |
21:46 |
|
chris |
Upgrade to $DBversion done |
21:46 |
|
chris |
to your print |
21:46 |
|
chris |
and end it with \n |
21:46 |
|
chris |
(before the ";) |
21:46 |
|
chris |
\n = newline |
21:46 |
|
chris |
other than that, looks great |
21:47 |
|
chris |
and a trick is http://koha.pastebin.com/ |
21:47 |
|
chris |
for pasting stuff |
21:47 |
|
chris |
(thats longer than a few lines anyway) |
21:47 |
|
nengard |
there is no new line in the past version upgrade |
21:47 |
|
chris |
well can you fix that while you are there :) |
21:48 |
|
chris |
there is in 39 :) |
21:48 |
|
chris |
and previous |
21:48 |
|
nengard |
okay |
21:48 |
|
chris |
cool |
21:48 |
|
nengard |
$DBversion = '3.01.00.041'; |
21:48 |
|
nengard |
if (C4::Context->preference("Version") < TransformToNum($DBversion)) { |
21:48 |
|
nengard |
$dbh->do("INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('AWSPrivateKey','','See: http://aws.amazon.com. Note that this is required after 2009/08/15 in order to retrieve any enhanced content other than book covers from Amazon.','','free')"); |
21:48 |
|
nengard |
SetVersion ($DBversion); |
21:48 |
|
nengard |
print "Upgrade to $DBversion done (added AWSPrivateKey syspref - note that if you use enhanced content from Amazon, this should be set right away.)\n"; |
21:49 |
|
nengard |
} |
21:49 |
|
nengard |
$DBversion = '3.01.00.042'; |
21:49 |
|
nengard |
if (C4::Context->preference("Version") < TransformToNum($DBversion)) { |
21:49 |
|
nengard |
$dbh->do("ALTER TABLE items MODIFY itemcallnumber varchar(255);"); |
21:49 |
|
nengard |
SetVersion ($DBversion); |
21:49 |
|
nengard |
print " Upgrade to $DBversion done (change max length of itemcallnumber to 255 from 30.)\n"; |
21:49 |
|
nengard |
} |
21:49 |
|
chris |
awesome |
21:49 |
|
chris |
save and quit |
21:49 |
|
nengard |
sone |
21:49 |
|
nengard |
done |
21:49 |
|
chris |
and just 1 last file to g |
21:49 |
|
nengard |
:) |
21:49 |
|
chris |
kohaversion.pl |
21:49 |
|
chris |
in the base dir of your git checkout |
21:50 |
|
nengard |
change to .042 |
21:50 |
|
chris |
you want to change the number there to be 42 too |
21:50 |
|
chris |
*snap* |
21:50 |
|
nengard |
done |
21:50 |
|
nengard |
:) |
21:50 |
|
chris |
right, that's how we make a db change |
21:50 |
|
nengard |
so much fun :) hehe |
21:50 |
|
nengard |
yipppppeeeeeee |
21:50 |
|
nengard |
i'll clean this up and put it on the tutorials page |
21:50 |
|
nengard |
and i'll submit my first db patch :) |
21:51 |
|
chris |
now before sending a patch you always want to fetch and rebase |
21:51 |
|
chris |
but you know that eh? |
21:51 |
|
nengard |
i always do that before creating my patch |
21:51 |
|
nengard |
why after? |
21:51 |
|
chris |
sorry before creating |
21:51 |
|
nengard |
k |
21:51 |
|
nengard |
:) |
21:52 |
|
nengard |
i meant before i start writing my changes i pulled it |
21:52 |
|
nengard |
you did say before |
21:52 |
|
chris |
yep, then just before i do my patch |
21:52 |
|
chris |
i fetch and rebase again |
21:52 |
|
chris |
in case someone else has sent and had one accepted in the meantime |
21:52 |
|
chris |
then create patch |
21:52 |
|
chris |
and send |
21:52 |
|
chris |
http://stats.workbuffer.org/irclog/koha/today |
21:53 |
|
chris |
dunno if its easier to take from there |
21:53 |
|
chris |
http://stats.workbuffer.org/ir[…]a;date=2009-08-16 even |
21:53 |
|
nengard |
okay i'm confused - this screen for committing is diff than the one i'm used to seeing |
21:53 |
|
nengard |
usually i hit esc and then type ZZ |
21:54 |
|
nengard |
but that's not working |
21:54 |
|
chris |
it will be vim |
21:54 |
|
chris |
so just edit it as if it was vim |
21:54 |
|
chris |
save and quit |
21:54 |
|
nengard |
never used vim :) |
21:54 |
|
chris |
its vi improved |
21:54 |
|
nengard |
nope |
21:54 |
|
nengard |
it's typing my :wq |
21:55 |
|
chris |
did you hit esc ? |
21:55 |
|
nengard |
yes |
21:55 |
|
chris |
ok, control-z |
21:55 |
|
nengard |
esc not working - at the buttom it says ^0 WRITEOUT |
21:55 |
|
chris |
to background it |
21:55 |
|
nengard |
no - what the heck is this |
21:55 |
|
nengard |
i can't stop it from typing |
21:55 |
|
chris |
ctrl-c ? |
21:55 |
|
|
indradg_ left #koha |
21:56 |
|
nengard |
that's cursor position |
21:56 |
|
nengard |
according tot he bottom |
21:56 |
|
nengard |
didn't do anything |
21:56 |
|
chris |
ctrl-x ? |
21:56 |
|
chris |
ahh you are in nano |
21:57 |
|
nengard |
that goe me out |
21:57 |
|
chris |
i hate nano |
21:57 |
|
chris |
ok |
21:57 |
|
nengard |
what the hell is nano??? |
21:57 |
|
nengard |
and how did i get in there? |
21:57 |
|
chris |
sudo apt-get remove nano |
21:57 |
|
chris |
its a copy of pico .. which used to come with pine, lightweight editor |
21:58 |
|
chris |
pine was my first email client |
21:58 |
|
chris |
back in the day |
21:58 |
|
nengard |
okay |
21:58 |
|
chris |
ok try your commit again |
21:58 |
|
nengard |
hmm |
21:58 |
|
nengard |
it seems to have created my patch |
21:58 |
|
chris |
and you should be in vi |
21:58 |
|
nengard |
but i'm not sure where it went |
21:59 |
|
nengard |
cause now it says there is nothing to commit |
21:59 |
|
chris |
ahh created your commit you mean? |
21:59 |
|
nengard |
yes |
21:59 |
|
nengard |
sorry |
21:59 |
|
nengard |
or not |
21:59 |
|
nengard |
i did status and there isn't anything there |
21:59 |
|
nengard |
..... |
21:59 |
|
chris |
git commit --amend |
21:59 |
|
chris |
yeah if you committed there wont be |
21:59 |
|
nengard |
okay scary blue screen with my commit info |
22:00 |
|
nengard |
this is not vim |
22:00 |
|
nengard |
or vi |
22:00 |
|
chris |
ctrl-c |
22:00 |
|
nengard |
that got me out |
22:00 |
|
chris |
export EDITOR=vi |
22:00 |
|
chris |
git commit --amend |
22:00 |
|
nengard |
THANK YOU |
22:00 |
|
nengard |
this I know :) |
22:01 |
|
nengard |
nengarddebian:~/kohaclone$ export EDITOR=vi |
22:01 |
|
nengard |
nengarddebian:~/kohaclone$ git commit --amend |
22:01 |
|
nengard |
Created commit 2e9b904: BUG 2761 Fix max length of itemcallnumber to 255 |
22:01 |
|
nengard |
3 files changed, 10 insertions(+), 3 deletions(-) |
22:01 |
|
nengard |
nengarddebian:~/kohaclone$ |
22:01 |
|
munin |
Bug http://bugs.koha.org/cgi-bin/b[…]w_bug.cgi?id=2761 major, P3, ---, gmcharltgmail.com, NEW, Call Number Field Too Few Characters |
22:01 |
|
chris |
sweet |
22:01 |
|
chris |
and you are ready to create and send your patch |
22:02 |
|
|
pianohacker left #koha |
22:03 |
|
nengard |
sent :) |
22:03 |
|
nengard |
i will not edit this transcript for others to benefit from |
22:04 |
|
chris |
:) |
22:06 |
|
nengard |
patch submitted and attached to bug: http://bugs.koha.org/cgi-bin/b[…]w_bug.cgi?id=2761 |
22:06 |
|
munin |
Bug 2761: major, PATCH-Sent, ---, nengardgmail.com, NEW, Call Number Field Too Few Characters |
22:07 |
|
chris |
coolio |
22:15 |
|
nengard |
hey gmcharlt put his tutorial on his blog |
22:15 |
|
nengard |
can i put mine natively on the wiki? |
22:16 |
|
chris |
sure you can |
22:17 |
|
nengard |
k |
22:17 |
|
nengard |
doing that |
22:17 |
|
nengard |
don't htink people on my blog care too much :) |
22:18 |
|
nengard |
can we do colored font on the wiki? |
22:19 |
|
chris |
pass |
22:19 |
|
nengard |
hehe |
22:19 |
|
nengard |
okay will edit tutorial more than gmcharlt did :) |
22:23 |
|
chris |
:) |
22:25 |
|
chris |
your email just hit the list |
22:39 |
|
|
davi left #koha |
22:40 |
|
|
davi joined #koha |
22:40 |
|
nengard |
chris what's the syntax to have the wiki not turn all words with multi caps into links? |
22:40 |
|
nengard |
http://wiki.koha.org/doku.php?[…]:dbupdatetutorial |
22:41 |
|
chris |
no idea |
22:41 |
|
nengard |
hehe |
22:41 |
|
nengard |
k |
22:41 |
|
nengard |
how about how do i make my link look right? |
22:41 |
|
nengard |
http://wiki.koha.org/doku.php?[…]ntation:tutorials |
22:41 |
|
nengard |
i want it to have the title of the page and i want the page under tutorials |
22:41 |
|
nengard |
not under documentation |
22:42 |
|
chris |
right you have to change the link to it |
22:42 |
|
chris |
ill fix the title |
22:42 |
|
nengard |
i thought just by putting it on tutorials it would use that page as the parent |
22:43 |
|
chris |
http://wiki.koha.org/doku.php?[…]:dbupdatetutorial |
22:43 |
|
chris |
nope |
22:43 |
|
chris |
fixed the title 2 secs |
22:46 |
|
chris |
http://wiki.koha.org/doku.php?[…]:dbupdatetutorial |
22:49 |
|
nengard |
thanks |
22:49 |
|
chris |
ok meeting time |
22:51 |
|
|
davi left #koha |
22:51 |
|
|
davi joined #koha |
22:53 |
|
|
davi left #koha |
22:53 |
|
|
davi joined #koha |
23:03 |
|
nengard |
hey does anyone know where the koha news is stored? it's not in the db like i thought |
23:03 |
|
nengard |
does it create a text file? |
23:10 |
|
nengard |
nevermind - found it - it is in the db |
23:19 |
|
|
pie left #koha |
23:20 |
|
nengard |
chris - thought of something we didn't cover what if you don't want to change the structure of a table - but the data in it - the you wouldn't have to edit kohastructure.sql - right? |
23:20 |
|
nengard |
is there something you do have to edit? |
23:24 |
|
nengard |
example - for this: http://bugs.koha.org/cgi-bin/b[…]w_bug.cgi?id=2611 |
23:25 |
|
munin |
Bug 2611: normal, P3, ---, gmcharltgmail.com, NEW, Language Issue: Patron Permissions |
23:25 |
|
nengard |
i looked at the contents of the permissions table but I don't see the permissions I see when I got to edit a patron's permissions |
23:26 |
|
nengard |
but once I figure out which table - I want to edit the text in the table, not the table itself |
23:27 |
|
|
nengard left #koha |
23:44 |
|
|
andy joined #koha |
23:45 |
|
|
andy left #koha |
23:45 |
|
|
andy joined #koha |
12:22 |
|
CGI639 |
any one could help me in Circulation and fines rules koha 3.0.3 |
12:27 |
|
gmcharlt |
CGI639: what's up? |
15:03 |
|
cait |
@wunder konstanz |
15:03 |
|
munin |
cait: The current temperature in Konstanz, Germany is 29.0°C (5:00 PM CEST on August 15, 2009). Conditions: Scattered Clouds. Humidity: 37%. Dew Point: 17.0°C. Pressure: 29.99 in 1015 hPa (Falling). |
15:12 |
|
|Lupin| |
hi again :) |
15:34 |
|
|Lupin| |
hi pianohacker,hi hdl_laptop |
15:35 |
|
pianohacker |
hi |
15:41 |
|
hdl_laptop |
hi |Lupin| |
17:03 |
|
|Lupin| |
bye all |
17:34 |
|
|Lupin| |
hi again, folks |
17:34 |
|
pianohacker |
Hello |
17:50 |
|
|Lupin| |
time to leave, happy day / night all ! |
18:33 |
|
brendan |
morning #koha |
18:40 |
|
pianohacker |
Good morning |
18:41 |
|
pianohacker |
Still safe from the fire? |
18:58 |
|
brendan |
ha -- yeah -- just have poor air quality |
18:58 |
|
brendan |
pianohacker -- you have anymore done on your new sys-pref editor? |
18:59 |
|
brendan |
I'd be interested in taking a sneak peak -- if you have one available |
18:59 |
|
pianohacker |
Not beyond what's on github |
18:59 |
|
pianohacker |
Hmm. Not available on a public demo at the moment |
18:59 |
|
brendan |
cool |
18:59 |
|
pianohacker |
Do you have the URL? |
18:59 |
|
brendan |
I've got it somewhere |
19:00 |
|
brendan |
was looking more for a public demo at the moment |
19:01 |
|
brendan |
@wunder 93117 |
19:01 |
|
munin |
brendan: The current temperature in Northwest Goleta, Goleta, California is 19.8°C (12:00 PM PDT on August 15, 2009). Conditions: Smoke. Humidity: 73%. Dew Point: 15.0°C. Pressure: 29.96 in 1014.4 hPa (Steady). |
19:02 |
|
brendan |
thought the condition would pop up as smoke! |
19:02 |
|
brendan |
munin you should report smokey |
19:02 |
|
munin |
brendan: I'll give you the answer as soon as RDA is ready |
19:04 |
|
pianohacker |
brendan: Source at http://github.com/pianohacker/koha/tree/prefs/; sometime tomorrow or monday I could give you a demo while my computer at home is on |
19:05 |
|
chris |
brendan: http://librarian.koha.workbuff[…]nces.pl?tab=admin |
19:05 |
|
brendan |
cool I'll pul up a clone sometime later today |
19:05 |
|
brendan |
ah chris -- you're excellent |
19:05 |
|
pianohacker |
Ahh, cool. Didn't know if you still had that, up, thanks chris |
19:05 |
|
chris |
well it changes, it was my translation branch |
19:06 |
|
chris |
but i just checked out the prefs branch :) |
19:09 |
|
pianohacker |
brendan: I think you were looking into a VPS service a while back. Did you have any luck? Might well have to buy some for things like this |
19:11 |
|
brendan |
:) -- using the mosso cloud at the moment |
19:11 |
|
brendan |
1.5 cents an hour |
19:12 |
|
brendan |
or just some internal virtual machines in my office |
19:12 |
|
brendan |
but I agree -- I need to get something more public -- |
19:18 |
|
pianohacker |
Hmm. Rackspace is jumping on the cloud marketing bandwagon pretty thoroughly |
19:18 |
|
pianohacker |
brendan: You or ByWater have anything interesting going on in the Koha realm? |
19:19 |
|
brendan |
just some small libraries migrating at the moment - but hoping to get to a 'did you mean' added for the OPAC |
19:20 |
|
pianohacker |
If you can get something better than the old hoary kohaspsuggest, you will make a lot of librarians very happy |
19:20 |
|
brendan |
funding issues at the moment -- but hopefully a few libraries come through and then we'll get to that |
19:20 |
|
pianohacker |
Yeah |
19:21 |
|
brendan |
I agree... current thoughts were something similar... but I agree that was funky |
19:21 |
|
brendan |
so if that comes a reality -- I'm open for suggestions -- currently doing some research on how we want to tackle that |
19:21 |
|
pianohacker |
The overall process wasn't too horrible, but the requirement for a separate, poorly documented database was kind of odd |
19:22 |
|
brendan |
agreed -- would be nicer to not have a separate database. |
19:23 |
|
brendan |
so stalled on that for the moment -- but hopefully that picks up again soon -- I think the main librarian interested in that is on vacation for three weeks |
19:23 |
|
pianohacker |
Good luck. Can't wait to see it :) |
19:23 |
|
brendan |
:) |
19:55 |
|
pianohacker |
bye for now |
04:49 |
|
chris |
test |
07:07 |
|
chris |
http://stats.workbuffer.org/irclog/ |
08:57 |
|
cait1 |
good morning #koha |
09:13 |
|
chris |
hi cait1 |
09:20 |
|
cait1 |
cait1? |
09:20 |
|
cait1 |
hi chris |
09:26 |
|
chris |
http://git.workbuffer.org/cgi-[…]heads/translation |
09:26 |
|
chris |
that branch has your up to date .po files |
09:26 |
|
chris |
so you could do |
09:27 |
|
chris |
git remote add translation git://git.workbuffer.org/git/koha.git |
09:27 |
|
chris |
then |
09:27 |
|
chris |
git fetch translation |
09:28 |
|
chris |
git checkout -b translation --track translation/translation |
09:29 |
|
chris |
and then you will be running master with the lastest versions of .po |
09:34 |
|
cait1 |
oh |
09:35 |
|
cait1 |
j |
09:35 |
|
cait1 |
will try |
09:35 |
|
cait1 |
i was about to add them manually by download from pootle |
09:36 |
|
chris |
that works too :) |
09:37 |
|
chris |
but i plan to keep the translation branch up to date, and galen will pull from it into master every so often also |
09:37 |
|
cait1 |
sounds good |
09:37 |
|
cait1 |
Im still fighting with git |
09:37 |
|
cait1 |
but fighting with apache is worse |
09:40 |
|
cait1 |
ok, I think those three commands worked |
09:40 |
|
cait1 |
what do I need to do now? |
09:41 |
|
chris |
if you look in misc/translator/po |
09:41 |
|
chris |
the new 300200 files should be in there |
09:42 |
|
cait1 |
ony 3000000 there |
09:42 |
|
chris |
hmmm |
09:42 |
|
chris |
git branch |
09:42 |
|
chris |
what branch does it say you are on? |
09:44 |
|
cait1 |
translation |
09:44 |
|
chris |
and if you do |
09:44 |
|
chris |
git log |
09:44 |
|
chris |
what is the latest commit? |
09:44 |
|
chris |
German translation updates? |
09:44 |
|
cait1 |
sorry, different computer cant copy - its patrons with no checkouts report |
09:45 |
|
cait1 |
german translation update is the first |
09:45 |
|
chris |
weird |
09:45 |
|
chris |
should have de-DE-i-opac-t-prog-v-3002000.po |
09:45 |
|
chris |
and no 3000000 one |
09:46 |
|
cait1 |
perhaps i missed something during install? I m really new to git, but the responses to your commands looked fine |
09:47 |
|
chris |
hmm nope what you typed looks fine |
09:54 |
|
cait1 |
adding them manually seems to work |
09:55 |
|
cait1 |
opac has probllems |
09:57 |
|
cait1 |
%, d: Unknown or unsupported format specification |
09:58 |
|
cait1 |
and one warning above that, staff is ok |
09:59 |
|
chris |
ahh i bet there is a space in there % s instead of %s of %, instead of %s, |
09:59 |
|
cait1 |
yes somehing like that |
09:59 |
|
cait1 |
but dificult to find it |
09:59 |
|
chris |
ill fix that up |
09:59 |
|
cait1 |
ok thx chris! |
10:00 |
|
cait1 |
the warning is in opac-opensearch.tmpl line 38 |
10:00 |
|
chris |
can you try getting it again |
10:00 |
|
cait1 |
and it stops with an error after creating opac-sendshelf.tmpl |
10:01 |
|
cait1 |
mom |
10:02 |
|
cait1 |
successful, but the warning about opac-opensearch is still there |
10:03 |
|
chris |
but it created the templates this time? |
10:03 |
|
cait1 |
yes |
10:03 |
|
chris |
cool |
10:04 |
|
cait1 |
did all templates, just showed the warning while doing it |
10:04 |
|
cait1 |
seems to be an additional < |
10:06 |
|
chris |
wow!! |
10:06 |
|
cait1 |
copy and paste is not always an good idea |
10:06 |
|
cait1 |
:( |
10:06 |
|
cait1 |
when switching between different computers |
10:08 |
|
chris |
yeah always dangerous |
10:15 |
|
cait1 |
what I wanted to really show you, when searching for Dienstoberläche I get to "GNU General Public License, version 2" |
10:15 |
|
cait1 |
this search works in strange ways |
10:17 |
|
chris |
yeah the pootle search is weird |
10:31 |
|
cait1 |
ok, question about git |
10:32 |
|
cait1 |
how to change branch back to HEAD? |
10:32 |
|
cait1 |
or just leave it as it is? |
10:32 |
|
chris |
git checkout master |
10:32 |
|
chris |
gets you back |
10:33 |
|
cait1 |
oh it tells me Im behind origin/master (58 commits) |
10:35 |
|
cait1 |
hm I dont really understand what I do, need to read more about git :) |
10:36 |
|
chris |
thats telling you that since you last fetched and rebased 58 changes have happened |
10:38 |
|
cait1 |
ah I think I did git pull when I was on mywork branch |
10:39 |
|
chris |
ah yep that would do it |
10:39 |
|
chris |
right time for bed, got work tomorrow |
10:39 |
|
chris |
enjoy the rest of your weekend |
10:39 |
|
cait1 |
ok, good night chris |
10:40 |
|
cait1 |
and thx again for everything |