stronk7

Untitled

Jul 31st, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. * question types or behaviors implementing own head_code()
  2.  
  3. $ git branch -a | grep '^ remotes/origin/[0-9]' | grep -E 'qtype|qbehaviour' | xargs git grep 'function head_code' | grep -v 'question/type/rendererbase.php' | grep -v 'question/behaviour/rendererbase.php' | cut -d: -f2- | sort -u
  4.  
  5. question/type/formulas/renderer.php: public function head_code(question_attempt $qa) {
  6. question/type/shortmath/renderer.php: public function head_code(question_attempt $qa) {
  7.  
  8. ============ ============ ============ ============ ============ ============
  9.  
  10. * question types having script.js or script.php files (2 false positives, script.sh)
  11.  
  12. $ git branch -a | grep '^ remotes/origin/[0-9]' | grep -E 'qtype|qbehaviour' | xargs -I{} git log {} --full-history --oneline -- question/type/**/script.* | grep PLUGIN
  13.  
  14. 79566bb1e7b PLUGIN-18789 qtype_shortmath: cibot precheck request
  15. b5b87bc96a1 PLUGIN-19654 qtype_shortmath: cibot precheck request
  16. ^^^false positives
Add Comment
Please, Sign In to add comment