Michael Stenta
3d1f5ba984
Rearrange build-farmOS.js ${FARMOS_COMPOSER_VERSION} assignment logic.
...
There is no functional change. This just rearranges the if/elif/else
logic into a more intuitive order.
2023-11-03 13:13:38 -04:00
Michael Stenta
a74ec6ad0c
Fix issue with build-farmOS.sh tagged releases.
...
Previously ${FARMOS_COMPOSER_VERSION} was not being set for
tagged releases, causing `composer require farmos/farmos`
to run without a version constraint. This worked for 2.x
releases because it would default to the latest stable release.
This does not work for 3.0.0-betaX releases, because they are
not considered "stable" by Composer, so it falls back on the
latest stable 2.x release (2.2.2).
2023-11-03 11:18:17 -04:00
Michael Stenta
e417ee9ad6
Change all references of 2.x to 3.x in code, docs, and workflows.
2023-10-27 09:25:10 -04:00
Michael Stenta
a0accbd38f
Add PHPStan dependencies: phpstan/phpstan, phpstan/phpstan-deprecation-rules, phpstan/extension-installer, mglaman/phpstan-drupal.
2022-09-12 19:38:23 -04:00
Paul Weidner
e6f1c85c8f
Allow dealerdirect/phpcodesniffer-composer-installer composer plugin.
2022-06-14 13:27:26 -04:00
Paul Weidner
bef4f25032
Add allow-plugins config #467
2022-01-03 15:53:30 -05:00
Michael Stenta
deb59bed54
Set version in farm.info.yml via build-farmOS.sh.
...
This ensures that the version is correctly set in the
Docker images. Previously, it was only being set in
the packaged tarball releases.
2021-12-09 09:58:57 -05:00
paul121
1af8413441
Require 2.x-dev if 2.x is requested.
2021-03-24 07:26:57 -04:00
Paul Weidner
fe00d7402b
Simplify composer require farmos/farmos version.
2021-03-24 07:26:57 -04:00
paul121
8c6e508baf
Simplify adding farmOS repository to composer.json. #414
2021-02-27 15:14:25 -05:00
Michael Stenta
cf816e4fe8
Fix support for tagged versions in build-farmOS.sh.
...
Broken by 2ede85eee6
"Fix dev Dockerfile composer.json farmOS branch replacement."
2020-08-19 21:00:35 -04:00
Michael Stenta
aabadf26ad
Consolidate Composer install logic into a build-farmOS.sh script.
2020-08-12 12:58:33 -04:00