-
Notifications
You must be signed in to change notification settings - Fork 9
Release/0.15 (Issue #35) #41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
DhanashreePetare
wants to merge
3
commits into
dbpedia:main
Choose a base branch
from
DhanashreePetare:release/0.15
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| # Changelog | ||
|
|
||
| All notable changes to this project will be documented in this file. | ||
|
|
||
| ## [0.15] - 2025-12-18 | ||
| - Prepare new PyPI release 0.15 (skipping 0.13/0.14 as requested). | ||
| - Improve Vault authentication: host-restricted token exchange and clearer errors. | ||
| - Add tests for Vault auth behavior. | ||
| - Add docstrings to increase docstring coverage for CI. | ||
|
|
||
| Note: After merging this branch, publish a PyPI release (version 0.15) so | ||
| `pip install databusclient` reflects the updated CLI behavior and bug fixes. | ||
| # Changelog | ||
|
|
||
| ## 0.15 - Prepared release | ||
|
|
||
| - Prepare PyPI release 0.15. | ||
| - Restrict Vault token exchange to known hosts and provide clearer auth errors. | ||
| - Add tests for Vault auth behavior. | ||
| - Documentation: note about Vault-hosts and `--vault-token` usage. | ||
|
|
||
| (See PR and issue tracker for details.) | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,21 @@ | ||
| """Top-level package for the databus Python client. | ||
|
|
||
| This module exposes a small set of convenience functions and the CLI | ||
| entrypoint so the package can be used as a library or via | ||
| ``python -m databusclient``. | ||
| """ | ||
|
|
||
| from databusclient import cli | ||
| from databusclient.api.deploy import create_dataset, create_distribution, deploy | ||
|
|
||
| __all__ = ["create_dataset", "deploy", "create_distribution"] | ||
|
|
||
|
|
||
| def run(): | ||
| """Start the Click CLI application. | ||
|
|
||
| This function is used by the ``__main__`` module and the package | ||
| entrypoint to invoke the command line interface. | ||
| """ | ||
|
|
||
| cli.app() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,19 @@ | ||
| """Module used for ``python -m databusclient`` execution. | ||
|
|
||
| Runs the package's CLI application. | ||
| """ | ||
|
|
||
| from databusclient import cli | ||
|
|
||
| cli.app() | ||
|
|
||
| def main(): | ||
| """Invoke the CLI application. | ||
|
|
||
| Kept as a named function for easier testing and clarity. | ||
| """ | ||
|
|
||
| cli.app() | ||
|
|
||
|
|
||
| if __name__ == "__main__": | ||
| main() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove duplicate changelog section.
Lines 13-22 duplicate the header and 0.15 release notes from lines 1-12. This appears to be accidental content duplication.
🔎 Apply this diff to remove the duplicate content:
📝 Committable suggestion
🧰 Tools
🪛 markdownlint-cli2 (0.18.1)
13-13: Multiple headings with the same content
(MD024, no-duplicate-heading)
🤖 Prompt for AI Agents