[Koha-bugs] [Bug 14698] AtomicUpdater - Keeps track of which updates have been applied to a database

2023-07-28 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14698
Bug 14698 depends on bug 13995, which changed state.

Bug 13995 Summary: Proper Exception handling
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13995

   What|Removed |Added

 Status|Failed QA   |RESOLVED
 Resolution|--- |FIXED

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 14698] AtomicUpdater - Keeps track of which updates have been applied to a database

2023-07-28 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14698
Bug 14698 depends on bug 13906, which changed state.

Bug 13906 Summary: TestObjectFactory(ies) for Koha objects. Enable easy Test 
object creation from HASHes or from preconfigured test groups.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13906

   What|Removed |Added

 Status|In Discussion   |RESOLVED
 Resolution|--- |FIXED

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 14698] AtomicUpdater - Keeps track of which updates have been applied to a database

2021-12-15 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14698

Jonathan Druart  changed:

   What|Removed |Added

 Resolution|--- |DUPLICATE
 Status|Needs Signoff   |RESOLVED

--- Comment #22 from Jonathan Druart  ---


*** This bug has been marked as a duplicate of bug 27880 ***

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 14698] AtomicUpdater - Keeps track of which updates have been applied to a database

2020-12-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14698

Emmi Takkinen  changed:

   What|Removed |Added

 Blocks|16223   |


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16223
[Bug 16223] Automatically remove any borrower debarments after a payment
-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 14698] AtomicUpdater - Keeps track of which updates have been applied to a database

2020-07-22 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14698

David Cook  changed:

   What|Removed |Added

 CC||dc...@prosentient.com.au

--- Comment #21 from David Cook  ---
I don't see how this would be useful for a production Koha.

I could maybe see how it could be useful for a dev/test database, but that's
not something that should be in mainline Koha I think. (Although following that
logic, then atomic updates in general don't belong in mainline Koha. Awkward.)

That said, I do wish that we'd improve our database upgrade methods...

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 14698] AtomicUpdater - Keeps track of which updates have been applied to a database

2020-07-22 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14698

Jonathan Druart  changed:

   What|Removed |Added

 CC||jonathan.dru...@bugs.koha-c
   ||ommunity.org

--- Comment #20 from Jonathan Druart  
---
If the update entries are idempotent you won't face this problem.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 14698] AtomicUpdater - Keeps track of which updates have been applied to a database

2020-04-14 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14698

--- Comment #19 from Emmi Takkinen  ---
Created attachment 102903
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=102903=edit
Bug 14698: AtomicUpdater - Support .perl atomicupdates as defined by
skeleton.perl

Koha community has introduced a template for developer atomicupdates, as
defined
in atomicupdates/skeleton.perl. This patch makes these updates
Koha::AtomicUpdater
compatible by redefining CheckVersion and SetVersion, and by passing $dbh into
the
file.

To test:
1. prove t/db_dependent/Koha/AtomicUpdater.t

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 14698] AtomicUpdater - Keeps track of which updates have been applied to a database

2020-04-14 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14698

Emmi Takkinen  changed:

   What|Removed |Added

 Status|Patch doesn't apply |Needs Signoff

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 14698] AtomicUpdater - Keeps track of which updates have been applied to a database

2020-04-14 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14698

--- Comment #18 from Emmi Takkinen  ---
Created attachment 102902
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=102902=edit
Bug 14698: AtomicUpdater - Bindings to updatedatabase.pl

Instead of every time we execute updatedatabase.pl, we deploy AtomicUpdates
smartly.

Also tries it's best to parse the bug number from the updatedatabase.pl-entries
and checks if that bug has already been applied via AtomicUpdater to prevent
adding same DB changes twice.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 14698] AtomicUpdater - Keeps track of which updates have been applied to a database

2020-04-14 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14698

Emmi Takkinen  changed:

   What|Removed |Added

  Attachment #62141|0   |1
is obsolete||

--- Comment #17 from Emmi Takkinen  ---
Created attachment 102901
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=102901=edit
Bug 14698: AtomicUpdater - addAllAtomicUpdates

