diff --git a/bin/main.ml b/bin/main.ml index 10bc416..697b978 100644 --- a/bin/main.ml +++ b/bin/main.ml @@ -1,3 +1,7 @@ +(* SPDX-License-Identifier: Apache-2.0 + * Copyright (c) 2024 Puneeth Chaganti , Shon Feder , Tarides + *) + open Cmdliner open Opam_ci_check diff --git a/lib/dir_helpers.ml b/lib/dir_helpers.ml index 3e29d35..2993be2 100644 --- a/lib/dir_helpers.ml +++ b/lib/dir_helpers.ml @@ -1,3 +1,7 @@ +(* SPDX-License-Identifier: Apache-2.0 + * Copyright (c) 2024 Puneeth Chaganti , Shon Feder , Tarides + *) + let create_temp_dir prefix = let base_temp_dir = Filename.get_temp_dir_name () in let unique_temp_dir = diff --git a/lib/dune_helpers.ml b/lib/dune_helpers.ml index 5993985..2619ddc 100644 --- a/lib/dune_helpers.ml +++ b/lib/dune_helpers.ml @@ -1,3 +1,7 @@ +(* SPDX-License-Identifier: Apache-2.0 + * Copyright (c) 2024 Puneeth Chaganti , Shon Feder , Tarides + *) + let write_file ~file ~contents = let ch = open_out file in output_string ch contents; diff --git a/lib/env.ml b/lib/env.ml index 2a6f0a7..55ac5a8 100644 --- a/lib/env.ml +++ b/lib/env.ml @@ -1,3 +1,7 @@ +(* SPDX-License-Identifier: Apache-2.0 + * Copyright (c) 2024 Puneeth Chaganti , Shon Feder , Tarides + *) + let make_repo path = let repo_name = OpamRepositoryName.of_string "default" in let repo_url = OpamUrl.parse path in diff --git a/lib/lint.ml b/lib/lint.ml index bb9de21..5f684b0 100644 --- a/lib/lint.ml +++ b/lib/lint.ml @@ -1,3 +1,7 @@ +(* SPDX-License-Identifier: Apache-2.0 + * Copyright (c) 2024 Puneeth Chaganti , Shon Feder , Tarides + *) + module D = Dir_helpers module O = Opam_helpers diff --git a/lib/lint.mli b/lib/lint.mli index c9b571d..81a26a0 100644 --- a/lib/lint.mli +++ b/lib/lint.mli @@ -1,3 +1,7 @@ +(* SPDX-License-Identifier: Apache-2.0 + * Copyright (c) 2024 Puneeth Chaganti , Shon Feder , Tarides + *) + include module type of Lint_error val check : diff --git a/lib/lint_error.ml b/lib/lint_error.ml index 6122672..290837a 100644 --- a/lib/lint_error.ml +++ b/lib/lint_error.ml @@ -1,3 +1,7 @@ +(* SPDX-License-Identifier: Apache-2.0 + * Copyright (c) 2024 Puneeth Chaganti , Shon Feder , Tarides + *) + (** Some package name prefixes must be used along with specific conflict classes If either a restricted prefix or conflict class exists, then the diff --git a/lib/opam_ci_check.ml b/lib/opam_ci_check.ml index 31e629a..ae31d9a 100644 --- a/lib/opam_ci_check.ml +++ b/lib/opam_ci_check.ml @@ -1,3 +1,7 @@ +(* SPDX-License-Identifier: Apache-2.0 + * Copyright (c) 2024 Puneeth Chaganti , Shon Feder , Tarides + *) + module Revdeps = Revdeps module Test = Test module Lint = Lint diff --git a/lib/opam_helpers.ml b/lib/opam_helpers.ml index 21087d4..7869fb7 100644 --- a/lib/opam_helpers.ml +++ b/lib/opam_helpers.ml @@ -1,3 +1,7 @@ +(* SPDX-License-Identifier: Apache-2.0 + * Copyright (c) 2024 Puneeth Chaganti , Shon Feder , Tarides + *) + let ( // ) = Filename.concat let path_from_pkg ~repo_dir pkg = diff --git a/lib/revdeps.ml b/lib/revdeps.ml index e83899c..4b5a101 100644 --- a/lib/revdeps.ml +++ b/lib/revdeps.ml @@ -1,3 +1,7 @@ +(* SPDX-License-Identifier: Apache-2.0 + * Copyright (c) 2024 Puneeth Chaganti , Shon Feder , Tarides + *) + let filter_coinstallable st original_package packages = let universe = OpamSwitchState.universe st diff --git a/lib/revdeps.mli b/lib/revdeps.mli index 335ef58..a100922 100644 --- a/lib/revdeps.mli +++ b/lib/revdeps.mli @@ -1,3 +1,7 @@ +(* SPDX-License-Identifier: Apache-2.0 + * Copyright (c) 2024 Puneeth Chaganti , Shon Feder , Tarides + *) + (** Analyze and test the reverse dependencies of a package. *) val list_revdeps : diff --git a/lib/test.ml b/lib/test.ml index 2f90dc7..9c60c5b 100644 --- a/lib/test.ml +++ b/lib/test.ml @@ -1,3 +1,7 @@ +(* SPDX-License-Identifier: Apache-2.0 + * Copyright (c) 2024 Puneeth Chaganti , Shon Feder , Tarides + *) + module H = Dune_helpers module D = Dir_helpers diff --git a/lib/test.mli b/lib/test.mli index 08b2cc6..2870247 100644 --- a/lib/test.mli +++ b/lib/test.mli @@ -1,3 +1,7 @@ +(* SPDX-License-Identifier: Apache-2.0 + * Copyright (c) 2024 Puneeth Chaganti , Shon Feder , Tarides + *) + type error = OpamPackage.t * exn (** A package and the exception recording its failure to install or pass tests. *) diff --git a/test/test_opam_ci_check.ml b/test/test_opam_ci_check.ml index e69de29..6fc72e7 100644 --- a/test/test_opam_ci_check.ml +++ b/test/test_opam_ci_check.ml @@ -0,0 +1,3 @@ +(* SPDX-License-Identifier: Apache-2.0 + * Copyright (c) 2024 Puneeth Chaganti , Shon Feder , Tarides + *)