From: Oleg Broytman Date: Wed, 6 Mar 2024 15:32:22 +0000 (+0300) Subject: Rename `check_urls.py` to `check_urls_db.py` X-Git-Tag: 5.3.1~3 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=02123397d35e058e30b8102c6b95f0895089b8a0;p=bookmarks_db.git Rename `check_urls.py` to `check_urls_db.py` --- diff --git a/bkmk-chk b/bkmk-chk index 1a96108..2d9f35a 100755 --- a/bkmk-chk +++ b/bkmk-chk @@ -7,7 +7,7 @@ # This file is a part of Bookmarks database and Internet robot. # # __author__ = "Oleg Broytman " -# __copyright__ = "Copyright (C) 2000-2023 PhiloSoft Design" +# __copyright__ = "Copyright (C) 2000-2024 PhiloSoft Design" # __license__ = "GNU GPL" . "`dirname \"$0\"`"/set-path @@ -16,9 +16,9 @@ ln -s "$HOME"/Desktop/bookmarks-*.json bookmarks_db.json && BKMK_STORAGE=json convert_st.py pickle && rm bookmarks_db.json && -check_urls.py && +check_urls_db.py && echo '' && -check_urls.py -e && +check_urls_db.py -e && # Report results BKMK_WRITER=flad db2bkmk.py && diff --git a/check_urls.py b/check_urls_db.py similarity index 90% rename from check_urls.py rename to check_urls_db.py index a666ea0..16bcc8a 100755 --- a/check_urls.py +++ b/check_urls_db.py @@ -9,7 +9,7 @@ import sys __author__ = "Oleg Broytman " -__copyright__ = "Copyright (C) 2000-2023 PhiloSoft Design" +__copyright__ = "Copyright (C) 2000-2024 PhiloSoft Design" __license__ = "GNU GPL" @@ -34,11 +34,12 @@ def run(): pass if report_stats: - print("Broytman check_urls, Copyright (C) 1997-2023 PhiloSoft Design") + print("Broytman check_urls_db, " + "Copyright (C) 1997-2024 PhiloSoft Design") if args: - sys.stderr.write("check_urls: too many arguments\n") - sys.stderr.write("Usage: check_urls [-ise]\n") + sys.stderr.write("check_urls_db: too many arguments\n") + sys.stderr.write("Usage: check_urls_db [-ise]\n") sys.exit(1) if show_pbar: @@ -58,9 +59,9 @@ def run(): print("chk_urls restarted for errors") else: log = makelog("check.log") - log("check_urls started") + log("check_urls_db started") if report_stats: - print(" check_urls: normal start") + print(" check_urls_db: normal start") log.outfile.reconfigure(encoding='utf-8') from storage import storage @@ -159,7 +160,7 @@ def run(): storage.store(root_folder) if rcode: - log("check_urls finished ok") + log("check_urls_db finished ok") log.close() diff --git a/doc/ChangeLog b/doc/ChangeLog index 421ce6f..78324c8 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,7 @@ +Version 5.3.1 (2024-03-??) + + Renamed check_urls.py to check_urls_db.py + Version 5.3.0 (2024-03-06) Added get_url.py: a script to get one file from an URL.