Skip to content

Remove dependency to gh package #145

Description

@ahasverus

Feature description

This idea here is to remove the dependency to the gh package. This will reduce the number of packages to depend on and make easier the tests.

This implies to deeply refactor:

  • functions that query the GitHub API by using the httr2 package (already started here)
  • gh::gh_token() by using directly the gitcreds package

Some helpers will be needed:

  • stop_if_gh_account_missing(meta)
  • stop_if_gh_org_does_missing(organisation)
  • stop_if_gh_repo_missing(meta)
  • stop_if_gh_token_missing()

Also update_gh_repo() needs to be deeply refactored.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions