Make use of rb-tfs.

Review Request #8302 — Created July 20, 2016 and submitted

Information

RBTools
release-0.7.x
572fa9b...

Reviewers

When using TFS, we've traditionally relied on Team Explorer Everywhere's
command-line interface. This is pretty slow and doesn't let us do things like
post shelvesets. In other changes, I've added a helper application built on the
TFS SDK which does what we need. With this change, if that helper is installed,
we use it instead of the old TEE command.

Posted pending changes and shelvesets to my local server.

Description From Last Updated

If these are optional, this should have , optional.

chipx86chipx86

If this is from argparse, then it's an argparse.Namespace.

chipx86chipx86

This will fail if options is None, as above.

chipx86chipx86

Needs the full module path.

chipx86chipx86

revisions is [] by default. If it's actually optional, we should say so here, but I suspect it should actually …

chipx86chipx86

Needs the full module path.

chipx86chipx86

Should list , optional.

chipx86chipx86

Same comments as above.

chipx86chipx86

Needs the full module path.

chipx86chipx86

Should this default to []?

chipx86chipx86

Should use double backticks for references to arguments.

chipx86chipx86

Double backticks for the values.

chipx86chipx86

This won't render correctly in ReST. Should be: This will return a dictionary with the following keys: ``base``: A revision …

chipx86chipx86

Needs full module paths.

chipx86chipx86

, optional

chipx86chipx86

Blank line between these.

chipx86chipx86

Can be: if rc in (0, 2):

chipx86chipx86

Missing trailing comma.

chipx86chipx86

"rb-tfs"?

chipx86chipx86

:py:meth:

chipx86chipx86

Same as above.

chipx86chipx86

Blank line between these.

chipx86chipx86

Needs to be a full module path.

chipx86chipx86

Same comments as above on double backticks for arguments and values.

chipx86chipx86

Same comments as above on ReST formatting.

chipx86chipx86

Should have , optional if the argument is optional.

chipx86chipx86

Needs full module paths.

chipx86chipx86

, optional

chipx86chipx86
reviewbot
  1. Tool: PEP8 Style Checker
    Processed Files:
        rbtools/clients/tfs.py
    
    
    
    Tool: Pyflakes
    Processed Files:
        rbtools/clients/tfs.py
    
    
  2. 
      
chipx86
  1. Code seems fine. Most of my comments are about the docs.

  2. rbtools/clients/tfs.py (Diff revision 1)
     
     
     
     
     
    Show all issues

    If these are optional, this should have , optional.

  3. rbtools/clients/tfs.py (Diff revision 1)
     
     
    Show all issues

    If this is from argparse, then it's an argparse.Namespace.

  4. rbtools/clients/tfs.py (Diff revision 1)
     
     
     
    Show all issues

    This will fail if options is None, as above.

  5. rbtools/clients/tfs.py (Diff revision 1)
     
     
    Show all issues

    Needs the full module path.

  6. rbtools/clients/tfs.py (Diff revision 1)
     
     
    Show all issues

    revisions is [] by default. If it's actually optional, we should say so here, but I suspect it should actually not default to []?

  7. rbtools/clients/tfs.py (Diff revision 1)
     
     
     
     
     
    Show all issues

    Needs the full module path.

  8. rbtools/clients/tfs.py (Diff revision 1)
     
     
     
     
     
    Show all issues

    Should list , optional.

  9. rbtools/clients/tfs.py (Diff revision 1)
     
     
     
     
     
    Show all issues

    Same comments as above.

  10. rbtools/clients/tfs.py (Diff revision 1)
     
     
    Show all issues

    Needs the full module path.

  11. rbtools/clients/tfs.py (Diff revision 1)
     
     
    Show all issues

    Should this default to []?

  12. rbtools/clients/tfs.py (Diff revision 1)
     
     
    Show all issues

    Should use double backticks for references to arguments.

  13. rbtools/clients/tfs.py (Diff revision 1)
     
     
    Show all issues

    Double backticks for the values.

  14. rbtools/clients/tfs.py (Diff revision 1)
     
     
     
     
     
     
    Show all issues

    This won't render correctly in ReST. Should be:

    This will return a dictionary with the following keys:
    
    ``base``:
        A revision to use ...
    
    ``tip``:
       A revision to use ...
    
  15. rbtools/clients/tfs.py (Diff revision 1)
     
     
     
     
     
    Show all issues

    Needs full module paths.

  16. rbtools/clients/tfs.py (Diff revision 1)
     
     
     
     
     
     
    Show all issues

    , optional

  17. rbtools/clients/tfs.py (Diff revision 1)
     
     
     
    Show all issues

    Blank line between these.

  18. rbtools/clients/tfs.py (Diff revision 1)
     
     
    Show all issues

    Can be:

    if rc in (0, 2):
    
  19. rbtools/clients/tfs.py (Diff revision 1)
     
     
    Show all issues

    Missing trailing comma.

  20. rbtools/clients/tfs.py (Diff revision 1)
     
     
    Show all issues

    "rb-tfs"?

  21. rbtools/clients/tfs.py (Diff revision 1)
     
     
    Show all issues

    :py:meth:

  22. rbtools/clients/tfs.py (Diff revision 1)
     
     
     
     
     
     
    Show all issues

    Same as above.

  23. rbtools/clients/tfs.py (Diff revision 1)
     
     
     
    Show all issues

    Blank line between these.

  24. rbtools/clients/tfs.py (Diff revision 1)
     
     
    Show all issues

    Needs to be a full module path.

  25. rbtools/clients/tfs.py (Diff revision 1)
     
     
     
     
     
     
    Show all issues

    Same comments as above on double backticks for arguments and values.

  26. rbtools/clients/tfs.py (Diff revision 1)
     
     
     
     
     
     
    Show all issues

    Same comments as above on ReST formatting.

  27. rbtools/clients/tfs.py (Diff revision 1)
     
     
    Show all issues

    Should have , optional if the argument is optional.

  28. rbtools/clients/tfs.py (Diff revision 1)
     
     
     
     
     
     
    Show all issues

    Needs full module paths.

  29. rbtools/clients/tfs.py (Diff revision 1)
     
     
     
     
     
     
     
     
    Show all issues

    , optional

  30. 
      
david
reviewbot
  1. Tool: PEP8 Style Checker
    Processed Files:
        rbtools/clients/tfs.py
    
    
    
    Tool: Pyflakes
    Processed Files:
        rbtools/clients/tfs.py
    
    
  2. 
      
chipx86
  1. Ship It!
  2. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to release-0.7.x (b9b6db2)