Skip to content
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.

Commit

Permalink
Add SPDX license notice to code files
Browse files Browse the repository at this point in the history
  • Loading branch information
shonfeder authored and punchagan committed Sep 16, 2024
1 parent fe3299a commit 43e9630
Show file tree
Hide file tree
Showing 14 changed files with 55 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/main.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
(* SPDX-License-Identifier: Apache-2.0
* Copyright (c) 2024 Puneeth Chaganti <[email protected]>, Shon Feder <[email protected]>, Tarides <[email protected]>
*)

open Cmdliner
open Opam_ci_check

Expand Down
4 changes: 4 additions & 0 deletions lib/dir_helpers.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
(* SPDX-License-Identifier: Apache-2.0
* Copyright (c) 2024 Puneeth Chaganti <[email protected]>, Shon Feder <[email protected]>, Tarides <[email protected]>
*)

let create_temp_dir prefix =
let base_temp_dir = Filename.get_temp_dir_name () in
let unique_temp_dir =
Expand Down
4 changes: 4 additions & 0 deletions lib/dune_helpers.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
(* SPDX-License-Identifier: Apache-2.0
* Copyright (c) 2024 Puneeth Chaganti <[email protected]>, Shon Feder <[email protected]>, Tarides <[email protected]>
*)

let write_file ~file ~contents =
let ch = open_out file in
output_string ch contents;
Expand Down
4 changes: 4 additions & 0 deletions lib/env.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
(* SPDX-License-Identifier: Apache-2.0
* Copyright (c) 2024 Puneeth Chaganti <[email protected]>, Shon Feder <[email protected]>, Tarides <[email protected]>
*)

let make_repo path =
let repo_name = OpamRepositoryName.of_string "default" in
let repo_url = OpamUrl.parse path in
Expand Down
4 changes: 4 additions & 0 deletions lib/lint.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
(* SPDX-License-Identifier: Apache-2.0
* Copyright (c) 2024 Puneeth Chaganti <[email protected]>, Shon Feder <[email protected]>, Tarides <[email protected]>
*)

module D = Dir_helpers
module O = Opam_helpers

Expand Down
4 changes: 4 additions & 0 deletions lib/lint.mli
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
(* SPDX-License-Identifier: Apache-2.0
* Copyright (c) 2024 Puneeth Chaganti <[email protected]>, Shon Feder <[email protected]>, Tarides <[email protected]>
*)

include module type of Lint_error

val check :
Expand Down
4 changes: 4 additions & 0 deletions lib/lint_error.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
(* SPDX-License-Identifier: Apache-2.0
* Copyright (c) 2024 Puneeth Chaganti <[email protected]>, Shon Feder <[email protected]>, Tarides <[email protected]>
*)

(** Some package name prefixes must be used along with specific conflict classes
If either a restricted prefix or conflict class exists, then the
Expand Down
4 changes: 4 additions & 0 deletions lib/opam_ci_check.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
(* SPDX-License-Identifier: Apache-2.0
* Copyright (c) 2024 Puneeth Chaganti <[email protected]>, Shon Feder <[email protected]>, Tarides <[email protected]>
*)

module Revdeps = Revdeps
module Test = Test
module Lint = Lint
4 changes: 4 additions & 0 deletions lib/opam_helpers.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
(* SPDX-License-Identifier: Apache-2.0
* Copyright (c) 2024 Puneeth Chaganti <[email protected]>, Shon Feder <[email protected]>, Tarides <[email protected]>
*)

let ( // ) = Filename.concat

let path_from_pkg ~repo_dir pkg =
Expand Down
4 changes: 4 additions & 0 deletions lib/revdeps.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
(* SPDX-License-Identifier: Apache-2.0
* Copyright (c) 2024 Puneeth Chaganti <[email protected]>, Shon Feder <[email protected]>, Tarides <[email protected]>
*)

let filter_coinstallable st original_package packages =
let universe =
OpamSwitchState.universe st
Expand Down
4 changes: 4 additions & 0 deletions lib/revdeps.mli
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
(* SPDX-License-Identifier: Apache-2.0
* Copyright (c) 2024 Puneeth Chaganti <[email protected]>, Shon Feder <[email protected]>, Tarides <[email protected]>
*)

(** Analyze and test the reverse dependencies of a package. *)

val list_revdeps :
Expand Down
4 changes: 4 additions & 0 deletions lib/test.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
(* SPDX-License-Identifier: Apache-2.0
* Copyright (c) 2024 Puneeth Chaganti <[email protected]>, Shon Feder <[email protected]>, Tarides <[email protected]>
*)

module H = Dune_helpers
module D = Dir_helpers

Expand Down
4 changes: 4 additions & 0 deletions lib/test.mli
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
(* SPDX-License-Identifier: Apache-2.0
* Copyright (c) 2024 Puneeth Chaganti <[email protected]>, Shon Feder <[email protected]>, Tarides <[email protected]>
*)

type error = OpamPackage.t * exn
(** A package and the exception recording its failure to install or pass tests. *)

Expand Down
3 changes: 3 additions & 0 deletions test/test_opam_ci_check.ml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(* SPDX-License-Identifier: Apache-2.0
* Copyright (c) 2024 Puneeth Chaganti <[email protected]>, Shon Feder <[email protected]>, Tarides <[email protected]>
*)

0 comments on commit 43e9630

Please sign in to comment.