Currently, when NotInPerunRepository exception is fired, the execution stops and user has to manually set up the Perun.
The functionality should be changed into following:
When .perun does not exist and perun is run, then warning is issued to user and user is prompted whether user wants to initialize perun repository. If not confirmed the execution fails, otherwise, the following can happen:
.git exists in the directory, then Perun is initialized with the git
.git does not exist in the directory, then Perun is initilized with lightweight custom kernelvcs/osvcs, which is only based on OS/environment version.
Currently, when
NotInPerunRepository
exception is fired, the execution stops and user has to manually set up the Perun.The functionality should be changed into following:
.perun
does not exist and perun is run, then warning is issued to user and user is prompted whether user wants to initialize perun repository. If not confirmed the execution fails, otherwise, the following can happen:.git
exists in the directory, then Perun is initialized with the git.git
does not exist in the directory, then Perun is initilized with lightweight custom kernelvcs/osvcs, which is only based on OS/environment version.