Commit Graph

787 Commits

Author SHA1 Message Date
Martin Toman
b71575e8d5 php: use "unknown" for unknown version 2022-09-09 12:47:12 -07:00
Martin Toman
55e2f6aed4 php: discoverer 2022-09-09 12:47:12 -07:00
Martin Toman
8b854de884 fix: php: improved semver 2022-09-09 12:47:12 -07:00
Martin Toman
6c22a0762b php: do not define defaultPackage 2022-09-09 12:43:40 -07:00
Martin Toman
85a9df6d9c fix: php: handle "self.version" in require 2022-09-09 12:43:40 -07:00
Martin Toman
4432a09e15 fix: php: semver anything satisfies "*" "@dev" 2022-09-09 12:43:40 -07:00
Martin Toman
55d2536e4c fix: php: semver parsing fix trim
trim did not work correctly for version ranges:
5.0 - 5.8
5.0 - 5.8 | 6.* | ^7.1
2022-09-09 12:43:40 -07:00
Martin Toman
565ae93893 fix: php: composer-lock default package name 2022-09-09 12:43:40 -07:00
Martin Toman
3bd99ac47d fix: php: drop missing requirements
Since we are reading composer.lock, assume that missing requirements
are satisfied in upper packages by provides/replaces
2022-09-09 12:43:40 -07:00
Martin Toman
e27c43f780 php: set default builder = "simple" 2022-09-09 12:43:37 -07:00
Martin Toman
e8b63ec907 php: builder simple 2022-09-09 12:43:05 -07:00
Yusuf Bera Ertan
c6c039fcc6
fix(rust): update crane, fix build issues (#284) 2022-09-02 01:44:34 +00: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