Question about SQLite database's valid_upto field

Ralf Habacker ralf.habacker at freenet.de
Mon Jun 8 08:27:52 BST 2020


Am 02.06.20 um 17:58 schrieb Prasun Kumar:

> Currently, KtoBlzCheck downloads a bank sort file at compilation and 
> uses it to generate a bankdata text file. This file is then used to 
> service the library
> and afaik there is no way to update datafile without recompiling. 
It is usual behavior to perform  things beside compiling with the build 
system by using specific make targets. cmake provides a target to show 
all defined targets:

~/src/ktoblzcheck-build> make help
The following are some of the valid targets for this Makefile:
... all (the default if no target is provided)
... clean
... depend
... edit_cache
... install
... install/local
... install/strip
... list_install_components
... package
... package_source
... rebuild_cache
... test
... apidoc
... bankdata_de
... dist
... doc
... fetch_bankdata
... fetch_sepa
... rpm
... srpm
... uncrustify
... benchmark
... ctest
... date_test
... iban_check
... ibanchk
... ktoblzcheck
... ktoblzcheck-bin

To perform the target to download the raw bankdata file and convert it 
simply run:

~/src/ktoblzcheck-build> make bankdata_de
[ 50%] Download raw bank data file to 
/home/ralf.habacker/src/ktoblzcheck/src/bankdata/blz_20200608.txt
got file url 
https://www.bundesbank.de//resource/blob/602632/31fec41357f012d537ce62045395929a/mL/blz-aktuell-txt-data.txt
[100%] Generating 
/home/xxx/src/ktoblzcheck/src/bankdata/bankdata_20200608.txt
Read data from "/home/xxx/src/ktoblzcheck/src/bankdata/blz_20200608.txt" 
with "iso 8859-1" encoding
Added 3536 institutions to output 
file"/home/xxx/src/ktoblzcheck/src/bankdata/bankdata_20200608.txt"
[100%] Built target bankdata_de

Regards
Ralf



More information about the Kde-finance-apps mailing list