dput (1.2.4)
[PTS] [DDPO]
NEW: VCS has unreleased changes: 1.2.5~alpha1 > 1.2.4
- Git: https://salsa.debian.org/debian/dput.git
-
- Branch: main
- Path: debian/changelog
- Repo size: 946176
- Browser: https://salsa.debian.org/debian/dput/
- Last scan: 2025-01-31 05:30:26+00
- Next scan: 2025-02-08 22:56:00+00
- Merge requests: 4
- CI pipeline status: failed
- Debian changelog in Git:
dput (1.2.5~alpha1) UNRELEASED; urgency=medium
* debian/salsa-ci.yaml:
* Add pipeline definition for Salsa Continuous Integration.
* debian/control, debian/rules:
* Declare PyProject build system for Debian PyBuild.
* debian/setup.py:
* Remove deprecated usage as a main program.
* Remove obsolete settings.
* debian/setup.py, debian/pyproject.toml:
* Migrate static project metadata to PEP 621 project metadata file.
* doc/man/*:
* Improve consistent markup for literal and placeholder examples.
* Update GnuPG examples in documentation, to match current behaviour.
* Document the special value 'username' for the 'login' option.
* Interrogate the host configuration for 'hash' option.
This corrects earlier behaviour (the host configuration was ignored).
* Correct fallback behaviour for 'login' config option value.
--
dput (1.2.4) unstable; urgency=medium
* Remove unused “Depends: python3-pkg-resources”.
Closes: bug#1083374. Thanks to Matthias Klose for the report.
-- Ben Finney <bignose@debian.org> Mon, 21 Oct 2024 13:10:33 +1100
- This branch is 81 commits ahead of tag release/1.2.4
- Git log:
commit 90fd4fd350a4a956fda84bd94006cd4247da42ac
Merge: 63d1b33 b2f798c
Author: Ben Finney <bignose@debian.org>
Date: Fri Jan 31 15:45:49 2025 +1100
Re-organise configuration file handling, fixing many bugs.
commit b2f798c4ce24a7bff2f9313f9855a4ef5a0a242a
Author: Ben Finney <bignose@debian.org>
Date: Fri Jan 31 10:13:51 2025 +1100
Use ‘ConfigParser.default_section’ instance attribute.
This avoids the hard-coded 'DEFAULT' section name, which is not necessarily the
default section name.
commit 97571d5cda057f12fb5315d9cecc7764d27ba2d5
Author: Ben Finney <bignose@debian.org>
Date: Thu Jan 30 13:27:29 2025 +1100
Gracefully handle `sys.exit` in all `read_configs_TestCase` cases.
commit c6e26b961e26149e0ea29fb7550d6f0bed2b70ca
Author: Ben Finney <bignose@debian.org>
Date: Mon Jan 20 14:54:03 2025 +1100
Use helper function to get the configured upload method to print.
commit 0cc5591c5d0085afb9e9c82bdeca3dcbe70bb64f
Author: Ben Finney <bignose@debian.org>
Date: Mon Jan 20 14:50:09 2025 +1100
Use helper function to get the configured upload methods for verification.
commit 893b51e5f85d703a92f34e10453292d154410663
Author: Ben Finney <bignose@debian.org>
Date: Wed Jan 22 20:04:44 2025 +1100
Add a scenario for non-standard ‘default_section’ value.
commit c8bcd35368f6709e625b881493d53e74037ee7a0
Author: Ben Finney <bignose@debian.org>
Date: Mon Jan 20 14:48:54 2025 +1100
Test and implement helper function `get_upload_method_names`.
commit d8c05f1045a026e01d7581f6923ea2822cf846a5
Author: Ben Finney <bignose@debian.org>
Date: Wed Jan 22 20:03:08 2025 +1100
Reference ‘ConfigParser.default_section’ instance property for assigning.
commit ff1ec16292b9f4dbcd53901163b54ddbbd3e4890
Author: Ben Finney <bignose@debian.org>
Date: Wed Jan 22 20:04:13 2025 +1100
Clarify a test case assertion.
commit fc1936ca88f759c7db15da07d86cfb6766de94e6
Author: Ben Finney <bignose@debian.org>
Date: Thu Jan 30 13:28:19 2025 +1100
Extract a helper function to patch the `ConfigParser` class.
commit 29e39c1a3ed46bdaacbbd8e12189286f904ec0b1
Author: Ben Finney <bignose@debian.org>
Date: Wed Jan 22 14:32:09 2025 +1100
Accept custom initialisation keyword arguments for test `ConfigParser`.
commit a6efecca09f1f7a165bc37a7903ed959d9abffa1
Author: Ben Finney <bignose@debian.org>
Date: Mon Jan 20 14:44:00 2025 +1100
Set positional and keyword arguments test data separately in the test case.
commit af878e41f79b2cf229435a89c4cbb19d6ef5f1e8
Author: Ben Finney <bignose@debian.org>
Date: Mon Jan 20 14:43:00 2025 +1100
Extract the function to test, to a TestClass attribute.
commit 8730eaaae8d3681436520027b4bb518f3f82b983
Author: Ben Finney <bignose@debian.org>
Date: Sun Jan 19 14:53:19 2025 +1100
Correct fallback behaviour for 'login' config option value.
commit 80f0faf80fba4f1bd41359c081cae1fe2235bb96
Author: Ben Finney <bignose@debian.org>
Date: Sun Jan 19 14:59:54 2025 +1100
Document the special value 'username' for the 'login' option.
commit da7e0d1817dbeaacc54097d8468da1818a835957
Author: Ben Finney <bignose@debian.org>
Date: Sun Jan 19 14:28:47 2025 +1100
Condition a debug statement on the `debug` flag.
commit adc58f3c04270e019262aedf308fac287755d8bf
Author: Ben Finney <bignose@debian.org>
Date: Sun Jan 19 14:21:43 2025 +1100
Extract the function to test, to a TestClass attribute.
commit fc54b1cfaf6740f0a765ab14008d8a54185bbba1
Author: Ben Finney <bignose@debian.org>
Date: Sun Jan 19 13:20:24 2025 +1100
Remove some unused code paths.
The `ConfigParser.get` behaviour already falls back to the 'DEFAULT' section; if
the method doesn't return a value, we already know it's also not in the
'DEFAULT' section.
> The option is looked up in `vars` (if provided), `section`, and in
> `DEFAULTSECT` in that order.
<https://docs.python.org/3/library/configparser.html#configparser.ConfigParser.get>
commit 58e23f0f01be1cafd84e80b453fedfd1249aed3a
Author: Ben Finney <bignose@debian.org>
Date: Sun Dec 29 06:03:52 2024 +1000
Get the ‘default_host_main’ value with ‘configparser’ features.
commit 723a1de69f231230fadd596b08b8b0e6d264d52c
Author: Ben Finney <bignose@debian.org>
Date: Fri Dec 27 15:46:58 2024 +1000
Generate fake config file paths correctly.
The existing list comprehensions were iterating over the character of each
string, thereby generating a long sequence of single-character path strings.
Instead, we want each path string to be used entire, as one value each.
commit 9a8f68847a6efeccad5acc213f05ba2e7fe53a6d
Author: Ben Finney <bignose@debian.org>
Date: Fri Dec 27 12:29:46 2024 +1000
Incorporate generated config file scenarios into ‘read_configs’ test cases.
commit 7b2b02930abb79eac82d792ae6a7bc41005891ed
Author: Ben Finney <bignose@debian.org>
Date: Fri Dec 27 11:23:50 2024 +1000
Change optional arguments to ‘read_configs’ to keyword-only.
commit 4676f732a21e8e4c79693c84570a03d2445ff14a
Author: Ben Finney <bignose@debian.org>
Date: Fri Dec 27 10:56:02 2024 +1000
Set correctly-typed values for default configuration values.
commit 3f864ea92379c0285ee6c5cd117926e89549a573
Author: Ben Finney <bignose@debian.org>
Date: Fri Dec 27 10:48:53 2024 +1000
Read default values from a dictionary in one operation.
commit d11882d8ecc9dbdbbd020073664df8ce0d958a2f
Author: Ben Finney <bignose@debian.org>
Date: Fri Dec 27 10:45:05 2024 +1000
Move ‘print_host_list’ to separate module for config file handling.
commit e73fe609c47efc0f069c75eb391da80d14141e75
Author: Ben Finney <bignose@debian.org>
Date: Fri Dec 27 10:29:53 2024 +1000
Move ‘print_default_upload_method’ to module for config file handling.
commit 8f9f0e2706a1b57fe9e2c002d076f18c85411750
Author: Ben Finney <bignose@debian.org>
Date: Fri Dec 27 10:03:07 2024 +1000
Move ‘print_config’ to separate module for config file handling.
commit 5379de598f0da28b13b0242d83806b75febd9de7
Author: Ben Finney <bignose@debian.org>
Date: Thu Dec 26 20:31:25 2024 +1000
Move ‘read_configs’ to separate module for config file handling.
commit 63d1b330a80b9c9b49f7539e3f5f0f6ac04b75bb
Author: Ben Finney <bignose@debian.org>
Date: Fri Jan 31 14:28:38 2025 +1100
Get fake wrapped file object from the FileDouble registry.
This avoids a second call to builtin ‘open’ merely for getting a known test
double.
commit 6e4d1ee85bbc94daa348654e611d81b1a2d44760
Author: Ben Finney <bignose@debian.org>
Date: Fri Jan 31 14:25:22 2025 +1100
Return the cached value if it exists, for FileDouble wrapped fake file.
commit 8186e6acf688e6d1258e962a5ff3a356d934e293
Author: Ben Finney <bignose@debian.org>
Date: Fri Jan 31 14:34:55 2025 +1100
Update years of publication in copyright notices.
commit dd41462dc3a5795dc2598ec5468fb3bc18834052
Merge: f8f7c9e c481469
Author: Ben Finney <bignose@debian.org>
Date: Mon Jan 20 10:51:49 2025 +1100
Interrogate the host configuration for 'hash' option.
This corrects earlier behaviour (the host configuration was ignored).
commit c48146977111af190b2a045bf3b5eb335f095950
Author: Ben Finney <bignose@debian.org>
Date: Mon Jan 20 10:46:11 2025 +1100
Interrogate the host configuration for 'hash' option.
commit 90afc5ad1bda750020734694a6976ccb04f19957
Author: Ben Finney <bignose@debian.org>
Date: Mon Jan 20 10:31:32 2025 +1100
Test that the call to `checksum_test` specifies the expected hash name.
commit b980261126464f6c382cbd0865ea6efdfbe9cd83
Author: Ben Finney <bignose@debian.org>
Date: Mon Jan 20 10:13:52 2025 +1100
Refactor `verify_files` test scenarios creation.
The extraction of each parameter to different scenarios, allows more easily
adding parameters to test.
commit 9eb5ea3afba7e0656d1b81c8cd85f26826f26604
Author: Ben Finney <bignose@debian.org>
Date: Mon Jan 20 10:06:29 2025 +1100
Extract the function to test as a TestCase attribute.
commit f8f7c9e51c4da719ebf1dfecdf04cb7de1f493ff
Author: Ben Finney <bignose@debian.org>
Date: Mon Dec 30 08:36:13 2024 +1000
Use built-in collection iteration `yield from`.
commit 4ecf865adadc4c576f82145a6f16449c2bacedd5
Author: Ben Finney <bignose@debian.org>
Date: Mon Dec 30 08:35:19 2024 +1000
Remove an unreachable code branch.
Now that we set the 'host' value in every condition, this code branch `(not
options['host'])` should never happen and can be removed.
commit 635e20eb9012aaf9aa30df75456c12fcbd5ad952
Author: Ben Finney <bignose@debian.org>
Date: Sat Jan 11 11:25:35 2025 +1100
Record a To Do item for evaluation of Sequoia as an OpenPGP tool.
commit 1e52496db46bf87ae357f659b072ea2327405a77
Author: Ben Finney <bignose@debian.org>
Date: Mon Dec 30 16:09:27 2024 +1000
Record a To Do item for removal of a global variable.
commit 393b2ea5efbfb8c0c51ce8b0c2b248d6faa8c1a4
Author: Ben Finney <bignose@debian.org>
Date: Mon Dec 30 16:08:08 2024 +1000
Add a To Do item to separate text file content from file writing.
commit 39887a6e57404d240990b19653e4741eea3e8818
Author: Ben Finney <bignose@debian.org>
Date: Mon Dec 30 15:47:37 2024 +1000
Add configuration file specifying whitespace-only Git commits.
commit 3de50d6ba8c45318973af9f995c3e0b17bee3da3
Author: Ben Finney <bignose@debian.org>
Date: Thu Dec 26 11:47:33 2024 +1000
Update GnuPG examples in documentation, to match current behaviour.
commit 7149e7589e4b7487e2d462deab8414bde60b0ed7
Author: Ben Finney <bignose@debian.org>
Date: Thu Dec 26 12:11:20 2024 +1000
Be more direct of the intention of each DCut example in the manual page.
commit 07d569864a1b963725d11d55cca958c7aabd9d7a
Author: Ben Finney <bignose@debian.org>
Date: Thu Dec 26 12:02:54 2024 +1000
Update DCut examples to refer to ‘dput 1.2.3’ package.
commit 1ae6394bad996657432f7c9dc7ce77bb0e8f3771
Author: Ben Finney <bignose@debian.org>
Date: Thu Dec 26 12:13:43 2024 +1000
Guard literal example hyphens in `roff` markup.
commit 7d6df0a3271cf031af4cf55f549c255fb388de60
Author: Ben Finney <bignose@debian.org>
Date: Thu Dec 26 12:00:03 2024 +1000
Use consistent “literal” versus “placeholder” markup in manpage examples.
commit 39277e20088f36e121554e961f56eab9a1d8df64
Author: Ben Finney <bignose@debian.org>
Date: Thu Dec 26 10:31:56 2024 +1000
Add a To Do item to migrate to ‘pathlib’ for filesystem paths.
commit 43559aa1a121dc999433920ec321a85f46bdf31c
Author: Ben Finney <bignose@debian.org>
Date: Thu Dec 12 10:51:45 2024 +1100
Remove unused import.
commit 44a7915617a2cbb20df9a06a5b34481e7923912f
Author: Ben Finney <bignose@debian.org>
Date: Thu Dec 12 10:36:43 2024 +1100
Use text encoding UTF-8 explicitly when opening text files.
commit e2f278d05003667c3bda07e414581eb6d45cc40a
Merge: 6245f01 8fbf1c9
Author: Ben Finney <bignose@debian.org>
Date: Thu Dec 12 10:43:00 2024 +1100
Refine the detection of test modules and modules under test.
commit 8fbf1c9658591d404dd8fcbbbb5ee9862ca19da8
Author: Ben Finney <bignose@debian.org>
Date: Thu Dec 12 10:01:20 2024 +1100
Refine filter for the test coverage report.
commit 79b316e29a30eb041078d2421232b82a8451cc14
Author: Ben Finney <bignose@debian.org>
Date: Thu Dec 12 09:59:54 2024 +1100
Move the Makefile module for the test suite, to 'test/'.
This more closely associates the module with the rest of the test suite files.
commit b88679217ec578ef39dda41c3e7b7d4fb255091a
Author: Ben Finney <bignose@debian.org>
Date: Thu Dec 12 09:17:32 2024 +1100
Add a simple smoke test for Setuptools configuration.
commit 3f5924cb4ffe8746c5225bd7e68c3336fab9ed94
Author: Ben Finney <bignose@debian.org>
Date: Thu Dec 12 09:16:29 2024 +1100
Exempt the top-level code branch from module unit test coverage.
commit 6245f01c2f0f8669c0c90d433ede251c10cb7cc1
Merge: d4bd5ff ca2221c
Author: Ben Finney <bignose@debian.org>
Date: Wed Dec 11 07:53:59 2024 +1100
Migrate build system to PEP 518 conformant specification.
commit ca2221cb58b07acc662855340863ecb5a7179cae
Author: Ben Finney <bignose@debian.org>
Date: Tue Dec 10 15:38:04 2024 +1100
Move the installed files to the DPut application share directory.
This was previously done with options to the ‘setup.py install’ command; that is
now deprecated.
Build tools today apparently don't accept specification of installation paths
for non-shared libraries and for command-line programs. As a work-around we move
them after the Python build tool has placed them in default locations.
commit 248ecea75a51fe94134f3ed31170fb4411581d48
Author: Ben Finney <bignose@debian.org>
Date: Sun Dec 8 15:58:07 2024 +1100
Document the changes made on this branch.
commit 3eacd27947261f0318e0849d3940456580142fc3
Author: Ben Finney <bignose@debian.org>
Date: Sun Dec 8 15:52:47 2024 +1100
Migrate optional dependencies metadata to PEP 621 metadata.
commit 485c92f9b416cd384bc6a33bfddc07d8cc0381dc
Author: Ben Finney <bignose@debian.org>
Date: Sun Dec 8 15:44:52 2024 +1100
Migrate core dependencies metadata to PEP 621 metadata.
commit 204dd4fddcfa100e77fc2848e1654385ce776651
Author: Ben Finney <bignose@debian.org>
Date: Sun Dec 8 15:34:11 2024 +1100
Migrate ‘classifiers’ metadata field to PEP 621 metadata.
commit 9ad29919c73ff8de312eaf82ad160b978ff48fdd
Author: Ben Finney <bignose@debian.org>
Date: Sun Dec 8 15:32:29 2024 +1100
Migrate ‘keywords’ metadata field to PEP 621 metadata.
commit 59741e0593652e82d5859e9e82a788012735848c
Author: Ben Finney <bignose@debian.org>
Date: Sun Dec 8 15:27:40 2024 +1100
Re-order Setuptools ‘setup’ arguments for conceptual proximity.
commit 3ef8d1504e75626f4a657198e105e75731bab760
Author: Ben Finney <bignose@debian.org>
Date: Sat Dec 7 16:44:12 2024 +1100
Migrate Setuptools ‘entry_points.console_scripts’ config to Pyproject.
commit b23d0d3752dbc0101651883a87fae75346513bf3
Author: Ben Finney <bignose@debian.org>
Date: Tue Dec 10 18:29:13 2024 +1100
Exclude a non-Python package directory from Setuptools ‘packages.find’.
commit 93e9fb4eda23f7c3b806a17ab385001a6cc987a9
Author: Ben Finney <bignose@debian.org>
Date: Sat Dec 7 07:49:29 2024 +1100
Migrate Setuptools ‘find_packages’ config to Pyproject build tool options.
commit 941b6491d1619092fec98d676ed08e1e48aea336
Author: Ben Finney <bignose@debian.org>
Date: Sat Dec 7 16:53:46 2024 +1100
Remove deprecated Setuptools ‘test_suite’ support.
The invocation of ‘setup.py’ as an executable main module is deprecated:
`test` is deprecated and will be removed in a future version.
<URL:https://setuptools.pypa.io/deprecated/commands.html>
commit 73a6f0f43bae172ba0e2485585590e444be3bdaf
Author: Ben Finney <bignose@debian.org>
Date: Fri Dec 6 16:26:06 2024 +1100
Remove obsolete ‘zip_safe’ option for deprecated Setuptools Egg format.
As documented at the Python Packaging Authority:
It is very unlikely that the values of `zip_safe` will affect modern
deployments that use pip for installing packages. Moreover, new users of
`setuptools` should not attempt to create egg files using the deprecated
`build_egg` command. Therefore, this flag is considered **obsolete**.
<URL:https://setuptools.pypa.io/en/latest/deprecated/zip_safe.html>
commit 467bed73440cf3c067ccf9ecf858e33db974c667
Author: Ben Finney <bignose@debian.org>
Date: Fri Dec 6 10:44:08 2024 +1100
Specify additional source files needed for source distribution and build.
commit fd00d5d715af4d52bf203172d6b1b5b66d8d9130
Author: Ben Finney <bignose@debian.org>
Date: Fri Dec 6 10:30:54 2024 +1100
Derive the Python packaging version from Debian package version text.
commit 7cba1f88fce3fa515b742f6f83c63f42fb80f327
Author: Ben Finney <bignose@debian.org>
Date: Fri Dec 6 10:30:20 2024 +1100
Add a helper function to derive Python packaging version.
commit ec51bb3cfd0476c589e776cc5d22ccf8ea5319cc
Author: Ben Finney <bignose@debian.org>
Date: Fri Dec 6 10:13:12 2024 +1100
Specify metadata fields that are currently dynamically generated.
commit d62a409433ccf75a24c14a58875055bf5a17acca
Author: Ben Finney <bignose@debian.org>
Date: Fri Dec 6 09:59:06 2024 +1100
Migrate ‘name’ metadata field to PEP 621 metadata.
commit 15e45c41b8e66e90da431c6f26d62e21598a5624
Author: Ben Finney <bignose@debian.org>
Date: Sun Dec 8 16:12:28 2024 +1100
Declare PyProject build system for Debian PyBuild.
commit a6c4239aa365e4c52aa109fcfaefa2db811e7cd5
Author: Ben Finney <bignose@debian.org>
Date: Fri Dec 6 09:52:55 2024 +1100
Specify build system using PEP 518 conformant ‘pyproject.toml’.
commit 2d792024ee6e62817b27401a4e09576226dbd75f
Author: Ben Finney <bignose@debian.org>
Date: Sun Dec 8 17:07:54 2024 +1100
Specify installation options using PyBuild options.
commit d4bd5ff489c2182707394ca44cf1a80bff1cde5d
Author: Ben Finney <bignose@debian.org>
Date: Fri Dec 6 10:31:39 2024 +1100
Use a Python PEP 440 compatible pre-release identifier.
commit 645f17cfa6862f9048a0460c2de93b0deffff80a
Author: Ben Finney <bignose@debian.org>
Date: Fri Dec 6 09:51:34 2024 +1100
Add Python compile cache directory to Git VCS ignore patterns.
commit 16a4918cae1aba022d015eaa7289e391a0ba4c58
Author: Ben Finney <bignose@debian.org>
Date: Fri Dec 6 09:50:47 2024 +1100
Refine file patterns to ignore in Git VCS.
With a trailing slash, these match only a directory name.
commit 394198b76591441ec12e1963288a63c36bb38674
Author: Ben Finney <bignose@debian.org>
Date: Fri Dec 6 09:01:24 2024 +1100
Correct spelling of “DPut” in comments, documentation, and display text.
commit 0897aec7a09644003b45f0940315b246bc23cf5a
Author: Ben Finney <bignose@debian.org>
Date: Fri Dec 6 08:37:01 2024 +1100
Add pipeline definition for Salsa Continuous Integration.