Giter Site home page Giter Site logo

Comments (6)

bryanmacfarlane avatar bryanmacfarlane commented on September 28, 2024

hmmm, I tried yesterday. What url are you supplying in tfx login prompts?

It seems your url has Default Collection and My Collection

from tfs-cli.

pascalberger avatar pascalberger commented on September 28, 2024

Yes, that was it. Thanks.

If I pass https://mytenant.visualstudio.com/DefaultCollection it works, if I pass https://mytenant.visualstudio.com/DefaultCollection/My%20Collection the error is thrown. This worked in the previous version, but since it asks for collection url and not project url, this makes sense

from tfs-cli.

bryanmacfarlane avatar bryanmacfarlane commented on September 28, 2024

OK - just to be clear, is My Collection the name of your project?

Perhaps we can error with a better message if you don't:

  1. supply a path segment of 1 segment or
  2. it has two segments and the first one is 'tfs' (on-prem case)

What do you think?

from tfs-cli.

pascalberger avatar pascalberger commented on September 28, 2024

Yeah, My Collection is the name of the project.

Improved error message are never a bad idea :) For VSO case you might also check for the https:// and the visualstudio.com part.

from tfs-cli.

bryanmacfarlane avatar bryanmacfarlane commented on September 28, 2024

Yeah, we'll add more robustness and checking here.

We'll refrain from checking for visualstudio.com since we have test int envs etc... fragile.

Thanks!

from tfs-cli.

teddyward avatar teddyward commented on September 28, 2024

better error messages: f4c1d99

from tfs-cli.

Related Issues (20)

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.