parameters: (self, ignore_issues=False, force=False)
return_statement: return True
docstring: Common information update steps of the repository.
docstring_summary: Common information update steps of the repository.
docstring_tokens: Common information update steps of the repository .
function: async def common_update(self, ignore_issues=False, force=False):
          """Common information update steps of the repository."""
          self.logger.debug("%s Getting repository information", self)
  
          # Attach repository
          current_etag = self.data.etag_repository
          await common_update_data(self, ignore_issues, force)
          if (
              not self.data.installed
              and (current_etag == self.data.etag_repository)
              and not force
          ):
              self.logger.debug(
                  "Did not update %s, content was not modified", self.data.full_name
              )
              return False
  
          # Update last updated
          self.data.last_updated = self.repository_object.attributes.get("pushed_at", 0)
  
          # Update last available commit
          await self.repository_object.set_last_commit()
          self.data.last_commit = self.repository_object.last_commit
  
          # Get the content of hacs.json
          await self.get_repository_manifest_content()
  
          # Update "info.md"
          self.information.additional_info = await get_info_md_content(self)
  
          return True
function_tokens: async def common_update ( self , ignore_issues = False , force = False ) : self . logger . debug ( "%s Getting repository information" , self ) # Attach repository current_etag = self . data . etag_repository await common_update_data ( self , ignore_issues , force ) if ( not self . data . installed and ( current_etag == self . data . etag_repository ) and not force ) : self . logger . debug ( "Did not update %s, content was not modified" , self . data . full_name ) return False # Update last updated self . data . last_updated = self . repository_object . attributes . get ( "pushed_at" , 0 ) # Update last available commit await self . repository_object . set_last_commit ( ) self . data . last_commit = self . repository_object . last_commit # Get the content of hacs.json await self . get_repository_manifest_content ( ) # Update "info.md" self . information . additional_info = await get_info_md_content ( self ) return True