Skip to content

consistent copyright notice #14531

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 5, 2025

Conversation

dankenigsberg
Copy link
Member

@dankenigsberg dankenigsberg commented Apr 21, 2025

Red Hat is willing to mark these files as copyrighted by the KubeVirt Authors. This is a follow-up of commit e36bb0b

sed -i 's/(20.., )*20.. Red Hat, Inc./The KubeVirt Authors./' git grep -l '20.. Red Hat, Inc.'|grep -v staging|grep -v vendor

/kind cleanup

NONE

@kubevirt-bot kubevirt-bot added release-note-none Denotes a PR that doesn't merit a release note. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. labels Apr 21, 2025
Copy link

sourcery-ai bot commented Apr 21, 2025

Reviewer's Guide by Sourcery

This pull request updates the copyright notices in various files across the repository to 'The KubeVirt Authors', replacing the previous 'Red Hat, Inc.' attribution. The change was implemented using sed and git grep to find and replace the copyright notices in all relevant files, excluding those in staging or vendor directories.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Updated copyright notices to reflect 'The KubeVirt Authors' instead of 'Red Hat, Inc.'
  • Replaced 'Copyright 20.. Red Hat, Inc.' with 'Copyright The KubeVirt Authors.' in the file headers.
automation/assert-not-all-tests-skipped.sh
automation/test.sh
cmd/cniplugins/passt-binding/cmd/cni.go
cmd/cniplugins/passt-binding/pkg/plugin/config.go
cmd/cniplugins/passt-binding/pkg/plugin/plugin.go
cmd/cniplugins/passt-binding/pkg/plugin/plugin_suite_test.go
cmd/cniplugins/passt-binding/pkg/plugin/plugin_test.go
cmd/example-guest-agent/main.go
cmd/fake-qemu-process/fake-qemu.go
cmd/sidecars/network-passt-binding/callback/callback.go
cmd/sidecars/network-passt-binding/callback/callback_suite_test.go
cmd/sidecars/network-passt-binding/callback/callback_test.go
cmd/sidecars/network-passt-binding/domain/configurator.go
cmd/sidecars/network-passt-binding/domain/configurator_test.go
cmd/sidecars/network-passt-binding/domain/domain_suite_test.go
cmd/sidecars/network-passt-binding/main.go
cmd/sidecars/network-passt-binding/server/server.go
cmd/sidecars/network-slirp-binding/callback/callback.go
cmd/sidecars/network-slirp-binding/callback/callback_suite_test.go
cmd/sidecars/network-slirp-binding/callback/callback_test.go
cmd/sidecars/network-slirp-binding/dns/resolvconf.go
cmd/sidecars/network-slirp-binding/domain/domain.go
cmd/sidecars/network-slirp-binding/domain/domain_suite_test.go
cmd/sidecars/network-slirp-binding/domain/domain_test.go
cmd/sidecars/network-slirp-binding/main.go
cmd/sidecars/network-slirp-binding/server/server.go
cmd/sidecars/sidecar_shim.go
cmd/sidecars/smbios/smbios.go
cmd/virt-api/virt-api.go
cmd/virt-controller/virt-controller.go
cmd/virt-exportproxy/virt-exportproxy.go
cmd/virt-exportserver/virt-exportserver.go
cmd/virt-freezer/main.go
cmd/virt-handler/virt-handler.go
cmd/virt-launcher-monitor/virt-launcher-monitor.go
cmd/virt-launcher/virt-launcher.go
cmd/virt-operator/virt-operator.go
cmd/virt-probe/virt-probe.go
cmd/virt-tail/main.go
cmd/virtctl/virtctl.go
doc.go
hack/bazel-build-functests.sh
hack/bazel-build-image-bundle.sh
hack/bazel-build-images.sh
hack/bazel-build.sh
hack/bazel-fmt.sh
hack/bazel-push-images.sh
hack/bootstrap.sh
hack/build-copy-artifacts.sh
hack/build-go.sh
hack/build-manifests.sh
hack/cluster-build.sh
hack/cluster-clean.sh
hack/cluster-deploy.sh
hack/cluster-sync.sh
hack/cluster-up.sh
hack/dump.sh
hack/functests.sh
hack/go-build-functests.sh
hack/gofumpt.sh
hack/golangci-lint.sh
hack/integration-test.sh
hack/manifests.sh
hack/olm.sh
hack/parse-shasums.sh
hack/perftests.sh
hack/prom-metric-linter/metric_name_linter.sh
hack/prom-metric-linter/metrics_collector.sh
hack/prom-rule-ci/verify-rules.sh
hack/realtime-perftests.sh
hack/virtctl.sh
hack/whatchanged.sh
images/disks-images-provider/entrypoint.sh
kubevirtci/cluster-up/check.sh
kubevirtci/cluster-up/cli.sh
kubevirtci/cluster-up/cluster/kind-ovn/install-ovn.sh
kubevirtci/cluster-up/cluster/kind-ovn/provider.sh
kubevirtci/cluster-up/cluster/kind/bump-kind.sh
kubevirtci/cluster-up/cluster/kind/check-cluster-up.sh
kubevirtci/cluster-up/kubeconfig.sh
tests/Dockerfile
tests/access_test.go
tests/assert/xfail.go
tests/canary_upgrade_test.go
tests/clientcmd/command.go
tests/compute/console.go
tests/compute/credentials.go
tests/compute/vmidefaults.go
tests/config_test.go
tests/console/console.go
tests/container_disk_test.go
tests/containerdisk/containerdisk.go
tests/dryrun_test.go
tests/entrypoint.sh
tests/exec/execute.go
tests/flags/flags.go
tests/framework/kubevirt/clientset.go
tests/framework/matcher/matcher_suite_test.go
tests/libinfra/certificates.go
tests/libinfra/http.go
tests/libinfra/leader.go
tests/libinfra/metrics.go
tests/libinfra/node-labeller.go
tests/libinstancetype/instancetype.go
tests/libkubevirt/config/kvconfig.go
tests/libkubevirt/config/netbinding.go
tests/libnet/cloudinit/cloudinit.go
tests/libnet/cloudinit/factory.go
tests/libnet/dns/dns.go
tests/libnet/hotplug.go
tests/libnet/interface.go
tests/libnet/job/job.go
tests/libnet/mac.go
tests/libnet/ping.go
tests/libnet/plumbing.go
tests/libnet/service/service.go
tests/libnet/validation.go
tests/libnet/vmibuilder.go
tests/libnet/vmnetserver/servers.go
tests/libnode/node.go
tests/libpod/render.go
tests/libstorage/config.go
tests/libstorage/datavolume.go
tests/libstorage/pvc.go
tests/libstorage/storageclass.go
tests/libstorage/virtualmachinesnapshot.go
tests/libstorage/vmi.go
tests/libstorage/volumesnapshot.go
tests/libvmifact/architecture.go
tests/libvmifact/factory.go
tests/libwait/wait.go
tests/migration/eviction_strategy.go
tests/migration/migration.go
tests/migration/nodeselector.go
tests/monitoring/component_monitoring.go
tests/monitoring/monitoring.go
tests/monitoring/vm_monitoring.go
tests/network/bindingplugin.go
tests/network/bindingplugin_macvtap.go
tests/network/bindingplugin_passt.go
tests/network/bindingplugin_slirp.go
tests/network/hotplug_bridge.go
tests/network/hotplug_sriov.go
tests/network/port_forward.go
tests/network/primary_pod_network.go
tests/network/services.go
tests/network/sriov.go
tests/network/vmi_infosource.go
tests/network/vmi_istio.go
tests/network/vmi_lifecycle.go
tests/network/vmi_multus.go
tests/network/vmi_networking.go
tests/network/vmi_subdomain.go
tests/operator/operator.go
tests/performance/density.go
tests/pool_test.go
tests/portforward_test.go
tests/replicaset_test.go
tests/security_features_test.go
tests/storage/datavolume.go
tests/storage/events.go
tests/storage/export.go
tests/storage/hotplug.go
tests/storage/memorydump.go
tests/storage/storage.go
tests/swap_test.go
tests/sysprep_test.go
tests/tests_suite_test.go
tests/testsuite/fixture.go
tests/testsuite/kubevirtresource.go
tests/testsuite/manifest.go
tests/testsuite/namespace.go
tests/testsuite/serviceaccount.go
tests/version_test.go
tests/virt_control_plane_test.go
tests/virtctl/cmd.go
tests/virtiofs/config.go
tests/virtiofs/datavolume.go
tests/vm_test.go
tests/vmi_cloudinit_hook_sidecar_test.go
tests/vmi_cloudinit_test.go
tests/vmi_configuration_test.go
tests/vmi_headless_test.go
tests/vmi_hook_sidecar_test.go
tests/vmi_ignition_test.go
tests/vmi_iothreads_test.go
tests/vmi_kernel_boot_test.go
tests/vmi_lifecycle_test.go
tests/vmi_multiqueue_test.go
tests/vmi_sound_test.go
tests/vmi_tpm_test.go
tests/vmi_vsock_test.go
tests/vmipreset_test.go
tests/vnc_test.go
tests/watchdog_test.go
tests/watcher/watcher.go
tests/windows_test.go
tools/cluster-profiler/cluster-profiler.go
tools/csv-generator/csv-generator.go
tools/manifest-templator/manifest-templator.go
tools/openapispec/openapispec.go
tools/perfscale-audit/api/api.go
tools/perfscale-audit/metric-client/metric-client.go
tools/perfscale-audit/perfscale-audit.go
tools/prom-metrics-collector/metrics_collector.go
tools/prom-metrics-collector/metrics_json_generator.go
tools/resource-generator/resource-generator.go
tools/util/marshaller.go
tools/util/marshaller_test.go
tools/vms-generator/utils/utils.go
tools/vms-generator/vms-generator.go

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!
  • Generate a plan of action for an issue: Comment @sourcery-ai plan on
    an issue to generate a plan of action for it.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @dankenigsberg - I've reviewed your changes - here's some feedback:

