Subject: openbsc.git branch fairwaves/sms-db-changes created. 0.13.0-362-g76eaef3
From: [email-masked]
To: [email-masked]
Date: Tue, 15 Apr 2014 12:38:48 GMT

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".

The branch, fairwaves/sms-db-changes has been created
        at  76eaef3678ae124b20bbc8eee1c6fdc343be1bb9 (commit)

- Log -----------------------------------------------------------------
http://cgit.osmocom.org/openbsc/commit/?id=76eaef3678ae124b20bbc8eee1c6fdc343be1bb9

commit 76eaef3678ae124b20bbc8eee1c6fdc343be1bb9
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Sat Mar 8 16:41:37 2014 +0100

    db: Add testcase for the db migration.

http://cgit.osmocom.org/openbsc/commit/?id=f1d81d94d4d6a086d6405b74fe2e00fb70193654

commit f1d81d94d4d6a086d6405b74fe2e00fb70193654
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Fri Mar 7 18:17:22 2014 +0100

    sms: Add code to migrate the database to the new schema
    
    This is mostly based on Alexander's migration code. The code
    adds transaction handling and some sanity checks and cleanups
    to the code. We made the decision to fork the sms_from_result
    method and freeze it to that version. This way sms_from_result
    can move forward without having to deal with legacy.

http://cgit.osmocom.org/openbsc/commit/?id=7914bc7e78321de8fe57275fcf9c1337e98af13a

commit 7914bc7e78321de8fe57275fcf9c1337e98af13a
Author: Alexander Chemeris <[email-masked]>
Date:   Tue Oct 8 03:17:32 2013 +0200

    sms: Do not store received id in the SMS database.
    
    That was a bad idea from the very beginning. A visible result of this is a wrong
    SMS routing when you change subscriber extensions, while having queued SMS. It's
    also a very wrong thing from the code layering perspective.
    
    I think the next logical step should be to remove "receiver" pointer from
    the gsm_sms structure into a structure, special for the internal SMS queue.

http://cgit.osmocom.org/openbsc/commit/?id=1b0483c4aad79702d198aba56a2c3e4fd4270152

commit 1b0483c4aad79702d198aba56a2c3e4fd4270152
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Fri Mar 7 19:08:03 2014 +0100

    db: Add testcase for storing/loading/comparing a sms
    
    Use the already created subscriber, create a sms and read it
    back from the subscriber.

http://cgit.osmocom.org/openbsc/commit/?id=7ba9c1821f624829b825d8559ab89c10f2c73b19

commit 7ba9c1821f624829b825d8559ab89c10f2c73b19
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Tue Oct 8 03:17:30 2013 +0200

    sms: Kill the sms->sender and use addr/ton/npi throughout the code
    
    This is an incompatible database schema change. Store the type of
    the address in the database for both the sender and the receiver.
    
    Currently it is possible to use SMPP to store a SMS and the NPI
    and TON will be lost on the delivery of the SMS. The schema is
    changed to make the delivery always use the right NPI/TON. This
    patch is not ready for the master branch as there is no upgrade
    path for the HLR yet.

-----------------------------------------------------------------------

hooks/post-receive
-- 
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)