Comments (11)
yes please!
maybe we have different level here:
level 0:
- only hardcore errors do block the commit, including trying to commit into the master branch
- this is established with "make install" so its default
level 1: - our suggested level of quality checks, which is more accurate
btw: does make cs-install works on Darwin as well @pfrischmuth, maybe you can test that?
from ontowiki.
sorry, wrong button ... :)
from ontowiki.
additional requests:
- cs-install should test for root (to avoid errors)
- 2x cs-install crashes
- bad words: var_dump, exit; die, _POST, _GET, _REQUEST
- keine tabs
- no whitespaces at the end of the line
from ontowiki.
after working a little bit with the pre_commit hook, I would like to change that to pre_push if this exist:
the reason: implementing a feature and fixing the code quality should be different commits and I can't commit the feature first ...
what do you think about that?
from ontowiki.
@Lars: what about this issue? These additional requirements are important:
- cs-install should test for root (to avoid errors)
- 2x cs-install crashes
- test for bad words: var_dump, exit; die, _POST, _GET, _REQUEST
- test for tabs
- test for whitespaces at the end of the line
from ontowiki.
can we drop Internal.NoCodeFound errors on "make cs-check"
these errors appear on Makefiles, N3 files, ...
from ontowiki.
Seebi, the opening user was @larseidam not myself.
Thanks
from ontowiki.
@Lars: thanks ... and sorry :)
from ontowiki.
@ALL
now there is a CodeSniffer Update on commit 714ce22
Attention: some Makefile commands have changed (look at 'make help')
fixed issue:
- cs-install should test for root (to avoid errors)
- 2x cs-install crashes
- test for bad words: var_dump, exit; die, _POST, _GET, _REQUEST (also print_r and error_log)
- test for tabs
- test for whitespaces at the end of the line
- install CS on submodules/extensions
- run CS with specific sniffs
open issue:
- wikipage for sniff explanation
- CS integration for Vim
- forbid the committing in the master branch
- install CS on all submodules/extensions
@seebi
What do you mean with this??
can we drop Internal.NoCodeFound errors on "make cs-check"
these errors appear on Makefiles, N3 files, ...
Do you want a sniff that shows files they have no php code, files they are empty or something else??
Maybe we can talk about it on our meeting today.
from ontowiki.
lars, looks great!
regarding your question: I just dont want an error if the sniffer founds a file which is not php
one solution: the sniffer looks only for php and phtml files
another solution: it looks in every file but do not complain about files without php code
from ontowiki.
all issues in this thread are done or rather in a other Issus-thread
from ontowiki.
Related Issues (20)
- More documentation on Newbie Tasks HOT 2
- index.php line 85 HOT 17
- Reference to docs.ontowiki.net HOT 1
- Turtle parser fails on valid turtle
- Erfurt log.path not writable (CentOS 7) HOT 2
- Navigation module load a huge quantity of data HOT 4
- Erfut error: Virtuoso adapter requires the ODBC extension to be loaded. HOT 5
- MemoryModel and Adapter error for very linked instance
- Travis unable to load php odbc extension
- With Stardog, the functions `add instance` and `add property` load forever
- Several odd behaviors on a new installation HOT 5
- 'DOMDocument' HOT 1
- Stack smashing in odbctest on debian 8.10 HOT 4
- Widgets are not displayed HOT 3
- Can't add new prefix to base HOT 1
- Error on bootstrapping OntoWiki
- 'Add property' hangs completely HOT 1
- ontowiki status HOT 5
- how and why did this end? HOT 6
- ODBC problem with Docker setup with Virtuoso 7.2.6 and virtodbc.so 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 ontowiki.