public void setRepoFileName(String stackName, Long repoVersionId) {
    this.m_repoFileName = String.format("ambari-%s-%s", stackName.toLowerCase(), repoVersionId.toString());
  }
Sets filename for the repo

@param stackName  name of the stack
@param repoVersionId repository version id
ambari-server/src/main/java/org/apache/ambari/server/agent/CommandRepository.java