Commit Graph

781 Commits

Author SHA1 Message Date
DavHau
02f8a119c1
Merge pull request #283 from ngi-nix/validate-schema
Add schema validation for specific subsystems
2022-09-05 10:07:29 +02:00
Yusuf Bera Ertan
809bc59402
fix(rust/crane): don't copy two seperate vendoring folders, instead u… (#287) 2022-09-03 03:49:53 +00:00
Brian Leung
46e7a6fc2e
dream-lock schemas: Explicitly state required-ness of certain keys 2022-09-01 20:29:25 -07:00
Yusuf Bera Ertan
c6c039fcc6
fix(rust): update crane, fix build issues (#284) 2022-09-02 01:44:34 +00:00
Brian Leung
e928819208
fixup! Add schema validation for specific subsystems 2022-09-01 14:52:29 -07:00
Brian Leung
45101cccc4
Add schema validation for specific subsystems
- Create validation for existing schemas
- Validate only for subsystems with existing schemas
- Also add schemas for nodejs and rust

Co-authored-by: a-kenji <aks.kenji@protonmail.com>
2022-09-01 11:06:22 -07:00
DavHau
877b83654f fix: nodejs: bin-linking: account for broken symlinks when checking for existance 2022-09-01 09:13:25 +02:00
DavHau
a015a05db4 chore: update documentation for indexers 2022-08-31 20:59:19 +02:00
DavHau
dc3530785e
Merge pull request #274 from fufexan/electron
nodejs/electron: add 20.1.0
2022-08-31 14:28:34 +02:00
DavHau
9977e5f015
Merge pull request #261 from nix-community/indexers-no-source
WIP: indexers: make use of source-less translators
2022-08-31 14:20:31 +02:00
DavHau
41bdfcdfc1
Merge pull request #278 from natsukium/remove-slash
chore: apps contribute: remove a redundant slash
2022-08-31 14:14:35 +02:00
DavHau
666b9452a8
Merge pull request #275 from tgunnoe/gitplus-version-fix
fix: yarn-lock: remove unneeded parsing of version
2022-08-31 14:13:57 +02:00
Mihai Fufezan
8a8981ea28
nodejs/electron: add 20.1.0 2022-08-31 14:49:31 +03:00
DavHau
fbf4d77a18
Merge pull request #280 from nix-community/ci
chore: ci: update nix to 2.11.0 und increase max-jobs
2022-08-31 12:53:56 +02:00
DavHau
c8e889250b
Merge pull request #271 from tinybeachthor/docs-fetchers
docs: add `Fetchers` section to docs
2022-08-31 12:52:49 +02:00
DavHau
0fd3ace78e chore: ci: update nix to 2.11.0 und increase max-jobs 2022-08-31 12:39:17 +02:00
DavHau
3caf3a8a67 fix: crates-io-simple indexer 2022-08-31 12:10:33 +02:00
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