leapp icon indicating copy to clipboard operation
leapp copied to clipboard

snactor is not able to setup leapp repo in the pre-existing empty directory

Open msekletar opened this issue 7 years ago • 0 comments

I wanted to create a repository using snactor, however my current directory already contained the empty directory of the same name. I'd assume that snactor will initialize the repo even though the top-level dir already exists. Another alternative is to report an error.

Reproducer

$ rpm -qf /usr/bin/snactor
snactor-0.3-1.devel.20181018.git.224.noarch
$ mkdir foo
$ snactor repo new foo 
$ echo $?
0
$ ls -l foo/.leapp
ls: cannot access foo/.leapp: No such file or directory

msekletar avatar Oct 18 '18 14:10 msekletar