Overall Comments:

  • Consider adding a script to update the copyright headers automatically in the future.
Here's what I looked at during the review
  • 🟢 General issues: all looks good
  • 🟢 Security: all looks good
  • 🟢 Testing: all looks good
  • 🟢 Complexity: all looks good
  • 🟢 Documentation: all looks good

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Red Hat is willing to mark these files as copyrighted by the KubeVirt
Authors. This is a follow-up of commit e36bb0b

sed -i 's/\(20.., \)*20.. Red Hat, Inc./The KubeVirt Authors./' `git grep -l '20.. Red Hat, Inc.'|grep -v staging|grep -v vendor|grep -v kubevirtci`

Signed-off-by: Dan Kenigsberg <danken@redhat.com>
Copy link
Contributor

@oshoval oshoval left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

basically this one is enough in this case i think, but it doesnt matter much
(of course the current is more robust the one below is just simpler to this case)
sed -i 's/20.. Red Hat, Inc./The KubeVirt Authors./' git grep -l '20.. Red Hat, Inc.'|grep -v staging|grep -v vendor

@kubevirt-bot kubevirt-bot added the lgtm Indicates that a PR is ready to be merged. label Apr 21, 2025
@kubevirt-bot
Copy link
Contributor

Pull requests that are marked with lgtm should receive a review
from an approver within 1 week.

