Skip to content
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

Allow to communicate ErrorMsg for CHECKURL-FAILURE via RemoteError exception #106

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

yarikoptic
Copy link
Collaborator

Similar pattern already used in various other locations but not for this check. I used .rstrip() to guarantee no dangling whitespaces (which would break the existing test).

https://git-annex.branchable.com/design/external_special_remote_protocol/ says that

CHECKURL-FAILURE ErrorMsg
    Indicates that the requested url could not be accessed.

so ErrorMsg is entirely legit.

…ception

Similar pattern already used in various other locations but not for this
check.  I used .rstrip() to guarantee no dangling whitespaces (which would
break the existing test).

https://git-annex.branchable.com/design/external_special_remote_protocol/ says that

    CHECKURL-FAILURE ErrorMsg
        Indicates that the requested url could not be accessed.

so ErrorMsg is entirely legit.
yarikoptic added a commit to yarikoptic/datalad that referenced this pull request Aug 29, 2024
… remotes

Inspired by

- datalad/datalad-container#267

but to be of benefit, requires review/merge/release of

- Lykos153/AnnexRemote#106

But should be safe otherwise since ATM (without the above PR) AnnexRemote simply ignores the message
@yarikoptic yarikoptic added the patch Increment the patch version when merged label Sep 6, 2024
@yarikoptic
Copy link
Collaborator Author

The change is small, test was added. So if no objections, I will merge in few days

@yarikoptic yarikoptic added the release Create a release when this pr is merged label Sep 16, 2024
@yarikoptic
Copy link
Collaborator Author

Let's merge and release

@yarikoptic yarikoptic merged commit 718fc77 into Lykos153:master Sep 16, 2024
8 checks passed
Copy link

🚀 PR was released in v1.6.6 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Increment the patch version when merged release Create a release when this pr is merged released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant