Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: I4edb327b78cc9965f2f18776279e4eadcb140d33
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Reviewed-on: https://otctools.jf.intel.com/review/8108
Tested-by: OTC Tools Tester <ed.bartosh@linux.intel.com>
Reviewed-by: Eduard Bartosh <eduard.bartosh@intel.com>
|
|
Change-Id: Ic23c7042f6cd995db7e6f689e2b570f2139280df
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Reviewed-on: https://otctools.jf.intel.com/review/8109
Tested-by: OTC Tools Tester <ed.bartosh@linux.intel.com>
Reviewed-by: Eduard Bartosh <eduard.bartosh@intel.com>
|
|
Change-Id: I23445c4f2af81034e23d955dd63e39febe6809d1
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Reviewed-on: https://otctools.jf.intel.com/review/8107
Tested-by: OTC Tools Tester <ed.bartosh@linux.intel.com>
Reviewed-by: Olev Kartau <olev.kartau@intel.com>
Reviewed-by: Eduard Bartosh <eduard.bartosh@intel.com>
|
|
Fixes: #1200
Change-Id: I19cd521ae1c2a5f8d8c5313ef13864aee103c87b
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
Reviewed-on: https://otctools.jf.intel.com/review/6042
Tested-by: OTC Tools Tester <ed.bartosh@linux.intel.com>
Reviewed-by: Eduard Bartosh <eduard.bartosh@intel.com>
|
|
Space separated list of images looks better from my point of view.
Change-Id: Ic4ebc7c68f349f5f5c0400a42fe5fc53a2546ca0
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Reviewed-on: https://otctools.jf.intel.com/review/6033
Tested-by: OTC Tools Tester <ed.bartosh@linux.intel.com>
Reviewed-by: Hasan Wan <hasan.wan@intel.com>
|
|
Fixes: #1194
Change-Id: Ic6a604112d9c4f30ce1904139a6332a95c78d517
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Reviewed-on: https://otctools.jf.intel.com/review/6038
Tested-by: OTC Tools Tester <ed.bartosh@linux.intel.com>
Reviewed-by: Hasan Wan <hasan.wan@intel.com>
|
|
As main is called through the entry point exception catching should be
inside it. Otherwise even local exception produce tracebacks.
Change-Id: I7845e034a17e81be7f21499bdbdc9e9ea47038bf
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Reviewed-on: https://otctools.jf.intel.com/review/6034
Tested-by: OTC Tools Tester <ed.bartosh@linux.intel.com>
Reviewed-by: Hasan Wan <hasan.wan@intel.com>
|
|
Added more information to the repa list output.
- list of projects for the submissions
- list of images for the submissions and groups
Change-Id: I468fe0124cfa9f32dc9871ee1d847bf3d829145e
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Reviewed-on: https://otctools.jf.intel.com/review/5993
Tested-by: OTC Tools Tester <ed.bartosh@linux.intel.com>
|
|
For other pieces of the workflow and for the sake of consistency it's
better to have the same naming scheme for projects and groups.
Change-Id: I86621486220c10b2c021e639508a09e8ab953401
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Reviewed-on: https://otctools.jf.intel.com/review/5994
Tested-by: OTC Tools Tester <ed.bartosh@linux.intel.com>
|
|
Rejection is done by creating SRs for all packages and immediately
changing their state to 'declined'.
Fixes: #1178
Change-Id: If055613bb642272a1b238f252b5a273a6062fd85
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Reviewed-on: https://otctools.jf.intel.com/review/5955
Tested-by: OTC Tools Tester <ed.bartosh@linux.intel.com>
|
|
Acceptance is done by creating SRs for all packages and immediately
changing their state to 'accepted'.
This change also introduces common APIs, which will be used for further
implementation of repa reject command.
Change-Id: I35660dd266941531dd8421b7c141c904eb350b9b
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
|
|
create_sr and set_sr_state APIs have been added to OBS class.
Both APIs are generic enough to go to oscapi.
They are going to be used by repa accept and repa reject subcommands.
Change-Id: Ifca34c9b655fdb1065adc178ce0252ce38b28365
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
|
|
As grouping is done by creating submitgroup projects repa list now
gets list of related groups differently. Previously it was getting it
from special 'groups' project. Now it analyses all *:submitgroup:*
projects and picks up only groups, related to the listed submissions.
Change-Id: I181a4525706ac066fc95941d7ba80a7154105b82
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
|
|
Grouping is done by creating group project and aggregating binaries
from submission projects into it.
Various checks for submissions have been implemented. Submissions
should have been published, they should not have common packages and
all grouped projects should have the same target project.
Note, that backend should be adjusted to build images for group
projects the same way as for submission projects.
Fixes: #1143
Change-Id: I5bdff34c951453707579579620bf3c28a0417d21
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Reviewed-on: https://otctools.jf.intel.com/review/5900
Tested-by: OTC Tools Tester <ed.bartosh@linux.intel.com>
|
|
get_source_packages, get_binary_packages and aggregate_packages APIs
have been added to OBS class.
All of added APIs are generic enough to go to oscapi.
All of them are going to be used by repa group subcommand.
Change-Id: I65597edfcad74687a45e9b22d81666f421354e47
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Reviewed-on: https://otctools.jf.intel.com/review/5899
Tested-by: OTC Tools Tester <ed.bartosh@linux.intel.com>
|
|
This implementation works only with OBS using osc API. It lists all
home:prerelease:* projects as a submissions and gets status from OBS and
from jsoned meta data, stored in description of OBS projects.
Information about groups is taken from special OBS project
home:prerelease:groups, which also holds information in jsoned form in
project description.
Fixes: #1097
Change-Id: I1fe61f755d4397c688888ce5156cbdfe1ca03e9c
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Reviewed-on: https://otctools.jf.intel.com/review/5840
Tested-by: OTC Tools Tester <ed.bartosh@linux.intel.com>
Reviewed-by: Hasan Wan <hasan.wan@intel.com>
|
|
This module will be used by repa subcommands to access OBS. It's
inherited from oscapi and extends it. As soon as new APIs are mature and
generic they'll be contributed to oscapi.
This change adds 2 new API calls: get_packages and get_build_results.
Change-Id: I284f9d62c634254f54b8545a0f7258ad5c7f704f
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Reviewed-on: https://otctools.jf.intel.com/review/5838
Tested-by: OTC Tools Tester <ed.bartosh@linux.intel.com>
|
|
This exception will be called from may repa modules. Let's put it in
common. Other common entities will go there too.
Change-Id: Ice0bc5abf5386a73dbb7b8457554688a2493f148
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Reviewed-on: https://otctools.jf.intel.com/review/5841
Tested-by: OTC Tools Tester <ed.bartosh@linux.intel.com>
Reviewed-by: Hasan Wan <hasan.wan@intel.com>
|
|
Configuration is taken from /etc/repa.conf and ~/.repa.conf, so it's
possible to specify system defaults in /etc/repa.conf and user-related
configuration options in ~/.repa.conf. ~/.repa.conf has higher priority
and any option from /etc/repa.conf can be reset in ~/.repa.conf
Configuration processing is implemented in a way that default values for
command line parameters are taken from configuration file(s).
Configuration section to use can be specified in command line too.
Fixes: #1141
Change-Id: I632f22674c282021983bc6a496ef1fccc0da3137
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Reviewed-on: https://otctools.jf.intel.com/review/5839
Tested-by: OTC Tools Tester <ed.bartosh@linux.intel.com>
Reviewed-by: Hasan Wan <hasan.wan@intel.com>
|
|
Example shows how to implement namespace repa package. Namespace
packages are used to distribute extra functionality separately from
repa, but within repa namespace. External modules implemented this way
can be imported this way 'from repa import module'.
Change-Id: I79da170c4ba2562c7a022428c556ba06f2519e49
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Reviewed-on: https://otctools.jf.intel.com/review/5837
Tested-by: OTC Tools Tester <ed.bartosh@linux.intel.com>
|
|
Example shows how to implement 3rd party repa plugins
Change-Id: I0bfc523a87d867e7d8564e00ef317d1ac824b9f2
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Reviewed-on: https://otctools.jf.intel.com/review/5836
Tested-by: OTC Tools Tester <ed.bartosh@linux.intel.com>
|
|
2 empty command modules are included: list and group. Their
implementation will be added soon. At the moment they're just printing
messages to the console.
Main module looks for subcommands using setup.py entry point group
'repa_commands'. This allows to develop and distribute extra repa
commands independently.
Change-Id: I599a040f33d137909539020027a6a35a341ea35c
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Reviewed-on: https://otctools.jf.intel.com/review/5834
Tested-by: OTC Tools Tester <ed.bartosh@linux.intel.com>
|
|
Created empty rpm package. At the moment only README file is included.
It's a base for further development.
This change integrates this project into OTC Tools continuous
integration system, which builds and installs every change, sent for
review to Gerrit.
Fixes: #1140
Change-Id: Ie9875b42c5a0dad85a72a2e0c2772c5070935878
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Reviewed-on: https://otctools.jf.intel.com/review/5833
Tested-by: OTC Tools Tester <ed.bartosh@linux.intel.com>
Reviewed-by: Hasan Wan <hasan.wan@intel.com>
|
|
Change-Id: Ic32024510cd3d36f4cbbc39c5f46547a903690bf
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
|