Coder Social home page Coder Social logo

Code Analysis Policies about git-tfs HOT 6 CLOSED

git-tfs avatar git-tfs commented on June 16, 2024
Code Analysis Policies

from git-tfs.

Comments (6)

pmiossec avatar pmiossec commented on June 16, 2024 1

@AnjaliIyengar1 It should be donc in TFS. I don't know how you end up here but it seems that you don't use the tool git-tfs (or I really didn't understand your message).

You'd better ask in stackoverflow.com (and don't confuse 'git-tfs' and 'TFS(Git)') .

from git-tfs.

JeremySkinner avatar JeremySkinner commented on June 16, 2024

So it appears that this isn't a git-tfs issue as the same problem also happens when using the official TFS command-line client.

from git-tfs.

spraints avatar spraints commented on June 16, 2024

I was able to reproduce the problem. I tried explicitly loading the assembly that the error was related to, but it didn't work.

I'll assume this relies on hooks in VS, so it needs VS to be running as the shell for the TFS commands. This seems reasonable, based on your observation that the same problem occurs when you use the TFS command line client.

I added checkin policy overrides (1a50042) so you can get around the issue, if it's appropriate to do so.

from git-tfs.

AnjaliIyengar1 avatar AnjaliIyengar1 commented on June 16, 2024

I want to enforce code style and standards for the branch that is committed to master in git-TFS 2015 from VS-2017. Can anyone help me how to set the check-in policy in git-tfs 2015? @JeremySkinner you have said "When using git-tfs checkin or git-tfs checkintool against a TFS server that has code analysis enforced through a check-in policy," how did you do that?

from git-tfs.

AnjaliIyengar1 avatar AnjaliIyengar1 commented on June 16, 2024

@pmiossec(I am a beginner and started my career in ALM) I am using GIT with TFS-2015. I have used branch policies(reviewers mandatory etc) to protect the source control. but, i want to add coding style analysis while check-in. I found ".editorConfig" answer from stackoverflow. But, that does not fail the build even when it throws error. That feature is not implemented yet!

from git-tfs.

pmiossec avatar pmiossec commented on June 16, 2024

I am using GIT with TFS-2015

It's what I understand but here is not the support forum of git in TFS. It's the forum of the tool 'git-tfs'. No one could help you here.

from git-tfs.

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.