Rebased patch.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 14698] AtomicUpdater - Keeps track of which updates have been applied to a database

2020-04-14 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14698

Emmi Takkinen  changed:

   What|Removed |Added

  Attachment #42426|0   |1
is obsolete||
  Attachment #42523|0   |1
is obsolete||
  Attachment #64404|0   |1
is obsolete||

--- Comment #16 from Emmi Takkinen  ---
Created attachment 102900
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=102900=edit
Bug 14698: AtomicUpdater - Keeps track of which updates have been applied to a
database

This patch includes latest code for atomicupdate.pl script. Tests are adjusted
to work with TestBuilder and are no longer depended on Bug 13906.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 14698] AtomicUpdater - Keeps track of which updates have been applied to a database

2020-04-14 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14698

Emmi Takkinen  changed:

   What|Removed |Added

 CC||emmi.takki...@outlook.com

--- Comment #15 from Emmi Takkinen  ---
Created attachment 102899
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=102899=edit
Bug 14698: Add needed Koha::Exceptions

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 14698] AtomicUpdater - Keeps track of which updates have been applied to a database

2017-06-16 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14698

--- Comment #14 from Lari Taskula  ---
Created attachment 64404
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=64404=edit
Bug 14698: (follow-up) Koha::AtomicUpdater->find allow hashref as param

Otherwise t/db_dependent/TestBuilder.t fails!

To test:
1. prove t/db_dependent/Koha/AtomicUpdater.t
2. prove t/db_dependent/TestBuilder.t

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 14698] AtomicUpdater - Keeps track of which updates have been applied to a database

2017-04-13 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14698

--- Comment #13 from Lari Taskula  ---
Created attachment 62141
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=62141=edit
Bug 14698 - AtomicUpdater - addAllAtomicUpdates

This patch adds a new method Koha::AtomicUpdater->addAllAtomicUpdates that
marks
all pending atomicupdates as applied, but does not execute the database changes
in them. This is required for fresh installations to avoid applying same
updates
after the installation.

Binds this feature to web installer.

To test:
1. prove t/db_dependent/Koha/AtomicUpdater.t

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 14698] AtomicUpdater - Keeps track of which updates have been applied to a database

2017-04-12 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14698

Lari Taskula  changed:

   What|Removed |Added

 Blocks|14723   |


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14723
[Bug 14723] Additional delivery notes to messages
-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 14698] AtomicUpdater - Keeps track of which updates have been applied to a database

2016-06-15 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14698

Katrin Fischer  changed:

   What|Removed |Added

 Blocks|15108   |


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15108
[Bug 15108] OAI-PMH provider improvements
-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 14698] AtomicUpdater - Keeps track of which updates have been applied to a database

2016-06-15 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14698

Frédéric Demians  changed:

   What|Removed |Added

 Blocks||15108


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15108
[Bug 15108] OAI-PMH provider improvements
-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

[Koha-bugs] [Bug 14698] AtomicUpdater - Keeps track of which updates have been applied to a database

2016-04-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14698

Lari Taskula  changed:

   What|Removed |Added

 Blocks||16223


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16223
[Bug 16223] Automatically remove any borrower debarments after a payment
-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 14698] AtomicUpdater - Keeps track of which updates have been applied to a database

2016-02-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14698

--- Comment #12 from Olli-Antti Kivilahti  ---
Hi!

We are targeting to upgrade our Koha to master this summer and rebase this
feature.

Send me an email if you need this feature and we will share the latest code for
you.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 14698] AtomicUpdater - Keeps track of which updates have been applied to a database

2016-01-25 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14698

Lari Taskula  changed:

   What|Removed |Added

 Blocks||15654


Referenced Bugs:

http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15654
[Bug 15654] Integrating a cash register system into Koha: An Example
-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 14698] AtomicUpdater - Keeps track of which updates have been applied to a database

2016-01-25 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14698

Aleisha Amohia  changed:

   What|Removed |Added

 Status|Needs Signoff   |Patch doesn't apply
 CC||aleishaamo...@hotmail.com

