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 7. \fBdiff\fR - show the difference between projects
50 .\" ===========================================================================
52 .\" ===========================================================================
58 Print \fIrepa\fR version and exit.
64 Print short help text and exit.
68 .B \-s, \-\-section SECTION
74 .B \-p, \-\-project PROJECT
82 Turn on colorized output
85 .\" ===========================================================================
86 .\" Commands descriptions
87 .\" ===========================================================================
91 .\" The "list" command description
93 .SS \fBlist\fR [\-\-help] [\-\-processes <processes>] [\-\-showurls] [\-\-ignore <regexp>]
96 List submissions in the following format:
98 <Submission> <Target OBS Project> <status> <list of git paths>
102 submit/tizen/20140327.041126 broken source sdbd
104 submit/tizen/20140327.052722 package build failed emulator-yagl
106 submit/tizen/20140327.055105 package building libav zlib
108 submit/tizen/20140327.080733 image building bluez
110 submit/tizen/20140328.063916 ready connman
112 submit/tizen/20140328.080409 ready sdbd
118 .\" The "list" command's options
125 Print short help text about the "list" command and exit.
132 Use PROCESSES to specify the amount of python processes to run in parallel. Usage of this option can significantly speed up repa list.
133 Note, that this parameter can also be specified in \fIrepa\fR configuration file.
139 Show OBS and download urls in the output. It's switched off by default.
140 Note, that this parameter can also be specified in \fIrepa\fR configuration file.
144 .B \-\-ignore <regexp>
146 Ignore packaging failures for specified regexp. <regexp> is a slash-separated string <repository>/<architecture>/<package>, for example arm.*/armv7./.*_aggregate.
147 Note, that this parameter can also be specified in \fIrepa\fR configuration file.
152 .\" The "info" command description
154 .SS \fBinfo\fR [\-\-help] \-\-project <project> <submission or group>
157 Show detailed information about submission
159 Download Url: url of prerelease directory on download server
160 OBS Url: url of prerelease OBS project
161 Images: list of image names and their build statuses
162 Package build failures: list of failed package builds
169 Submission: submit/tizen/20140328.213722
171 Download Url: http://download.tizen.org/prerelease/tizen/ivi/ivi/tizen_20140328.8/tizen_20140328.8.20140328.213722/
173 OBS Url: https://build.tizen.org/project/show?project=home:prerelease:Tizen:IVI:submit:tizen:20140328.213722
177 ivi-min-mbr-i586 success
178 ivi-min-efi-i586 success
179 ivi-mbr-i586-emul success
182 ivi-mbr-i586-JJ failed
184 Package build failures:
185 wifi-direct-manager failed
189 .\" The "info" command's options
196 Print short help text about the "info" command and exit.
200 .\" The "accept" command description
202 .SS \fBaccept\fR [options] <submission or group>
205 Accept submission or submission group. Acceptance is done by creating
206 Submit Request in OBS for submission or group and immediately accepting it.
209 .\" The "accept" command's options
216 Print short help text about the "accept" command and exit.
222 Add acceptance comment for created SR.
226 .\" The "reject" command description
228 .SS \fBreject\fR [options] <submission or group>
231 Reject submission or submission group. Rejection is done by creating
232 Submit Request in OBS for submission or group and immediately rejecting it.
235 .\" The "reject" command's options
242 Print short help text about the "reject" command and exit.
248 Add rejection comment for created SR.
252 .\" The "group" command description
254 .SS \fBgroup\fR [options] <list of submissions>
257 Group submissions into submit group. Submit group is a temporary by its nature.
258 It's created for testing purposes. Internally submit group is an OBS project with
259 aggregated packages from groupped submissions. It's a way to test, accept or
260 or reject multiple submissions at once.
262 Note! No package builds are performed in group projects. The grouping function
263 aggregates binaries only and is intended only for image testing.
266 .\" The "group" command's options
273 Print short help text about the "group" command and exit.
279 Add comment to created submit group. It will be shown by list command.
285 Force group creation for submissions without binary packages. Useful when grouping failed submissions for rejection.
289 .\" The "rmgroup" command description
291 .SS \fBrmgroup\fR [options] <submit group>
297 .\" The "rmgroup" command's options
304 Print short help text about the "rmgroup" command and exit.
309 .\" The "diff" command description
311 .SS \fBdiff\fR [\-\-help] <project1> <manifest of target project> <manifest1>
314 Show the difference between manifest of target project and manifest of <project1> in the following format:
316 <Git path> <Revision in project1> <Revision in the target OBS Project> <Tag, accepted into project1> <status>
321 $ repa -p Tizen:IVI diff Tizen:Common ivi_0140508.2_ia32.xml common_20140507.5_ia32.xml
323 platform/core/appfw/aul-1 3644ad5459 e4f2b22012 submit/tizen/20140502.084937 pending
325 platform/core/appfw/shortcut 502c7807b3 27bbf892e0 submit/tizen/20140430.020549 pending
327 platform/core/connectivity/nfc-manager-neard ea952dc454 88793ab1ff
329 platform/core/connectivity/smartcard-service e45ae0bdfb 7d5da70551 submit/tizen/20140506.101200 pending
331 platform/core/messaging/msg-service c988cc8b55 a9eed6a734 submit/tizen/20140502.105814 pending
333 platform/core/system/tlm 3ddbc6bc14 dc72779317 submit/tizen/20140430.130050
335 platform/framework/web/crosswalk 42dcc1327b 4280e52757 submit/tizen/20140506.123703 pending
338 Status 'pending' means that submission is pending for the target project. In colorized mode pending submissions are colorized and 'pending' status is not shown.
344 .\" The "diff" command's options
351 Print short help text about the "diff" command and exit.
355 .SH CONFIGURATION FILE
358 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.
369 apiurl = https://api.tizen.org
372 apiuser = your_user_name
375 apipasswd = your_password
390 ignore = arm-.*/armv7./.*_aggregate$
395 Mandatory options: apiurl, apiuser, apipasswd and project
399 Some options (project, processes, colorize, showurls, ignore) can be overridden by commandline options (--project, --processes, --colorize, --showurls, --ignore)
403 Please, report bugs to Ed Bartosh <eduard.bartosh@intel.com>.
407 Copyright (C) Intel Corporation 2013
410 This program is free software; you can redistribute it and/or modify
411 it under the terms of the GNU General Public License, version 2,
412 as published by the Free Software Foundation.
414 This program is distributed in the hope that it will be useful, but
415 WITHOUT ANY WARRANTY; without even the implied warranty of
416 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
417 General Public License for more details.
421 Repa is developed and maintained by Ed Bartosh <eduard.bartosh@intel.com>.