Re: [ANN] Support for fetching build configs from git for Android Builds

2012-02-22 Thread Paul Sokolovsky
Hello Alexander,

On Tue, 21 Feb 2012 16:08:22 +0100
Alexander Sack  wrote:

> On Mon, Feb 20, 2012 at 5:11 PM, Paul Sokolovsky
>  > wrote:
> 
> > Hello,
> >
> > As the result of implementation of
> >
> > https://blueprints.launchpad.net/linaro-android-infrastructure/+spec/build-config-in-git,
> > android-build.linaro.org now can indirectly fetch build config
> > stored in a git repository. To achieve that, bootstrap config (as
> > specified in android-build.linaro.org) should contain reference to
> > config's repo/branch/file (configuration variables are modeled on
> > the similar MANIFEST_* ones), e.g.:
> >
> > BUILD_CONFIG_REPO=git://
> > git.linaro.org/people/pfalcon/android/linaro/build-configs.git
> > BUILD_CONFIG_BRANCH=master
> > BUILD_CONFIG_FILENAME=panda-ics-gcc46-tilt-tracking-blob.conf
> >
> >
> > http://android.git.linaro.org/gitweb?p=linaro/build-configs.git;a=summary
> > was created to store configs for the official builds in the Gerrit
> > tree.
> >
> > Sample job is available here:
> > https://android-build.linaro.org/builds/~pfalcon/git-build-config/
> > (it uses personal repo as a test).
> >
> >
> >
> That's a great feature ...
> 
> I see a dev now could retrieve that config from git to then reproduce
> an exact build using the same configs and toolchain etc.

Nothing new here, any build's page already contained the exact build
config used for that particular build. E.g.

https://android-build.linaro.org/builds/~linaro-android/imx6-ics-gcc47-freescalelt-stable-open/#build=5

shows the exact build config used that build, #5. If a job config was
changed later and new builds fire with new config, that pages still
retains original config used for build #5.

In that respect, storing build configs in git actually makes it all
less visible. That's why I was a bit surprised to receive this request
- I thought that the whole purpose of Android Build is to keep it
visible, explicit, and interactive. Well, we know two major usecases for
configs in git - better change control and mass-editing. But it would
be little more complicated to figure out an answer to questions like
"What kernel tree used in this build?", and to explain (to community
members for example) how to find out answer to that question.

> What kind of
> tools can we offer to make that easy?

So, that's orthogonal to this, and as Andy wrote, it's in works. And
I'm glad that we agreed to abstract that into a script (vs to just
textual instructions), because, again, having build configs in git
just makes it a bit more complex and require more steps to accomplish.


-- 
Best Regards,
Paul

Linaro.org | Open source software for ARM SoCs
Follow Linaro: http://www.facebook.com/pages/Linaro
http://twitter.com/#!/linaroorg - http://www.linaro.org/linaro-blog

___
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev


Re: [ANN] Support for fetching build configs from git for Android Builds

2012-02-21 Thread Zach Pfeffer
On 20 February 2012 10:11, Paul Sokolovsky  wrote:
> Hello,
>
> As the result of implementation of
> https://blueprints.launchpad.net/linaro-android-infrastructure/+spec/build-config-in-git
>  ,
> android-build.linaro.org now can indirectly fetch build config stored
> in a git repository. To achieve that, bootstrap config (as specified
> in android-build.linaro.org) should contain reference to config's
> repo/branch/file (configuration variables are modeled on the similar
> MANIFEST_* ones), e.g.:
>
> BUILD_CONFIG_REPO=git://git.linaro.org/people/pfalcon/android/linaro/build-configs.git
> BUILD_CONFIG_BRANCH=master
> BUILD_CONFIG_FILENAME=panda-ics-gcc46-tilt-tracking-blob.conf
>
>
> http://android.git.linaro.org/gitweb?p=linaro/build-configs.git;a=summary
> was created to store configs for the official builds in the Gerrit tree.
>
> Sample job is available here:
> https://android-build.linaro.org/builds/~pfalcon/git-build-config/ (it
> uses personal repo as a test).

Thank you Paul. This is awesome. We'll switch the builds over after
12.02 comes out.

>
> --
> Best Regards,
> Paul
>
> Linaro.org | Open source software for ARM SoCs
> Follow Linaro: http://www.facebook.com/pages/Linaro
> http://twitter.com/#!/linaroorg - http://www.linaro.org/linaro-blog



-- 
Zach Pfeffer
Android Platform Team Lead, Linaro Platform Teams
Linaro.org | Open source software for ARM SoCs
Follow Linaro: http://www.facebook.com/pages/Linaro
http://twitter.com/#!/linaroorg - http://www.linaro.org/linaro-blog

