Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

No Builds

5 views
Skip to first unread message

Sean McArthur

unread,
May 21, 2013, 12:18:50 AM5/21/13
to dev-id...@lists.mozilla.org
http://www.futurealoof.com/posts/no-builds.html

tl;dr - Instead of build scripts, postinstall, postupdate, etc, everything
that is needed is generated the first time it's requested, and then cached.

Interesting idea. As I slay dragons in BigTentia, I imagine this approach
would reduce the amount of room for dragons.

Is it worth it?

Ben Adida

unread,
May 21, 2013, 12:25:10 AM5/21/13
to Sean McArthur, dev-id...@lists.mozilla.org
It's interesting! I think one area where it might not work super well is
the generation of secrets/keypairs, but who says things have to be black
and white, you could say "no builds except these super well defined
exceptions."

-Ben
> _______________________________________________
> dev-identity mailing list
> dev-id...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-identity
>

Gene Wood

unread,
May 21, 2013, 12:23:39 PM5/21/13
to Ben Adida, dev-id...@lists.mozilla.org, Sean McArthur
Looks very cool to me. I'm open to moving from a build/package deployment
model to a git checkout tag model.

Ben, in addition to the secrets and keys that are put on the machine
through config management (e.g. root.cert, the cookie secret, etc.) are
there other secrets/keys that are generated at build time?
-Gene

Lloyd Hilaiel

unread,
May 21, 2013, 12:32:09 PM5/21/13
to Sean McArthur, dev-id...@lists.mozilla.org
tl;dr; Yes for newer projects! But I'm not convinced it's worth dropping everything and re-working persona.

I love this approach. When combined with all the work we've done with cache compatibility, I think it's highly complementary to our current toolchain, and comes with zero performance impact once we've got forward proxies and eventually CDN.

The thing I like the most about it is that it makes it easier to build tests that exercise code that is currently only run upon deployment. (for instance, wouldn't it be great to exercise all of the magnification logic and run frontend tests on the minified version?)

This: "Tests can run without any rebuilding and they use the same code as the production app"

and finally deployment is faster and can always run with all locales enabled.

+1

lloyd

Ben Adida

unread,
May 21, 2013, 1:17:01 PM5/21/13
to Lloyd Hilaiel, dev-id...@lists.mozilla.org, Sean McArthur
On Tue, May 21, 2013 at 9:32 AM, Lloyd Hilaiel <ll...@mozilla.com> wrote:

> tl;dr; Yes for newer projects! But I'm not convinced it's worth dropping
> everything and re-working persona.
>

Ah, that is the voice of reason right there. If it ain't broke...

-Ben
0 new messages