Comments (4)
I thought of that - we don't care since trace is a troubleshooting mechanism for a single call. So you would troubleshoot a single call (with --json), figure it out and then turn it off.
from tfs-cli.
Ok that makes sense. I'll just add a trace statement to the parse exec method to remind users to turn off trace
from tfs-cli.
The same happens for warnings. Which is really annoying. Even with tracing turned off.
C:\Users\jhouw\Source\Repos\vsts-extension-tasks [master +1 ~4 -0 !]> tfx extension create --json --root . --no-prompt -
-manifest-globs extension-manifest.json 3> NULL | ConvertFrom-Json
ConvertFrom-Json : Invalid JSON primitive: Could.
At line:1 char:101
+ ... t --manifest-globs extension-manifest.json 3> NULL | ConvertFrom-Json
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [ConvertFrom-Json], ArgumentException
+ FullyQualifiedErrorId : System.ArgumentException,Microsoft.PowerShell.Commands.ConvertFromJsonCommand
Result looks like:
Could not determine content type for extension .pssproj. Defaulting to application/octet-stream. To override this, add a contentType property to this file entry in the manifest.
Could not determine content type for extension .lastpatched. Defaulting to application/octet-stream. To override this, add a contentType property to this file entry in the manifest.
Could not determine content type for extension .psm1. Defaulting to application/octet-stream. To override this, add a contentType property to this file entry in the manifest.
{
"path": "C:\\Users\\jhouw\\Source\\Repos\\vsts-extension-tasks\\jessehouwing.jessehouwing-vsts-extension-tasks-TEST-0.0.41.vsix",
"extensionId": "jessehouwing-vsts-extension-tasks-TEST",
"publisher": "jessehouwing"
}
from tfs-cli.
Good call, I'll fix this next week.
On Sat, Feb 27, 2016 at 5:18 PM, Jesse Houwing [email protected]
wrote:
The same happens for warnings. Which is really annoying. Even with tracing
turned off.C:\Users\jhouw\Source\Repos\vsts-extension-tasks [master +1 ~4 -0 !]> tfx extension create --json --root . --no-prompt -
-manifest-globs extension-manifest.json 3> NULL | ConvertFrom-Json
ConvertFrom-Json : Invalid JSON primitive: Could.
At line:1 char:101
- ... t --manifest-globs extension-manifest.json 3> NULL | ConvertFrom-Json
~~~~~~~~~~~~~~~~
- CategoryInfo : NotSpecified: (:) [ConvertFrom-Json], ArgumentException
- FullyQualifiedErrorId : System.ArgumentException,Microsoft.PowerShell.Commands.ConvertFromJsonCommand
Result looks like:
Could not determine content type for extension .pssproj. Defaulting to application/octet-stream. To override this, add a contentType property to this file entry in the manifest.
Could not determine content type for extension .lastpatched. Defaulting to application/octet-stream. To override this, add a contentType property to this file entry in the manifest.
Could not determine content type for extension .psm1. Defaulting to application/octet-stream. To override this, add a contentType property to this file entry in the manifest.
{
"path": "C:\Users\jhouw\Source\Repos\vsts-extension-tasks\jessehouwing.jessehouwing-vsts-extension-tasks-TEST-0.0.41.vsix",
"extensionId": "jessehouwing-vsts-extension-tasks-TEST",
"publisher": "jessehouwing"
}—
Reply to this email directly or view it on GitHub
#9 (comment).
from tfs-cli.
Related Issues (20)
- Release 0.10 missing from this GitHub repo. HOT 3
- fix high severity vulnerability from async HOT 2
- Uploading of Azure DevOps Extensions fails with timeout HOT 2
- Wrong mime type for `fsevents.node` HOT 7
- tfx command line publish issue for Azure DevOps Server 2022 RC1 HOT 4
- tfx build tasks create does not work anymore HOT 3
- tfx cannot handle TLS certificate issued by corp certificate authority HOT 4
- tfx command line publish issue for Azure DevOps Server 2022 RC1 HOT 1
- "Unexpected token import" for Azure DevOps custom task HOT 2
- tfx not found after installing 0.13.0 HOT 4
- Tfx 0.14 reports to be 0.13 HOT 1
- "A token is invalid" When Trying to Upload an Extension HOT 3
- ccccccucjednglchvdevjcerjtvhguhrcltvkrvilfve
- This repo is missing important files HOT 1
- Add documentation for `tfx extension init` HOT 1
- Fix repo and npm name mistmatch. HOT 2
- Pack an extension with binary executables for Mac/Linux using tar insteda of zip? HOT 1
- tfx extension publish not working for ADO cloud HOT 2
- Publish fails for service principal HOT 5
- 'tfx extension publish' not using cached PAT HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tfs-cli.