Skip to content

Conversation

@gouttegd
Copy link
Contributor

This PR removes the github_curl and github_python methods of pushing a release to GitHub – these should no longer be needed now that GitHub-CLI is available.

The public_release ODK option should now be set to the name of the hosting service for releases. For now, the only supported option is github (which, in effect, is exactly as before). The older values github_curl and github_python are silently transformed into github.

To accommodate for that change:

(1) GitHub-CLI (gh) is moved from ODKFull to ODKLite;

(2) conversely, PyGithub (which was only used for the github_python method) is moved from ODKLite to ODKFull (it is not completely removed, since people may have custom workflows that depend on it).

closes #1296

Remove the 'github_curl' and 'github_python' methods of pushing a
release to GitHub -- these should no longer be needed now that
GitHub-CLI is available.

The 'public_release' ODK option should now be set to the name of the
hosting service for releases. For now, the only supported option is
'github' (which, in effect, is exactly as before). The older values
'github_curl' and 'github_python' are silently transformed into
'github'.

To accomodate for that change:

(1) GitHub-CLI (`gh`) is moved from ODKFull to ODKLite;

(2) conversely, PyGithub (which was only used for the `github_python`
    method) is moved from ODKLite to ODKFull (it is not completely
    *removed*, since people may have custom workflows that depend on
    it).

closes #1296
@gouttegd gouttegd self-assigned this Sep 30, 2025
@gouttegd gouttegd requested a review from matentzn September 30, 2025 09:04
Copy link
Contributor

@matentzn matentzn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wonderful removal of tech debt

@gouttegd gouttegd merged commit 80751b6 into master Oct 3, 2025
1 check passed
@gouttegd gouttegd deleted the use-gh-for-public-release branch October 3, 2025 17:34
gouttegd added a commit to INCATools/odkcore that referenced this pull request Jan 1, 2026
This commit removes the `github_curl` and `github_python` methods of
pushing a release to GitHub – these should no longer be needed now that
GitHub-CLI is available.

The public_release ODK option should now be set to the name of the
hosting service for releases. For now, the only supported option is
`github` (which, in effect, is exactly as before). The older values
`github_curl` and `github_python` are silently transformed into
`github`.

This is a backport of INCATools/ontology-development-kit#1297, which
happened in the original repository after ODK-Core had been started.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove the github_curl and github_python public release methods

3 participants