From: Jeff Layton <jlayton@kernel.org>
To: Luis Chamberlain <mcgrof@kernel.org>
Cc: kdevops@lists.linux.dev
Subject: Re: [PATCH kdevops v2 1/4] Kconfig: s/VAGRANT_LIBVIRT/LIBVIRT/
Date: Sat, 09 Dec 2023 07:07:50 -0500 [thread overview]
Message-ID: <79004ef02b1c2c41c5192e052bc2b778a475ee36.camel@kernel.org> (raw)
In-Reply-To: <ZXPLWHXK8kFj/IHa@bombadil.infradead.org>
On Fri, 2023-12-08 at 18:05 -0800, Luis Chamberlain wrote:
> On Fri, Dec 08, 2023 at 10:01:32AM -0500, Jeff Layton wrote:
> > diff --git a/scripts/bringup_vagrant.sh b/scripts/bringup_vagrant.sh
> > index ad19d2980e4e..0ebcd4b3f4ba 100755
> > --- a/scripts/bringup_vagrant.sh
> > +++ b/scripts/bringup_vagrant.sh
> > @@ -23,10 +23,10 @@ get_canonical_version()
> > _vagrant_lacks_parallel()
> > {
> > PARALLEL_MISSING="0.7.0"
> > - VAGRANT_LIBVIRT_VERSION="$(vagrant plugin list | sed -e 's|(| |g' | sed -e 's|,| |g' | awk '{print $2}')"
> > + LIBVIRT_VERSION="$(vagrant plugin list | sed -e 's|(| |g' | sed -e 's|,| |g' | awk '{print $2}')"
>
> This is a check which runs a vagrant command to check the plugin version
> for libvirt and so I think it is properly named already there.
>
> > OLD=$(get_canonical_version $PARALLEL_MISSING)
> > - CURRENT=$(get_canonical_version $VAGRANT_LIBVIRT_VERSION)
> > + CURRENT=$(get_canonical_version $LIBVIRT_VERSION)
> > if [[ "$CURRENT" -le "$OLD" ]]; then
> > return 1
> > fi
>
> So these first two hunks can be reverted.
>
Doh! Makes sense. I'll drop those hunks.
> > @@ -57,7 +57,7 @@ vagrant_check_dups()
> >
> > kdevops_pool_path="$CONFIG_KDEVOPS_STORAGE_POOL_PATH"
> > # For libvirt we can do one more global sanity check
> > - if [[ "$CONFIG_VAGRANT_LIBVIRT" == "y" ]]; then
> > + if [[ "$CONFIG_LIBVIRT" == "y" ]]; then
> > possible_image="${kdevops_pool_path}/vagrant_${instance}.img"
> > if [[ -f $possible_image ]]; then
> > echo "Image for instance $instance already exists ($possible_image), skippin bringup wipe of spare drives ..."
>
> This one is using the config stuff so the rename is good.
>
> > diff --git a/workflows/fstests/expunges/6.4.0-rc2-next-20230515/xfs/unassigned/fstests-next-20230515 b/workflows/fstests/expunges/6.4.0-rc2-next-20230515/xfs/unassigned/fstests-next-20230515
> > diff --git a/workflows/fstests/results/archive/dagomez/tmpfs/libvirt-qemu/20231003-huge/kdevops.config b/workflows/fstests/results/archive/dagomez/tmpfs/libvirt-qemu/20231003-huge/kdevops.config
> > diff --git a/workflows/fstests/results/archive/dagomez/tmpfs/libvirt-qemu/20231003/kdevops-dagmcr-lbs-shmem-write-v6.6-rc4.config b/workflows/fstests/results/archive/dagomez/tmpfs/libvirt-qemu/20231003/kdevops-dagmcr-lbs-shmem-write-v6.6-rc4.config
> > diff --git a/workflows/fstests/results/archive/dagomez/tmpfs/libvirt-qemu/20231003/kdevops.config b/workflows/fstests/results/archive/dagomez/tmpfs/libvirt-qemu/20231003/kdevops.config
> > diff --git a/workflows/fstests/results/archive/dagomez/tmpfs/libvirt-qemu/20231004/kdevops.config b/workflows/fstests/results/archive/dagomez/tmpfs/libvirt-qemu/20231004/kdevops.config
>
> <-- etc -->
>
> I don't think we should have to change these for two reasons:
>
> * they are present to allow folks to reproduce, folks who want to
> reproduce can look a the top of the file and git reset kdevops to
> the version specified.
> * It would incur a huge burdon on us to do this every time we want to
> do a new rename
>
Got it. Ok, I'll drop those hunks too.
Thanks,
--
Jeff Layton <jlayton@kernel.org>
next prev parent reply other threads:[~2023-12-09 12:07 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-08 15:01 [PATCH kdevops v2 0/4] guestfs: replacement for vagrant in kdevops Jeff Layton
2023-12-08 15:01 ` [PATCH kdevops v2 1/4] Kconfig: s/VAGRANT_LIBVIRT/LIBVIRT/ Jeff Layton
2023-12-09 2:05 ` Luis Chamberlain
2023-12-09 2:06 ` Luis Chamberlain
2023-12-09 2:08 ` Luis Chamberlain
2023-12-09 12:07 ` Jeff Layton [this message]
2023-12-08 15:01 ` [PATCH kdevops v2 2/4] nfsd: key off of LIBVIRT instead of VAGRANT for storage config Jeff Layton
2023-12-08 15:01 ` [PATCH kdevops v2 3/4] vagrant: rename the RHEL registration settings Jeff Layton
2023-12-08 15:23 ` Jeff Layton
2023-12-08 15:01 ` [PATCH kdevops v2 4/4] guestfs: add a new local guest management variant Jeff Layton
2023-12-09 2:14 ` Luis Chamberlain
2023-12-09 12:25 ` Jeff Layton
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=79004ef02b1c2c41c5192e052bc2b778a475ee36.camel@kernel.org \
--to=jlayton@kernel.org \
--cc=kdevops@lists.linux.dev \
--cc=mcgrof@kernel.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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox