The NetBSD Project

CVS log for pkgsrc/devel/py-pathvalidate/PLIST

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / devel / py-pathvalidate

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Apr 12 12:18:00 2025 UTC (19 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, pkgsrc-2026Q2-base, pkgsrc-2026Q2, pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2, HEAD
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
Fix PLIST after py-setuptools update; bump depends and revision

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Nov 27 20:30:58 2023 UTC (2 years, 11 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base, pkgsrc-2025Q1, pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +9 -6 lines
py-pathvalidate: updated to 3.2.0

v3.2.0

Add reserved_name_handler argument to sanitize_filename function and sanitize_filepath function
Add NullValueHandler class and ReservedNameHandler class
Add fs_encoding property and byte_count property to ValidationError class
Add additional_reserved_names argument to validate/sanitize functions to allow custom reserved names
Modify the return value format of ValidationError.__str__ method
Improve type annotations


v3.1.0

Fix validation error messages to show the target-platform properly
Fix README: out of date with the actual error generated by validate_filename
Add description property to ErrorReason class
Add as_slog method to ValidationError class
Add docs extras
Change the type of the return value of ValidationError.reason from Optional[ErrorReason] to ErrorReason
Update [build-system]
Drop support for Python 3.6


v3.0.0

Trim heading spaces in Windows
Consider filesystem encoding for length calculations
Fix type model
Fix sanitizing of filenames that only consist of whitespaces and periods
Add validate_unprintable_char function
Add validate_after_sanitize keyword argument to sanitize_filename and sanitize_filepath functions
Add error codes to ErrorReason
Add zip_safe=False to setup
Modify to accept pathvalidate.Platform type as platform arguments
Rename type alias from Handler to NullValueHandler
Remove InvalidLengthError to use ValidationError
Improve type annotations
Make it possible to import FileNameValidator and FilePathValidator classes from the package root
Change constructor arguments of FileNameSanitizer and FilePathSanitizer classes
Remove min_len
Add validator
Remove deprecated functions
Modify error messages
Refactoring

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Aug 31 08:23:29 2022 UTC (4 years, 2 months ago) by sborrill
Branches: MAIN
CVS tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3
py-pathvalidate: Add 2.5.2

pathvalidate is a Python library to sanitize/validate a string such
as filenames, file-paths, etc.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>