--- Comment #11 from Aleisha Amohia  ---
Applying: Bug 14698 - AtomicUpdater - Keeps track of which updates have been
applied to a database
/home/vagrant/kohaclone/.git/rebase-apply/patch:156: trailing whitespace.

/home/vagrant/kohaclone/.git/rebase-apply/patch:493: trailing whitespace.

/home/vagrant/kohaclone/.git/rebase-apply/patch:682: trailing whitespace.
GetOptions( 
/home/vagrant/kohaclone/.git/rebase-apply/patch:765: trailing whitespace.

fatal: sha1 information is lacking or useless
(C4/Installer/PerlDependencies.pm).
Repository lacks necessary blobs to fall back on 3-way merge.
Cannot fall back to three-way merge.
Patch failed at 0001 Bug 14698 - AtomicUpdater - Keeps track of which updates
have been applied to a database

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 14698] AtomicUpdater - Keeps track of which updates have been applied to a database

2016-01-25 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14698

Lari Taskula  changed:

   What|Removed |Added

 CC||la...@student.uef.fi
 Depends on||13906


Referenced Bugs:

http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13906
[Bug 13906] TestObjectFactory(ies) for Koha objects. Enable easy Test object
creation from HASHes or from preconfigured test groups.
-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 14698] AtomicUpdater - Keeps track of which updates have been applied to a database

2015-09-14 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14698

Olli-Antti Kivilahti  changed:

   What|Removed |Added

  Attachment #42521|0   |1
is obsolete||

--- Comment #10 from Olli-Antti Kivilahti  ---
Created attachment 42523
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42523=edit
Bug 14698 - AtomicUpdater - Followup, add single atomicupdate-script execution.
Add dry-run mode.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 14698] AtomicUpdater - Keeps track of which updates have been applied to a database

2015-09-14 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14698

--- Comment #9 from Olli-Antti Kivilahti  ---
Created attachment 42521
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42521=edit
Bug 14698 - AtomicUpdater - Followup, add single atomicupdate-script execution.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 14698] AtomicUpdater - Keeps track of which updates have been applied to a database

2015-09-14 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14698

Lari Taskula  changed:

   What|Removed |Added

 Blocks||14723


Referenced Bugs:

http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14723
[Bug 14723] Additional delivery notes to messages
-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 14698] AtomicUpdater - Keeps track of which updates have been applied to a database

2015-09-07 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14698

Olli-Antti Kivilahti  changed:

   What|Removed |Added

 Depends on||13995


Referenced Bugs:

http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13995
[Bug 13995] Proper Exception handling
-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 14698] AtomicUpdater - Keeps track of which updates have been applied to a database

2015-09-07 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14698

Olli-Antti Kivilahti  changed:

   What|Removed |Added

 Depends on||14539


Referenced Bugs:

http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14539
[Bug 14539] Introduction to castToObject(), aka. make a Koha::Object from
various input types
-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 14698] AtomicUpdater - Keeps track of which updates have been applied to a database

2015-09-07 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14698

Olli-Antti Kivilahti  changed:

   What|Removed |Added

  Attachment #42398|0   |1
is obsolete||

--- Comment #8 from Olli-Antti Kivilahti  ---
Created attachment 42426
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42426=edit
Bug 14698 - AtomicUpdater - Keeps track of which updates have been applied to a
database

Fixed a missing PerlDependency.

TEST PLAN:

1. Run "perl installer/data/mysql/atomicupdate.pl --help"
2. Read the code.
3. git bz apply some bugs which introduce atomicupdates, or cook your own
4. Deploy the atomicupdates using the atomicupdate.pl-script.
5. Repeat steps 3-4 to your heart's content.
6+. Understand the code and come up with improvement ideas!

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 14698] AtomicUpdater - Keeps track of which updates have been applied to a database

2015-09-04 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14698

Olli-Antti Kivilahti  changed:

   What|Removed |Added

  Attachment #42112|0   |1
is obsolete||

--- Comment #4 from Olli-Antti Kivilahti  ---
Created attachment 42385
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42385=edit
Bug 14698 - AtomicUpdater - Keeps track of which updates have been applied to a
database

