Libre RISC-V Mailing list Archives (accessible via public-inbox)
 help / color / Atom feed
From: Luke Kenneth Casson Leighton <lkcl@lkcl.net>
To: Libre-RISCV General Development <libre-riscv-dev@lists.libre-riscv.org>
Subject: Re: [libre-riscv-dev] monorepo
Date: Wed, 20 May 2020 20:08:52 +0100
Message-ID: <CAPweEDzNSnoGjkWFrZu6Rm96Pr5w+w8t=tbisRLUJNnUaMZ0KA@mail.gmail.com> (raw)
In-Reply-To: <CAC2bXD5ERSGx8TkYjQ2=Gk29Qfn-a1DqtSVAjS73pBp1AG5qDA@mail.gmail.com>

On Wed, May 20, 2020 at 7:43 PM Jacob Lifshay <programmerjake@gmail.com> wrote:

> what about if we have a monorepo where we have an automatically updated
> read-only git mirrors for the subdirectories that can be used independently
> as well as documenting that everywhere it's relevant? That would quite
> explicitly give the message that those subdirectories are intended to be
> usable separately from the rest of our code.

again: bear in mind that this is a non-essential administrative task -
one that even the discussion itself is a distraction.

to evaluate this idea - its viability to ensure that commits for the
correct portions of the monorepo are preserved - is itself a
distraction.

to *code* such a system is itself a distraction.

and also not a good idea.  how do you preserve commit history when two
files in different repo-mirrors are under the same commit?

answer: you don't.

question: how do you ensure that the commit checksum is the same
across the two repositories?

answer: you don't.

git mirrors are *exact* mirrors.

all of this is a serious distraction and we do not need distractions right now.

i have been doing software development now for almost 25 years: please
trust me when i say that a monorepo is detrimental to our project's
long-term goals.

for the "inconvenience" we have to tolerate, we end up with
strategically much more useful code, with CLEAR delineation and
boundaries between each repository.

please can we stop discussing this: the answer is no, and having to
explain it each and every time is a major distraction.


> > when you have time, look up the nightmare of freeswitch ignoring standard
> > development practices when it comes to dependency management.
> >
>
> I'm not advocating for us to have all external dependencies be a part of
> our monorepo, only the code we are actively developing and is closely
> related: nmutil, soc, ieee754fpu,

closely related only because we happen to be the only users of these
repositories... *at the moment*.

> and probably the layout code.

we discussed this with jean-paul, he advises very strongly not to do that.


l.

_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev

  reply index

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-15 15:30 [libre-riscv-dev] [Bug 313] New: Create Branch Pipeline for POWER9 bugzilla-daemon
2020-05-15 15:30 ` [libre-riscv-dev] [Bug 313] " bugzilla-daemon
2020-05-15 15:33 ` bugzilla-daemon
2020-05-15 17:26 ` bugzilla-daemon
2020-05-15 17:41 ` bugzilla-daemon
2020-05-15 18:58 ` bugzilla-daemon
2020-05-15 19:01 ` bugzilla-daemon
2020-05-15 19:14 ` bugzilla-daemon
2020-05-15 19:17 ` bugzilla-daemon
2020-05-15 19:28 ` bugzilla-daemon
2020-05-15 19:33 ` bugzilla-daemon
2020-05-15 19:36 ` bugzilla-daemon
2020-05-15 20:11 ` bugzilla-daemon
2020-05-15 20:31 ` bugzilla-daemon
2020-05-15 20:39 ` bugzilla-daemon
2020-05-15 20:46 ` bugzilla-daemon
2020-05-15 21:07 ` bugzilla-daemon
2020-05-15 21:26 ` bugzilla-daemon
2020-05-15 21:27 ` bugzilla-daemon
2020-05-15 22:23 ` bugzilla-daemon
2020-05-15 23:49 ` bugzilla-daemon
2020-05-16  0:56 ` bugzilla-daemon
2020-05-17 17:37 ` bugzilla-daemon
2020-05-17 18:11 ` bugzilla-daemon
2020-05-17 19:17 ` bugzilla-daemon
2020-05-19 12:30 ` bugzilla-daemon
2020-05-19 18:09 ` bugzilla-daemon
2020-05-19 18:30 ` bugzilla-daemon
2020-05-19 21:02 ` bugzilla-daemon
2020-05-19 21:06 ` bugzilla-daemon
2020-05-19 21:09   ` Jacob Lifshay
2020-05-19 21:14 ` bugzilla-daemon
2020-05-19 21:19 ` bugzilla-daemon
2020-05-19 21:22 ` bugzilla-daemon
2020-05-19 21:41 ` bugzilla-daemon
2020-05-20 18:43   ` [libre-riscv-dev] monorepo Jacob Lifshay
2020-05-20 19:08     ` Luke Kenneth Casson Leighton [this message]
2020-05-20 19:17       ` Luke Kenneth Casson Leighton
2020-05-19 21:44 ` [libre-riscv-dev] [Bug 313] Create Branch Pipeline for POWER9 bugzilla-daemon
2020-05-22  2:39 ` bugzilla-daemon
2020-05-22  8:44 ` bugzilla-daemon
2020-05-22 13:10 ` bugzilla-daemon
2020-05-22 13:46 ` bugzilla-daemon
2020-05-22 14:11 ` bugzilla-daemon
2020-05-22 14:33 ` bugzilla-daemon
2020-05-22 14:51 ` bugzilla-daemon
2020-05-22 18:21 ` bugzilla-daemon
2020-05-23  1:29 ` bugzilla-daemon
2020-05-23  3:06 ` bugzilla-daemon
2020-06-01 20:39 ` bugzilla-daemon
2020-06-02 18:27 ` bugzilla-daemon
2020-06-02 18:43 ` bugzilla-daemon
2020-06-02 19:09 ` bugzilla-daemon
2020-06-02 20:11 ` bugzilla-daemon
2020-06-02 20:19 ` bugzilla-daemon
2020-06-02 20:30 ` bugzilla-daemon
2020-06-02 21:03 ` bugzilla-daemon
2020-06-02 21:33 ` bugzilla-daemon
2020-06-02 21:38 ` bugzilla-daemon
2020-06-02 22:41 ` bugzilla-daemon

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='CAPweEDzNSnoGjkWFrZu6Rm96Pr5w+w8t=tbisRLUJNnUaMZ0KA@mail.gmail.com' \
    --to=lkcl@lkcl.net \
    --cc=libre-riscv-dev@lists.libre-riscv.org \
    /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

Libre RISC-V Mailing list Archives (accessible via public-inbox)

Archives are clonable: git clone --mirror https://inbox.libre-soc.org/libre-riscv-dev

Example config snippet for mirrors


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git