Martin Toman
10b79208b9
Add replaceRootSources app
2022-10-01 13:29:43 -07:00
Martin Toman
d15d931bf9
{utils -> lib.strings}.sanitizeDerivationName
2022-10-01 13:28:56 -07:00
Martin Toman
6c82d99b79
fix: pure translator template, project is not list
2022-10-01 13:28:56 -07:00
Martin Toman
956fb6e8be
defaultPackage -> packages.default
2022-10-01 13:28:56 -07:00
Martin Toman
49b299ce80
nodejs: discoverer read files from tree
2022-10-01 13:28:56 -07:00
Martin Toman
544c22bdbf
Fix spelling
2022-10-01 13:28:56 -07:00
DavHau
ea3bb39310
Merge pull request #300 from tinybeachthor/php-indexer
...
php: indexer + fixes
2022-10-01 18:40:24 +02:00
DavHau
5e54aba141
Merge pull request #309 from nix-community/haskell
...
Haskell: add translator for hackage + other improvements
2022-09-28 17:54:17 +02:00
DavHau
7dadb4ad15
indexers: fix some bugs in python scripts
2022-09-28 16:52:56 +02:00
DavHau
ea171172d1
haskell: add cabal file hashes to dream-lock
2022-09-28 16:52:56 +02:00
DavHau
2f7f3c1289
haskell: add translator hackage
2022-09-28 16:52:56 +02:00
Martin Toman
ff264cb9c1
php: install dependencies with --no-dev
2022-09-27 14:38:59 -07:00
Martin Toman
50f7682dae
php: add overrides
2022-09-27 12:57:22 -07:00
Martin Toman
6181050f32
php: split build into phases (easier to override)
2022-09-27 12:57:22 -07:00
Martin Toman
a7ca27492c
php: do not pull git submodules
...
when composer is installing from source it ignores
git submodules, do the same
2022-09-27 12:57:22 -07:00
Martin Toman
5363f36f82
Allow disabling submodules for git fetcher
2022-09-27 12:57:22 -07:00
Martin Toman
039886bb7a
php: disable patches
...
no network access in the pure builder,
patches will have to be handled as overrides probably
2022-09-27 12:57:22 -07:00
Martin Toman
c523f2c17e
fix: php: set package name
...
package name and composer.json#name can be different
(mostly happens in private repositories)
set the composer.json#name to the package name
before including the package in other one
2022-09-27 12:57:22 -07:00
Martin Toman
c2c61b82b1
fix: php: invalid authors + overrides
2022-09-27 12:57:20 -07:00
Martin Toman
89c1de460a
php: semver stabilities, wildcard, 4 part versions
2022-09-27 12:54:07 -07:00
Martin Toman
44a77955c1
fix: php: handle deps without composer.json
...
Without composer.json in the root of a package,
composer will ignore the dependency, this is issue if
for example npm dependencies are managed via composer.
(yiisoft/yii2 2.0.46)
2022-09-27 12:54:04 -07:00
Martin Toman
156d7e0f50
php: set rootName & rootVersion for path sources
2022-09-27 12:51:19 -07:00
Martin Toman
cac77826b8
fix: php: invalid authors + overrides
2022-09-27 12:51:19 -07:00
Martin Toman
2f499eb8eb
fix: php: package names ensure lowercase
2022-09-27 12:51:19 -07:00
Martin Toman
f1888d4763
fix: php: pass composer-plugin-api to composer-plugins
2022-09-27 12:51:19 -07:00
Martin Toman
12791f09ef
fix: php: composer-lock use dist path sources
2022-09-27 12:51:19 -07:00
Martin Toman
7738907d7b
php: semver handle 4 digits (1.2.3.4)
2022-09-27 12:51:19 -07:00
Martin Toman
8c8cde2c9f
php: composer-json override .config.lock=false
2022-09-27 12:51:19 -07:00
Martin Toman
4f8e284b37
php: builders passAsFile repositories,dependencies
2022-09-27 12:51:19 -07:00
Martin Toman
7a2ff69fb3
php: cleanup translators
2022-09-27 12:51:19 -07:00
Martin Toman
056ef41742
fix: php: add require default {}
2022-09-27 12:51:19 -07:00
Martin Toman
782a955210
php: semver stabilities, wildcard
2022-09-27 12:51:19 -07:00
Martin Toman
2a4dd11e44
fix: php: handle deps without composer.json
...
Without composer.json in the root of a package,
composer will ignore the dependency, this is issue if
for example npm dependencies are managed via composer.
(yiisoft/yii2 2.0.46)
2022-09-27 12:51:19 -07:00
Martin Toman
685efe73de
php: composer-json ignore platform reqs & scripts
2022-09-27 12:51:19 -07:00
Martin Toman
f49af63180
fix: php: packagist translator set version
...
Set version in `composer.json` to the package version,
composer is conservative and will fail if there the
package version is not set and any dependency version
conflicts are declared.
2022-09-27 12:51:19 -07:00
Martin Toman
a9d1f074a2
fix: php: composer-lock path source
2022-09-27 12:51:19 -07:00
Martin Toman
26a0088b9d
php: add packagist translator
2022-09-27 12:51:19 -07:00
Martin Toman
4b9538fca2
fix: libraries-io skip packages without versions
2022-09-27 12:51:19 -07:00
Martin Toman
d2c0d1bb23
php: packagist platform to indexers/libraries-io
2022-09-27 12:51:19 -07:00
DavHau
12ae9b891b
Merge pull request #304 from nix-community/feat/modules-builders
...
feat: use modules for builders
2022-09-27 14:57:32 +02:00
Yusuf Bera Ertan
163bdcc601
refactor: remove version from builders
2022-09-27 15:29:55 +03:00
Yusuf Bera Ertan
15b8621648
tests: fix _d2n-extended test
2022-09-25 22:54:05 +03:00
Yusuf Bera Ertan
3a6ebd75ef
feat: add a warning when collecting modules if two modules have same names
2022-09-25 22:41:56 +03:00
Yusuf Bera Ertan
16d9dde731
fix: check if subsystem has builders properly
2022-09-25 22:28:17 +03:00
Yusuf Bera Ertan
b9e02b4049
fix: make builder names unique again
2022-09-25 22:19:59 +03:00
Yusuf Bera Ertan
c52d805408
fix: make builder names unique
2022-09-25 22:07:17 +03:00
Yusuf Bera Ertan
7432b27e13
tests: fix new-subsystem test
2022-09-25 21:01:43 +03:00
Yusuf Bera Ertan
8ff108db36
fix: use callPackageDream correctly
2022-09-25 20:57:02 +03:00
Yusuf Bera Ertan
c17eb68e52
fix: correct type
2022-09-25 20:54:04 +03:00
Yusuf Bera Ertan
f348abd9e5
feat: use modules for builders
2022-09-25 20:51:24 +03:00