Example #1
0
 /**
  * {@inheritDoc}
  */
 public function getComposerInformation($identifier)
 {
     $resource = sprintf('%s:%s', escapeshellarg($identifier), $this->repoConfig['filename']);
     return ProcessUtil::getComposerInformation($this->cache, $this->infoCache, $this->repoConfig['asset-type'], $this->process, $identifier, $resource, sprintf('git show %s', $resource), sprintf('git log -1 --format=%%at %s', escapeshellarg($identifier)), $this->repoDir, '@');
 }
Example #2
0
 /**
  * {@inheritdoc}
  */
 public function getComposerInformation($identifier)
 {
     $resource = sprintf('%s %s', ProcessExecutor::escape($identifier), $this->repoConfig['filename']);
     return ProcessUtil::getComposerInformation($this->cache, $this->infoCache, $this->repoConfig['asset-type'], $this->process, $identifier, $resource, sprintf('hg cat -r %s', $resource), sprintf('hg log --template "{date|rfc3339date}" -r %s', ProcessExecutor::escape($identifier)), $this->repoDir);
 }