DavHau
01c0df4eaf
Merge remote-tracking branch 'nrdxp/yarn-fix'
2022-05-20 15:35:22 +02:00
Yusuf Bera Ertan
3a5ed1a596
refactor(builder/crane): use runCommandNoCC instead of runCommand
2022-05-20 15:07:32 +03:00
Timothy DeHerrera
58cafa92ab
fix: bad regex in yarn translator
...
Also don't allow evaluation to fail, but instead provide default value.
2022-05-19 14:37:56 -06:00
DavHau
7b0162c227
fix builders template
2022-05-19 18:30:06 +02:00
DavHau
fb3789c9a1
update contributors guide
2022-05-19 17:58:08 +02:00
DavHau
0722f0d777
update alejandra code formatter
2022-05-19 17:27:20 +02:00
DavHau
13b7536e28
improve builder template
2022-05-19 17:26:28 +02:00
DavHau
efe9698305
refactor: clean up builder interface
2022-05-19 16:54:32 +02:00
DavHau
1215fff66b
readme: fix typo
2022-05-19 16:07:34 +02:00
Yusuf Bera Ertan
ce73e1a256
fix(rust/builders): change a null default to a string default so hasPrefix doesnt error
2022-05-18 22:52:12 +03:00
DavHau
2cdf24dfb7
Merge pull request #147 from yusdacra/main
...
Follow up fixes for #144
2022-05-18 20:49:16 +02:00
DavHau
523b19fa0e
fix escaping problem in tests-examples
2022-05-18 20:45:26 +02:00
DavHau
b5d473e2e8
tests-examples: allow passing arguments
2022-05-18 20:42:05 +02:00
Yusuf Bera Ertan
1bfa39b68e
fix(translator/cargo-toml): fix comment, actually inherit options from cargo-lock
2022-05-18 19:16:07 +03:00
Yusuf Bera Ertan
00bef62ae7
fix(rust/builders): remove IFD while using writeCargoLock
2022-05-18 19:13:40 +03:00
Yusuf Bera Ertan
a4c4b64bd7
fix(examples): remove dream-lock.json files from git
2022-05-18 19:10:31 +03:00
Yusuf Bera Ertan
2fd96e44e9
feat: implement cargo-toml impure translator for rust subsystem ( #144 )
2022-05-18 09:21:56 +03:00
DavHau
ed9f030be9
example tests: run all tests despite error
2022-05-17 20:12:26 +02:00
DavHau
ad48c2134c
Merge remote-tracking branch 'jaen/resolve-path-sources-relative-to-source-root'
2022-05-17 20:11:55 +02:00
DavHau
0ace4f5e05
fix src/fetchers/default-fetcher.nix
2022-05-17 20:11:32 +02:00
DavHau
bb5be4955d
fix typo in builder template
2022-05-17 19:31:47 +02:00
DavHau
4f1b483239
improve testing examples: fail on error
2022-05-17 13:56:08 +02:00
DavHau
db19f7c07a
add path-example for nodejs
2022-05-17 12:57:57 +02:00
DavHau
1e016126ef
fix path sources not supplied with root[Name|Version]
2022-05-17 12:57:03 +02:00
DavHau
2d630b00f2
fix testing examples
2022-05-17 12:17:23 +02:00
DavHau
8574ecf381
nodejs: account for empty dependencies
2022-05-17 12:16:49 +02:00
Yusuf Bera Ertan
34a272a39c
fix(fetcher): make sourceRoot be used after rootName and rootVersion are tried for path sources
2022-05-15 23:11:37 +03:00
DavHau
9003aed816
readme: ad section funding
2022-05-15 19:04:07 +02:00
Tomek Mańko
15b822a040
Resolve path
sources relative to the source root
2022-05-08 21:29:01 +02:00
DavHau
e5d0e9cdb0
fix comment python discoverer
2022-05-06 15:47:47 +02:00
dusk
aaa946287e
refactor(translator/cargo-lock): dont add name and version to crates-io source ( #142 )
2022-05-05 22:53:46 +03:00
dusk
d9fbf0d0a8
tests: add cargo-lock translator test with git dependencies ( #140 )
2022-05-05 00:58:26 +03:00
DavHau
9733fd26da
Merge pull request #139 from yusdacra/fix/git-refs
...
fix(fetcher/git): handle ref checking correctly
2022-05-04 21:47:51 +02:00
Yusuf Bera Ertan
3c5bf628ef
fix(fetcher/git): handle ref checking correctly
2022-05-04 22:39:54 +03:00
DavHau
bf5b5413f3
Merge pull request #138 from yusdacra/fix/parsed-type
...
fix(translator/cargo-lock): dont assume parsed.type exists, use `or null`
2022-05-04 20:04:28 +02:00
Yusuf Bera Ertan
1b79f68d98
fix(translator/cargo-lock): dont assume parsed.type exists, use null if it doesnt
2022-05-04 20:38:11 +03:00
DavHau
6672d1f3d9
update readme: wording, glossary
...
fixes #132
2022-05-03 22:33:08 +02:00
dusk
8966d32215
feat: allow ref to be specified in git source ( #137 )
...
* feat: allow ref to be specified in git source
* feat(translator/cargo-lock): add ref to git source if one is provided
* refactor(fetcher/git): also check for null for ref
Co-authored-by: DavHau <hsngrmpf+github@gmail.com>
* refactor(fetcher/git): move ref check for rev to a let in to avoid recomputing it
* refactor(fetcher/git): do null check for inp.ref in refAndRev
Co-authored-by: DavHau <hsngrmpf+github@gmail.com>
2022-05-03 21:23:50 +02:00
DavHau
8b90a86082
Merge pull request #136 from yusdacra/main
...
fix(translator/cargo-lock): fix some bugs regarding source entry parsing and getting checksums
2022-05-03 20:16:45 +02:00
Yusuf Bera Ertan
c807bf85af
fix(translator/cargo-lock): try to get crates-io checksum from the metadata table of a cargo-lock, if it exists
2022-05-03 06:19:53 +03:00
Yusuf Bera Ertan
5a4076a881
fix(translator/cargo-lock): attempt to fix dep entry parsing bug
2022-05-03 05:57:00 +03:00
Yusuf Bera Ertan
a2cbbb576c
feat: expose makeOutputsForDreamLock
2022-05-02 13:05:55 +03:00
dusk
97d32e314e
docs: fix sourceOverrides usage in readme example ( #134 )
2022-04-29 11:17:34 +02:00
Gérald Lelong
8df4f0beee
don't mv ../.cargo/config if it doesn't exist ( #133 )
2022-04-28 19:33:27 +02:00
dusk
1c8faf4882
Another round of rust fixes ( #130 )
...
* fix(builder/build-rust-package): don't hardcode cargo config path
* refactor(rust): vendor every dependency in cargo lock to fix some build issues, clarify some code
* fix(builder/build-rust-package): cargoCheckFlags -> cargoTestFlags
2022-04-27 11:57:41 +02:00
dusk
c93972bd52
fix(translator/cargo-lock): prioritize workspaceToml for path dependencies ( #128 )
...
* fix(translator/cargo-lock): prioritize workspaceToml for path dependencies
* fix(builder/rust): replace paths with quotation marks so we dont accidentally replace features
2022-04-26 00:10:59 +02:00
dusk
c303f3a754
Attempt to fix #113 ( #115 )
...
* fix(translator/cargo-lock): flatten workspace member paths to fix coerce error
* wip
* get a list of crates in discover and pass to translator
* prevent re-reading directory tree
Co-authored-by: DavHau <hsngrmpf+github@gmail.com>
* fix path dependency creation
* use correct attr path
* get subsystemInfo properly
* fix discoverCrates
* default to empty subsystemInfo.crates
* fix replacePathsWithAbsolute
* fix hasAttr usage
* dont put fullPath in subsystemInfo
Co-authored-by: DavHau <hsngrmpf+github@gmail.com>
2022-04-25 01:32:29 +02:00
DavHau
f8796aba28
Merge pull request #127 from happysalada/fix_electron_darwin_hook
...
electron: fix darwin build
2022-04-24 21:05:43 +02:00
DavHau
b68a9ee61c
add: dlib.sanitizePath
2022-04-24 20:40:42 +02:00
happysalada
262e647b67
electron: fix darwin build
2022-04-24 11:25:03 -04:00