unified-memory-framework icon indicating copy to clipboard operation
unified-memory-framework copied to clipboard

Unify licence headers across UMF

Open lplewa opened this issue 1 year ago • 4 comments

There is two different license header in tests - it should be unified.

lplewa avatar Mar 05 '24 16:03 lplewa

/*
 *
 * Copyright (C) 2023 Intel Corporation
 *
 * Under the Apache License v2.0 with LLVM Exceptions. See LICENSE.TXT.
 * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 */

vs

// Copyright (C) 2023-2024 Intel Corporation
// Under the Apache License v2.0 with LLVM Exceptions. See LICENSE.TXT.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

@igchor @vinser52 ?

bratpiorka avatar Mar 14 '24 15:03 bratpiorka

I think in previous projects we mostly used:

// SPDX-License-Identifier: BSD-3-Clause
/* Copyright 2015-2019, Intel Corporation */

Sometimes, we used a sligthly different version for header files:

/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2015-2020, Intel Corporation */

lukaszstolarczuk avatar Apr 03 '24 11:04 lukaszstolarczuk

I cannot find a link to the Intel guide/wiki, but according to Intel guidelines it should be exactly like in the https://github.com/pmem/pmdk project (do not ask me why ;-)), so:

  1. in the source files:
// SPDX-License-Identifier: BSD-3-Clause
/* Copyright 2014-2023, Intel Corporation */
  1. in the header files:
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2014-2021, Intel Corporation */

ldorau avatar Apr 03 '24 11:04 ldorau

we should also add all licenses we use to LICENSE.TXT

bratpiorka avatar Apr 24 '24 07:04 bratpiorka