[DRE-commits] [librarian-puppet] 55/153: Setting PuppetForge remote URL in repo_v3 constructor.
Stig Sandbeck Mathisen
ssm at debian.org
Wed Jun 1 20:30:41 UTC 2016
This is an automated email from the git hooks/post-receive script.
ssm pushed a commit to branch master
in repository librarian-puppet.
commit 4c43c70457a04fff80b8c310a3e92c95d7ebb2ad
Author: Vjekoslav Giacometti <vjeko at entropia.hr>
Date: Mon Sep 22 12:50:03 2014 +0200
Setting PuppetForge remote URL in repo_v3 constructor.
---
lib/librarian/puppet/source/forge/repo_v3.rb | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/lib/librarian/puppet/source/forge/repo_v3.rb b/lib/librarian/puppet/source/forge/repo_v3.rb
index de9b2f8..fe7d23a 100644
--- a/lib/librarian/puppet/source/forge/repo_v3.rb
+++ b/lib/librarian/puppet/source/forge/repo_v3.rb
@@ -10,6 +10,11 @@ module Librarian
PuppetForge.user_agent = "librarian-puppet/#{Librarian::Puppet::VERSION}"
+ def initialize(source, name)
+ PuppetForge.host = source.uri.clone
+ super(source, name)
+ end
+
def get_versions
get_module.releases.map{|r| r.version}
end
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/librarian-puppet.git
More information about the Pkg-ruby-extras-commits
mailing list