[PATCH] Bug 786225 Allow build for selective targets
Jan Provaznik
jprovazn at redhat.com
Mon Feb 6 11:37:48 UTC 2012
On 02/02/2012 09:55 PM, Scott Seago wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=786225
>
> In addition to allowing 'build all' (i.e. simultaneous build for all targets), also allow building for individual targets. This functionality was already exposed once built, but the only way to get there was to build all, then delete some builds.
>
> Now you can build for just one target after initial image creation.
> ---
> src/app/views/images/show.html.haml | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/src/app/views/images/show.html.haml b/src/app/views/images/show.html.haml
> index 7e777c0..6de8068 100644
> --- a/src/app/views/images/show.html.haml
> +++ b/src/app/views/images/show.html.haml
> @@ -45,6 +45,8 @@
> - if failed_build_count> 0
> .light
> = t('images.show.failed_build_attempts', :count => failed_build_count)
> + - elsif !@build
> + = button_to t('.build'), image_target_images_path(@image.id, :target => driver, :build_id => @build ? @build.id : nil), :method => :post
> - else
>
> %dd
ACK
More information about the aeolus-devel
mailing list