Commit Graph

1030 Commits

Author SHA1 Message Date
Martin Toman
2ee7519fd2 fix: php: semver check only on version-like 2022-09-15 11:36:16 -07:00
Yusuf Bera Ertan
f93ee7b9a5
feat: skip cargo-toml translator if a Cargo.lock exists on crates-io translator (#298)
* feat: skip cargo-toml translator if a Cargo.lock already exists

* fix: default to empty string for TRANSLATOR_DIR to avoid env var not bound error
2022-09-15 17:46:28 +03:00
Yusuf Bera Ertan
8d9756d47f
fix: change examples d2n input urls to github repo 2022-09-15 14:59:19 +03:00
Martin Toman
04b7935f32 php: abort on incompatible php version 2022-09-14 13:23:34 -07:00
Martin Toman
2ffe69f378 fix: php: semver caret comparison 2022-09-14 13:23:34 -07:00
Martin Toman
e6fba613fd php: link bins from composer.json 2022-09-14 13:23:34 -07:00
Martin Toman
b21803e328 php: use php extensions 2022-09-14 10:47:02 -07:00
Martin Toman
77806529e7 php: collect phpExtensions from all packages 2022-09-14 10:39:46 -07:00
Martin Toman
12bd2bb135 php: parse inline version aliases 2022-09-14 09:41:40 -07:00
Martin Toman
43ebd3c654 php: refactor translators 2022-09-13 19:43:23 -07:00
Martin Toman
91bc594f1a php: refactor semver 2022-09-13 15:36:48 -07:00
Yusuf Bera Ertan
499c9a7ff1
fix: meta.licenses -> meta.license 2022-09-13 22:04:12 +03:00
Yusuf Bera Ertan
c621ddff9e
feat: extract homepage and description metadata in nodejs and rust 2022-09-13 21:45:56 +03:00
Yusuf Bera Ertan
2ec675e394
feat: add license extraction for nodejs and rust 2022-09-13 21:02:43 +03:00
DavHau
c2ebb96bf2
Merge pull request #286 from tinybeachthor/php-builder
php: builder
2022-09-13 09:39:03 +02:00
Martin Toman
f4ed1c9ec1 php: disable checks for composer example 2022-09-12 16:42:11 -07:00
Martin Toman
8f7dc2ac07 php: improve getAllDependencies 2022-09-12 16:06:05 -07:00
Martin Toman
39c5375a94 php: use project.name from discoverer 2022-09-12 15:07:45 -07:00
Martin Toman
969cba514c docs: php: add example to docs 2022-09-12 14:54:59 -07:00
DavHau
26083c3a2e fix: inexers: fix bug in ci app 2022-09-12 12:38:00 +02:00
DavHau
e0eefe6d08
Merge pull request #293 from nix-community/fix-index-apps
Improve indexer architecture
2022-09-12 12:29:25 +02:00
DavHau
e77c129ad6 php: add example flake for building composer 2022-09-12 12:27:31 +02:00
Martin Toman
f713ff21eb
Update src/subsystems/php/discoverers/default/default.nix
Co-authored-by: Brian Leung <29217594+leungbk@users.noreply.github.com>
2022-09-12 05:59:06 +02:00
Martin Toman
44d95b3adc php: simple builder add devShell 2022-09-09 13:40:01 -07:00
Martin Toman
eec7febc8d php: simple builder define default package 2022-09-09 13:39:38 -07:00
Martin Toman
b2269bd1cb docs: php: add builder simple 2022-09-09 12:47:12 -07:00
Martin Toman
4572d793ef php: builder link bins to $out/bin 2022-09-09 12:47:12 -07:00
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
DavHau
e2cc514c47 chore: indexers: improve build-all app 2022-09-08 22:27:38 +02:00
DavHau
3450ce358e chore: move utils/index.nix utils/index/default.nix 2022-09-07 14:03:51 +02:00
DavHau
05578072bf feat: indexers: add build-all app 2022-09-07 14:02:24 +02:00
Yusuf Bera Ertan
5ba9061857
fix(rust/crane): improve vendoring (#290) 2022-09-06 23:41:14 +00:00
DavHau
12267818db chore: npm translator: optimizations and fixes
- don't use expensive replaceRootSources
- don't mess with sources, just use data from package-lock
2022-09-05 11:24:51 +02:00
DavHau
1d182f0808 chore: performance optimization for index translation
- allow translator binary to be passed as translator to the `translate`app
- this allows pre-evaluating/pre-building all translator executables once
- add more debugging statements for performance monitoring
2022-09-05 11:23:09 +02:00
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
DavHau
25fd6e1a63 fix: indexers ci-job git logic 2022-09-03 19:48:53 +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