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mr6.5.5
mr7.2
mr7.2.2
mr7.3.1
mr7.2.1
mr6.5.4
mr7.0
mr7.1
mr7.0.2
mr7.1.2
mr6.5.3
mr5.5.8
mr5.5.7
mr4.5.12
mr7.1.1
mr6.5.2
mr7.0.1
mr5.5.6
mr4.5.11
mr6.0.1
mr6.1.1
mr6.2.1
mr6.3.1
mr6.4.1
mr5.5.1
mr5.5.2
mr5.5.3
mr5.5.4
mr5.5.5
mr6.0.2
mr6.1.2
mr6.2.2
mr6.3.2
mr6.4.2
mr6.5.1
mr6.4
mr6.3
mr6.2
mr6.1
mr6.0
mr4.5.10
mr3.8
mr3.8.13
mr4.5.9
mr4.5.8
mr4.5.7
mr3.8.12
mr5.4
mr5.4.2
mr4.5.6
mr3.8.11
mr5.3
mr5.3.2
mr5.4.1
mr4.5.5
mr5.2
mr5.2.2
mr5.3.1
mr5.1
mr5.1.2
mr3.8.10
mr5.1.1
mr5.2.1
mr4.5.4
mr5.0
mr5.0.2
mr3.8.9
mr5.0.1
mr4.5.3
mr4.5.2
mr3.8.8
mr4.5.1
mr4.4
mr4.4.2
mr3.8.7
mr4.4.1
mr4.3
mr4.3.2
mr4.3.1
mr3.8.6
rkrenn/callingparty
mr3.5.1
mr3.5
mr4.2.2
mr4.2
mr3.8.4
mr3.8.5
mr4.1.2
mr4.2.1
mr4.1
mr4.1.1
mr4.0
mr3.8.3
mr4.0.2
mr4.0.1
apogrebennyk/force_outb_patterns
agranig/mult-billprof
mr3.8.2
mr3.8.1
mr3.7.2
mr3.7.1
mr3.7
rkrenn/api-journal
ipeshinskaya/11147
3.0
3.1
mr3.2.1
mr3.2.2
mr3.2
mr3.3.1
mr3.3.2
mr3.3
mr3.4.1
mr3.4.2
mr3.4
mr3.6.1
mr3.6.2
mr3.6
ipeshinskaya/9177
agranig/gpp
2.8
vseva/8117
agranig/pbx-dev-map
gjungwirth/voicemail_numbers
gjungwirth/subscriber_groups
ipeshinskaya/InvoiceTemplate5
agranig/subprof
vseva/5635
apogrebennyk/3_1_force_outbound
apogrebennyk/3_0_peer_route
mprokop/mt4973_sp2-db
agranig/aa-destination
agranig/peering-route
mprokop/sort_order
agranig/pref-label
vseva/pbx_groups
2.7
kamailio4
2.6
0.1
3.1.6
3.1.4
3.1.2
3.0.9
3.1.0
3.0.8
3.0.5
3.0.3
3.0.2
3.0.1
3.0.0
2.7.2
2.8.3
2.8.2
2.8.1
2.8.0
2.7.1
2.7.0
2.6.5
2.6.4
2.6.3
2.6.2
2.6.1
2.6.0
0.1.3
0.1.2
0.1.1
0.1.0
2.8.4
2.8.5
2.8.6
2.8.7
3.0.10
3.0.11
3.0.12
3.0.4
3.0.6
3.0.7
3.1.1
3.1.3
3.1.5
3.1.7
3.1.8
mr10.0.1.1
mr10.1.1.1
mr10.1.1.2
mr10.2.1.1
mr10.2.1.2
mr10.2.1.3
mr10.2.1.4
mr10.2.1.5
mr10.3.1.1
mr10.4.1.1
mr10.5.1.1
mr10.5.1.2
mr10.5.1.3
mr10.5.2.1
mr10.5.2.2
mr10.5.2.3
mr10.5.3.1
mr10.5.3.2
mr10.5.3.3
mr10.5.4.1
mr10.5.4.2
mr10.5.4.3
mr10.5.5.1
mr10.5.5.2
mr10.5.5.3
mr10.5.6.1
mr10.5.6.2
mr10.5.7.1
mr10.5.8.1
mr11.0.1.1
mr11.0.1.2
mr11.0.1.3
mr11.1.1.1
mr11.1.1.2
mr11.1.1.3
mr11.1.1.4
mr11.1.1.5
mr11.1.1.6
mr11.2.1.1
mr11.2.1.2
mr11.2.1.3
mr11.2.1.4
mr11.2.1.5
mr11.3.1.1
mr11.3.1.2
mr11.3.1.3
mr11.3.1.4
mr11.3.1.5
mr11.3.1.6
mr11.3.1.7
mr11.3.1.8
mr11.3.1.9
mr11.4.1.1
mr11.4.1.2
mr11.4.1.3
mr11.4.1.4
mr11.4.1.5
mr11.4.1.6
mr11.4.1.7
mr11.5.1.1
mr11.5.1.10
mr11.5.1.11
mr11.5.1.12
mr11.5.1.13
mr11.5.1.2
mr11.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mr9.5.8.1
mr9.5.8.2
mr9.5.9.1
${ noResults }
19 Commits (mr13.0.1)
Author | SHA1 | Message | Date |
---|---|---|---|
|
0f37c595e5 |
MT#60306 add release based downgrade support
* add support for db_schema release column. * a new command line option '--set-release' * when .up scripts are applied - the db_schema release column is set from either --set-release option or /etc/ngcp_version as the fallback. * the release column is updated for all applied scripts after all of them are applied, that is to include revisions that were applied by the script before the 'release' column. applied_at timestamp is preserved to keep the original time when the revision was applied. * new command line options --get-release-info and --as-json: when --get-release-info is specified - a table with "release,min_revision,max_revision,count" is returned and no scripts processing takes place. With --as-json the data is returned as a JSON string instead (for possible parsing automation purposes). * new command line option --downgrade-release: - mutually exclusve with --mode - automatically enables --mode=down - removes all revisions that match the specified release version * fix --mode=down --batch-mode, add missing ';' between delete and commit sql statements. Change-Id: I529ab523d7886a94848f6d9bbcf4a0348d0842ef |
11 months ago |
|
b084c5e47a |
MT#58395 new python based ngcp-update-db-schema script
* ngcp-update-db-schema is rewritten in python. that simplifies the code, as well as enables flexibility and more complex features support, as well as performance improvements * full strict mypy compliant * flake8 compliant * google docstring complied * add .down scripts support * add docstring full documentation * add mypy, isort, flake8 checks during build phase * add command line arguments that support --to-revision, to stop .up/.down scripts execution when it reaches a certain revision * better support for ngcp-sync-db * preserve AUTOMATED_INSTALL_MODE and SKIP_SYNC_DB env vars support for backward compatibility, in the future it is recommented to switch to the existing (--automated, --skip-ro-sync-db) options * experimental batch mode support where instead of applying changes one by one, they are accumulated into a file along with db_schema revision tracking changes and applied at once Change-Id: I4632393d52d1a60c945b4d87a779f1a073ed9a5f |
1 year ago |
|
e985a1a238 |
MT#58356 Update packaging for bookworm
- Add Rules-Requires-Root field. - Switch to Standards-Version 4.6.2. - Update copyright years. Change-Id: I5e54f2292af861bf3a900c61e1fbf345e8c766ca |
2 years ago |
|
79f52ab16f |
TT#124273 Update packaging for bullseye
- Switch to debhelper compat level 13. - Switch to Standards-Version 4.5.1. - Update copyright years. Change-Id: I6dea9887fb7a41034b4867d7e5fbbb1d6b6d52ae |
4 years ago |
|
b86cd450e1 |
TT#61954 Set debhelper compat level in Build-Depends instead of debian/compat
Change-Id: I9396692365502755190536f6c7a49738cb1356ab |
6 years ago |
|
0088ef0d0e |
TT#33911 Perform 'wrap-and-sort -sat'
Change-Id: If9d341c0de76d2cc03e7fcf1d0980cd6881d35ea |
7 years ago |
|
766aec3a44 |
TT#22072 Update packaging
- Bump Standards-Version to 3.9.8. - Bump debhelper compatibility version 10. - Switch from Priority extra to optional. - Canonicalize Homepage URL. - Wrap and sort dependency fields. - Add debian/.gitignore file. Change-Id: I5f715bb77532961eb92aa59bf89a100b9c3c41ac |
8 years ago |
|
61b2799270 |
MT#17699 Bump Standards-Version to 3.9.7
No further changes required to update to Debian Policy 3.9.7[.0] Change-Id: I23d4f3183ec58b3c3a81d6d0a193165547308bdc |
9 years ago |
|
a5336dc21a |
MT#11387 Switch Pre-Depends on ngcp-system-tools to Depends
I can't find any reason why we should Pre-Depend on ngcp-system-tools. Since piupart fails to run because of the Pre-Dependency let's try switching to Depends instead. Change-Id: Ic3e64f765ed2dd860d03bdbb02f6e7103da627d9 |
10 years ago |
|
df6902d610 |
MT#10699 move ngcp-check-rev to ngcp-system-tools
Change-Id: I15c447a8d1eb3786b919dea64f04739f647aad25 |
11 years ago |
|
010d3f5187 |
MT#7141 update package to 3.0 style
Change-Id: If833844480fa52d4ac131a434728bcf918b3c74f |
11 years ago |
|
4fdb4d4f95 |
MT#8067 use nodename (spce|sp1|sp2) from ngcp-nodename script not hostname
|
11 years ago |
|
dd781a28ed |
MT#6511 Bump Standards-Version to 3.9.5
|
11 years ago |
|
f31590657b |
Bump Standards-Version to 3.9.4
|
12 years ago |
|
4b0977edc7 |
Support checking for multiple revisions at once and do batch execution
This dramatically speeds up the ngcp-update-db-schema process if everything has been applied already or if just a few single scripts have to be executed. Execution times for old mode vs new (batch) mode with all present scripts executed already: | root@spce:~# time { /usr/sbin/ngcp-update-db-schema.orig >/dev/null ; } | | real 0m53.281s | user 0m45.439s | sys 0m5.100s vs. | root@spce:~# time /usr/sbin/ngcp-update-db-schema | [ ok ] Starting MySQL database server: mysqld already running. | Synchronizing passwords with MySQL | | real 0m4.096s | user 0m1.812s | sys 0m0.472s The main behaviour of ngcp-check-rev-applied hasn't been changed, it's backwards compatible (so also cfg-schema which uses ngcp-check-rev-applied continues to work as it is), now it's just possible to provide multiple arguments to the "--revision" option and its output is parsed by ngcp-update-db-schema then. |
12 years ago |
|
414d20b015 |
wrap and sort items in Debian packaging files
This makes reviews and diffs easier and helps in avoiding duplicate entries. devscripts's wrap-and-sort ftw. Closes: https://bugtracker.sipwise.com/view.php?id=1845 From: Michael Prokop <mprokop@sipwise.com> |
13 years ago |
|
03946ef229 |
Connect as user sipwise to ngcp database.
From: Michael Prokop <mprokop@sipwise.com> |
13 years ago |
|
373ea60ac8 |
Provide initial package description
From: Michael Prokop <mprokop@sipwise.com> |
13 years ago |
|
30ceca8ca7 |
Initial db-schema package
This is broken as hell. You've been warned. From: Michael Prokop <mprokop@sipwise.com> |
13 years ago |