DavHau
fe6a2ee5a2
Update src/subsystems/nodejs/translators/npm/default.nix
...
Co-authored-by: Yusuf Bera Ertan <y.bera003.06@protonmail.com>
2022-08-31 12:10:33 +02:00
DavHau
fac674e43f
WIP: indexers: make use of source-less translators
...
Previously the output of an indexer was a list of sources.
Since #259 , dream2nix supports translation without sources.
This change updates the indexers to make support that feature.
With this change, the output of each indexer will be a list of project specifications instead of sources.
The new model:
- Covers more use cases
- Allows to translate from arbitrary data. For example {translator="apt"; name="htop"} could be a valid project specification.
- Moves the logic for fetching inside the translator instead of using dream2nix fetchers. (less calls to nix)
- does not use dream2nix makeFlakeOutputs logic in order to execute translation scripts (This is better, as depending on our high level abstrations would make refactoring/deprecating such more difficult)
2022-08-31 12:10:33 +02:00
DavHau
ab769ee266
Merge pull request #262 from tinybeachthor/php-translator-composer-json
...
php: impure translator `composer-json` + fix `composer-lock`
2022-08-28 18:25:30 +02:00
Martin Toman
ed7edff5ca
docs: add php subsystems section
2022-08-25 17:21:08 -07:00
Martin Toman
dfc15e9183
fix: php: require-dev only for top-level packages
2022-08-25 17:10:54 -07:00
Martin Toman
885061ca60
php: composer-lock unit tests: replace & provide
2022-08-25 16:45:59 -07:00
Martin Toman
70673a2ef6
php: composer-lock handle dependency provide
2022-08-25 16:45:59 -07:00
Martin Toman
1cf7db6877
php: composer-lock handle dependency replace
2022-08-25 16:45:59 -07:00
Martin Toman
33aa6d06f0
php: use own repo for composer-lock unit tests
2022-08-25 16:45:59 -07:00
Martin Toman
41aaca0b73
fix: php: filter out composer deps
2022-08-25 16:45:59 -07:00
Martin Toman
5ed79d75ca
fix: php: expand semver matcher
2022-08-25 16:45:59 -07:00
Martin Toman
15719d0678
refactor: php: composer-lock
2022-08-25 16:45:58 -07:00
Martin Toman
4ffc15d664
php: composer-json inherit composer-lock options
2022-08-25 16:44:58 -07:00
Martin Toman
41cae45d06
fix: php: composer-lock strip "ext-" from phpExtensions
2022-08-25 16:32:12 -07:00
Martin Toman
97ea84dd78
fix: php: composer-lock version & phpSemver default
2022-08-25 16:31:50 -07:00
DavHau
0131c22c36
fix: simpleTranslate2: don't compute cyclic deps if deps on empty dep graph
2022-08-25 14:16:11 +02:00
DavHau
0b593874d9
Merge pull request #267 from nix-community/ci
...
chore: CI performance improvements
2022-08-25 13:25:33 +02:00
DavHau
aeaf598afd
chore: CI performance improvements
...
- run more jobs in parallel for `example` and `integration` tests
- use cachitx for unit tests
2022-08-24 13:14:07 +02:00
DavHau
da45122814
Merge pull request #212 from a-kenji/init/debian-binary-builder
...
init: debian-binary builder
2022-08-24 13:08:46 +02:00
DavHau
31328b1719
refactor: debian-binary: cleanup and add more comments
2022-08-24 12:55:29 +02:00
DavHau
35921b71d5
fix: debian-binary: remove dep-spec file and discover function
...
- dep-spec is not needed anymore since project can be specified without a source code
- therefore there is nothing to discover anymore as well
2022-08-24 12:26:57 +02:00
Yusuf Bera Ertan
129708ebd0
fix(rust): improve Cargo.lock generation, fix an issue with the gener… ( #263 )
2022-08-23 20:59:37 +00:00
Martin Toman
f33c5e4d5c
php: translator composer-json
2022-08-23 10:59:21 -07:00
DavHau
6a688b9604
Merge pull request #258 from tinybeachthor/php-translator-composer-lock
...
php: add translator `composer-lock`
2022-08-23 15:00:53 +02:00
Martin Toman
a133520a08
php: handle dev dependencies (+ noDev flag)
2022-08-21 16:21:29 -07:00
DavHau
07adf31005
fix: debian-binary: cleanup and fit to new writePureShellScript
2022-08-20 19:04:46 +02:00
DavHau
c492204d37
refactor: debian translator without source
2022-08-20 18:38:01 +02:00
a-kenji
170bd08838
add: check for existing directories and lib64
2022-08-20 18:38:01 +02:00
a-kenji
989391af45
add: unpack all libs correctly
...
* unpack all libs correctly
* move some apt logic to `generate_dream_lock`
* filter out debians own `glibc` -> might be a pain point in the future!
2022-08-20 18:38:01 +02:00
a-kenji
55239870c1
add: skip install phase
...
* skip the install Phase
* allow failing of the autoPatchelfHook
2022-08-20 18:38:01 +02:00
a-kenji
fc48e13a42
fix(translator): debian-binary use correct sha format
2022-08-20 18:38:01 +02:00
a-kenji
d05e8b5dba
init(builder): debian-binary builder
...
This initializes first efforts to generate a debian builder.
2022-08-20 18:38:01 +02:00
a-kenji
74e91fbaee
fixup! remove deb-uris test file
2022-08-20 18:38:01 +02:00
a-kenji
b9ccf21545
Generate a dream_lock_file from the apt output
2022-08-20 18:38:01 +02:00
a-kenji
17dd96f40e
fixup! remove flake.lock
from examples
2022-08-20 18:38:01 +02:00
a-kenji
1fc7672423
init: impure debian translator
...
Initialize an impure translator from debian binaries.
2022-08-20 18:38:01 +02:00
DavHau
f347034b2b
refactor: writePureShellScript: don't change to WORKDIR
...
Reverting a bad design choice.
This lead to weird effects if scripts are nested.
2022-08-20 18:37:08 +02:00
DavHau
027083be7d
chore: print execution times for integration tests
2022-08-20 18:32:48 +02:00
DavHau
479dc304b5
Merge pull request #259 from nix-community/project-no-source
...
feat: allow passing project without source
2022-08-20 15:24:45 +02:00
DavHau
015aef0e9f
feat: allow passing project without source
2022-08-20 14:46:09 +02:00
Martin Toman
8e7af28ff0
fix: php: split out satisfiesSemver to utils
2022-08-19 15:03:38 -07:00
Martin Toman
4f0a15768b
php: composer-lock pass phpExtensions
2022-08-19 15:02:58 -07:00
Martin Toman
c05de8dee4
php: composer-lock translator pass phpSemver
2022-08-19 14:19:20 -07:00
Martin Toman
1988b85f65
cleanup: php: composer-lock translator
2022-08-19 13:19:52 -07:00
Martin Toman
e812cf1aff
php: composer-lock translator resolve pins
2022-08-19 13:18:20 -07:00
DavHau
62176e36d4
refactor: /src/default.nix
2022-08-19 12:35:12 +02:00
DavHau
71f29a7e09
chore: add template for initializing new modules
2022-08-19 12:31:51 +02:00
Martin Toman
ae32bcb2c6
php: translator composer-lock export package
2022-08-18 12:41:40 -07:00
DavHau
6d4f103b84
Merge pull request #248 from tinybeachthor/integration-tests
...
test: add integration tests
2022-08-18 11:37:25 +02:00
DavHau
b9b6f96183
Merge pull request #256 from tinybeachthor/docs-subsystem-nodejs
...
docs: add nodejs subsystems page
2022-08-18 11:36:14 +02:00