code: def load_repo_info_from_cache(i):
      
  
      ruoa=i['repo_uoa']
      ruid=ruoa
  
      if ruoa==cfg['repo_name_default'] or ruoa==cfg['repo_uid_default']:
         d={}
         d["path_to_repo_desc"]=work['dir_default_repo_path']
         d["data_uid"]=cfg['repo_uid_default']
         d["data_alias"]=cfg['repo_name_default']
         d["data_uoa"]=cfg['repo_name_default']
         d["dict"]={"default":"yes"}
      elif ruoa==cfg['repo_name_local'] or ruoa==cfg['repo_uid_local']:
         d={}
         d["path_to_repo_desc"]=work['dir_local_repo_path']
         d["data_uid"]=cfg['repo_uid_local']
         d["data_alias"]=cfg['repo_name_local']
         d["data_uoa"]=cfg['repo_name_local']
         d["dict"]={"default":"yes"}
      else:
         r=reload_repo_cache({}) # Ignore errors
         if r['return']>0: return r
  
         if not is_uid(ruoa): 
            ruid=cache_repo_uoa.get(ruoa,'')
            if ruid=='':
               return {'return':1, 'error':'repository "'+ruoa+'" is not found in the cache. Check if repository exists or try "ck recache repo"'}
  
         d=cache_repo_info.get(ruid,{})
         if len(d)==0:
            return {'return':1, 'error':'repository is not found in the cache'}
  
      r={'return':0}
      r.update(d)
  
      return r
docs: Input:  {
                repo_uoa - repo_uoa
              }
  
      Output: {
                return       - return code =  0, if successful
                                             16, if repo not found (may be warning)
                                           >  0, if error
                (error)      - error text if return > 0
  
                repo_uoa     - repo UOA
                repo_uid     - repo UID
                repo_alias   - repo alias
  
                all other info from repo dict
              }