From ea22f4419c754854beb6e8c323b2c4af4af8c047 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 6 Mar 2024 02:33:09 +0300 Subject: [PATCH] Rename set-URLs -> set-urls --- Makefile | 2 +- doc/ANNOUNCE | 44 ++------------------------------------ doc/ChangeLog | 4 ++++ set-URLs => set-urls | 4 ++-- set-URLs.py => set-urls.py | 6 +++--- 5 files changed, 12 insertions(+), 48 deletions(-) rename set-URLs => set-urls (75%) rename set-URLs.py => set-urls.py (94%) diff --git a/Makefile b/Makefile index 6001ee5..d982f0d 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ VERSION=5.2.5 EXAMPLE_SHELL=\ bkmk-add bkmk-add.py bkmk-chk bkmk-publish bkmk-rsync bkmk-sort bkmk2db \ check_dups.py check_redirects.py check_title.py check_url.py \ - delete delete.py hotexplode.pl mk-distr set-URLs set-URLs.py \ + delete delete.py hotexplode.pl mk-distr set-urls set-urls.py \ set-real_title.py set-title-list set-title-list.py sort_db.py .PHONY: all diff --git a/doc/ANNOUNCE b/doc/ANNOUNCE index a89de2d..069c1fe 100644 --- a/doc/ANNOUNCE +++ b/doc/ANNOUNCE @@ -6,49 +6,9 @@ WHAT IS IT bookmarks.html. WHAT'S NEW -Version 5.2.5 (2024-03-05) +Version 5.3.0 (2024-03-06) - Feat(Robots/bkmk_rrequests): Ignore all problems with certificates. - - Fix(Robots/bkmk_robot_base): Pass query part. - -Version 5.2.4 (2024-03-04) - - Fix(Robots/bkmk_rrequests): No need to re-check error 404 via proxy. - -Version 5.2.3 (2024-03-03) - - Feat(Robots/bkmk_rrequests): Report 40x and 50x errors. - - Fix HTML pasrer based on Bs4: Find "shortcut icon". - -Version 5.2.2 (2024-03-03) - - Robots/bkmk_rrequests: Add request headers. - - Robots/bkmk_robot_base: Process "data:image/" icons. - -Version 5.2.1 (2024-03-02) - - Speedup second access through proxy. - -Version 5.2.0 (2024-03-02) - - For the robot based on requests allow to use a proxy. - -Version 5.1.0 (2024-03-01) - - Robot based on requests. - -Version 5.0.0 (2023-11-22) - - Python 3. - - Report redirects and set URLs. - - Delete URLs. - - Remove BeautifulSoup.py (use globally installed). + Renamed set-URLs -> set-urls. WHERE TO GET diff --git a/doc/ChangeLog b/doc/ChangeLog index f04edef..e373f88 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,7 @@ +Version 5.3.0 (2024-03-06) + + Renamed set-URLs -> set-urls. + Version 5.2.5 (2024-03-05) Feat(Robots/bkmk_rrequests): Ignore all problems with certificates. diff --git a/set-URLs b/set-urls similarity index 75% rename from set-URLs rename to set-urls index d408e16..f7d0d22 100755 --- a/set-URLs +++ b/set-urls @@ -4,12 +4,12 @@ # This file is a part of Bookmarks database and Internet robot. # # __author__ = "Oleg Broytman " -# __copyright__ = "Copyright (C) 2023 PhiloSoft Design" +# __copyright__ = "Copyright (C) 2023, 2024 PhiloSoft Design" # __license__ = "GNU GPL" . "`dirname \"$0\"`"/set-path -set-URLs.py "$@" || exit 1 +set-urls.py "$@" || exit 1 BKMK_WRITER=flad db2bkmk.py && convert_st.py json && diff --git a/set-URLs.py b/set-urls.py similarity index 94% rename from set-URLs.py rename to set-urls.py index bfcf5da..b897078 100755 --- a/set-URLs.py +++ b/set-urls.py @@ -10,7 +10,7 @@ import sys __author__ = "Oleg Broytman " -__copyright__ = "Copyright (C) 2023 PhiloSoft Design" +__copyright__ = "Copyright (C) 2023, 2024 PhiloSoft Design" __license__ = "GNU GPL" @@ -29,10 +29,10 @@ def run(): pass if report_stats: - print("Broytman set-URLs, Copyright (C) 2023 PhiloSoft Design") + print("Broytman set-urls, Copyright (C) 2023, 2024 PhiloSoft Design") if len(args) != 1: - sys.stderr.write("Usage: set-URLs [-s] urls_file") + sys.stderr.write("Usage: set-urls [-s] urls_file") sys.exit(1) # Read the external file with URLs and build a mapping (URL => redirect) -- 2.39.5