John Ericson
|
3134db1a83
|
Merge branch 'hash-always-has-type' of github.com:obsidiansystems/nix into better-ca-parse-errors
|
2020-07-03 14:12:38 +00:00 |
|
John Ericson
|
dbffd309fe
|
Merge branch 'master' of github.com:NixOS/nix into hash-always-has-type
|
2020-07-03 14:11:38 +00:00 |
|
John Ericson
|
13796be78d
|
Have splitPrefix and splitPrefixTo parser helpers
|
2020-07-02 23:18:22 +00:00 |
|
John Ericson
|
a7cd7425d9
|
Move getParsedTypeAndSRI to a more suitable location
Also mark it static
|
2020-07-02 23:10:11 +00:00 |
|
Eelco Dolstra
|
b5e4253697
|
Fix abort in 'nix develop'
|
2020-07-02 18:24:11 +02:00 |
|
Carlo Nucera
|
b6b10b1d4c
|
Write the implementation for parseNonSRIUnprefixed
|
2020-07-02 11:34:40 -04:00 |
|
Carlo Nucera
|
ea48e3a5b5
|
Abstract common parsing functionality
|
2020-07-02 11:29:33 -04:00 |
|
Carlo Nucera
|
36cbc74689
|
Inline and simplify in parseAnyPrefixed
|
2020-07-02 11:21:00 -04:00 |
|
Carlo Nucera
|
9462d8a50b
|
Rename fromSRI to parseSRI for constistency
|
2020-07-02 11:11:18 -04:00 |
|
Carlo Nucera
|
f61bc45d19
|
Get rid of the std::pair
|
2020-07-02 11:09:04 -04:00 |
|
Carlo Nucera
|
27c8029573
|
Inline newFunction
|
2020-07-02 11:01:10 -04:00 |
|
Carlo Nucera
|
343d1569b1
|
Fix test suite
|
2020-07-02 10:48:47 -04:00 |
|
Carlo Nucera
|
263ccdd489
|
Rename two hash constructors to proper functions
|
2020-07-01 18:34:18 -04:00 |
|
Carlo Nucera
|
c8c4bcf90e
|
Inline Hash::init()
|
2020-07-01 18:03:35 -04:00 |
|
Carlo Nucera
|
d63a5ded76
|
Remove unused import
|
2020-07-01 17:53:24 -04:00 |
|
Carlo Nucera
|
6faeec3b2a
|
Keep the previous name, for diffing
|
2020-07-01 17:50:34 -04:00 |
|
Carlo Nucera
|
274a8136fb
|
Correct FIXMEs in libfetchers
|
2020-07-01 17:47:15 -04:00 |
|
Carlo Nucera
|
c2e7f7a712
|
Fixed build, we still have test errors
|
2020-07-01 17:32:06 -04:00 |
|
Carlo Nucera
|
b798efb829
|
WIP initial design
|
2020-06-30 14:10:30 -04:00 |
|
Ben Burdette
|
a0705e0dd1
|
invalid pos check
|
2020-06-30 11:01:46 -06:00 |
|
Ben Burdette
|
e72a16a339
|
check for a null symbol
|
2020-06-30 11:00:51 -06:00 |
|
Carlo Nucera
|
a1f66d1d9e
|
Factor the prefix splitting in hash
|
2020-06-30 12:49:00 -04:00 |
|
Carlo Nucera
|
7ba0fae0dd
|
Create the spitPrefix function in parser.hh
|
2020-06-30 11:57:09 -04:00 |
|
Eelco Dolstra
|
2b834d48aa
|
NAR parser: Fix missing name field check
Discovered by @Kloenk.
|
2020-06-29 22:45:41 +02:00 |
|
John Ericson
|
987a4a0be9
|
Merge remote-tracking branch 'upstream/master' into hash-always-has-type
|
2020-06-29 18:03:21 +00:00 |
|
Eelco Dolstra
|
de2641ae99
|
Fix empty std::optional dereference in writeDerivation()
https://hydra.nixos.org/build/123017579
|
2020-06-25 15:50:30 +02:00 |
|
John Ericson
|
ec3a857307
|
Fix and clean up hash parser
|
2020-06-23 18:19:40 +00:00 |
|
John Ericson
|
98e5d1af03
|
Merge remote-tracking branch 'upstream/master' into hash-always-has-type
|
2020-06-23 17:03:37 +00:00 |
|
Eelco Dolstra
|
015e1c2131
|
Merge pull request #3724 from bburdette/hintfmt-percent
Hintfmt percent test, and fix
|
2020-06-23 12:26:00 +02:00 |
|
Ben Burdette
|
9d1cb0c5e6
|
with normaltxt, elide yellow color code instead of canceling it; use normaltxt on plain_string hintfmt
|
2020-06-22 11:32:20 -06:00 |
|
Ben Burdette
|
28b079067f
|
Update src/libutil/fmt.hh
Co-authored-by: John Ericson <git@JohnEricson.me>
|
2020-06-22 10:00:37 -06:00 |
|
Ben Burdette
|
be4f444175
|
tidying up
|
2020-06-19 16:58:12 -06:00 |
|
Ben Burdette
|
0309488a66
|
fmt -> hintfmt test
|
2020-06-19 16:46:49 -06:00 |
|
Ben Burdette
|
397dbe114e
|
remove formathelper
|
2020-06-19 15:57:19 -06:00 |
|
John Ericson
|
507aa48739
|
WIP: Make Hash always store a valid hash type
|
2020-06-19 21:48:57 +00:00 |
|
Ben Burdette
|
b193aca4ae
|
escape percents
|
2020-06-19 15:29:19 -06:00 |
|
Ben Burdette
|
db475f9e7e
|
too few, too many args
|
2020-06-19 15:28:13 -06:00 |
|
Ben Burdette
|
cdddf24f25
|
add hintfmt test
|
2020-06-19 14:54:41 -06:00 |
|
John Ericson
|
e288c0987a
|
Merge remote-tracking branch 'upstream/master' into validPathInfo-ca-proper-datatype
|
2020-06-19 18:44:24 +00:00 |
|
John Ericson
|
c98081d270
|
Merge remote-tracking branch 'upstream/master' into no-hash-type-unknown
|
2020-06-19 17:50:05 +00:00 |
|
John Ericson
|
c1892a5316
|
tabs -> spaces
|
2020-06-19 17:49:57 +00:00 |
|
John Ericson
|
2f0e395c99
|
Merge remote-tracking branch 'me/no-stringly-typed-derivation-output' into validPathInfo-ca-proper-datatype
|
2020-06-19 15:26:59 +00:00 |
|
John Ericson
|
b90cac3bad
|
Remove uneeded = default for Hash
|
2020-06-19 15:00:38 +00:00 |
|
John Ericson
|
01dc8b0bab
|
Merge remote-tracking branch 'upstream/master' into no-stringly-typed-derivation-output
|
2020-06-19 14:59:05 +00:00 |
|
Eelco Dolstra
|
2886c92aef
|
Merge pull request #3669 from gilligan/add-compression-tests
Add compression unit tests
|
2020-06-19 13:59:04 +02:00 |
|
John Ericson
|
3fc58a9638
|
Remove some Base:: that crept in
|
2020-06-19 00:24:47 +00:00 |
|
John Ericson
|
669c3992e8
|
Merge branch 'no-hash-type-unknown' into validPathInfo-temp
|
2020-06-18 22:33:07 +00:00 |
|
John Ericson
|
15abb2aa2b
|
Revert the enum struct change
Not a regular git revert as there have been many merges and things.
|
2020-06-18 22:11:26 +00:00 |
|
John Ericson
|
bbbf3602a3
|
Merge branch 'enum-class' into no-hash-type-unknown
|
2020-06-18 22:11:19 +00:00 |
|
John Ericson
|
40526fbea5
|
Merge remote-tracking branch 'upstream/master' into enum-class
|
2020-06-18 21:38:15 +00:00 |
|