major commit in circulation module CVS/HEAD
Copy/paste of commit notes : CIRCULATION : the big rewrite... This 1st commit reorders deeply the circulation module. The goal is to : * have something 100% templated/translatable. * have something easy to read & modify, to say to customers/users : you can define your circulation rules as you want if you accept to look in C4/Circ/Circ2.pm The circulation now works : 1=> ask for the borrower barcode (as previously) 2=> ask for the item barcode. 3=> check "canbookbeissued". This new sub returns 2 arrays : - IMPOSSIBLE : if something is here, then the issue is not possible and is not done. - TOBECONFIRMED : if something is here, then the issue can be donc if the user confirms it. 4=> if TOBECONFIRMED is set : ask for confirmation, loop. if neither are set or confirmation flag is set (2nd pass of the loop), then issue. The IMPOSSIBLE & TOBECONFIRMED hashs contains : * the reason of the line. always in capitals, with words separated by _ : BARCODE_UNKNOWN, DEBTS ... as key of the hash * more information, as value of the hash ( TOBECONFIRMED{ALREADY_ISSUED} = "previous_borrower_name", for example) This commit : * compiles * works on certain situations, not on other * does NOT issue (the line is # ) * does not check issuing rules depending of # of books allowed / already issued The next step is : - check issuing rule. - extend issuing rule to have a 3D array : for each branch / itemtype / borrowertype = issuing number and issuing length. -- Paul POULAIN Consultant indépendant en logiciels libres responsable francophone de koha (SIGB libre http://www.koha-fr.org)
paul POULAIN a écrit :
Copy/paste of commit notes :
CIRCULATION : the big rewrite...
This 1st commit reorders deeply the circulation module.
commit impossible. SF says : @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: POSSIBLE DNS SPOOFING DETECTED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ The RSA1 host key for cvs.koha.sourceforge.net has changed, and the key for the according IP address 66.35.250.209 is unknown. This could either mean that DNS SPOOFING is happening or the IP address for the host and its host key have changed at the same time. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that the RSA1 host key has just been changed. The fingerprint for the RSA1 key sent by the remote host is 33:50:33:91:b4:ec:7a:b6:fa:39:99:b0:ff:65:63:a7. Please contact your system administrator. Add correct host key in /home/paul/.ssh/known_hosts to get rid of this message. Offending key in /home/paul/.ssh/known_hosts:1 Password authentication is disabled to avoid man-in-the-middle attacks. X11 forwarding is disabled to avoid man-in-the-middle attacks. Cannot access /cvsroot/koha/CVSROOT No such file or directory I deleted the cvs.koha.sourceforge.net key in my known_hosts, but got : Warning: Remote host denied X11 forwarding. Cannot access /cvsroot/koha/CVSROOT No such file or directory Any idea ? I saw no warning on SF about this problem. -- Paul POULAIN Consultant indépendant en logiciels libres responsable francophone de koha (SIGB libre http://www.koha-fr.org)
On 2004-04-30 10:29:52 +0100 paul POULAIN <paul.poulain@free.fr> wrote:
commit impossible. SF says : @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: POSSIBLE DNS SPOOFING DETECTED! @
I am bored of sourceforge's CVS holding up my work, too. All thanks to them for the services they have given us, but I think it really is time to move to GNU Arch. It is distributed, so we can still have the benefit of local revision control, even when network problems prevent us merging our work. I am happy to do and document a trial import of koha 2.0 branch into an Arch (probably tla, as I'm not sure what else is fully working yet), if you think it would help? Generally, I think service distribution is a great idea for projects like koha which have developers spread around the world. It allows us to communicate quickly with people who are closer to us and if a node dies, we don't lose everything (sadly MTBF is lowered, but that's the payoff... occasional small disruptions vs less probable catastrophic failure). I have a distributed email list server, but I'm still working the kinks out of it. -- MJR/slef My Opinion Only and possibly not of any group I know. http://mjr.towers.org.uk/ http://www.ttllp.co.uk/ for creative copyleft computing
paul POULAIN wrote:
I deleted the cvs.koha.sourceforge.net key in my known_hosts, but got : Warning: Remote host denied X11 forwarding. Cannot access /cvsroot/koha/CVSROOT No such file or directory
Any idea ? I saw no warning on SF about this problem.
Hi Paul On this page https://sourceforge.net/docman/display_doc.php?docid=2352&group_id=1 I Discovered this. ( 2004-04-29 14:11:35 - Project CVS Service ) As of 2004-04-28 the CVS services will no longer function with the hostname of cvs.PROJECTNAME.sourceforge.net. You should change your CVS commands to use the host cvs.sourceforge.net and that should resolve any outstanding issues that you may have. This issue came about as a result of upgrading from BIND 8 to BIND 9 which doesn't allow for a wildcard in the middle of a hostname. So what you need to do is edit koha/CVS/ROOT and change cvs.koha.sourceforge.net to cvs.sourceforge.net I agree with MJ Ray that it might be time to look at a better system than sourceforge and cvs. Chris
Chris Cormack a écrit :
( 2004-04-29 14:11:35 - Project CVS Service ) As of 2004-04-28 the CVS services will no longer function with the hostname of cvs.PROJECTNAME.sourceforge.net. You should change your CVS commands to use the host cvs.sourceforge.net and that should resolve any outstanding issues that you may have. This issue came about as a result of upgrading from BIND 8 to BIND 9 which doesn't allow for a wildcard in the middle of a hostname.
So what you need to do is edit koha/CVS/ROOT and change cvs.koha.sourceforge.net to cvs.sourceforge.net
The problem being that you must do it for every directory ;-( 66.35.250.207 cvs.koha.sourceforge.net in /etc/hosts worked quicker ;-)
I agree with MJ Ray that it might be time to look at a better system than sourceforge and cvs.
/me is OK too, but can't be helpful here. Will follow any clear & documented proposition that I can handle with my Linux box. -- Paul POULAIN Consultant indépendant en logiciels libres responsable francophone de koha (SIGB libre http://www.koha-fr.org)
On 2004-05-01 01:08:15 +0100 Chris Cormack <c.cormack@paradise.net.nz> wrote:
So what you need to do is edit koha/CVS/ROOT and change cvs.koha.sourceforge.net to cvs.sourceforge.net
Do it to one and then run in the top dir: find . -name 'Root' -exec cp -v CVS/Root '{}' ';'
I agree with MJ Ray that it might be time to look at a better system than sourceforge and cvs.
That's about all the encouragement I need. Watch this space. -- MJR/slef My Opinion Only and possibly not of any group I know. http://mjr.towers.org.uk/ http://www.ttllp.co.uk/ for creative copyleft computing
participants (3)
-
Chris Cormack -
MJ Ray -
paul POULAIN