1 .TH REPA "1" "December 2013" "repa 0.2" "User Commands"
6 repa - maintain code submissions to Tizen projects
11 .B repa [<global options>] <command> [<options>] <args>
16 \fIRepa\fR is a generic tool for maintaining code submissions to Tizen projects.
17 It allows to list submissions, group them into submission groups, accept or reject
20 Submission is a code in the git tree(s) tagged with sumbit tag. Submission includes
21 code from one or multiple projects(so called group submission).
23 Submission group is a temporary group of submissions, created for testing purposes.
29 1. \fBlist\fR - list submissions and submission groups
32 2. \fBinfo\fR - show detailed info about submission or submission group
35 3. \fBaccept\fR - accept submissions
38 4. \fBreject\fR - reject submissions
41 5. \fBgroup\fR - group submissions into submission group
44 6. \fBrmgroup\fR - remove submission group
47 .\" ===========================================================================
49 .\" ===========================================================================
55 Print \fIrepa\fR version and exit.
61 Print short help text and exit.
65 .B \-s, \-\-section SECTION
71 .B \-p, \-\-project PROJECT
79 Turn on colorized output
82 .\" ===========================================================================
83 .\" Commands descriptions
84 .\" ===========================================================================
88 .\" The "list" command description
90 .SS \fBlist\fR [\-\-help] [\-\-processes <processes>]
93 List submissions in the following format:
95 <Submission> <Target OBS Project> <status> <list of git paths>
99 submit/tizen/20140327.041126 broken source sdbd
101 submit/tizen/20140327.052722 package build failed emulator-yagl
103 submit/tizen/20140327.055105 package building libav zlib
105 submit/tizen/20140327.080733 image building bluez
107 submit/tizen/20140328.063916 ready connman
109 submit/tizen/20140328.080409 ready sdbd
115 .\" The "list" command's options
122 Print short help text about the "list" command and exit.
129 Use PROCESSES to specify the amount of python processes to run in parallel. Usage of this option can significantly speed up repa list.
130 Note, that this parameter can also be specified in \fIrepa\fR configuration file.
136 .\" The "info" command description
138 .SS \fBinfo\fR [\-\-help] \-\-project <project> <submission or group>
141 Show detailed information about submission
143 Download Url: url of prerelease directory on download server
144 OBS Url: url of prerelease OBS project
145 Images: list of image names and their build statuses
146 Package build failures: list of failed package builds
153 Submission: submit/tizen/20140328.213722
155 Download Url: http://download.tizen.org/prerelease/tizen/ivi/ivi/tizen_20140328.8/tizen_20140328.8.20140328.213722/
157 OBS Url: https://build.tizen.org/project/show?project=home:prerelease:Tizen:IVI:submit:tizen:20140328.213722
161 ivi-min-mbr-i586 success
162 ivi-min-efi-i586 success
163 ivi-mbr-i586-emul success
166 ivi-mbr-i586-JJ failed
168 Package build failures:
169 wifi-direct-manager failed
173 .\" The "info" command's options
180 Print short help text about the "info" command and exit.
184 .\" The "accept" command description
186 .SS \fBaccept\fR [options] <list of submissions and groups>
189 Accept submissions and submission groups. Acceptance is done by creating
190 Submit Requests in OBS for every submission and immediately accepting them.
193 .\" The "accept" command's options
200 Print short help text about the "accept" command and exit.
206 Add acceptance comment to created SRs.
210 .\" The "reject" command description
212 .SS \fBreject\fR [options] <list of submissions and groups>
215 Reject submissions and submission groups. Rejection is done by creating
216 Submit Requests in OBS for every submission and immediately rejecting them.
219 .\" The "reject" command's options
226 Print short help text about the "reject" command and exit.
232 Add rejection comment to created SRs.
236 .\" The "group" command description
238 .SS \fBgroup\fR [options] <list of submissions>
241 Group submissions into submit group. Submit group is a temporary by its nature.
242 It's created for testing purposes. Internally submit group is an OBS project with
243 aggregated packages from groupped submissions. It's a way to test, accept or
244 or reject multiple submissions at once.
246 Note! No package builds are performed in group projects. The grouping function
247 aggregates binaries only and is intended only for image testing.
250 .\" The "group" command's options
257 Print short help text about the "group" command and exit.
263 Add comment to created submit group. It will be shown by list command.
269 Force group creation for submissions without binary packages. Useful when grouping failed submissions for rejection.
273 .\" The "rmgroup" command description
275 .SS \fBrmgroup\fR [options] <submit group>
281 .\" The "rmgroup" command's options
288 Print short help text about the "rmgroup" command and exit.
291 .SH CONFIGURATION FILE
294 Configuration file has an INI-file syntax. \fIrepa\fR looks for config files in two locations: global /etc/repa.conf and local ~/.repa.conf. Values from global configuration file are overwritten by values from local configuration file. Command line options have highest priority and overwrite options from configuration files.
305 apiurl = https://api.tizen.org
308 apiuser = your_user_name
311 apipasswd = your_password
324 Mandatory options: apiurl, apiuser, apipasswd and project
328 Some options (project, processes, colorize) can be overridden by commandline options (--project, --processes, --colorize)
332 Please, report bugs to Ed Bartosh <eduard.bartosh@intel.com>.
336 Copyright (C) Intel Corporation 2013
339 This program is free software; you can redistribute it and/or modify
340 it under the terms of the GNU General Public License, version 2,
341 as published by the Free Software Foundation.
343 This program is distributed in the hope that it will be useful, but
344 WITHOUT ANY WARRANTY; without even the implied warranty of
345 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
346 General Public License for more details.
350 Repa is developed and maintained by Ed Bartosh <eduard.bartosh@intel.com>.