Skip to content

[mod] Refactor and clean with defensive bash

Alexandre Aubin requested to merge refactor_with_defensive_bash into master

Problem

Ou ynh-dev script grows up but it's quite unorganized.

Solution

I tried to refactor and clean the whole script using defensive bash. This is also intended to make it easier for the script to evolve : initially I wanted to add some options to ./ynh-dev test such as --verbose or --debug and realized I was going to need some sort of proper option parsing if I was going to implement this properly.

How to test

PR Status

Work finished

Validation

Medium decision

  • Simple test :
  • Simple test :
  • Light Code review : ljf
  • Light Code review :
  • Approval (LGTM) : ljf
  • Approval (LGTM) :
  • Approval (LGTM) :
  • Strong Code review : When the PR is mark as ready to merge, you have to wait for 7 days before really merge it.

Merge request reports