Commit Graph

933 Commits

Author SHA1 Message Date
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
Yusuf Bera Ertan
b54f6403f4
fix(rust): put startup under correct option 2022-09-21 02:20:58 +03:00
Yusuf Bera Ertan
730e8d31fb
fix(rust): default to empty attrset to avoid attribute not found 2022-09-21 02:02:50 +03:00
Yusuf Bera Ertan
0503a1272d
feat: use devshell for rust devshells (#302) 2022-09-20 19:25:09 +00:00
DavHau
0f3b6c5dd1
Merge pull request #301 from fufexan/electron
nodejs/electron: 20.1.0 -> 20.1.3
2022-09-20 14:59:55 +02:00
DavHau
152d921a30 Merge branch 'bezmuth/main' 2022-09-20 14:57:27 +02:00
DavHau
584e5a5fa1 fix: haskell: stack-lock: extract compiler from snapshot 2022-09-20 14:57:10 +02:00
DavHau
a9dc29d356
Merge pull request #297 from tinybeachthor/php-builder-granular
php: granular builder
2022-09-20 14:23:49 +02:00
Mihai Fufezan
c0622fac96
nodejs/electron: 20.1.0 -> 20.1.3 2022-09-19 15:28:44 +03:00
bezmuth
bf2e8dddab subsystems/haskel: store compiler info in an attrset 2022-09-19 00:35:10 +01:00
Martin Toman
15182b6677 php: pass composer to devShell 2022-09-17 14:08:43 -07:00
Martin Toman
20153fa376 php: granular builder add devShells 2022-09-17 14:05:44 -07:00
Martin Toman
c07df07605 docs: php: add granular builder 2022-09-17 14:00:25 -07:00
Martin Toman
6755e3b136 php: set default builder = "granular" 2022-09-17 14:00:25 -07:00