...
Also the order in which the atomicupdates need to be applied is important.
This _updateorder is automatically generatable from the original Git
repository.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 14698] AtomicUpdater - Keeps track of which updates have been applied to a database

2015-09-04 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14698

Olli-Antti Kivilahti  changed:

   What|Removed |Added

  Attachment #42385|0   |1
is obsolete||

--- Comment #5 from Olli-Antti Kivilahti  ---
Created attachment 42386
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42386=edit
Bug 14698 - AtomicUpdater - Keeps track of which updates have been applied to a
database

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 14698] AtomicUpdater - Keeps track of which updates have been applied to a database

2015-09-04 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14698

Olli-Antti Kivilahti  changed:

   What|Removed |Added

  Attachment #42395|0   |1
is obsolete||

--- Comment #7 from Olli-Antti Kivilahti  ---
Created attachment 42398
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42398=edit
Bug 14698 - AtomicUpdater - Keeps track of which updates have been applied to a
database

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 14698] AtomicUpdater - Keeps track of which updates have been applied to a database

2015-09-04 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14698

Olli-Antti Kivilahti  changed:

   What|Removed |Added

  Attachment #42386|0   |1
is obsolete||

--- Comment #6 from Olli-Antti Kivilahti  ---
Created attachment 42395
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42395=edit
Bug 14698 - AtomicUpdater - Keeps track of which updates have been applied to a
database

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 14698] AtomicUpdater - Keeps track of which updates have been applied to a database

2015-09-01 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14698

Zeno Tajoli  changed:

   What|Removed |Added

   Patch complexity|--- |Large patch
 CC||z.taj...@cineca.it

--- Comment #3 from Zeno Tajoli  ---
Patch complexity is 'Large' because this change has many architectural
connections

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 14698] AtomicUpdater - Keeps track of which updates have been applied to a database

2015-09-01 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14698

Zeno Tajoli  changed:

   What|Removed |Added

 CC|z.taj...@cineca.it  |

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 14698] AtomicUpdater - Keeps track of which updates have been applied to a database

2015-08-31 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14698

Olli-Antti Kivilahti  changed:

   What|Removed |Added

 Status|NEW |Needs Signoff

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 14698] AtomicUpdater - Keeps track of which updates have been applied to a database

2015-08-31 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14698

Olli-Antti Kivilahti  changed:

   What|Removed |Added

   Assignee|gmcha...@gmail.com  |olli-antti.kivila...@jns.fi

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 14698] AtomicUpdater - Keeps track of which updates have been applied to a database

2015-08-31 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14698

--- Comment #2 from Olli-Antti Kivilahti  ---
Created attachment 42113
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42113=edit
Presentation about AtomicUpdate workflow for managing in-house features in
production

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 14698] AtomicUpdater - Keeps track of which updates have been applied to a database

2015-08-31 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14698

--- Comment #1 from Olli-Antti Kivilahti  ---
Created attachment 42112
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42112=edit
Bug 14698 - AtomicUpdater - Keeps track of which updates have been applied to a
database

When deploying production databases to test environments, it is imperative to
keep track of which database changes have been applied.

When one is running, in production, features that require DB changes, and want
to add more features which need more DB changes, keeping track of which updates
have been applied is challenging.
After several cycles of upgrade-deploy, with multiple atomicupdate-scripts
piling to the atomicupdates/-directory, it is impossible to easily distinguish
which updates have been applied and which are not.

Rerunning the same update scripts again and
again causes lots of noise in the upgrade log and hides real issues from being
detected.
Also repeatedly running upgrade scripts might cause bad side effects which are
potentially hard to repair.

This feature adds a script atomicupdate.pl which runs all atomicupdate/*
scripts
and .sqls and logs the event to the koha.atomicupdates-table.
On subsequent runs of atomicupdate.pl, the already deployed upgrades are
skipped, greatly reducing the unnecessary clutter and risk of upgrading.

You can also remove existing log entries to allow rerunning the same upgrade
script again, list all applied upgrades and show pending updates.

Unit tests included.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/