Giter VIP home page Giter VIP logo

vstsr's Introduction

vstsr's People

Contributors

ashbaldry avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

vstsr's Issues

"set_repo" method looking in projects, not repos

After successfully logging in using vsts_account$new method as such:

library(vstsr)
xc <- vsts_account$new({username}, {password}, {domain}, {project})

I then set the project like this:

xc$set_project({projectname})

I then try to connect to a given repo within that project to extract all commits by doing:

xc$set_repo({reponame})

at which point I get the following error:
Error in xc$set_repo({reponame}) :{reponame} not in available repositories.
This is not true, as the repo IS in my given project and I can see it when querying xc after assigning the relevant project.

I believe the issue is "set_repo" is pointing to projects rather than repos, as seen by its source code:

> xc$set_repo
function (repo) 
{
    if (is.null(private$repos)) {
        repo_df <- vsts_get_repos(private$domain, private$project, 
            private$auth_key, quiet = TRUE)
        private$repos <- repo_df$name
    }
    if (!repo %in% private$projects) 
        stop(repo, " not in available repositories.")
    private$repo <- repo
    invisible(TRUE)
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.