___
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev


Re: [ANN] Support for fetching build configs from git for Android Builds

2012-02-21 Thread Andy Doan

On 02/21/2012 09:08 AM, Alexander Sack wrote:

On Mon, Feb 20, 2012 at 5:11 PM, Paul Sokolovsky
mailto:paul.sokolov...@linaro.org>> wrote:

Hello,

As the result of implementation of

https://blueprints.launchpad.net/linaro-android-infrastructure/+spec/build-config-in-git
,
android-build.linaro.org  now can
indirectly fetch build config stored
in a git repository. To achieve that, bootstrap config (as specified
in android-build.linaro.org )
should contain reference to config's
repo/branch/file (configuration variables are modeled on the similar
MANIFEST_* ones), e.g.:


BUILD_CONFIG_REPO=git://git.linaro.org/people/pfalcon/android/linaro/build-configs.git
BUILD_CONFIG_BRANCH=master


BUILD_CONFIG_FILENAME=panda-ics-gcc46-tilt-tracking-blob.conf


http://android.git.linaro.org/gitweb?p=linaro/build-configs.git;a=summary
was created to store configs for the official builds in the Gerrit tree.

Sample job is available here:
https://android-build.linaro.org/builds/~pfalcon/git-build-config/

(it
uses personal repo as a test).



That's a great feature ...

I see a dev now could retrieve that config from git to then reproduce an
exact build using the same configs and toolchain etc. What kind of tools
can we offer to make that easy?


Paul and I have been looking into a blueprint that has a similar goal:



I think we'll need to update the work we've done so far to accommodate 
this new method.


___
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev


Re: [ANN] Support for fetching build configs from git for Android Builds

2012-02-21 Thread Alexander Sack
On Mon, Feb 20, 2012 at 5:11 PM, Paul Sokolovsky  wrote:

> Hello,
>
> As the result of implementation of
>
> https://blueprints.launchpad.net/linaro-android-infrastructure/+spec/build-config-in-git,
> android-build.linaro.org now can indirectly fetch build config stored
> in a git repository. To achieve that, bootstrap config (as specified
> in android-build.linaro.org) should contain reference to config's
> repo/branch/file (configuration variables are modeled on the similar
> MANIFEST_* ones), e.g.:
>
> BUILD_CONFIG_REPO=git://
> git.linaro.org/people/pfalcon/android/linaro/build-configs.git
> BUILD_CONFIG_BRANCH=master
> BUILD_CONFIG_FILENAME=panda-ics-gcc46-tilt-tracking-blob.conf
>
>
> http://android.git.linaro.org/gitweb?p=linaro/build-configs.git;a=summary
> was created to store configs for the official builds in the Gerrit tree.
>
> Sample job is available here:
> https://android-build.linaro.org/builds/~pfalcon/git-build-config/ (it
> uses personal repo as a test).
>
>
>
That's a great feature ...

I see a dev now could retrieve that config from git to then reproduce an
exact build using the same configs and toolchain etc. What kind of tools
can we offer to make that easy?

-- 
Alexander Sack
Technical Director, Linaro Platform Teams
http://www.linaro.org | Open source software for ARM SoCs
http://twitter.com/#!/linaroorg - http://www.linaro.org/linaro-blog
___
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev


[ANN] Support for fetching build configs from git for Android Builds

2012-02-20 Thread Paul Sokolovsky
Hello,

As the result of implementation of
https://blueprints.launchpad.net/linaro-android-infrastructure/+spec/build-config-in-git
 ,
android-build.linaro.org now can indirectly fetch build config stored
in a git repository. To achieve that, bootstrap config (as specified
in android-build.linaro.org) should contain reference to config's
repo/branch/file (configuration variables are modeled on the similar
MANIFEST_* ones), e.g.:

BUILD_CONFIG_REPO=git://git.linaro.org/people/pfalcon/android/linaro/build-configs.git
BUILD_CONFIG_BRANCH=master
BUILD_CONFIG_FILENAME=panda-ics-gcc46-tilt-tracking-blob.conf


http://android.git.linaro.org/gitweb?p=linaro/build-configs.git;a=summary
was created to store configs for the official builds in the Gerrit tree.

Sample job is available here:
https://android-build.linaro.org/builds/~pfalcon/git-build-config/ (it
uses personal repo as a test).


-- 
Best Regards,
Paul

Linaro.org | Open source software for ARM SoCs
Follow Linaro: http://www.facebook.com/pages/Linaro
http://twitter.com/#!/linaroorg - http://www.linaro.org/linaro-blog

___
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev