DavHau
bc454bfe9d
fix example test for indexer
2022-08-31 12:10:33 +02:00
DavHau
a6a963586c
fix: crates-io indexer and makeOutputsForIndexers
...
- simplify API for makeFlakeOutputsForIndexers (see updated example)
- remove arguments `overrideOutputs` and `indexNames`
- add arguments `indexes`
- add app `ci-job-...` which is a script meant to be executed as a cron action, pushing updates to a separate `data` branch
2022-08-31 12:10:33 +02:00
DavHau
a09c59a7f7
feat: indexers: add tested example for indexers
2022-08-31 12:10:33 +02:00
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
70478745ab
fix formatting
2022-08-31 11:35:18 +02:00
natsukium
02a65fcdf5
chore: apps contribute: remove a redundant slash
2022-08-31 17:33:29 +09:00
tgunnoe
36b640d6de
Add integration test for #275
2022-08-30 10:43:10 -04:00
tgunnoe
10e4617f54
fix: yarn-lock: remove unneeded parsing of version
2022-08-29 14:23:53 -04: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
f2622d1e09
docs: add outline to python quickstart
2022-08-26 16:29:15 -07:00
Martin Toman
d3524727b2
docs: split out define target platforms subsection
2022-08-26 16:29:12 -07:00
Martin Toman
f41f301e58
docs: fix nodejs quickstart FAQ
2022-08-26 12:03:55 -07:00
Martin Toman
400c2406db
docs: fetchers
2022-08-26 12:01:19 -07: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