After that period the bot marks them with the label needs-approver-review.

/label needs-approver-review

@kubevirt-bot kubevirt-bot added the needs-approver-review Indicates that a PR requires a review from an approver. label Apr 29, 2025
@enp0s3
Copy link
Contributor

enp0s3 commented May 5, 2025

/approve
Validated the changes locally.

@kubevirt-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: enp0s3

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubevirt-bot kubevirt-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 5, 2025
@kubevirt-commenter-bot
Copy link

Required labels detected, running phase 2 presubmits:
/test pull-kubevirt-e2e-windows2016
/test pull-kubevirt-e2e-kind-1.30-vgpu
/test pull-kubevirt-e2e-kind-sriov
/test pull-kubevirt-e2e-k8s-1.32-ipv6-sig-network
/test pull-kubevirt-e2e-k8s-1.30-sig-network
/test pull-kubevirt-e2e-k8s-1.30-sig-storage
/test pull-kubevirt-e2e-k8s-1.30-sig-compute
/test pull-kubevirt-e2e-k8s-1.30-sig-operator
/test pull-kubevirt-e2e-k8s-1.31-sig-network
/test pull-kubevirt-e2e-k8s-1.31-sig-storage
/test pull-kubevirt-e2e-k8s-1.31-sig-compute
/test pull-kubevirt-e2e-k8s-1.31-sig-operator

@kubevirt-bot kubevirt-bot merged commit 9a683ca into kubevirt:main May 5, 2025
24 of 40 checks passed
@kubevirt-bot
Copy link
Contributor

/remove-label needs-approver-review

@kubevirt-bot kubevirt-bot removed the needs-approver-review Indicates that a PR requires a review from an approver. label May 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/handler area/instancetype area/launcher area/virtctl dco-signoff: yes Indicates the PR's author has DCO signed all their commits. lgtm Indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. sig/buildsystem Denotes an issue or PR that relates to changes in the build system. sig/compute sig/network sig/observability Denotes an issue or PR that relates to observability. sig/scale sig/storage size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants