This repository has been archived by the owner on Oct 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add SPDX license notice to code files
- Loading branch information
Showing
14 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 = | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 : | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 = | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 : | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. *) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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]> | ||
*) |