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

Ddansby/issue 154 add delete branch and tag methods #156

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Commits on Dec 8, 2021

  1. Add/Update Branch and Tag "Name" field

    This commit renames the "BranchName" field to "Name" for the
    RepositoryBranchOptions and adds the "Name" RepositoryTagOptions to
    allow for deleting branch and tags with the same option struct types.
    DataDavD committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    a00bbd0 View commit details
    Browse the repository at this point in the history
  2. Add Delete Tag and Branch methods; rename repo tag options var to rto

    This commit creates the delete tag and branch methods. It also renames
    the repo tag options variable name from rbo to rto for code readability
    and understanding.
    
    This repo also renames the BranchName field references to Name.
    DataDavD committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    0ec6e04 View commit details
    Browse the repository at this point in the history
  3. Refactor Repo Tag and Branch Target types to a single Ref Target

    This commit refactors the existing RepositoryBranchTarget and
    RepositoryTagTarget types to a single RepositoryRefTarget since tags and
    branches are both refs and the two Target variables represented the
    same type anyways. This will also help us move to removing branch
    and tag specific options types into a single refs options type.
    
    See ktrysmt#155 and
    ktrysmt#153 (comment)
    DataDavD committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    2dd2dbb View commit details
    Browse the repository at this point in the history
  4. Create test for DeleteBranch and DeleteTag and update Refs test

    This commit tests the DeleteBranch and DeleteTag repo methods. It also
    updates the ListRefs part of the tests to ensure that it also properly
    lists tags as well as branches.
    DataDavD committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    57c51b0 View commit details
    Browse the repository at this point in the history