[SCM] ci-tooling packaging branch, master, updated. 545b64ae7ac0624d48600c38287d6cb2a5e344c4
Harald Sitter
apachelogger-guest at moszumanska.debian.org
Sat Jan 10 21:17:52 UTC 2015
Gitweb-URL: http://git.debian.org/?p=pkg-kde/ci-tooling.git;a=commitdiff;h=545b64a
The following commit has been merged in the master branch:
commit 545b64ae7ac0624d48600c38287d6cb2a5e344c4
Author: Harald Sitter <sitter at kde.org>
Date: Sat Jan 10 22:17:47 2015 +0100
document things
---
lib/projects.rb | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/lib/projects.rb b/lib/projects.rb
index f0f46dc..e1be39c 100644
--- a/lib/projects.rb
+++ b/lib/projects.rb
@@ -4,29 +4,37 @@ require_relative 'debian/control'
Scm = Struct.new(:type, :url, :branch)
class Project
+ # Name of the thing (e.g. the repo name)
attr_reader :name
+ # Super component (e.g. plasma)
attr_reader :component
attr_reader :upstream_scm
+ # Array of binary packages (debs) provided by this project
attr_reader :provided_binaries
+ # Array of package dependencies, initialized by default from control file
attr_reader :dependencies
+ # Array of package dependees, empty Array by default
attr_reader :dependees
+ # Array of branch names that are series specific. May be empty if there are none.
attr_reader :series_branches
+ # Boolean whether this project uses autopkgtest
attr_reader :autopkgtest
+ # String of the SCM uri
attr_reader :packaging_scm
def initialize(name, component, url_base='git.debian.org:/git/pkg-kde/')
@name = name
@component = component
- @upstream_scm = nil
+ @upstream_scm = {}
@provided_binaries = []
@dependencies = []
@dependees = []
@series_branches = []
@autopkgtest = false
- @packaging_scm = url_base + component + '/' + name
+ @packaging_scm = "#{url_base}#{component}/#{name}"
# FIXME: git dir needs to be set somewhere, somehow, somewhat, lol, kittens?
FileUtils.mkdir_p("git/#{component}") unless Dir.exist?("git/#{component}")
@@ -63,7 +71,6 @@ class Project
@series_branches << branch.gsub('refs/remotes/origin/', '')
end
- upstream_scm = {}
if File.exist?('debian/meta/upstream_scm.json')
upstream_scm = JSON::parse(File.read('debian/meta/upstream_scm.json'))
end
--
ci-tooling packaging
More information about the pkg-kde-commits
mailing list