cqse / teamscale-cli Goto Github PK
View Code? Open in Web Editor NEWA Teamscale command line interface to integrate findings into text editors such as vim, emacs or sublime.
License: Apache License 2.0
A Teamscale command line interface to integrate findings into text editors such as vim, emacs or sublime.
License: Apache License 2.0
There are several things that can go wrong when trying to run the CLI from an IDE. All of these are really hard to debug at the moment:
In these cases, ATM we log unhelpful error messages like
No valid config found
Or
Invalid path to file in repository: None
These don't give any clue to the user as to what they misconfigured. This makes setting up the CLI a trial-and-error game where you move around files and change command line settings like a crazy person for 20 minutes until you find the right combination by accident.
Instead I'd like to do the following:
When the config file can't be found, log all paths where the CLI tried to search for one.
When the git repo root can't be found, log every folder that was checked and why it wasn't considered as a git root.
In both cases, please provide clear instructions how the user can fix the problem. E.g:
Please place the .teamscale-precommit.config file in the folder XYZ
Or
None of the following paths seem to contain a git repository:
/A/B/C
/A/B
/A
Please make sure the path you provided on the command line points to a file or folder inside the git repository.
We should in addition go through the other error handling in the plugin and make sure any other errors have helpful error messages.
The plugin apparently doesn't recognize the submodule itself as a valid git repo and it also doesn't recognize the parent. Thus precommit for files in the submodule doesn't work, even though you can enable submodule support in Teamscale
The build for python 2.7 (which is unsupported since about a month) is failing because the available libgit version is not matching the requirements of the pygit module.
This also happens for Python 3.4
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.