+
    "i{                        R t ^ RIHt ^ RIHt ^ RIHt ^RIHtH	t	 ^RI
Ht ^RIHt ^RIHt ]'       d   ^RIHt  ! R	 R
]4      tR# )z!Class for appdaemon apps in HACS.)annotations)TYPE_CHECKING)AIOGitHubAPIException)HacsCategoryHacsDispatchEvent)HacsException)
concurrent)HacsRepository)HacsBasec                  l   a  ] tR t^tRtR V 3R llt]R 4       tR t]	! ^
^R7      R	R l4       t
RtV ;t# )
HacsAppdaemonRepositoryzAppdaemon apps in HACS.c                    V ^8  d   QhRRRR/# )   hacsr
   	full_namestr )formats   "8/config/custom_components/hacs/repositories/appdaemon.py__annotate__$HacsAppdaemonRepository.__annotate__   s     * *X *# *    c                D  < \         SV `  VR7       W P                  n        VP	                  4       V P                  n        \        P                  V P                  n        V P                  V P                  P                  n        RV P                  P                  n        R# )zInitialize.)r   appsN)super__init__datar   lowerfull_name_lowerr   	APPDAEMONcategory	localpathcontentpathlocalremote)selfr   r   	__class__s   &&&r   r    HacsAppdaemonRepository.__init__   sj    d#'		$-OO$5		!)33		"&..#) r   c                t    V P                   P                  P                   RV P                  P                   2# )zReturn localpath.z/appdaemon/apps/)r   coreconfig_pathr   name)r&   s   &r   r!   !HacsAppdaemonRepository.localpath   s.     ))..,,--=diinn=MNNr   c           	       "   V P                  4       G Rj  xL
   V P                  P                  RV P                  4      G Rj  xL
 p\        T\        4      '       g3   T P                  P                  P                  T P                   R24       T^ ,          P                  T P                  P                  n        T P                  P                  T P                  P                  P                  T P                  4      G Rj  xL
 T P                  n        T P                  P                  '       dm   T P                  P                   FR  pT P"                  P$                  P&                  '       d   K+  T P(                  P+                  RT P                  T4       KT  	  T P                  P,                  #  EL ELu  \         d8    \        T P                   RT P                  P                  RR4       R24      Rhi ; i L5i)	z	Validate.Nr   z Repository structure for ztags/ z is not compliantz# Repository structure not compliantz%s %s)common_validaterepository_objectget_contentsrefr   r   stringreplace
isinstancelistvalidateerrorsappendr#   r"   r%   objectsr   statusstartuploggererrorsuccess)r&   addirr?   s   &  r   validate_repository+HacsAppdaemonRepository.validate_repository#   s    ""$$$	00==fdhhOOE %&&MM  ''4;;-7Z([\#(8== %)%;%;%H%HLL$$dhh&
  

 ==--yy''///KK%%gt{{EB . }}$$$/ 	% P$ 	;;-9$((:J:J7SU:V9WWhi	 
sS   HF7H)F= F:F= 
B;HH.H5<H6AH:F= =AG??H)concurrenttasksbackoff_timec                ,  "   V P                  W4      G Rj  xL
 '       g   V'       g   R# V P                  '       d8   V P                  P                  '       d   RV P                  P                  n        V P                  P                  P
                  R8X  dy   V P                  P                  V P                  P                  P
                  V P                  4      G Rj  xL
 pV^ ,          P                  V P                  P                  n        V P                  P                  V P                  P                  P
                  V P                  4      G Rj  xL
 V P                  n	        V P                  V P                  P                  n        V P                  P                  '       d]   V P                  P                  \         P"                  RRRRRV P                  P$                  R	V P                  P&                  /4       R# R#  EL EL. L5i)
zUpdate.Nr/   r   idi9  actionupdate
repositoryrepository_id)common_updaterepository_manifestcontent_in_rootr"   r#   r%   r1   r2   r3   r;   r!   r$   r   	installedr   async_dispatchr   
REPOSITORYr   rG   )r&   ignore_issuesforcerA   s   &&& r   update_repository)HacsAppdaemonRepository.update_repository>   sv     ''===e ###''777+-!!(<<##v-00==dll>O>O>V>VX\X`X`aaE',Qx}}DLL$%)%;%;%H%HLL$$dhh&
  

 #'.. 99II$$!,,$h $))"5"5#TYY\\	 ' > b 
sR   HH	HHHHBH!H"A7HHAH.AHHHr   )FF)__name__
__module____qualname____firstlineno____doc__r   propertyr!   rB   r   rT   __static_attributes____classcell__)r'   s   @r   r   r      sF    !* * O O%6 3 4r   r   N)rZ   
__future__r   typingr   aiogithubapir   enumsr   r   
exceptionsr   utils.decoratorr   baser	   r
   r   r   r   r   <module>re      s1    ' "   . 3 & (  Kn Kr   