public static RepositoryInfo Open(string directory)
 {
     var repo = new RepositoryInfo
     {
         Name = Path.GetFileNameWithoutExtension(directory),
         RepoFolder = directory,
         //Id = GetId(directory)
     };
     return repo;
 }