--
--
Chromium OS Developers mailing list: chromiu...@chromium.org
View archives, change email options, or unsubscribe:
https://groups.google.com/a/chromium.org/group/chromium-os-dev
the roadmap for the SDK is explicitly breaking this flow. there has never been a requirement to run `repo sync` inside the SDK.-mikeOn Mon, Mar 27, 2023 at 6:03 PM Dmitry Torokhov <dt...@chromium.org> wrote:Hmm, this is not a welcome change... I have always been running "repo sync" from inside the chroot (which I enter in a few tmuxed sessions after rebooting my workstation and don't exit until the next reboot), and would like to continue doing so...
On Mon, Mar 27, 2023 at 4:07 PM Mike Frysinger <vap...@chromium.org> wrote:the roadmap for the SDK is explicitly breaking this flow. there has never been a requirement to run `repo sync` inside the SDK.-mikeOn Mon, Mar 27, 2023 at 6:03 PM Dmitry Torokhov <dt...@chromium.org> wrote:Hmm, this is not a welcome change... I have always been running "repo sync" from inside the chroot (which I enter in a few tmuxed sessions after rebooting my workstation and don't exit until the next reboot), and would like to continue doing so...The end state we hope to be at is that entering the SDK is something you don't (or rarely) need to do, which I think mitigates your concern. Tools such as build_packages will automatically enter the SDK as required.
See go/cros-sdk-revamp:vision for a high level overview of where we plan to be. (this is a public list, so sorry to non-googlers who won't be able to see this doc 🙁)
On Mon, Mar 27, 2023, 3:27 PM Jack Rosenthal <jros...@chromium.org> wrote:On Mon, Mar 27, 2023 at 4:07 PM Mike Frysinger <vap...@chromium.org> wrote:the roadmap for the SDK is explicitly breaking this flow. there has never been a requirement to run `repo sync` inside the SDK.-mikeOn Mon, Mar 27, 2023 at 6:03 PM Dmitry Torokhov <dt...@chromium.org> wrote:Hmm, this is not a welcome change... I have always been running "repo sync" from inside the chroot (which I enter in a few tmuxed sessions after rebooting my workstation and don't exit until the next reboot), and would like to continue doing so...The end state we hope to be at is that entering the SDK is something you don't (or rarely) need to do, which I think mitigates your concern. Tools such as build_packages will automatically enter the SDK as required.I see. In this case cros_sdk --enter needs to be much faster and also rely less on sudo so I don't have to reenter my password multiple times a day.See go/cros-sdk-revamp:vision for a high level overview of where we plan to be. (this is a public list, so sorry to non-googlers who won't be able to see this doc 🙁)Could we rearrange the work order then? Make everything work transparently outside chroot and then break working flows inside chroot?
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-os-d...@chromium.org.
On Mon, Mar 27, 2023 at 5:32 PM Dmitry Torokhov <dt...@chromium.org> wrote:On Mon, Mar 27, 2023, 3:27 PM Jack Rosenthal <jros...@chromium.org> wrote:On Mon, Mar 27, 2023 at 4:07 PM Mike Frysinger <vap...@chromium.org> wrote:the roadmap for the SDK is explicitly breaking this flow. there has never been a requirement to run `repo sync` inside the SDK.-mikeOn Mon, Mar 27, 2023 at 6:03 PM Dmitry Torokhov <dt...@chromium.org> wrote:Hmm, this is not a welcome change... I have always been running "repo sync" from inside the chroot (which I enter in a few tmuxed sessions after rebooting my workstation and don't exit until the next reboot), and would like to continue doing so...The end state we hope to be at is that entering the SDK is something you don't (or rarely) need to do, which I think mitigates your concern. Tools such as build_packages will automatically enter the SDK as required.I see. In this case cros_sdk --enter needs to be much faster and also rely less on sudo so I don't have to reenter my password multiple times a day.See go/cros-sdk-revamp:vision for a high level overview of where we plan to be. (this is a public list, so sorry to non-googlers who won't be able to see this doc 🙁)Could we rearrange the work order then? Make everything work transparently outside chroot and then break working flows inside chroot?As someone not involved in the effort, I appreciate the direction to reduce fragmentation in workflows. This should reduce support burden in the short term and I would prefer they don't put it off.
I would recommend running repo sync and entering the chroot in a single wrapper script. Then you know that if you're in the chroot, you ran sync already.
--
--
"Fixin' to make it consistent" by removing repo from the SDK might benefit the SDK team as it makes their life easier, but it does absolutely nothing to your users. What would benefit users is making it work well from both places, or at least not removing it until you make cros_sdk truly transparent. For now you are simply breaking users workflows: the same way as you have "only ever run it outside" I ran it outside only once when I set up my chroot, and since then I ran it only from the inside.
On Tuesday, March 28, 2023 at 9:34:59 AM UTC-7 Dmitry Torokhov wrote:"Fixin' to make it consistent" by removing repo from the SDK might benefit the SDK team as it makes their life easier, but it does absolutely nothing to your users. What would benefit users is making it work well from both places, or at least not removing it until you make cros_sdk truly transparent. For now you are simply breaking users workflows: the same way as you have "only ever run it outside" I ran it outside only once when I set up my chroot, and since then I ran it only from the inside.I'm in the same situation as Dmitry: Other than "repo init" outside the chroot, I run everything inside thinking Chrome OS team can make sure the tools invoked are secure and working.Can I do all of the following outside the chroot?repo start (create a working branch)
cros_workonbuild_packagesbuild_imagecros_deploy (or update_kernel.sh)
servoddut_control
test_that (autotest)
repo upload
gerrit (change labels on groups of CLs)
servoddut_control
On Tue, Mar 28, 2023 at 1:26 PM ggg <grun...@chromium.org> wrote:On Tuesday, March 28, 2023 at 9:34:59 AM UTC-7 Dmitry Torokhov wrote:"Fixin' to make it consistent" by removing repo from the SDK might benefit the SDK team as it makes their life easier, but it does absolutely nothing to your users. What would benefit users is making it work well from both places, or at least not removing it until you make cros_sdk truly transparent. For now you are simply breaking users workflows: the same way as you have "only ever run it outside" I ran it outside only once when I set up my chroot, and since then I ran it only from the inside.I'm in the same situation as Dmitry: Other than "repo init" outside the chroot, I run everything inside thinking Chrome OS team can make sure the tools invoked are secure and working.Can I do all of the following outside the chroot?repo start (create a working branch)yescros_workonbuild_packagesbuild_imagecros_deploy (or update_kernel.sh)the plan is to have these tools auto-enter the chroot as requiredservoddut_controlthe firmware sdk project intends to add launchers for these to depot tools so they can be run outside the chroot. that's coming later in Q2test_that (autotest)TBD on this one ... it likely requires coordination with the tast teamrepo uploadyupgerrit (change labels on groups of CLs)yup, works fine outside the chroot. you'll want to either manually specify the path to ${CHECKOUT}/chromite/bin/gerrit, symlink it into your PATH, or just put ${CHECKOUT}/chromite/bin in your PATH.one option is we may add a launcher for this command in depot_tools if the demand is high enough
Sorry, a meme using "deprecated2" template somehow seems appropriate.Dmitry is spot on: "What would benefit users is making it work well from both places, or at least not removing it until you make cros_sdk truly transparent."But this applies to all the current workflows we use.I saw Mike's response and understand why this needs to change. But please make the transition period short - like a day or two, not by the quarter.
On Tuesday, March 28, 2023 at 9:34:59 AM UTC-7 Dmitry Torokhov wrote:"Fixin' to make it consistent" by removing repo from the SDK might benefit the SDK team as it makes their life easier, but it does absolutely nothing to your users. What would benefit users is making it work well from both places, or at least not removing it until you make cros_sdk truly transparent. For now you are simply breaking users workflows: the same way as you have "only ever run it outside" I ran it outside only once when I set up my chroot, and since then I ran it only from the inside.I'm in the same situation as Dmitry: Other than "repo init" outside the chroot, I run everything inside thinking Chrome OS team can make sure the tools invoked are secure and working.
On Tue, Mar 28, 2023 at 1:26 PM ggg <grun...@chromium.org> wrote:cros_workonbuild_packagesbuild_imagecros_deploy (or update_kernel.sh)the plan is to have these tools auto-enter the chroot as required