All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ed Tanous <edtanous@google.com>
To: Paul Menzel <pmenzel@molgen.mpg.de>
Cc: Brandon Kim <brandonkim@google.com>,
	Benjamin Fair <benjaminfair@google.com>,
	OpenBMC Maillist <openbmc@lists.ozlabs.org>
Subject: Re: Upstreaming downstream Google BMC repositories
Date: Thu, 7 Jan 2021 13:20:00 -0800	[thread overview]
Message-ID: <CAH2-KxDdHqNXJ0uLd7QNt76MUHbt8WQd52+biaZavN4Tzb2=Vg@mail.gmail.com> (raw)
In-Reply-To: <711a5031-c774-4b03-6a6e-1f14d8699789@molgen.mpg.de>

On Thu, Jan 7, 2021 at 10:26 AM Paul Menzel <pmenzel@molgen.mpg.de> wrote:
>
>
> Dear Benjamin,
>
>
> Am 07.01.21 um 18:33 schrieb Benjamin Fair:
>
> > On Thu, 7 Jan 2021 at 00:09, Paul Menzel <pmenzel@molgen.mpg.de> wrote:
>
> >> Am 07.01.21 um 02:49 schrieb Brandon Kim:
> >>
> >>> We're exploring ways of upstreaming some of the downstream repositories
> >>> from Google to openbmc/* .
> >>>
> >>> Half, if not most of the downstream repositories are C++ daemons that are
> >>> specific to Google so we didn't want to create a bunch of new
> >>> openbmc/<repo> that no one would use.
> >>>
> >>> An idea that Ed gave me was having something like openbmc/google-misc
> >>> repository for all these repositories and if there are any that seem useful
> >>> to others, we can break it out into a different, separate repository in
> >>> openbmc/* layer.
> >>>
> >>> Please let me know if this seems like a good idea and I'm open to other
> >>> suggestions!
> >>
> >> Thank you very much for putting in the effort to make these repositories
> >> public.
> >>
> >> Using the openbmc/google-misc approach, how would the git history
> >> (commit log) be handled?
> >>
> >> Personally, I would prefer having small repositories as git makes that
> >> very easy to handle. Also it might save you time, as you do not have to
> >> think about what to do with the git history, and do not have to merge it.
> >
> > We would most likely squash the history together, in case there's
> > something confidential or private in the earlier commits.
>
> Understood. If that could be avoided, and only the confidential stuff
> removed, that would be great, as the git history gives a lot of insight
> into design decisions.

It should be noted, there isn't really much git history to speak of
for the things we're looking at pushing.  The intent was that we'd
write good descriptive commit messages when each piece was pushed.
With that said, I very much suspect that these things won't be
terribly useful outside of google.  If they are useful outside of
google-built systems, they really don't belong in meta-google or
google-misc.

Some examples of things that would go in this repository.
1. The google public keys/certs.  I would hope that non-google systems
are using their own root certificates.
2. Disabling of ssh login flows.  This is done in a very specific way
that requires interfacing with out of network components and protocols
that are specific to our systems.  I'd be surprised if anyone found
this useful.
3. In-band telemetry code implementing interfaces for interfacing to
google infrastructure.  These haven't been built yet, but will likely
be a translation from the public facing APIs (Dbus/redfish/ipmi) to
interface them to google infrastructure.  it's unlikely anyone else
would use this.

>
> > Many small repos would be easy to handle for us, but OpenBMC may not
> > want to have lots of small Google-specific repos in their org as this
> > may make it more cumbersome for others to find the relevant repos that
> > they're interested in.
>
> Understood. On the other, with small repositories, they can only use the
> parts they need.

See above, if there are pieces that people want to use on non-google
systems, they don't belong in meta-google.  With that said, your
statement is incorrect, recipes are not required to be 1:1 with
repositories.  Multiple recipes can point at subfolders of the same
repository, allowing you to "use the parts they need" by simply adding
recipes.  With that said, this is not the intent, and I would much
rather move code to a more common layer (meta-phosphor for example)
rather than have non google systems including meta-google in their
bblayers.conf.

>
> > There's also overhead for the project maintainers to create the
> > relevant groups and permissions for each new repo.
> Please note, that Without knowing the contents of the repositories and
> the size, this is all just my opinion. If the OpenBMC “admins“ can
> easily create several repositories, I’d prefer that route.

Today creating new repos is non-trivial, and IMO we already have too
many of them, which is causing a lot of thrash.  I'd really like to
see us start consolidating some of these (see my patches to
consolidate all the meta-layers into openbmc/openbmc with the owners
plugin)

> If it’s too
> much work for them, their preference should be chosen.
>
>
> Kind regards,
>
> Paul

  reply	other threads:[~2021-01-07 21:22 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-07  1:49 Upstreaming downstream Google BMC repositories Brandon Kim
2021-01-07  8:01 ` Paul Menzel
2021-01-07 17:33   ` Benjamin Fair
2021-01-07 18:25     ` Paul Menzel
2021-01-07 21:20       ` Ed Tanous [this message]
2021-01-11 21:13         ` Patrick Williams
2021-01-11 21:51           ` Ed Tanous
2021-01-14 23:17             ` Brandon Kim
2021-01-20 19:04               ` Ed Tanous
2021-01-30 22:19               ` Brad Bishop
2021-01-30 22:23                 ` Ed Tanous
2021-02-01  2:21                   ` Brandon Kim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH2-KxDdHqNXJ0uLd7QNt76MUHbt8WQd52+biaZavN4Tzb2=Vg@mail.gmail.com' \
    --to=edtanous@google.com \
    --cc=benjaminfair@google.com \
    --cc=brandonkim@google.com \
    --cc=openbmc@lists.ozlabs.org \
    --cc=pmenzel@molgen.mpg.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.