Merge lp://staging/~pfalcon/linaro-android-build-tools/revamp-build-copycat into lp://staging/linaro-android-build-tools
Proposed by
Paul Sokolovsky
Status: | Merged |
---|---|
Approved by: | Paul Sokolovsky |
Approved revision: | 467 |
Merged at revision: | 473 |
Proposed branch: | lp://staging/~pfalcon/linaro-android-build-tools/revamp-build-copycat |
Merge into: | lp://staging/linaro-android-build-tools |
Diff against target: | 0 lines |
To merge this branch: | bzr merge lp://staging/~pfalcon/linaro-android-build-tools/revamp-build-copycat |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Stevan Radaković | code | Needs Fixing | |
Review via email: mp+105981@code.staging.launchpad.net |
Description of the change
Revamp support for BUILD_COPYCAT on android-build, which can be used to skip building artifacts, and instead snatch them from some other build. Useful for testing LAVA submission, etc.
To post a comment you must log in.
Code changes looks good. +1.
It would be good if there were instructions on how to test this.
On Wed, May 16, 2012 at 7:40 PM, Paul Sokolovsky <<email address hidden>
> wrote:
> Paul Sokolovsky has proposed merging infrastructure) /code.launchpad .net/~pfalcon/ linaro- android- build-tools/ revamp- build-copycat/ +merge/ 105981<https:/ /code.launchpad .net/%7Epfalcon /linaro- android- build-tools/ revamp- build-copycat/ +merge/ 105981> /code.launchpad .net/~pfalcon/ linaro- android- build-tools/ revamp- build-copycat/ +merge/ 105981<https:/ /code.launchpad .net/%7Epfalcon /linaro- android- build-tools/ revamp- build-copycat/ +merge/ 105981> scripts/ helpers' helpers 2012-03-08 11:30:05 +0000 helpers 2012-05-16 14:09:23 +0000 2.20.1. tar.bz2` another_ build () { snapshots. linaro. org/android/ $1" target/ product/ $TARGET_ PRODUCT android- build.linaro. org/builds/ $1" target/ product/ $TARGET_ PRODUCT/ boot.tar. bz2"
> lp:~pfalcon/linaro-android-build-tools/revamp-build-copycat into
> lp:linaro-android-build-tools.
>
> Requested reviews:
> Linaro Infrastructure (linaro-
>
> For more details, see:
>
> https:/
>
> Revamp support for BUILD_COPYCAT on android-build, which can be used to
> skip building artifacts, and instead snatch them from some other build.
> Useful for testing LAVA submission, etc.
>
> --
>
> https:/
> Your team Linaro Infrastructure is requested to review the proposed merge
> of lp:~pfalcon/linaro-android-build-tools/revamp-build-copycat into
> lp:linaro-android-build-tools.
>
> === modified file 'build-
> --- build-scripts/
> +++ build-scripts/
> @@ -70,9 +70,21 @@
> #echo `get_version binutils-
> # 2.20.1
>
> +#
> +# Download another builds's artifacts, as if they were
> +# produced by this build. Used for testing, trigger by BUILD_COPYCAT
> +# build config setting.
> +#
> download_
> + local baseurl
> + if ! echo "$1" | grep '//' >/dev/null; then
> + baseurl="http://
> + else
> + baseurl=$1
> + fi
> + echo $baseurl
> + return
> local dir=out/
> - local baseurl="http://
> mkdir -p $dir
> pushd $dir
> wget --quiet "$baseurl/
>
>
>
--
Thanks and Regards,
Deepti