forked from alire-project/alire
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
206 additions
and
40 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
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,7 +1,7 @@ | ||
name = "alr" | ||
description = "Command-line tool from the Alire project" | ||
|
||
version = "1.3.0-dev" | ||
version = "2.0-rc1" | ||
|
||
authors = ["Alejandro R. Mosteo", "Fabien Chouteau", "Pierre-Marie de Rodat"] | ||
maintainers = ["[email protected]", "[email protected]"] | ||
|
@@ -77,7 +77,7 @@ commit = "9a9c660f9c6f27f5ef75417e7fac7061dff14d78" | |
|
||
[pins.semantic_versioning] | ||
url = "https://github.com/alire-project/semantic_versioning" | ||
commit = "2f23fc5f6b4855b836b599adf292fed9c0ed4144" | ||
commit = "cc2148cf9c8934fb557b5ae49a3f7947194fa7ee" | ||
|
||
[pins.simple_logging] | ||
url = "https://github.com/alire-project/simple_logging" | ||
|
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
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
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,16 @@ | ||
with Semantic_Versioning; | ||
|
||
package Alire.Index_Features is | ||
|
||
-- For easier lockstep updates, we keep track of features that we will | ||
-- enable in future index versions. | ||
|
||
subtype Min_Version is Semantic_Versioning.Version; | ||
|
||
use type Min_Version; | ||
|
||
Explicit_Binary_Origin : constant Min_Version := +"1.3.0"; | ||
-- Require that binary origins are explicitly marked as such instead of | ||
-- relying on dynamic expressions. | ||
|
||
end Alire.Index_Features; |
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,25 @@ | ||
with Semantic_Versioning; | ||
|
||
package Alire.Loading with Preelaborate is | ||
|
||
-- Auxiliary type to pass info around while loading things from disk | ||
-- (currently only indexes...) | ||
|
||
type Kinds is (None, Index); | ||
|
||
type Metadata (Kind : Kinds := None) is record | ||
case Kind is | ||
when Index => | ||
Version : Semantic_Versioning.Version; | ||
when None => | ||
null; | ||
end case; | ||
end record; | ||
|
||
function For_Index (Version : Semantic_Versioning.Version) | ||
return Metadata | ||
is (Kind => Index, Version => Version); | ||
|
||
function No_Metadata return Metadata is (Kind => None); | ||
|
||
end Alire.Loading; |
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
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
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
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
Oops, something went wrong.